@platformatic/watt-admin 0.6.0-alpha.1 → 0.6.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -996,7 +996,7 @@ ${a}]`:`[${e.join(s)}]`},DI=(e,t,n)=>`let ${e} = ${eV(t,n)}`,eV=(e,t,n)=>{switch
996
996
  * vue-router v4.5.1
997
997
  * (c) 2025 Eduardo San Martin Morote
998
998
  * @license MIT
999
- */const u2=typeof document<"u";function yke(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function zen(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&yke(e.default)}const jo=Object.assign;function TR(e,t){const n={};for(const r in t){const o=t[r];n[r]=Ac(o)?o.map(e):e(o)}return n}const jv=()=>{},Ac=Array.isArray,xke=/#/g,Wen=/&/g,Zen=/\//g,Qen=/=/g,qen=/\?/g,kke=/\+/g,Xen=/%5B/g,Yen=/%5D/g,wke=/%5E/g,Gen=/%60/g,Oke=/%7B/g,Ken=/%7C/g,Cke=/%7D/g,Jen=/%20/g;function qQ(e){return encodeURI(""+e).replace(Ken,"|").replace(Xen,"[").replace(Yen,"]")}function etn(e){return qQ(e).replace(Oke,"{").replace(Cke,"}").replace(wke,"^")}function gF(e){return qQ(e).replace(kke,"%2B").replace(Jen,"+").replace(xke,"%23").replace(Wen,"%26").replace(Gen,"`").replace(Oke,"{").replace(Cke,"}").replace(wke,"^")}function ttn(e){return gF(e).replace(Qen,"%3D")}function ntn(e){return qQ(e).replace(xke,"%23").replace(qen,"%3F")}function rtn(e){return e==null?"":ntn(e).replace(Zen,"%2F")}function X8(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const otn=/\/$/,atn=e=>e.replace(otn,"");function ER(e,t,n="/"){let r,o={},a="",s="";const i=t.indexOf("#");let l=t.indexOf("?");return i<l&&i>=0&&(l=-1),l>-1&&(r=t.slice(0,l),a=t.slice(l+1,i>-1?i:t.length),o=e(a)),i>-1&&(r=r||t.slice(0,i),s=t.slice(i,t.length)),r=ctn(r??t,n),{fullPath:r+(a&&"?")+a+s,path:r,query:o,hash:X8(s)}}function stn(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function itn(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&dh(t.matched[r],n.matched[o])&&_ke(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function dh(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _ke(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ltn(e[n],t[n]))return!1;return!0}function ltn(e,t){return Ac(e)?Sle(e,t):Ac(t)?Sle(t,e):e===t}function Sle(e,t){return Ac(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function ctn(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let a=n.length-1,s,i;for(s=0;s<r.length;s++)if(i=r[s],i!==".")if(i==="..")a>1&&a--;else break;return n.slice(0,a).join("/")+"/"+r.slice(s).join("/")}const fp={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var nx;(function(e){e.pop="pop",e.push="push"})(nx||(nx={}));var nT;(function(e){e.back="back",e.forward="forward",e.unknown=""})(nT||(nT={}));const jR="";function utn(e){if(!e)if(u2){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),atn(e)}const dtn=/^[^#]+#/;function ftn(e,t){return e.replace(dtn,"#")+t}function ptn(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const htn=()=>({left:window.scrollX,top:window.scrollY});function mtn(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=ptn(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Lle(e,t){return(history.state?history.state.position-t:-1)+e}const bF=new Map;function gtn(e,t){bF.set(e,t)}function btn(e){const t=bF.get(e);return bF.delete(e),t}function vtn(e=""){let t=[],n=[[jR,{}]],r=0;e=utn(e);function o(i,l={}){r++,r!==n.length&&n.splice(r),n.push([i,l])}function a(i,l,{direction:c,delta:d}){const f={direction:c,delta:d,type:nx.pop};for(const h of t)h(i,l,f)}const s={location:jR,state:{},base:e,createHref:ftn.bind(null,e),replace(i,l){n.splice(r--,1),o(i,l)},push(i,l){o(i,l)},listen(i){return t.push(i),()=>{const l=t.indexOf(i);l>-1&&t.splice(l,1)}},destroy(){t=[],n=[[jR,{}]],r=0},go(i,l=!0){const c=this.location,d=i<0?nT.back:nT.forward;r=Math.max(0,Math.min(r+i,n.length-1)),l&&a(this.location,c,{direction:d,delta:i})}};return Object.defineProperty(s,"location",{enumerable:!0,get:()=>n[r][0]}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>n[r][1]}),s}function Ske(e){return typeof e=="string"||e&&typeof e=="object"}function Lke(e){return typeof e=="string"||typeof e=="symbol"}const $ke=Symbol("");var $le;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})($le||($le={}));function Y8(e,t){return jo(new Error,{type:e,[$ke]:!0},t)}function D0(e,t){return e instanceof Error&&$ke in e&&(t==null||!!(e.type&t))}const Tle="[^/]+?",ytn={sensitive:!1,strict:!1,start:!0,end:!0},xtn=/[.+*?^${}()[\]/\\]/g;function ktn(e,t){const n=jo({},ytn,t),r=[];let o=n.start?"^":"";const a=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const h=c[f];let m=40+(n.sensitive?.25:0);if(h.type===0)f||(o+="/"),o+=h.value.replace(xtn,"\\$&"),m+=40;else if(h.type===1){const{value:b,repeatable:v,optional:x,regexp:k}=h;a.push({name:b,repeatable:v,optional:x});const _=k||Tle;if(_!==Tle){m+=10;try{new RegExp(`(${_})`)}catch(T){throw new Error(`Invalid custom RegExp for param "${b}" (${_}): `+T.message)}}let S=v?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(S=x&&c.length<2?`(?:/${S})`:"/"+S),x&&(S+="?"),o+=S,m+=20,x&&(m+=-8),v&&(m+=-20),_===".*"&&(m+=-50)}d.push(m)}r.push(d)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function i(c){const d=c.match(s),f={};if(!d)return null;for(let h=1;h<d.length;h++){const m=d[h]||"",b=a[h-1];f[b.name]=m&&b.repeatable?m.split("/"):m}return f}function l(c){let d="",f=!1;for(const h of e){(!f||!d.endsWith("/"))&&(d+="/"),f=!1;for(const m of h)if(m.type===0)d+=m.value;else if(m.type===1){const{value:b,repeatable:v,optional:x}=m,k=b in c?c[b]:"";if(Ac(k)&&!v)throw new Error(`Provided param "${b}" is an array but it is not repeatable (* or + modifiers)`);const _=Ac(k)?k.join("/"):k;if(!_)if(x)h.length<2&&(d.endsWith("/")?d=d.slice(0,-1):f=!0);else throw new Error(`Missing required param "${b}"`);d+=_}}return d||"/"}return{re:s,score:r,keys:a,parse:i,stringify:l}}function wtn(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Tke(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const a=wtn(r[n],o[n]);if(a)return a;n++}if(Math.abs(o.length-r.length)===1){if(Ele(r))return 1;if(Ele(o))return-1}return o.length-r.length}function Ele(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Otn={type:0,value:""},Ctn=/[a-zA-Z0-9_]/;function _tn(e){if(!e)return[[]];if(e==="/")return[[Otn]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,r=n;const o=[];let a;function s(){a&&o.push(a),a=[]}let i=0,l,c="",d="";function f(){c&&(n===0?a.push({type:0,value:c}):n===1||n===2||n===3?(a.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;i<e.length;){if(l=e[i++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),s()):l===":"?(f(),n=1):h();break;case 4:h(),n=r;break;case 1:l==="("?n=2:Ctn.test(l)?h():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&i--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&i--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),s(),o}function Stn(e,t,n){const r=ktn(_tn(e.path),n),o=jo(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Ltn(e,t){const n=[],r=new Map;t=Nle({strict:!1,end:!0,sensitive:!1},t);function o(f){return r.get(f)}function a(f,h,m){const b=!m,v=Mle(f);v.aliasOf=m&&m.record;const x=Nle(t,f),k=[v];if("alias"in f){const T=typeof f.alias=="string"?[f.alias]:f.alias;for(const $ of T)k.push(Mle(jo({},v,{components:m?m.record.components:v.components,path:$,aliasOf:m?m.record:v})))}let _,S;for(const T of k){const{path:$}=T;if(h&&$[0]!=="/"){const M=h.record.path,P=M[M.length-1]==="/"?"":"/";T.path=h.record.path+($&&P+$)}if(_=Stn(T,h,x),m?m.alias.push(_):(S=S||_,S!==_&&S.alias.push(_),b&&f.name&&!Ale(_)&&s(f.name)),Eke(_)&&l(_),v.children){const M=v.children;for(let P=0;P<M.length;P++)a(M[P],_,m&&m.children[P])}m=m||_}return S?()=>{s(S)}:jv}function s(f){if(Lke(f)){const h=r.get(f);h&&(r.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(s),h.alias.forEach(s))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&r.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function i(){return n}function l(f){const h=Etn(f,n);n.splice(h,0,f),f.record.name&&!Ale(f)&&r.set(f.record.name,f)}function c(f,h){let m,b={},v,x;if("name"in f&&f.name){if(m=r.get(f.name),!m)throw Y8(1,{location:f});x=m.record.name,b=jo(jle(h.params,m.keys.filter(S=>!S.optional).concat(m.parent?m.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),f.params&&jle(f.params,m.keys.map(S=>S.name))),v=m.stringify(b)}else if(f.path!=null)v=f.path,m=n.find(S=>S.re.test(v)),m&&(b=m.parse(v),x=m.record.name);else{if(m=h.name?r.get(h.name):n.find(S=>S.re.test(h.path)),!m)throw Y8(1,{location:f,currentLocation:h});x=m.record.name,b=jo({},h.params,f.params),v=m.stringify(b)}const k=[];let _=m;for(;_;)k.unshift(_.record),_=_.parent;return{name:x,path:v,params:b,matched:k,meta:Ttn(k)}}e.forEach(f=>a(f));function d(){n.length=0,r.clear()}return{addRoute:a,resolve:c,removeRoute:s,clearRoutes:d,getRoutes:i,getRecordMatcher:o}}function jle(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Mle(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:$tn(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function $tn(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ale(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ttn(e){return e.reduce((t,n)=>jo(t,n.meta),{})}function Nle(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Etn(e,t){let n=0,r=t.length;for(;n!==r;){const a=n+r>>1;Tke(e,t[a])<0?r=a:n=a+1}const o=jtn(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function jtn(e){let t=e;for(;t=t.parent;)if(Eke(t)&&Tke(e,t)===0)return t}function Eke({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Mtn(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const a=r[o].replace(kke," "),s=a.indexOf("="),i=X8(s<0?a:a.slice(0,s)),l=s<0?null:X8(a.slice(s+1));if(i in t){let c=t[i];Ac(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function Ple(e){let t="";for(let n in e){const r=e[n];if(n=ttn(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ac(r)?r.map(a=>a&&gF(a)):[r&&gF(r)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function Atn(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ac(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Ntn=Symbol(""),Ile=Symbol(""),rM=Symbol(""),XQ=Symbol(""),vF=Symbol("");function W9(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Sp(e,t,n,r,o,a=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,l)=>{const c=h=>{h===!1?l(Y8(4,{from:n,to:t})):h instanceof Error?l(h):Ske(h)?l(Y8(2,{from:t,to:h})):(s&&r.enterCallbacks[o]===s&&typeof h=="function"&&s.push(h),i())},d=a(()=>e.call(r&&r.instances[o],t,n,c));let f=Promise.resolve(d);e.length<3&&(f=f.then(c)),f.catch(h=>l(h))})}function MR(e,t,n,r,o=a=>a()){const a=[];for(const s of e)for(const i in s.components){let l=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(yke(l)){const d=(l.__vccOpts||l)[t];d&&a.push(Sp(d,n,r,s,i,o))}else{let c=l();a.push(()=>c.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${i}" at "${s.path}"`);const f=zen(d)?d.default:d;s.mods[i]=d,s.components[i]=f;const m=(f.__vccOpts||f)[t];return m&&Sp(m,n,r,s,i,o)()}))}}return a}function Rle(e){const t=Rn(rM),n=Rn(XQ),r=Q(()=>{const l=O(e.to);return t.resolve(l)}),o=Q(()=>{const{matched:l}=r.value,{length:c}=l,d=l[c-1],f=n.matched;if(!d||!f.length)return-1;const h=f.findIndex(dh.bind(null,d));if(h>-1)return h;const m=Dle(l[c-2]);return c>1&&Dle(d)===m&&f[f.length-1].path!==m?f.findIndex(dh.bind(null,l[c-2])):h}),a=Q(()=>o.value>-1&&Dtn(n.params,r.value.params)),s=Q(()=>o.value>-1&&o.value===n.matched.length-1&&_ke(n.params,r.value.params));function i(l={}){if(Rtn(l)){const c=t[O(e.replace)?"replace":"push"](O(e.to)).catch(jv);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}if(__VUE_PROD_DEVTOOLS__&&u2){const l=rl();if(l){const c={route:r.value,isActive:a.value,isExactActive:s.value,error:null};l.__vrl_devtools=l.__vrl_devtools||[],l.__vrl_devtools.push(c),Oo(()=>{c.route=r.value,c.isActive=a.value,c.isExactActive=s.value,c.error=Ske(O(e.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:r,href:Q(()=>r.value.href),isActive:a,isExactActive:s,navigate:i}}function Ptn(e){return e.length===1?e[0]:e}const Itn=le({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Rle,setup(e,{slots:t}){const n=Ir(Rle(e)),{options:r}=Rn(rM),o=Q(()=>({[Ble(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ble(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&Ptn(t.default(n));return e.custom?a:nr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},a)}}}),rx=Itn;function Rtn(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Dtn(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Ac(o)||o.length!==r.length||r.some((a,s)=>a!==o[s]))return!1}return!0}function Dle(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ble=(e,t,n)=>e??t??n,Btn=le({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Rn(vF),o=Q(()=>e.route||r.value),a=Rn(Ile,0),s=Q(()=>{let c=O(a);const{matched:d}=o.value;let f;for(;(f=d[c])&&!f.components;)c++;return c}),i=Q(()=>o.value.matched[s.value]);qr(Ile,Q(()=>s.value+1)),qr(Ntn,i),qr(vF,o);const l=me();return pt(()=>[l.value,i.value,e.name],([c,d,f],[h,m,b])=>{d&&(d.instances[f]=c,m&&m!==d&&c&&c===h&&(d.leaveGuards.size||(d.leaveGuards=m.leaveGuards),d.updateGuards.size||(d.updateGuards=m.updateGuards))),c&&d&&(!m||!dh(d,m)||!h)&&(d.enterCallbacks[f]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=o.value,d=e.name,f=i.value,h=f&&f.components[d];if(!h)return Hle(n.default,{Component:h,route:c});const m=f.props[d],b=m?m===!0?c.params:typeof m=="function"?m(c):m:null,x=nr(h,jo({},b,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(f.instances[d]=null)},ref:l}));if(__VUE_PROD_DEVTOOLS__&&u2&&x.ref){const k={depth:s.value,name:f.name,path:f.path,meta:f.meta};(Ac(x.ref)?x.ref.map(S=>S.i):[x.ref.i]).forEach(S=>{S.__vrv_devtools=k})}return Hle(n.default,{Component:x,route:c})||x}}});function Hle(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const oM=Btn;function Z9(e,t){const n=jo({},e,{matched:e.matched.map(r=>Ytn(r,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:e.fullPath,tooltip:t,value:n}}}function GC(e){return{_custom:{display:e}}}let Htn=0;function Vtn(e,t,n){if(t.__hasDevtools)return;t.__hasDevtools=!0;const r=Htn++;Uen({id:"org.vuejs.router"+(r?"."+r:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:e},o=>{typeof o.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),o.on.inspectComponent((d,f)=>{d.instanceData&&d.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:Z9(t.currentRoute.value,"Current Route")})}),o.on.visitComponentTree(({treeNode:d,componentInstance:f})=>{if(f.__vrv_devtools){const h=f.__vrv_devtools;d.tags.push({label:(h.name?`${h.name.toString()}: `:"")+h.path,textColor:0,tooltip:"This component is rendered by &lt;router-view&gt;",backgroundColor:jke})}Ac(f.__vrl_devtools)&&(f.__devtoolsApi=o,f.__vrl_devtools.forEach(h=>{let m=h.route.path,b=Nke,v="",x=0;h.error?(m=h.error,b=Ztn,x=Qtn):h.isExactActive?(b=Ake,v="This is exactly active"):h.isActive&&(b=Mke,v="This link is active"),d.tags.push({label:m,textColor:x,tooltip:v,backgroundColor:b})}))}),pt(t.currentRoute,()=>{l(),o.notifyComponentUpdate(),o.sendInspectorTree(i),o.sendInspectorState(i)});const a="router:navigations:"+r;o.addTimelineLayer({id:a,label:`Router${r?" "+r:""} Navigations`,color:4237508}),t.onError((d,f)=>{o.addTimelineEvent({layerId:a,event:{title:"Error during Navigation",subtitle:f.fullPath,logType:"error",time:o.now(),data:{error:d},groupId:f.meta.__navigationId}})});let s=0;t.beforeEach((d,f)=>{const h={guard:GC("beforeEach"),from:Z9(f,"Current Location during this navigation"),to:Z9(d,"Target location")};Object.defineProperty(d.meta,"__navigationId",{value:s++}),o.addTimelineEvent({layerId:a,event:{time:o.now(),title:"Start of navigation",subtitle:d.fullPath,data:h,groupId:d.meta.__navigationId}})}),t.afterEach((d,f,h)=>{const m={guard:GC("afterEach")};h?(m.failure={_custom:{type:Error,readOnly:!0,display:h?h.message:"",tooltip:"Navigation Failure",value:h}},m.status=GC("❌")):m.status=GC("✅"),m.from=Z9(f,"Current Location during this navigation"),m.to=Z9(d,"Target location"),o.addTimelineEvent({layerId:a,event:{title:"End of navigation",subtitle:d.fullPath,time:o.now(),data:m,logType:h?"warning":"default",groupId:d.meta.__navigationId}})});const i="router-inspector:"+r;o.addInspector({id:i,label:"Routes"+(r?" "+r:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!c)return;const d=c;let f=n.getRoutes().filter(h=>!h.parent||!h.parent.record.components);f.forEach(Rke),d.filter&&(f=f.filter(h=>yF(h,d.filter.toLowerCase()))),f.forEach(h=>Ike(h,t.currentRoute.value)),d.rootNodes=f.map(Pke)}let c;o.on.getInspectorTree(d=>{c=d,d.app===e&&d.inspectorId===i&&l()}),o.on.getInspectorState(d=>{if(d.app===e&&d.inspectorId===i){const h=n.getRoutes().find(m=>m.record.__vd_id===d.nodeId);h&&(d.state={options:Utn(h)})}}),o.sendInspectorTree(i),o.sendInspectorState(i)})}function Ftn(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}function Utn(e){const{record:t}=e,n=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&n.push({editable:!1,key:"name",value:t.name}),n.push({editable:!1,key:"regexp",value:e.re}),e.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:e.keys.map(r=>`${r.name}${Ftn(r)}`).join(" "),tooltip:"Param keys",value:e.keys}}}),t.redirect!=null&&n.push({editable:!1,key:"redirect",value:t.redirect}),e.alias.length&&n.push({editable:!1,key:"aliases",value:e.alias.map(r=>r.record.path)}),Object.keys(e.record.meta).length&&n.push({editable:!1,key:"meta",value:e.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:e.score.map(r=>r.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:e.score}}}),n}const jke=15485081,Mke=2450411,Ake=8702998,ztn=2282478,Nke=16486972,Wtn=6710886,Ztn=16704226,Qtn=12131356;function Pke(e){const t=[],{record:n}=e;n.name!=null&&t.push({label:String(n.name),textColor:0,backgroundColor:ztn}),n.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:Nke}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:jke}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:Ake}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:Mke}),n.redirect&&t.push({label:typeof n.redirect=="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:Wtn});let r=n.__vd_id;return r==null&&(r=String(qtn++),n.__vd_id=r),{id:r,label:n.path,tags:t,children:e.children.map(Pke)}}let qtn=0;const Xtn=/^\/(.*)\/([a-z]*)$/;function Ike(e,t){const n=t.matched.length&&dh(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=n,n||(e.__vd_active=t.matched.some(r=>dh(r,e.record))),e.children.forEach(r=>Ike(r,t))}function Rke(e){e.__vd_match=!1,e.children.forEach(Rke)}function yF(e,t){const n=String(e.re).match(Xtn);if(e.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(t))return e.children.forEach(s=>yF(s,t)),e.record.path!=="/"||t==="/"?(e.__vd_match=e.re.test(t),!0):!1;const o=e.record.path.toLowerCase(),a=X8(o);return!t.startsWith("/")&&(a.includes(t)||o.includes(t))||a.startsWith(t)||o.startsWith(t)||e.record.name&&String(e.record.name).includes(t)?!0:e.children.some(s=>yF(s,t))}function Ytn(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function Gtn(e){const t=Ltn(e.routes,e),n=e.parseQuery||Mtn,r=e.stringifyQuery||Ple,o=e.history,a=W9(),s=W9(),i=W9(),l=ri(fp);let c=fp;u2&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=TR.bind(null,de=>""+de),f=TR.bind(null,rtn),h=TR.bind(null,X8);function m(de,Ce){let pe,ke;return Lke(de)?(pe=t.getRecordMatcher(de),ke=Ce):ke=de,t.addRoute(ke,pe)}function b(de){const Ce=t.getRecordMatcher(de);Ce&&t.removeRoute(Ce)}function v(){return t.getRoutes().map(de=>de.record)}function x(de){return!!t.getRecordMatcher(de)}function k(de,Ce){if(Ce=jo({},Ce||l.value),typeof de=="string"){const ye=ER(n,de,Ce.path),He=t.resolve({path:ye.path},Ce),De=o.createHref(ye.fullPath);return jo(ye,He,{params:h(He.params),hash:X8(ye.hash),redirectedFrom:void 0,href:De})}let pe;if(de.path!=null)pe=jo({},de,{path:ER(n,de.path,Ce.path).path});else{const ye=jo({},de.params);for(const He in ye)ye[He]==null&&delete ye[He];pe=jo({},de,{params:f(ye)}),Ce.params=f(Ce.params)}const ke=t.resolve(pe,Ce),Re=de.hash||"";ke.params=d(h(ke.params));const ee=stn(r,jo({},de,{hash:etn(Re),path:ke.path})),ce=o.createHref(ee);return jo({fullPath:ee,hash:Re,query:r===Ple?Atn(de.query):de.query||{}},ke,{redirectedFrom:void 0,href:ce})}function _(de){return typeof de=="string"?ER(n,de,l.value.path):jo({},de)}function S(de,Ce){if(c!==de)return Y8(8,{from:Ce,to:de})}function T(de){return P(de)}function $(de){return T(jo(_(de),{replace:!0}))}function M(de){const Ce=de.matched[de.matched.length-1];if(Ce&&Ce.redirect){const{redirect:pe}=Ce;let ke=typeof pe=="function"?pe(de):pe;return typeof ke=="string"&&(ke=ke.includes("?")||ke.includes("#")?ke=_(ke):{path:ke},ke.params={}),jo({query:de.query,hash:de.hash,params:ke.path!=null?{}:de.params},ke)}}function P(de,Ce){const pe=c=k(de),ke=l.value,Re=de.state,ee=de.force,ce=de.replace===!0,ye=M(pe);if(ye)return P(jo(_(ye),{state:typeof ye=="object"?jo({},Re,ye.state):Re,force:ee,replace:ce}),Ce||pe);const He=pe;He.redirectedFrom=Ce;let De;return!ee&&itn(r,ke,pe)&&(De=Y8(16,{to:He,from:ke}),K(ke,ke,!0,!1)),(De?Promise.resolve(De):Z(He,ke)).catch(ze=>D0(ze)?D0(ze,2)?ze:X(ze):G(ze,He,ke)).then(ze=>{if(ze){if(D0(ze,2))return P(jo({replace:ce},_(ze.to),{state:typeof ze.to=="object"?jo({},Re,ze.to.state):Re,force:ee}),Ce||He)}else ze=F(He,ke,!0,ce,Re);return V(He,ke,ze),ze})}function D(de,Ce){const pe=S(de,Ce);return pe?Promise.reject(pe):Promise.resolve()}function U(de){const Ce=Ae.values().next().value;return Ce&&typeof Ce.runWithContext=="function"?Ce.runWithContext(de):de()}function Z(de,Ce){let pe;const[ke,Re,ee]=Ktn(de,Ce);pe=MR(ke.reverse(),"beforeRouteLeave",de,Ce);for(const ye of ke)ye.leaveGuards.forEach(He=>{pe.push(Sp(He,de,Ce))});const ce=D.bind(null,de,Ce);return pe.push(ce),Se(pe).then(()=>{pe=[];for(const ye of a.list())pe.push(Sp(ye,de,Ce));return pe.push(ce),Se(pe)}).then(()=>{pe=MR(Re,"beforeRouteUpdate",de,Ce);for(const ye of Re)ye.updateGuards.forEach(He=>{pe.push(Sp(He,de,Ce))});return pe.push(ce),Se(pe)}).then(()=>{pe=[];for(const ye of ee)if(ye.beforeEnter)if(Ac(ye.beforeEnter))for(const He of ye.beforeEnter)pe.push(Sp(He,de,Ce));else pe.push(Sp(ye.beforeEnter,de,Ce));return pe.push(ce),Se(pe)}).then(()=>(de.matched.forEach(ye=>ye.enterCallbacks={}),pe=MR(ee,"beforeRouteEnter",de,Ce,U),pe.push(ce),Se(pe))).then(()=>{pe=[];for(const ye of s.list())pe.push(Sp(ye,de,Ce));return pe.push(ce),Se(pe)}).catch(ye=>D0(ye,8)?ye:Promise.reject(ye))}function V(de,Ce,pe){i.list().forEach(ke=>U(()=>ke(de,Ce,pe)))}function F(de,Ce,pe,ke,Re){const ee=S(de,Ce);if(ee)return ee;const ce=Ce===fp,ye=u2?history.state:{};pe&&(ke||ce?o.replace(de.fullPath,jo({scroll:ce&&ye&&ye.scroll},Re)):o.push(de.fullPath,Re)),l.value=de,K(de,Ce,pe,ce),X()}let ne;function ae(){ne||(ne=o.listen((de,Ce,pe)=>{if(!ue.listening)return;const ke=k(de),Re=M(ke);if(Re){P(jo(Re,{replace:!0,force:!0}),ke).catch(jv);return}c=ke;const ee=l.value;u2&&gtn(Lle(ee.fullPath,pe.delta),htn()),Z(ke,ee).catch(ce=>D0(ce,12)?ce:D0(ce,2)?(P(jo(_(ce.to),{force:!0}),ke).then(ye=>{D0(ye,20)&&!pe.delta&&pe.type===nx.pop&&o.go(-1,!1)}).catch(jv),Promise.reject()):(pe.delta&&o.go(-pe.delta,!1),G(ce,ke,ee))).then(ce=>{ce=ce||F(ke,ee,!1),ce&&(pe.delta&&!D0(ce,8)?o.go(-pe.delta,!1):pe.type===nx.pop&&D0(ce,20)&&o.go(-1,!1)),V(ke,ee,ce)}).catch(jv)}))}let oe=W9(),z=W9(),se;function G(de,Ce,pe){X(de);const ke=z.list();return ke.length?ke.forEach(Re=>Re(de,Ce,pe)):console.error(de),Promise.reject(de)}function J(){return se&&l.value!==fp?Promise.resolve():new Promise((de,Ce)=>{oe.add([de,Ce])})}function X(de){return se||(se=!de,ae(),oe.list().forEach(([Ce,pe])=>de?pe(de):Ce()),oe.reset()),de}function K(de,Ce,pe,ke){const{scrollBehavior:Re}=e;if(!u2||!Re)return Promise.resolve();const ee=!pe&&btn(Lle(de.fullPath,0))||(ke||!pe)&&history.state&&history.state.scroll||null;return In().then(()=>Re(de,Ce,ee)).then(ce=>ce&&mtn(ce)).catch(ce=>G(ce,de,Ce))}const fe=de=>o.go(de);let re;const Ae=new Set,ue={currentRoute:l,listening:!0,addRoute:m,removeRoute:b,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:v,resolve:k,options:e,push:T,replace:$,go:fe,back:()=>fe(-1),forward:()=>fe(1),beforeEach:a.add,beforeResolve:s.add,afterEach:i.add,onError:z.add,isReady:J,install(de){const Ce=this;de.component("RouterLink",rx),de.component("RouterView",oM),de.config.globalProperties.$router=Ce,Object.defineProperty(de.config.globalProperties,"$route",{enumerable:!0,get:()=>O(l)}),u2&&!re&&l.value===fp&&(re=!0,T(o.location).catch(Re=>{}));const pe={};for(const Re in fp)Object.defineProperty(pe,Re,{get:()=>l.value[Re],enumerable:!0});de.provide(rM,Ce),de.provide(XQ,B0e(pe)),de.provide(vF,l);const ke=de.unmount;Ae.add(de),de.unmount=function(){Ae.delete(de),Ae.size<1&&(c=fp,ne&&ne(),ne=null,l.value=fp,re=!1,se=!1),ke()},__VUE_PROD_DEVTOOLS__&&u2&&Vtn(de,Ce,t)}};function Se(de){return de.reduce((Ce,pe)=>Ce.then(()=>U(pe)),Promise.resolve())}return ue}function Ktn(e,t){const n=[],r=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let s=0;s<a;s++){const i=t.matched[s];i&&(e.matched.find(c=>dh(c,i))?r.push(i):n.push(i));const l=e.matched[s];l&&(t.matched.find(c=>dh(c,l))||o.push(l))}return[n,r,o]}function sl(){return Rn(rM)}function YQ(e){return Rn(XQ)}function Dke(e){return e?.color||"#FFFFFF"}const Jtn="modulepreload",enn=function(e,t){return new URL(e,t).href},Vle={},qs=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let c=function(d){return Promise.all(d.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const s=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),l=i?.nonce||i?.getAttribute("nonce");o=c(n.map(d=>{if(d=enn(d,r),d in Vle)return;Vle[d]=!0;const f=d.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(r)for(let b=s.length-1;b>=0;b--){const v=s[b];if(v.href===d&&(!f||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${h}`))return;const m=document.createElement("link");if(m.rel=f?"stylesheet":Jtn,f||(m.as="script"),m.crossOrigin="",m.href=d,l&&m.setAttribute("nonce",l),document.head.appendChild(m),f)return new Promise((b,v)=>{m.addEventListener("load",b),m.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${d}`)))})}))}function a(s){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s}return o.then(s=>{for(const i of s||[])i.status==="rejected"&&a(i.reason);return t().catch(a)})};var ln=(e=>(e.Request="request",e.Examples="examples",e.Cookies="cookies",e.Collection="collection",e.Schema="schema",e.Environment="environment",e.Servers="servers",e.Workspace="workspace",e.Settings="settings",e))(ln||{});const tnn="activeWorkspace";function Bke(){const e=localStorage.getItem(tnn);return e?{name:"request.root",params:{workspace:e}}:{name:"workspace.default"}}const Hke=[{name:"request.root",path:"",component:()=>qs(()=>Promise.resolve().then(()=>wbn),void 0,import.meta.url),redirect:e=>({name:"request",params:{...e.params,request:"default"}}),children:[{name:"request",path:"request/:request",component:()=>qs(()=>Promise.resolve().then(()=>O1e),void 0,import.meta.url)},{name:"request.examples",path:"request/:request/examples/:examples",component:()=>qs(()=>Promise.resolve().then(()=>O1e),void 0,import.meta.url)},{name:"collection",path:"collection/:collection",component:()=>qs(()=>Promise.resolve().then(()=>byn),void 0,import.meta.url),redirect:()=>({name:"collection.overview"}),children:[{name:"collection.overview",path:"overview",component:()=>qs(()=>Promise.resolve().then(()=>Syn),void 0,import.meta.url)},{name:"collection.servers",path:"servers",component:()=>qs(()=>Promise.resolve().then(()=>C1e),void 0,import.meta.url),children:[{name:"collection.servers.edit",path:":servers",component:()=>qs(()=>Promise.resolve().then(()=>C1e),void 0,import.meta.url)}]},{name:"collection.environment",path:"environment",component:()=>qs(()=>Promise.resolve().then(()=>nxn),void 0,import.meta.url)},{name:"collection.authentication",path:"authentication",component:()=>qs(()=>Promise.resolve().then(()=>cxn),void 0,import.meta.url)},{name:"collection.cookies",path:"cookies",component:()=>qs(()=>Promise.resolve().then(()=>dxn),void 0,import.meta.url)},{name:"collection.scripts",path:"scripts",component:()=>qs(()=>Promise.resolve().then(()=>pxn),void 0,import.meta.url)},{name:"collection.sync",path:"sync",component:()=>qs(()=>Promise.resolve().then(()=>mxn),void 0,import.meta.url)},{name:"collection.settings",path:"settings",component:()=>qs(()=>Promise.resolve().then(()=>Lxn),void 0,import.meta.url)}]}]}],nnn=[{name:"root",path:"/",redirect:Bke},{name:"workspace.default",path:"/workspace",redirect:{name:"workspace",params:{workspace:"default"}}},{name:"workspace",path:"/workspace/:workspace",redirect:{name:"request.root"},children:Hke}];[...Hke];function AR(e,t){const n=e.split(".").reduce((r,o)=>r?.[o],t);return typeof n=="string"?n:JSON.stringify(n)}function vo(e,t){let n=e;const r=new Set;return n=n.replace(ca.VARIABLES,(o,a)=>{const s=a.trim();r.add(s);const i=AR(s,t);return Tn(i)&&i!==""?i:`{{${s}}}`}),n=n.replace(ca.PATH,(o,a)=>{const s=a.trim();if(r.has(s))return`{${s}}`;const i=AR(s,t);return Tn(i)&&i!==""?i:`{${s}}`}),n=n.replace(/:\b[\w.]+\b/g,o=>{const a=o.slice(1);if(r.has(a))return o;const s=AR(a,t);return Tn(s)&&s!==""?s:o}),n}function Fle(e){function t(n,r){const o=Object.keys(n),a=[];return o.forEach(s=>{const i=r?`${r}.${s}`:s;typeof n[s]=="object"?a.push(...t(n[s],i)):a.push([i,String(n[s])])}),a}return t(e)}const Mv=Wt({uid:Pe().brand(),name:Pe().optional().default("Default Environment"),color:Pe().optional().default("#FFFFFF"),value:Pe().default(""),isDefault:Ar().optional()});function rnn(e){return()=>{const t={[ln.Collection]:"default",[ln.Environment]:"default",[ln.Request]:"default",[ln.Examples]:"default",[ln.Schema]:"default",[ln.Cookies]:"default",[ln.Servers]:"default",[ln.Workspace]:"default",[ln.Settings]:"default"},n=e?.currentRoute.value;return n&&Object.keys(t).forEach(r=>{n.params[r]&&(t[r]=n.params[r])}),t}}const Vke=({collections:e,requestExamples:t,requests:n,router:r,servers:o,workspaces:a})=>{const s=Q(rnn(r)),i=Q(()=>a[s.value[ln.Workspace]]??Object.values(a)[0]),l=Q(()=>i.value?.collections.map(_=>e[_]).filter(Tn).sort((_,S)=>_.info?.title==="Drafts"?1:S.info?.title==="Drafts"?-1:0)??[]),c=Q(()=>l.value?.flatMap(_=>_.servers.map(S=>o[S]))),d=Q(()=>l.value?.flatMap(_=>_.requests)??[]),f=Q(()=>{if(!i.value?.activeEnvironmentId)return Mv.parse({uid:"default",color:"#FFFFFF",name:"No Environment",value:JSON.stringify(i.value?.environments,null,2)});const _=l.value.find(S=>S["x-scalar-environments"]?.[i.value?.activeEnvironmentId??""]);return _&&i.value?.activeEnvironmentId?Mv.parse({uid:i.value.activeEnvironmentId,name:i.value.activeEnvironmentId,value:JSON.stringify(_["x-scalar-environments"]?.[i.value?.activeEnvironmentId]?.variables,null,2),color:_["x-scalar-environments"]?.[i.value?.activeEnvironmentId]?.color||"#FFFFFF",isDefault:!1}):Mv.parse({uid:"default",color:"#FFFFFF",name:"No Environment",value:JSON.stringify(i.value.environments,null,2)})}),h=Q(()=>{const _=s.value[ln.Request],S=e[s.value.collection]||e[i.value?.collections[0]??""];return n[_]||n[S?.requests[0]??""]||Object.values(n)[0]}),m=Q(()=>{const _=s.value[ln.Examples]==="default"?h.value?.examples[0]||"":s.value[ln.Examples];return t[_]}),b=Q(()=>{const _=e[s.value[ln.Collection]];if(_)return _;const S=h.value?.uid;if(S)return Object.values(e).find($=>$.requests?.includes(S));const T=i.value?.collections[0]??e[0]?.uid??"";return e[T]}),v=Q(()=>{if(h.value?.selectedServerUid){const _=o[h.value.selectedServerUid];if(_)return _}if(b.value?.selectedServerUid){const _=o[b.value.selectedServerUid];if(_)return _}}),x=Q(()=>s.value[ln.Cookies]==="default"?i.value?.cookies[0]??"default":s.value[ln.Cookies]),k=Q(()=>{const _=i.value?.environments??{},S=f.value.uid?JSON.parse(f.value.value):{},T=Fle(_).map(([P,D])=>({key:P,value:D,source:"global"})),$=Fle(S).map(([P,D])=>({key:P,value:D,source:"collection"})),M=new Map;return $.forEach(P=>{M.set(P.key,P)}),T.forEach(P=>{M.has(P.key)||M.set(P.key,P)}),Array.from(M.values())});return{activeCollection:b,activeCookieId:x,activeExample:m,activeRequest:h,activeRouterParams:s,activeEnvironment:f,activeServer:v,activeWorkspace:i,activeWorkspaceCollections:l,activeWorkspaceServers:c,activeEnvVariables:k,activeWorkspaceRequests:d}},GQ=Symbol(),$o=()=>{const e=Rn(GQ);if(!e)throw new Error("Active entities store not provided");return e};function xF(e){return e.flatMap(t=>{if(t.key==="value")try{const n=JSON.parse(t.value);return Object.keys(n).map(r=>({key:r,value:n[r],source:t.source}))}catch{}return[t]})}const onn={key:0,class:"gap-1/2 flex flex-col"},ann=["onClick"],snn={class:"flex items-center gap-2 whitespace-nowrap"},inn={class:"w-20 overflow-hidden text-right text-ellipsis whitespace-nowrap"},lnn=le({__name:"EnvironmentVariableDropdown",props:{query:{},environment:{},envVariables:{},dropdownPosition:{}},emits:["select"],setup(e,{expose:t,emit:n}){const r=e,o=n,a=me(!0),s=me(null),i=me(0),l=sl(),{activeCollection:c}=$o(),d=()=>{if(!l)return;const{currentRoute:v,push:x}=l,k=v.value.params.workspace;!c.value||c.value.info?.title==="Drafts"?x({name:"environment.default",params:{[ln.Workspace]:k}}):x({name:"collection.environment",params:{[ln.Collection]:c.value.uid}}),a.value=!1},f=new Ph(xF(r.envVariables),{keys:["key","value"]}),h=Q(()=>{const v=r.query;if(!v)return xF(r.envVariables).slice(-4).filter(({key:k,value:_})=>k!==""||_!=="");const x=f.search(v,{limit:10});return x.length>0?x.map(k=>k.item).filter(({key:k,value:_})=>k!==""||_!==""):[]}),m=v=>{o("select",v)};t({handleArrowKey:v=>{const x=v==="up"?-1:1,k=h.value.length;k!==0&&(i.value=(i.value+x+k)%k)},handleSelect:()=>{if(i.value>=0){const v=h.value[i.value];v&&m(v.key)}}}),en(()=>{i.value=0});const b=Q(()=>({left:(r.dropdownPosition?.left??0)+"px",top:(r.dropdownPosition?.top??0)+5+"px"}));return THt(s,()=>{a.value=!1},{ignore:[s]}),(v,x)=>a.value?(C(),Y(O(M7e),{key:0,class:"scalar-client"},{default:B(()=>[L("div",{ref_key:"dropdownRef",ref:s,class:"custom-scroll fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75",style:sr(b.value)},[h.value.length?(C(),A("ul",onn,[(C(!0),A(je,null,_t(h.value,(k,_)=>(C(),A("li",{key:k.key,class:Ie(["font-code text-xxs hover:bg-b-2 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",{"bg-b-2":_===i.value}]),onClick:S=>m(k.key)},[L("div",snn,[k.source==="collection"&&v.environment.name!=="No Environment"?(C(),A("span",{key:0,class:"h-2.25 w-2.25 min-w-2.25 rounded-full",style:sr({backgroundColor:O(Dke)(v.environment)})},null,4)):(C(),Y(O(k4e),{key:1,class:"-ml-0.25 size-2.5",icon:"Globe"})),be(" "+Te(k.key),1)]),L("span",inn,Te(k.value),1)],10,ann))),128))])):O(l)?(C(),Y(O(At),{key:1,class:"font-code text-xxs bg-b-inherit hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",variant:"outlined",onClick:d},{default:B(()=>[H(O(eZ),{class:"size-3"}),x[0]||(x[0]=be(" Add Variable "))]),_:1,__:[0]})):te("",!0),x[1]||(x[1]=L("div",{class:"bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg"},null,-1))],4)]),_:1})):te("",!0)}}),cnn={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"},unn={class:"text-c-1 whitespace-nowrap"},dnn={class:"text-c-1 overflow-hidden text-ellipsis"},fnn={class:"overflow-hidden text-ellipsis"},pnn={class:"flex h-4 w-4 items-center justify-center"},_S=le({__name:"DataTableInputSelect",props:{modelValue:{},value:{},default:{},canAddCustomValue:{type:Boolean,default:!0},type:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=Q(()=>n.value??[]),a=me(!1),s=me(""),i=me(null);pt(s,x=>{r("update:modelValue",x)});const l=x=>{r("update:modelValue",x),a.value=!1},c=()=>{s.value.trim()&&l(s.value)},d=()=>{s.value.trim()||r("update:modelValue",""),a.value=!1},f=x=>n.modelValue.toString()===x;pt(a,x=>{x&&In(()=>{i.value?.focus()})});const h=Q(()=>n.modelValue!==void 0?n.modelValue:n.default),m=Q(()=>{const x=new Set(n.modelValue.toString().split(", "));return o.value.filter(k=>x.has(k)).map(k=>({id:k,label:k,value:k}))}),b=Q(()=>o.value.map(x=>({id:x,label:x,value:x}))),v=x=>{const k=x.map(_=>_.value);r("update:modelValue",k.join(", "))};return(x,k)=>(C(),A("div",cnn,[x.type==="array"?(C(),Y(O(XZ),{key:0,modelValue:m.value,options:b.value,"onUpdate:modelValue":v},{default:B(()=>[H(O(At),{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:B(()=>[L("span",unn,Te(m.value.length>0?m.value.map(_=>_.label).join(", "):"Select a value"),1),H(O(Ct),{icon:"ChevronDown",size:"md",class:"min-w-4"})]),_:1})]),_:1},8,["modelValue","options"])):a.value?Po((C(),A("input",{key:1,ref_key:"inputRef",ref:i,"onUpdate:modelValue":k[0]||(k[0]=_=>s.value=_),class:"text-c-1 w-full min-w-0 border-none px-2 py-1.5 outline-none",placeholder:"Value",type:"text",onBlur:d,onKeyup:cs(c,["enter"])},null,544)),[[Y2,s.value]]):(C(),Y(O(x$),{key:2,resize:"",value:h.value},{items:B(()=>[(C(!0),A(je,null,_t(o.value,_=>(C(),Y(O(T2),{key:_,class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",value:_,onClick:S=>l(_)},{default:B(()=>[L("div",{class:Ie(["flex h-4 w-4 items-center justify-center rounded-full p-[3px]",f(_)?"bg-c-accent text-b-1":"shadow-border text-transparent"])},[H(O(Ct),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),L("span",fnn,Te(_),1)]),_:2},1032,["value","onClick"]))),128)),x.canAddCustomValue?(C(),A(je,{key:0},[o.value.length?(C(),Y(O(zj),{key:0})):te("",!0),H(O(T2),{class:"flex items-center gap-1.5",onClick:k[1]||(k[1]=_=>a.value=!0)},{default:B(()=>[L("div",pnn,[H(O(Ct),{icon:"Add",size:"sm"})]),k[2]||(k[2]=L("span",null,"Add value",-1))]),_:1,__:[2]})],64)):te("",!0)]),default:B(()=>[H(O(At),{class:"h-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none",fullWidth:"",variant:"ghost"},{default:B(()=>[L("span",dnn,Te(h.value||"Select a value"),1),H(O(Ct),{icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["value"]))]))}});let hnn=class Fke extends U1{constructor(t,n,r,o){super(),this.variableName=t,this.variableName=t,this.environment=n,this.envVariables=r,this.isReadOnly=o??!1,this.uid=_k()}app;uid;environment;envVariables;isReadOnly;toDOM(){const t=document.createElement("span");t.className="cm-pill",t.textContent=`${this.variableName}`;const n=le({props:{variableName:{type:String,default:null}},render:()=>{const r=this.envVariables?xF(this.envVariables).find(l=>l.key===this.variableName):void 0,o=r?.source==="global",a=o?"var(--scalar-color-1)":r&&this.environment&&this.environment.name!=="No Environment"?Dke(this.environment):"var(--scalar-color-1)";t.style.setProperty("--tw-bg-base",a),t.style.opacity=r?.value?"1":"0.5";const s=r?.value||"No value",i=nr("div",{class:"flex items-center gap-1 whitespace-nowrap"},[(o||this.environment?.name==="No Environment"&&r?.value)&&nr(k4e,{class:"size-3 -ml-1",icon:"Globe"}),nr("span",this.variableName)]);return nr(Uy,{content:s,delay:0,placement:"bottom",offset:6},{default:()=>i})}});return this.app=wL(n,{variableName:this.variableName}),this.app.mount(t),t}destroy(){this.app&&this.app.unmount()}eq(t){return t instanceof Fke&&t.variableName===this.variableName&&t.uid===this.uid}ignoreEvent(){return!1}};const mnn=e=>Os.fromClass(class{decorations;constructor(t){this.decorations=this.buildDecorations(t)}update(t){(t.docChanged||t.viewportChanged)&&requestAnimationFrame(()=>{this.decorations=this.buildDecorations(t.view),t.view.update([])})}buildDecorations(t){const n=new nf;for(const{from:r,to:o}of t.visibleRanges){const a=t.state.doc.sliceString(r,o);let s;for(;(s=ca.VARIABLES.exec(a))!==null;){const i=r+s.index,l=i+s[0].length,c=s[1]??"";n.add(i,l,Mn.widget({widget:new hnn(c,e.environment,e.envVariables,e.isReadOnly),side:1}))}}return n.finish()}},{decorations:t=>t.decorations}),gnn=qt.domEventHandlers({keydown(e,t){if(e.key==="Backspace"){const{state:n}=t,{from:r,to:o}=n.selection.main;if(r===0&&o===n.doc.length)return t.dispatch({changes:{from:0,to:n.doc.length},selection:{anchor:0}}),e.preventDefault(),!0;if(r===o&&r>0&&n.doc.sliceString(r-2,r)==="}}")return t.dispatch({changes:{from:r-2,to:o},selection:{anchor:r-2}}),e.preventDefault(),!0}return!1}}),KQ=Symbol(),Ti=()=>({layout:Rn(KQ,"desktop")}),bnn={class:"whitespace-nowrap"},vnn=["id"],ynn={key:0,class:"z-context text-c-2 absolute right-1.5 bottom-1 hidden font-sans group-has-[:focus-visible]/input:block",role:"alert"},xnn={key:5,class:"centered-y text-orange absolute right-7 text-xs"},knn={key:6,class:"centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1"},wnn={key:7,class:"required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pt-px pr-2 opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 group-[.alert]:bg-transparent group-[.alert]:shadow-none group-[.error]:bg-transparent group-[.error]:shadow-none peer-has-[.cm-focused]:opacity-0"},Onn={inheritAttrs:!1},Cnn=le({...Onn,__name:"CodeInput",props:{colorPicker:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},modelValue:{},error:{type:Boolean},emitOnBlur:{type:Boolean,default:!0},extensions:{default:()=>[]},lineNumbers:{type:Boolean},lint:{type:Boolean},disableTabIndent:{type:Boolean,default:!1},language:{},handleFieldSubmit:{},handleFieldChange:{},placeholder:{},required:{type:Boolean},disableEnter:{type:Boolean,default:!1},disableCloseBrackets:{type:Boolean,default:!1},enum:{},examples:{},type:{},nullable:{type:Boolean,default:!1},withVariables:{type:Boolean,default:!0},importCurl:{type:Boolean},default:{},environment:{},envVariables:{},lineWrapping:{type:Boolean,default:!1}},emits:["submit","update:modelValue","curl","blur"],setup(e,{expose:t,emit:n}){const r=e,o=n,a=ZU(),s=a.id||`id-${_k()}`,i=me(!1),l=me(!1),c=me(""),d=me({left:0,top:0}),f=me(null),{layout:h}=Ti();function m(V){return V===r.modelValue?null:r.importCurl&&V.trim().toLowerCase().startsWith("curl")?(o("curl",V),T.value?.dispatch({changes:{from:0,to:T.value.state.doc.length,insert:String(r.modelValue)}}),null):r.handleFieldChange?r.handleFieldChange(V):o("update:modelValue",V)}function b(V){return r.handleFieldSubmit?r.handleFieldSubmit(V):o("submit",V)}function v(V){i.value=!1,r.emitOnBlur&&r.modelValue&&b(V),o("blur",V)}const x=[...r.extensions];r.colorPicker&&x.push(Qqt);const k=Q(()=>mnn({environment:r.environment,envVariables:r.envVariables,isReadOnly:h==="modal"})),_=Q(()=>[...x,k.value,gnn]),S=me(null),{codeMirror:T}=lke({content:Ys(()=>r.modelValue!==void 0?String(r.modelValue):""),onChange:V=>{m(V),M()},onFocus:()=>i.value=!0,onBlur:V=>v(V),codeMirrorRef:S,disableTabIndent:Ys(()=>r.disableTabIndent),disableEnter:Ys(()=>r.disableEnter),disableCloseBrackets:Ys(()=>r.disableCloseBrackets),lineNumbers:Ys(()=>r.lineNumbers),language:Ys(()=>r.language),lint:Ys(()=>r.lint),extensions:_,placeholder:Ys(()=>r.placeholder)});T.value?.focus(),pt(T,()=>{T.value&&Object.hasOwn(a,"autofocus")&&T.value.focus()});const{handleDropdownSelect:$,updateDropdownVisibility:M}=YJt({codeMirror:T,query:c,showDropdown:l,dropdownPosition:d}),P=Q(()=>r.nullable?["true","false","null"]:["true","false"]),D=(V,F)=>{l.value?V==="down"?(F.preventDefault(),f.value?.handleArrowKey("down")):V==="up"?(F.preventDefault(),f.value?.handleArrowKey("up")):V==="enter"&&(F.preventDefault(),f.value?.handleSelect()):V==="escape"?r.disableTabIndent||F.stopPropagation():V==="enter"&&F.target instanceof HTMLDivElement&&b(F.target.textContent??"")},U=Q(()=>Array.isArray(r.type)?r.type.find(V=>V!=="null")??"string":r.type),Z=Q(()=>l.value&&r.withVariables&&h!=="modal"&&r.environment);return t({focus:()=>{T.value?.focus()},handleChange:m,handleSubmit:b,handleBlur:v,booleanOptions:P,codeMirror:T,modelValue:r.modelValue}),(V,F)=>(C(),A(je,null,[V.disabled?(C(),A("div",{key:0,class:Ie(["text-c-2 flex cursor-default items-center justify-center",O(h)==="modal"?"font-code pr-2 pl-1 text-base":"px-2"]),"data-testid":"code-input-disabled"},[L("span",bnn,Te(V.modelValue),1)],2)):r.enum&&r.enum.length?(C(),Y(_S,{key:1,default:r.default,modelValue:V.modelValue,type:U.value,value:r.enum,"onUpdate:modelValue":F[0]||(F[0]=ne=>o("update:modelValue",ne))},null,8,["default","modelValue","type","value"])):V.type==="boolean"||V.type?.includes("boolean")?(C(),Y(_S,{key:2,default:r.default,modelValue:V.modelValue,value:P.value,"onUpdate:modelValue":F[1]||(F[1]=ne=>o("update:modelValue",ne))},null,8,["default","modelValue","value"])):r.examples&&r.examples.length?(C(),Y(_S,{key:3,default:r.default,modelValue:r.modelValue,value:r.examples,"onUpdate:modelValue":F[2]||(F[2]=ne=>o("update:modelValue",ne))},null,8,["default","modelValue","value"])):(C(),A("div",lt({key:4,id:O(s)},V.$attrs,{ref_key:"codeMirrorRef",ref:S,class:["group/input group-[.alert]:outline-orange group-[.error]:outline-red font-code peer relative w-full overflow-hidden text-xs leading-[1.44] whitespace-nowrap -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline",{"line-wrapping has-[:focus-visible]:bg-b-1 has-[:focus-visible]:absolute has-[:focus-visible]:z-1":V.lineWrapping,"flow-code-input--error":V.error}],onKeydown:[F[3]||(F[3]=cs(Jt(ne=>D("down",ne),["stop"]),["down"])),F[4]||(F[4]=cs(ne=>D("enter",ne),["enter"])),F[5]||(F[5]=cs(ne=>D("escape",ne),["escape"])),F[6]||(F[6]=cs(Jt(ne=>D("up",ne),["stop"]),["up"]))]}),[V.disableTabIndent?te("",!0):(C(),A("div",ynn,F[7]||(F[7]=[be(" Press "),L("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Esc",-1),be(" then "),L("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Tab",-1),be(" to exit ")])))],16,vnn)),V.$slots.warning?(C(),A("div",xnn,[we(V.$slots,"warning",{},void 0,!0)])):te("",!0),V.$slots.icon?(C(),A("div",knn,[we(V.$slots,"icon",{},void 0,!0)])):te("",!0),V.required?(C(),A("div",wnn," Required ")):te("",!0),Z.value?(C(),Y(lnn,{key:8,ref_key:"dropdownRef",ref:f,dropdownPosition:d.value,envVariables:V.envVariables,environment:V.environment,query:c.value,onSelect:O($)},null,8,["dropdownPosition","envVariables","environment","query","onSelect"])):te("",!0)],64))}}),uf=Dn(Cnn,[["__scopeId","data-v-103d9d56"]]),_nn=le({__name:"HttpMethod",props:{isSquare:{type:Boolean,default:!1},method:{},isEditable:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const n=e,r=t,o=Q(()=>j8(n.method)),a=Object.entries(SZ).map(([c])=>({id:c,label:c.toUpperCase(),color:j8(c).colorClass})),s=Q({get:()=>a.find(({id:c})=>c===n.method),set:c=>c?.id&&r("change",c.id)}),i=ks({base:"text-center font-code text-3xs justify-center items-center flex",variants:{isSquare:{true:"px-2.5 whitespace-nowrap font-bold border-r h-fit m-auto",false:"rounded-full"},isEditable:{true:"http-bg-gradient rounded-md border border-r",false:"cursor-auto"}}}),l=Q(()=>o.value.short);return(c,d)=>c.isEditable?(C(),Y(O(qd),{key:0,modelValue:s.value,"onUpdate:modelValue":d[0]||(d[0]=f=>s.value=f),class:"font-code scalar-client mt-1 text-sm",options:O(a)},{default:B(()=>[L("div",{class:Ie(["h-full",{"pointer-events-none":!c.isEditable}])},[L("button",{class:Ie(["relative h-full",O(is)(O(i)({isSquare:c.isSquare,isEditable:c.isEditable}),o.value.colorClass)]),type:"button"},[L("span",null,Te(l.value),1)],2)],2)]),_:1},8,["modelValue","options"])):(C(),A("div",{key:1,class:Ie(["relative gap-1 whitespace-nowrap",O(is)(O(i)({isSquare:c.isSquare,isEditable:c.isEditable}),o.value.colorClass)]),type:"button"},Te(o.value.short),3))}}),aM=Dn(_nn,[["__scopeId","data-v-076b14a1"]]),Snn=(e,t=2)=>e>1e3?(e/1e3).toFixed(t)+"s":e+"ms",Lnn={100:{color:"text-yellow"},200:{color:"text-green"},202:{color:"text-green"},300:{color:"text-blue"},304:{color:"text-blue"},400:{color:"text-red"},401:{color:"text-orange"},422:{color:"text-yellow"},423:{color:"text-purple"},505:{color:"text-orange"}},$nn=e=>Lnn[e]||{color:"text-grey"},Uke=ea([Pe().brand(),Pe().brand().array()]).array().default([]),Tnn=ea([Wt({description:Pe().optional(),default:Pe().default("")}),Pe()]),Enn=Wt({description:Pe().optional(),color:Pe().optional(),variables:wo(Pe(),Tnn)}),jnn=wo(Pe(),Enn),Mnn=Wt({description:Pe().optional(),example:Pe().optional()}),Ann=wo(Pe(),Mnn),sM=Wt({description:Pe().optional()}),iM=Wt({uid:Eh.brand(),nameKey:Pe().optional().default("")}),Nnn=["query","header","cookie"],zke=sM.extend({type:Lr("apiKey"),name:Pe().optional().default(""),in:na(Nnn).optional().default("header").catch("header")}),Pnn=Wt({value:Pe().default("")}),Inn=zke.merge(iM).merge(Pnn),Wke=sM.extend({type:Lr("http"),scheme:Pe().toLowerCase().pipe(na(["basic","bearer"])).optional().default("basic"),bearerFormat:ea([Lr("JWT"),Pe()]).optional().default("JWT")}),Rnn=Wt({username:Pe().default(""),password:Pe().default(""),token:Pe().default("")}),Dnn=Wke.merge(iM).merge(Rnn),Zke=sM.extend({type:Lr("openIdConnect"),openIdConnectUrl:Pe().optional().default("")}),Bnn=Zke.merge(iM),Ule=Pe().default(""),NR=Pe().default(""),KC=Wt({refreshUrl:Pe().optional().default(""),scopes:wo(Pe(),Pe().optional().default("")).optional().default({}).catch({}),selectedScopes:ta(Pe()).optional().default([]),"x-scalar-client-id":Pe().optional().default(""),token:Pe().default(""),"x-scalar-security-query":wo(Pe(),Pe()).optional(),"x-scalar-security-body":wo(Pe(),Pe()).optional(),"x-tokenName":Pe().optional()}),PR=typeof window<"u"?window.location.origin+window.location.pathname:"",JQ=["SHA-256","plain","no"],IR=na(["header","body"]).optional(),Qke=sM.extend({type:Lr("oauth2"),"x-default-scopes":ta(Pe()).optional(),flows:Wt({implicit:KC.extend({type:Lr("implicit").default("implicit"),authorizationUrl:Ule,"x-scalar-redirect-uri":Pe().optional().default(PR)}),password:KC.extend({type:Lr("password").default("password"),tokenUrl:NR,clientSecret:Pe().default(""),username:Pe().default(""),password:Pe().default(""),"x-scalar-credentials-location":IR}),clientCredentials:KC.extend({type:Lr("clientCredentials").default("clientCredentials"),tokenUrl:NR,clientSecret:Pe().default(""),"x-scalar-credentials-location":IR}),authorizationCode:KC.extend({type:Lr("authorizationCode").default("authorizationCode"),authorizationUrl:Ule,"x-usePkce":na(JQ).optional().default("no"),"x-scalar-redirect-uri":Pe().optional().default(PR),tokenUrl:NR,clientSecret:Pe().default(""),"x-scalar-credentials-location":IR})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":"",refreshUrl:"",token:"",type:"implicit",authorizationUrl:"http://localhost:8080","x-scalar-redirect-uri":PR}})}),Hnn=Qke.merge(iM),qke=wo(Pe(),ta(Pe()).optional().default([]));ea([zke,Wke,Qke,Zke]);const ox=DSt("type",[Inn,Dnn,Bnn,Hnn]).transform(e=>(e.type==="oauth2"&&e["x-default-scopes"]?.length&&Object.keys(e.flows).forEach(n=>{e.flows[n]?.selectedScopes&&e["x-default-scopes"]&&(e.flows[n].selectedScopes=[e["x-default-scopes"]].flat())}),e)),G8=e=>Array.isArray(e)?e.map(t=>typeof t=="object"&&t!==null?G8(t):t):Object.fromEntries(Object.entries(e).filter(([t,n])=>n!==void 0).map(([t,n])=>typeof n=="object"&&n!==null?[t,G8(n)]:[t,n])),Vnn=Wt({name:Pe().optional().nullable().catch(null),identifier:Pe().optional().catch(void 0),url:Pe().url().optional().catch(void 0)}).transform(G8),Fnn=Wt({name:Pe().optional(),url:Pe().url().optional().catch(void 0),email:Pe().optional().catch(void 0)}).transform(G8),Unn=Wt({title:Pe().catch("API"),summary:Pe().optional().catch(void 0),description:Pe().optional().catch(void 0),termsOfService:Pe().url().optional().catch(void 0),contact:Fnn.optional().catch(void 0),license:Vnn.optional().catch(void 0),version:Pe().catch("1.0")}).merge(sLt).transform(G8),eq=Wt({description:Pe().optional().catch(void 0),url:Pe()}).transform(G8),znn=Wt({tagName:Pe()}).array(),Wnn=Wt({type:Lr("tag").optional().default("tag"),name:Pe(),description:Pe().optional().catch(void 0),externalDocs:eq.optional(),"x-scalar-children":znn.default([]).optional(),"x-internal":Ar().optional(),"x-scalar-ignore":Ar().optional()}),K8=Wnn.extend({uid:Eh.brand(),children:ea([Pe().brand(),Pe().brand()]).array().default([])}),Znn=Wt({type:Lr("collection").optional().default("collection"),openapi:ea([Pe(),Lr("3.0.0"),Lr("3.1.0"),Lr("4.0.0")]).optional().default("3.1.0"),jsonSchemaDialect:Pe().optional(),info:Unn.catch({title:"API",version:"1.0"}),security:ta(qke).optional().default([]),externalDocs:eq.optional().catch(void 0),components:wo(Pe(),Qi()).optional(),webhooks:wo(Pe(),Qi()).optional(),"x-scalar-icon":Pe().optional().default("interface-content-folder"),"x-scalar-active-environment":Pe().optional(),"x-scalar-environments":jnn.optional(),"x-scalar-secrets":Ann.optional()}),Qnn=Wt({uid:Eh.brand(),securitySchemes:Pe().array().default([]),selectedSecuritySchemeUids:Uke,selectedServerUid:Pe().brand().optional(),servers:Pe().brand().array().default([]),requests:Pe().brand().array().default([]),tags:Pe().brand().array().default([]),children:ea([Pe().brand(),Pe().brand()]).array().default([]),documentUrl:Pe().optional(),watchMode:Ar().optional().default(!1),integration:Pe().nullable().optional(),useCollectionSecurity:Ar().optional().default(!1),watchModeStatus:na(["IDLE","WATCHING","ERROR"]).optional().default("IDLE")}),J8=Znn.merge(Qnn),qnn=na(["path","query","header","cookie"]),Xnn=na(["matrix","simple","form","label","spaceDelimited","pipeDelimited","deepObject"]);Qi();const Ynn=Wt({in:qnn,name:Pe(),description:Pe().optional(),required:Ar().optional().default(!1),deprecated:Ar().optional().default(!1),schema:Qi().optional(),content:Qi().optional(),style:Xnn.optional(),explode:Ar().optional(),example:Qi().optional(),examples:ea([wo(Pe(),Wt({value:Qi().optional(),summary:Pe().optional(),externalValue:Pe().optional()})),ta(Qi())]).optional()});var SS=(e=>(e.Deprecated="deprecated",e.Experimental="experimental",e.Stable="stable",e))(SS||{});const zle=Wt({title:Pe().optional(),component:Qi(),props:wo(Pe(),ls()).optional()}),Gnn=Wt({"request.section":ta(zle).optional(),"response.section":ta(zle).optional()}),Knn=Wt({onBeforeRequest:xa({input:[Wt({request:l$(Request)})],output:ea([yd(),Voe(yd())])}).optional(),onResponseReceived:xa({input:[Wt({response:l$(Response),operation:wo(Pe(),ls())})],output:ea([yd(),Voe(yd())])}).optional()}),Jnn=xa({input:[],output:Wt({name:Pe(),views:Gnn.optional(),hooks:Knn.optional()})}),ern=Wt({name:Pe().regex(/^x-/),component:Qi(),renderer:Qi().optional()}),trn=xa({input:[],output:Wt({name:Pe(),extensions:ta(ern)})}),nrn=na(["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","elysiajs","fastify","mars","laserwave","none"]),rrn=na(["summary","path"]),orn=na(["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]),arn=na(["adonisjs","docusaurus","dotnet","elysiajs","express","fastapi","fastify","go","hono","html","laravel","litestar","nestjs","nextjs","nitro","nuxt","platformatic","react","rust","svelte","vue"]).nullable(),srn=Wt({url:Pe().optional(),content:ea([Pe(),F6e(),wo(Pe(),ls()),xa({input:[],output:wo(Pe(),ls())})]).optional(),title:Pe().optional(),slug:Pe().optional()}),irn=Wt({basePath:Pe()}),rT=Wt({url:Pe().optional(),content:ea([Pe(),F6e(),wo(Pe(),ls()),xa({input:[],output:wo(Pe(),ls())})]).optional(),title:Pe().optional(),slug:Pe().optional(),spec:srn.optional(),authentication:ls().optional(),baseServerURL:Pe().optional(),hideClientButton:Ar().optional().default(!1).catch(!1),proxyUrl:Pe().optional(),searchHotKey:orn.optional(),servers:ta(ls()).optional(),showSidebar:Ar().optional().default(!0).catch(!0),showToolbar:na(["always","localhost","never"]).optional().default("localhost").catch("localhost"),operationTitleSource:rrn.optional().default("summary").catch("summary"),theme:nrn.optional().default("default").catch("default"),_integration:arn.optional(),onRequestSent:xa({input:[Pe()],output:yd()}).optional(),persistAuth:Ar().optional().default(!1).catch(!1),plugins:ta(Jnn).optional(),telemetry:Ar().optional().default(!0)}),lrn=q6e(),crn=rT.merge(Wt({layout:na(["modern","classic"]).optional().default("modern").catch("modern"),proxy:Pe().optional(),fetch:lrn.optional(),plugins:ta(trn).optional(),isEditable:Ar().optional().default(!1).catch(!1),isLoading:Ar().optional().default(!1).catch(!1),hideModels:Ar().optional().default(!1).catch(!1),documentDownloadType:na(["yaml","json","both","direct","none"]).optional().default("both").catch("both"),hideDownloadButton:Ar().optional(),hideTestRequestButton:Ar().optional().default(!1).catch(!1),hideSearch:Ar().optional().default(!1).catch(!1),showOperationId:Ar().optional().default(!1).catch(!1),darkMode:Ar().optional(),forceDarkModeState:na(["dark","light"]).optional(),hideDarkModeToggle:Ar().optional().default(!1).catch(!1),metaData:ls().optional(),favicon:Pe().optional(),hiddenClients:ea([wo(Pe(),ea([Ar(),ta(Pe())])),ta(Pe()),Lr(!0)]).optional(),defaultHttpClient:Wt({targetKey:q6e(),clientKey:Pe()}).optional(),customCss:Pe().optional(),onSpecUpdate:xa({input:[Pe()],output:yd()}).optional(),onServerChange:xa({input:[Pe()],output:yd()}).optional(),onDocumentSelect:xa().optional(),onLoaded:xa().optional(),onBeforeRequest:xa({input:[Wt({request:l$(Request)})],output:yd()}).optional(),onShowMore:xa({input:[Pe()],output:yd()}).optional(),onSidebarClick:xa({input:[Pe()],output:yd()}).optional(),pathRouting:irn.optional(),generateHeadingSlug:xa({input:[Wt({slug:Pe().default("headingSlug")})],output:Pe()}).optional(),generateModelSlug:xa({input:[Wt({name:Pe().default("modelName")})],output:Pe()}).optional(),generateTagSlug:xa({input:[Wt({name:Pe().default("tagName")})],output:Pe()}).optional(),generateOperationSlug:xa({input:[Wt({path:Pe(),operationId:Pe().optional(),method:Pe(),summary:Pe().optional()})],output:Pe()}).optional(),generateWebhookSlug:xa({input:[Wt({name:Pe(),method:Pe().optional()})],output:Pe()}).optional(),redirect:xa({input:[Pe()],output:Pe().nullable().optional()}).optional(),withDefaultFonts:Ar().optional().default(!0).catch(!0),defaultOpenAllTags:Ar().optional().default(!1).catch(!1),expandAllModelSections:Ar().optional().default(!1).catch(!1),expandAllResponses:Ar().optional().default(!1).catch(!1),tagsSorter:ea([Lr("alpha"),xa({input:[ls(),ls()],output:a$()})]).optional(),operationsSorter:ea([Lr("alpha"),Lr("method"),xa({input:[ls(),ls()],output:a$()})]).optional(),orderSchemaPropertiesBy:ea([Lr("alpha"),Lr("preserve")]).optional().default("alpha").catch("alpha"),orderRequiredPropertiesFirst:Ar().optional().default(!0).catch(!0)})),Wle="https://api.scalar.com/request-proxy",RR="https://proxy.scalar.com",urn=e=>{const t={...e};return t.hideDownloadButton&&(console.warn("[DEPRECATED] You're using the deprecated 'hideDownloadButton' attribute. Use 'documentDownloadType: 'none'' instead."),t.documentDownloadType="none"),t.spec?.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),t.spec?.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, rename it to 'proxyUrl' or update the package."),t.proxyUrl||(t.proxyUrl=t.proxy),delete t.proxy),t.proxyUrl===Wle&&(console.warn(`[DEPRECATED] Warning: configuration.proxyUrl points to our old proxy (${Wle}).`),console.warn(`[DEPRECATED] We are overwriting the value and use the new proxy URL (${RR}) instead.`),console.warn(`[DEPRECATED] Action Required: You should manually update your configuration to use the new URL (${RR}). Read more: https://github.com/scalar/scalar`),t.proxyUrl=RR),t},kF=crn.transform(urn),Xke=e=>!!(!Array.isArray(e)&&e&&"sources"in e&&Array.isArray(e.sources));Wt({cdn:Pe().optional().default("https://cdn.jsdelivr.net/npm/@scalar/api-reference"),pageTitle:Pe().optional().default("Scalar API Reference")});function drn(e){return e?Object.keys(e).map(t=>String(t)):[]}const frn=10,Zle=10,prn="propertyName*",tq=new Date().toISOString(),hrn=tq.split("T")[0],mrn=tq.split("T")[1].split(".")[0],grn={"date-time":tq,date:hrn,email:"hello@example.com",hostname:"example.com","idn-email":"jane.doe@example.com","idn-hostname":"example.com",ipv4:"127.0.0.1",ipv6:"51d4:7fab:bfbf:b7d7:b2cb:d4b4:3dad:d998","iri-reference":"/entitiy/1",iri:"https://example.com/entity/123","json-pointer":"/nested/objects",password:"super-secret",regex:"/[a-z]/","relative-json-pointer":"1/nested/objects",time:mrn,"uri-reference":"../folder","uri-template":"https://example.com/{id}",uri:"https://example.com",uuid:"123e4567-e89b-12d3-a456-426614174000","object-id":"6592008029c8c3e4dc76256c"},Yke=(e,t=!1,n="")=>"type"in e&&e.type==="string"&&"format"in e&&e.format==="binary"?new File([""],"filename"):t&&"format"in e&&e.format?grn[e.format]??n:n,wF=new WeakMap,Qle=new WeakMap,brn=e=>{if(!e)return;const t=Qle.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 Qle.set(e,r),r}}},Ma=(e,t)=>(typeof t!="object"||t===null||wF.set(_l(UE(e)),t),t),vrn=e=>!!(e.allOf||e.oneOf||e.anyOf),yrn=(e,t,n,r)=>{if(r?.omitEmptyAndOptionalProperties!==!0||"type"in e&&(e.type==="object"||e.type==="array")||vrn(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 a=n??e.title??"",s=brn(t);return!(s?s.has(a):!1)},Gke=(e,t)=>Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&typeof e=="object"&&t&&typeof t=="object"?{...e,...t}:t,xrn=(e,t,n,r)=>{const o={};if("properties"in e&&e.properties){const a=Object.keys(e.properties),s=n>3?Math.min(Zle,a.length):a.length;for(let i=0;i<s;i++){const l=a[i],c=ht(e.properties[l]);if(!c)continue;const d=t?.xml&&"xml"in c?c.xml?.name:void 0,f=Ms(c,t,{level:n+1,parentSchema:e,name:l,seen:r});typeof f<"u"&&(o[d??l]=f)}n>3&&a.length>Zle&&(o["..."]="[Additional Properties Truncated]")}if("patternProperties"in e&&e.patternProperties)for(const a of Object.keys(e.patternProperties)){const s=ht(e.patternProperties[a]);s&&(o[a]=Ms(s,t,{level:n+1,parentSchema:e,name:a,seen:r}))}if("additionalProperties"in e&&e.additionalProperties!==void 0){const a=ht(e.additionalProperties),s=e.additionalProperties===!0||typeof e.additionalProperties=="object"&&Object.keys(e.additionalProperties).length===0,i=typeof a=="object"&&"x-additionalPropertiesName"in a&&typeof a["x-additionalPropertiesName"]=="string"&&a["x-additionalPropertiesName"].trim().length>0?`${a["x-additionalPropertiesName"].trim()}*`:prn;o[i]=s?"anything":typeof a=="object"?Ms(a,t,{level:n+1,seen:r}):"anything"}if(e.oneOf?.[0])Object.assign(o,Ms(ht(e.oneOf[0]),t,{level:n+1,seen:r}));else if(e.anyOf?.[0])Object.assign(o,Ms(ht(e.anyOf[0]),t,{level:n+1,seen:r}));else if(Array.isArray(e.allOf)&&e.allOf.length>0){let a=o;for(const s of e.allOf){const i=Ms(ht(s),t,{level:n+1,parentSchema:e,seen:r});a=Gke(a,i)}a&&typeof a=="object"&&Object.assign(o,a)}if(t?.xml&&"xml"in e&&e.xml?.name&&n===0){const a={};return a[e.xml.name]=o,Ma(e,a)}return Ma(e,o)},krn=(e,t,n,r)=>{const o="items"in e?ht(e.items):void 0,a=o&&typeof o=="object"&&"xml"in o?o.xml?.name:void 0,s=!!(t?.xml&&"xml"in e&&e.xml?.wrapped&&a);if(e.example!==void 0)return Ma(e,s?{[a]:e.example}:e.example);if(o&&typeof o=="object"){if(Array.isArray(o.allOf)&&o.allOf.length>0){const d=o.allOf.filter(Tn),f=ht(d[0]);if(f&&typeof f=="object"&&"type"in f&&f.type==="object"){const b=Ms({type:"object",allOf:d},t,{level:n+1,parentSchema:e,seen:r});return Ma(e,s?[{[a]:b}]:[b])}const h=d.map(m=>Ms(ht(m),t,{level:n+1,parentSchema:e,seen:r})).filter(Tn);return Ma(e,s?h.map(m=>({[a]:m})):h)}const c=o.anyOf||o.oneOf;if(c&&c.length>0){const d=c[0],f=Ms(ht(d),t,{level:n+1,parentSchema:e,seen:r});return Ma(e,s?[{[a]:f}]:[f])}}const i=o&&typeof o=="object"&&("type"in o&&o.type==="object"||"properties"in o),l=o&&typeof o=="object"&&("type"in o&&o.type==="array"||"items"in o);if(o&&typeof o=="object"&&("type"in o&&o.type||i||l)){const c=Ms(o,t,{level:n+1,seen:r});return Ma(e,s?[{[a]:c}]:[c])}return Ma(e,[])},wrn=(e,t,n)=>{if("type"in e&&e.type&&!Array.isArray(e.type))switch(e.type){case"string":return Yke(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}},Orn=(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 Yke(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}}},Ms=(e,t,n)=>{const{level:r=0,parentSchema:o,name:a,seen:s=new WeakSet}=n??{},i=ht(e);if(!Tn(i))return;const l=_l(UE(i));if(s.has(l))return"[Circular Reference]";if(s.add(l),wF.has(l))return s.delete(l),wF.get(l);if(r>frn)return s.delete(l),"[Max Depth Exceeded]";const c=!!t?.emptyString;if(i.deprecated||t?.mode==="write"&&i.readOnly||t?.mode==="read"&&i.writeOnly||yrn(i,o,a,t)){s.delete(l);return}if("x-variable"in i&&i["x-variable"]){const m=t?.variables?.[i["x-variable"]];if(m!==void 0)return"type"in i&&(i.type==="number"||i.type==="integer")?(s.delete(l),Ma(i,Number(m))):(s.delete(l),Ma(i,m))}if(Array.isArray(i.examples)&&i.examples.length>0)return s.delete(l),Ma(i,i.examples[0]);if(i.example!==void 0)return s.delete(l),Ma(i,i.example);if(i.default!==void 0)return s.delete(l),Ma(i,i.default);if(i.const!==void 0)return s.delete(l),Ma(i,i.const);if(Array.isArray(i.enum)&&i.enum.length>0)return s.delete(l),Ma(i,i.enum[0]);if("properties"in i||"type"in i&&i.type==="object"){const m=xrn(i,t,r,s);return s.delete(l),m}if("type"in i&&i.type==="array"||"items"in i){const m=krn(i,t,r,s);return s.delete(l),m}const d=wrn(i,c,t?.emptyString);if(d!==void 0)return s.delete(l),Ma(i,d);const f=i.oneOf||i.anyOf;if(Array.isArray(f)&&f.length>0){for(const m of f){const b=ht(m);if(b&&(!("type"in b)||b.type!=="null"))return s.delete(l),Ma(i,Ms(b,t,{level:r+1,seen:s}))}return s.delete(l),Ma(i,null)}if(Array.isArray(i.allOf)&&i.allOf.length>0){let m;const b=i.allOf;for(const v of b){const x=Ms(v,t,{level:r+1,parentSchema:i,seen:s});m===void 0?m=x:m&&typeof m=="object"&&x&&typeof x=="object"?m=Gke(m,x):x!==void 0&&(m=x)}return s.delete(l),Ma(i,m??null)}const h=Orn(i,c,t?.emptyString);return h!==void 0?(s.delete(l),Ma(i,h)):(s.delete(l),Ma(i,null))};function qle(e=[],t=[],n,r=!0){return[...t||[],...e||[]].filter(s=>s.in===n).filter(s=>r&&s.required||!r).map(s=>({name:s.name??"Unknown Parameter",description:s.description??null,value:s.example?s.example:s.schema?Ms(s.schema,{mode:"write"}):"",required:s.required??!1,enabled:s.required??!1})).sort((s,i)=>s.required&&!i.required?-1:!s.required&&i.required?1:0)}function Kke(e,t=!1,n){return Object.entries(e).flatMap(([r,o])=>{const a=n??r;return Array.isArray(o)&&!t?Kke(o,!0,r):(typeof o=="object"&&!(o instanceof File)&&o!==null&&(o=JSON.stringify(o)),[{name:a,value:o}])})}const Crn=["application/json","application/octet-stream","application/x-www-form-urlencoded","application/xml","multipart/form-data","text/plain"];function _rn(e,t,n){const r=e.requestBody?.content,o=v6e(r),a=Crn.find(m=>!!o?.[m])??(Object.keys(o??{})[0]||"application/json"),s=a.includes("json")||a.endsWith("+json"),i=o?.[a]?.examples??o?.["application/json"]?.examples,l=i?.[Object.keys(i??{})[0]??""];if(l)return{mimeType:a,text:K2("value"in l?l.value:l)};const c=qle(e.parameters??[],[],"body",!1);if(c.length>0)return{mimeType:"application/json",text:K2(c[0]?.value??"")};const d=qle(e.parameters??[],[],"formData",!1);if(d.length>0)return{mimeType:"application/x-www-form-urlencoded",params:d.map(m=>({name:m.name,value:typeof m.value=="string"?m.value:JSON.stringify(m.value)}))};if(!a)return null;const f=o?.[a],h=f?.example?f?.example:void 0;if(s){const m=f?.schema?Ms(ht(f?.schema),{mode:"write",omitEmptyAndOptionalProperties:!1}):null,b=h??m;return{mimeType:a,text:b?typeof b=="string"?b:JSON.stringify(b,null,2):void 0}}if(a==="application/xml"){const m=f?.schema?Ms(ht(f?.schema),{xml:!0,mode:"write"}):null;return{mimeType:a,text:h??TH(m)}}if(a==="application/octet-stream")return{mimeType:a,text:"BINARY"};if(a==="text/plain"){const m=f?.schema?Ms(ht(f?.schema),{xml:!0,mode:"write"}):null;return{mimeType:a,text:h??m??""}}if(a==="multipart/form-data"||a==="application/x-www-form-urlencoded"){const m=f?.schema?Ms(ht(f?.schema),{xml:!0,mode:"write"}):null;return{mimeType:a,params:Kke(h??m??{})}}return null}const uu=Wt({key:Pe().default(""),value:oLt().default(""),enabled:Ar().default(!0),file:ls().optional(),description:Pe().optional(),required:Ar().optional(),enum:ta(Pe()).optional(),examples:ta(ls()).optional(),type:ea([Pe(),ta(Pe())]).optional(),format:Pe().optional(),minimum:a$().optional(),maximum:a$().optional(),default:ls().optional(),nullable:Ar().optional()}).transform(e=>{const t={...e};return Array.isArray(t.type)&&t.type.includes("null")&&(t.nullable=!0),Array.isArray(t.type)&&t.type.length===2&&t.type.includes("null")&&(t.type=t.type.find(n=>n!=="null")),t}),Jke=Wt({url:Pe(),base64:Pe().optional()}).nullable();ea([Wt({type:Lr("string"),value:Pe()}),Wt({type:Lr("file"),file:Jke})]);const Srn=["json","text","html","javascript","xml","yaml","edn"],Lrn=["application/json","text/plain","text/html","application/javascript","application/xml","application/yaml","application/edn","application/octet-stream","application/x-www-form-urlencoded","multipart/form-data","binary"],$rn=Wt({raw:Wt({encoding:na(Srn),value:Pe().default(""),mimeType:Pe().optional()}).optional(),formData:Wt({encoding:ea([Lr("form-data"),Lr("urlencoded")]).default("form-data"),value:uu.array().default([])}).optional(),binary:l$(Blob).optional(),activeBody:ea([Lr("raw"),Lr("formData"),Lr("binary")]).default("raw")}),Trn=Wt({encoding:na(Lrn),content:ea([wo(Pe(),ls()),Pe()]),file:Jke.optional()}),oT=Wt({uid:Eh.brand(),type:Lr("requestExample").optional().default("requestExample"),requestUid:Pe().brand().optional(),name:Pe().optional().default("Name"),body:$rn.optional().default({activeBody:"raw"}),parameters:Wt({path:uu.array().default([]),query:uu.array().default([]),headers:uu.array().default([{key:"Accept",value:"*/*",enabled:!0}]),cookies:uu.array().default([])}).optional().default({path:[],query:[],headers:[{key:"Accept",value:"*/*",enabled:!0}],cookies:[]}),serverVariables:wo(Pe(),ta(Pe())).optional()}),JC=wo(Pe(),Pe()).optional(),Ern=Wt({name:Pe().optional(),body:Trn.optional(),parameters:Wt({path:JC,query:JC,headers:JC,cookies:JC})});function jrn(e){const t=e.schema,n=(()=>{if(e.examples&&!Array.isArray(e.examples)&&w8(e.examples).length>0){const i=Object.entries(e.examples).map(([l,c])=>c.externalValue?c.externalValue:c.value);return{value:i[0],examples:i}}if(Tn(e.example))return{value:e.example};if(Array.isArray(e.examples)&&e.examples.length>0)return{value:e.examples[0]};if(Tn(t?.example))return{value:t.example};if(Array.isArray(t?.examples)&&t.examples.length>0)return t?.type==="boolean"?{value:t.default??!1}:{value:t.examples[0]};if(e.content){const i=w8(e.content)[0];if(i){const l=e.content[i];if(l?.examples){const c=Object.keys(l.examples)[0];if(c){const d=l.examples[c];if(Tn(d?.value))return{value:d.value}}}if(Tn(l?.example))return{value:l.example}}}return null})(),r=String(n?.value??t?.default??""),o=t?.enum&&t?.type!=="string"?t.enum?.map(String):t?.items?.enum&&t?.type==="array"?t.items.enum.map(String):t?.enum,a=n?.examples||(t?.examples&&t?.type!=="string"?t.examples?.map(String):t?.examples),s=k1({...t,key:e.name,value:r,description:e.description,required:e.required,enabled:!!e.required,enum:o,examples:a},uu,!1);return s||(console.warn(`Example at ${e.name} is invalid.`),uu.parse({}))}function lM(e,t,n){const r={path:[],query:[],cookie:[],header:[],headers:[{key:"Accept",value:"*/*",enabled:!0}]};e.parameters?.forEach(l=>r[l.in].push(jrn(l))),r.header.length>0&&(r.headers=r.header,r.header=[]);const o=r.headers.find(l=>l.key.toLowerCase()==="content-type"),a={activeBody:"raw"};if(e.requestBody||o?.value){const l=_rn(e),c=e.requestBody?l?.mimeType:o?.value;(c?.includes("/json")||c?.endsWith("+json"))&&(a.activeBody="raw",a.raw={encoding:"json",mimeType:c,value:l?.text??JSON.stringify({})}),c==="application/xml"&&(a.activeBody="raw",a.raw={encoding:"xml",value:l?.text??""}),c==="application/octet-stream"&&(a.activeBody="binary",a.binary=void 0),(c==="application/x-www-form-urlencoded"||c==="multipart/form-data")&&(a.activeBody="formData",a.formData={encoding:c==="application/x-www-form-urlencoded"?"urlencoded":"form-data",value:(l?.params||[]).map(d=>d.value instanceof File?{key:d.name,value:"BINARY",file:d.value,enabled:!0}:{key:d.name,value:d.value||"",enabled:!0})}),l?.mimeType&&!o&&!l.mimeType.startsWith("multipart/")&&r.headers.push({key:"Content-Type",value:l.mimeType,enabled:!0})}const s={},i=k1({requestUid:e.uid,parameters:r,name:t,body:a,serverVariables:s},oT,!1);return i||(console.warn(`Example at ${e.uid} is invalid.`),oT.parse({}))}const Mrn=["connect","delete","get","head","options","patch","post","put","trace"],Arn=ls(),Nrn=Wt({tags:Pe().array().optional(),summary:Pe().optional(),description:Pe().optional(),operationId:Pe().optional(),security:ta(qke).optional(),requestBody:Arn.optional(),parameters:Ynn.array().optional(),externalDocs:eq.optional(),deprecated:Ar().optional(),responses:wo(Pe(),ls()).optional(),callbacks:wo(Pe(),wo(Pe(),wo(Pe(),ls()))).optional(),"x-scalar-examples":wo(Pe(),Ern).optional(),"x-internal":Ar().optional(),"x-scalar-ignore":Ar().optional()}),Prn=Wt({"x-scalar-stability":na([SS.Deprecated,SS.Experimental,SS.Stable]).optional().catch(void 0)}),Irn=Wt({type:Lr("request").optional().default("request"),uid:Eh.brand(),path:Pe().optional().default(""),method:na(Mrn).default("get"),servers:Pe().brand().array().default([]),selectedServerUid:Pe().brand().optional().nullable().default(null),examples:Pe().brand().array().default([]),selectedSecuritySchemeUids:Uke}),c3=Nrn.omit({"x-scalar-examples":!0}).merge(aLt).merge(Prn).merge(Irn).merge(lLt);function Xle(e,t,n){const r=t.split(".");return r.reduce((o,a,s)=>(s===r.length-1&&(o[a]=n),o[a]),e),e}function nq(e,t){return t.split(".").reduce((r,o)=>r[o],e)}class Yle{parentData;maxRecords;records=[];sideEffects=[];idx=0;debug;constructor(t,n=5e3,r=!1){this.maxRecords=n,this.parentData=t,this.debug=r}_unsavedMutate(t,n){Xle(this.parentData,t,n),this.runSideEffects(t)}addSideEffect(t,n,r,o=!0){this.sideEffects.push({triggers:t,effect:n,name:r}),o&&(n(this.parentData),this.debug&&console.info(`Running mutation side effect: ${r}`,"debug"))}runSideEffects(t){this.sideEffects.forEach(({effect:n,triggers:r,name:o})=>{(r.some(s=>t.includes(s))||t.length<1)&&(n(this.parentData),this.debug&&console.info(`Running mutation side effect: ${o}`,"debug"))})}mutate(t,n,r=null){this.idx<this.records.length-1&&this.records.splice(this.idx+1);const o=nq(this.parentData,t);o!==n&&(Xle(this.parentData,t,n),this.runSideEffects(t),this.records.push({prev:r??o,value:n,path:t}),this.idx=this.records.length-1,this.records.length>this.maxRecords&&this.records.shift(),this.debug&&console.info(`Set object '${this.idx}' '${t}' to ${n}`,"debug"))}undo(){if(this.idx<0||this.records.length<1)return!1;this.debug&&console.info("Undoing Mutation","debug");const t=this.records[this.idx];return this.idx-=1,t&&this._unsavedMutate(t.path,t.prev),!0}redo(){if(this.idx>this.records.length-2)return!1;this.debug&&console.info("Redoing Mutation","debug");const t=this.records[this.idx+1];return this.idx+=1,t&&this._unsavedMutate(t.path,t.value),!0}}const Gle={DEBOUNCE_MS:328,MAX_WAIT_MS:1e3};function Rrn(e,t,{maxWait:n}={}){let r=null,o=null;return function(...a){r&&clearTimeout(r),r=setTimeout(()=>{o!==null&&clearTimeout(o),o=null,e.apply(this,a)},t),n&&!o&&(o=setTimeout(()=>{r!==null&&clearTimeout(r),o=null,e.apply(this,a)},n))}}const{parse:Drn,stringify:Brn}=JSON,{keys:Hrn}=Object,ax=String,ewe="string",Kle={},rq="object",twe=(e,t)=>t,Vrn=e=>e instanceof ax?ax(e):e,Frn=(e,t)=>typeof t===ewe?new ax(t):t,nwe=(e,t,n,r)=>{const o=[];for(let a=Hrn(n),{length:s}=a,i=0;i<s;i++){const l=a[i],c=n[l];if(c instanceof ax){const d=e[c];typeof d===rq&&!t.has(d)?(t.add(d),n[l]=Kle,o.push({k:l,a:[e,t,d,r]})):n[l]=r.call(n,l,d)}else n[l]!==Kle&&(n[l]=r.call(n,l,c))}for(let{length:a}=o,s=0;s<a;s++){const{k:i,a:l}=o[s];n[i]=r.call(n,i,nwe.apply(null,l))}return n},Jle=(e,t,n)=>{const r=ax(t.push(n)-1);return e.set(n,r),r},rwe=(e,t)=>{const n=Drn(e,Frn).map(Vrn),r=n[0],o=twe,a=typeof r===rq&&r?nwe(n,new Set,r,o):r;return o.call({"":a},"",a)},Urn=(e,t,n)=>{const r=twe,o=new Map,a=[],s=[];let i=+Jle(o,a,r.call({"":e},"",e)),l=!i;for(;i<a.length;)l=!0,s[i]=Brn(a[i++],c,n);return"["+s.join(",")+"]";function c(d,f){if(l)return l=!l,f;const h=r.call(this,d,f);switch(typeof h){case rq:if(h===null)return h;case ewe:return o.get(h)||Jle(o,a,h)}return h}},zrn=500;function Tf(e,t,n,r=zrn){function o(s){const i=t[s];return i||console.warn(`Missing ${e[s]?"mutator":"object"} for uid: ${s}`),i??null}const a=n?Rrn(()=>Mc().setItem(n,Urn(e)),Gle.DEBOUNCE_MS,{maxWait:Gle.MAX_WAIT_MS}):()=>null;return{add:s=>{e[s.uid]=s,t[s.uid]=new Yle(s,r),a()},delete:s=>{if(!s){console.warn("[@scalar/object-utils] No uid provided to delete");return}delete e[s],delete t[s],a()},set:s=>{e[s.uid]=s,t[s.uid]=new Yle(s,r),a()},edit:(s,i,l)=>{if(!s){console.warn("[@scalar/object-utils] No uid provided to edit",i,l);return}o(s)?.mutate(i,l),a()},untrackedEdit:(s,i,l)=>{o(s)?._unsavedMutate(i,l),a()},undo:s=>{o(s)?.undo(),a()},redo:s=>{o(s)?.redo(),a()},reset:()=>{Object.keys(e).forEach(s=>{delete e[s],delete t[s]}),a()}}}function Wrn(e){const t=Ir({}),n=Tf(t,Ir({}),e&&u0.COLLECTION);return{collections:t,collectionMutators:n}}function ece({requests:e,requestMutators:t,requestExamples:n,requestExampleMutators:r,workspaces:o,workspaceMutators:a,collections:s,collectionMutators:i,tagMutators:l,serverMutators:c}){return{addCollection:(d,f)=>{const h=J8.parse(d),m=o[f];return m&&a.edit(f,"collections",[...m.collections,h.uid]),i.add(h),h},deleteCollection:(d,f)=>{if(f.uid){if(s[d.uid]?.info?.title==="Drafts"){console.warn("The drafts collection cannot be deleted");return}if(Object.values(s).length===1){console.warn("You must have at least one collection");return}d.tags.forEach(h=>l.delete(h)),d.requests.forEach(h=>{const m=e[h];m&&(t.delete(h),m.examples.forEach(b=>n[b]&&r.delete(b)))}),d.servers.forEach(h=>{h&&c.delete(h)}),a.edit(f.uid,"collections",f.collections.filter(h=>h!==d.uid)),i.delete(d.uid)}},addCollectionEnvironment:(d,f,h)=>{const m=s[h];if(m){const b=m["x-scalar-environments"]||{};i.edit(h,"x-scalar-environments",{...b,[d]:f})}},removeCollectionEnvironment:(d,f)=>{const h=s[f];if(h){const m=h["x-scalar-environments"]||{};d in m&&(delete m[d],i.edit(f,"x-scalar-environments",m))}}}}function Zrn(e){const t=Ir({}),n=Tf(t,Ir({}),e&&u0.COOKIE);return{cookies:t,cookieMutators:n}}function Qrn(e){const t=Ir({}),n=Tf(t,Ir({}),e&&u0.ENVIRONMENT);return n.add(Mv.parse({uid:"default",name:"Default Environment",color:"#FFFFFF",value:JSON.stringify({exampleKey:"exampleValue"},null,2),isDefault:!0})),{environments:t,environmentMutators:n}}function qrn({environmentMutators:e}){return{deleteEnvironment:t=>{if(t==="default"){console.warn("Default environment cannot be deleted.");return}e.delete(t)}}}function w4(){const e=new Set;function t(s){return e.add(s),()=>r(s)}function n(s){function i(...l){r(i),s(...l)}return t(i)}function r(s){e.delete(s)}function o(){e.clear()}function a(s){e?.forEach(i=>i(s))}return{on:t,once:n,off:r,emit:a,reset:o,listeners:()=>Array.from(e)}}function Xrn(){return{executeRequest:w4(),focusAddressBar:w4(),cancelRequest:w4(),requestStatus:w4(),commandPalette:w4(),hotKeys:w4()}}var Yrn={title:"A JSON Schema for Swagger 2.0 API.",id:"http://swagger.io/v2/schema.json#",$schema:"http://json-schema.org/draft-04/schema#",type:"object",required:["swagger","info","paths"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{swagger:{type:"string",enum:["2.0"],description:"The Swagger version of this document."},info:{$ref:"#/definitions/info"},host:{type:"string",pattern:"^[^{}/ :\\\\]+(?::\\d+)?$",description:"The host (name or ip) of the API. Example: 'swagger.io'"},basePath:{type:"string",pattern:"^/",description:"The base path to the API. Example: '/api'."},schemes:{$ref:"#/definitions/schemesList"},consumes:{description:"A list of MIME types accepted by the API.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},paths:{$ref:"#/definitions/paths"},definitions:{$ref:"#/definitions/definitions"},parameters:{$ref:"#/definitions/parameterDefinitions"},responses:{$ref:"#/definitions/responseDefinitions"},security:{$ref:"#/definitions/security"},securityDefinitions:{$ref:"#/definitions/securityDefinitions"},tags:{type:"array",items:{$ref:"#/definitions/tag"},uniqueItems:!0},externalDocs:{$ref:"#/definitions/externalDocs"}},definitions:{info:{type:"object",description:"General information about the API.",required:["version","title"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{title:{type:"string",description:"A unique and precise title of the API."},version:{type:"string",description:"A semantic version number of the API."},description:{type:"string",description:"A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed."},termsOfService:{type:"string",description:"The terms of service for the API."},contact:{$ref:"#/definitions/contact"},license:{$ref:"#/definitions/license"}}},contact:{type:"object",description:"Contact information for the owners of the API.",additionalProperties:!1,properties:{name:{type:"string",description:"The identifying name of the contact person/organization."},url:{type:"string",description:"The URL pointing to the contact information.",format:"uri"},email:{type:"string",description:"The email address of the contact person/organization.",format:"email"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},license:{type:"object",required:["name"],additionalProperties:!1,properties:{name:{type:"string",description:"The name of the license type. It's encouraged to use an OSI compatible license."},url:{type:"string",description:"The URL pointing to the license.",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},paths:{type:"object",description:"Relative paths to the individual endpoints. They must be relative to the 'basePath'.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"},"^/":{$ref:"#/definitions/pathItem"}},additionalProperties:!1},definitions:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},description:"One or more JSON objects describing the schemas being consumed and produced by the API."},parameterDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/parameter"},description:"One or more JSON representations for parameters"},responseDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/response"},description:"One or more JSON representations for responses"},externalDocs:{type:"object",additionalProperties:!1,description:"information about external documentation",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},examples:{type:"object",additionalProperties:!0},mimeType:{type:"string",description:"The MIME type of the HTTP message."},operation:{type:"object",required:["responses"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{tags:{type:"array",items:{type:"string"},uniqueItems:!0},summary:{type:"string",description:"A brief summary of the operation."},description:{type:"string",description:"A longer description of the operation, GitHub Flavored Markdown is allowed."},externalDocs:{$ref:"#/definitions/externalDocs"},operationId:{type:"string",description:"A unique identifier of the operation."},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},consumes:{description:"A list of MIME types the API can consume.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},parameters:{$ref:"#/definitions/parametersList"},responses:{$ref:"#/definitions/responses"},schemes:{$ref:"#/definitions/schemesList"},deprecated:{type:"boolean",default:!1},security:{$ref:"#/definitions/security"}}},pathItem:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},get:{$ref:"#/definitions/operation"},put:{$ref:"#/definitions/operation"},post:{$ref:"#/definitions/operation"},delete:{$ref:"#/definitions/operation"},options:{$ref:"#/definitions/operation"},head:{$ref:"#/definitions/operation"},patch:{$ref:"#/definitions/operation"},parameters:{$ref:"#/definitions/parametersList"}}},responses:{type:"object",description:"Response objects names can either be any valid HTTP status code or 'default'.",minProperties:1,additionalProperties:!1,patternProperties:{"^([0-9]{3})$|^(default)$":{$ref:"#/definitions/responseValue"},"^x-":{$ref:"#/definitions/vendorExtension"}},not:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}}},responseValue:{oneOf:[{$ref:"#/definitions/response"},{$ref:"#/definitions/jsonReference"}]},response:{type:"object",required:["description"],properties:{description:{type:"string"},schema:{oneOf:[{$ref:"#/definitions/schema"},{$ref:"#/definitions/fileSchema"}]},headers:{$ref:"#/definitions/headers"},examples:{$ref:"#/definitions/examples"}},additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},headers:{type:"object",additionalProperties:{$ref:"#/definitions/header"}},header:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},vendorExtension:{description:"Any property starting with x- is valid.",additionalProperties:!0,additionalItems:!0},bodyParameter:{type:"object",required:["name","in","schema"],patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},in:{type:"string",description:"Determines the location of the parameter.",enum:["body"]},required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},schema:{$ref:"#/definitions/schema"}},additionalProperties:!1},headerParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["header"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},queryParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["query"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},formDataParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["formData"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array","file"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},pathParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["required"],properties:{required:{type:"boolean",enum:[!0],description:"Determines whether or not this parameter is required or optional."},in:{type:"string",description:"Determines the location of the parameter.",enum:["path"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},nonBodyParameter:{type:"object",required:["name","in","type"],oneOf:[{$ref:"#/definitions/headerParameterSubSchema"},{$ref:"#/definitions/formDataParameterSubSchema"},{$ref:"#/definitions/queryParameterSubSchema"},{$ref:"#/definitions/pathParameterSubSchema"}]},parameter:{oneOf:[{$ref:"#/definitions/bodyParameter"},{$ref:"#/definitions/nonBodyParameter"}]},schema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},maxProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},additionalProperties:{anyOf:[{$ref:"#/definitions/schema"},{type:"boolean"}],default:{}},type:{$ref:"http://json-schema.org/draft-04/schema#/properties/type"},items:{anyOf:[{$ref:"#/definitions/schema"},{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}}],default:{}},allOf:{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}},properties:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},default:{}},discriminator:{type:"string"},readOnly:{type:"boolean",default:!1},xml:{$ref:"#/definitions/xml"},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},fileSchema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["type"],properties:{format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},type:{type:"string",enum:["file"]},readOnly:{type:"boolean",default:!1},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},primitivesItems:{type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},security:{type:"array",items:{$ref:"#/definitions/securityRequirement"},uniqueItems:!0},securityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"},uniqueItems:!0}},xml:{type:"object",additionalProperties:!1,properties:{name:{type:"string"},namespace:{type:"string"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},tag:{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/externalDocs"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},securityDefinitions:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/basicAuthenticationSecurity"},{$ref:"#/definitions/apiKeySecurity"},{$ref:"#/definitions/oauth2ImplicitSecurity"},{$ref:"#/definitions/oauth2PasswordSecurity"},{$ref:"#/definitions/oauth2ApplicationSecurity"},{$ref:"#/definitions/oauth2AccessCodeSecurity"}]}},basicAuthenticationSecurity:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["basic"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},apiKeySecurity:{type:"object",additionalProperties:!1,required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ImplicitSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["implicit"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2PasswordSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["password"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ApplicationSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["application"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2AccessCodeSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["accessCode"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2Scopes:{type:"object",additionalProperties:{type:"string"}},mediaTypeList:{type:"array",items:{$ref:"#/definitions/mimeType"},uniqueItems:!0},parametersList:{type:"array",description:"The parameters needed to send a valid API call.",additionalItems:!1,items:{oneOf:[{$ref:"#/definitions/parameter"},{$ref:"#/definitions/jsonReference"}]},uniqueItems:!0},schemesList:{type:"array",description:"The transfer protocol of the API.",items:{type:"string",enum:["http","https","ws","wss"]},uniqueItems:!0},collectionFormat:{type:"string",enum:["csv","ssv","tsv","pipes"],default:"csv"},collectionFormatWithMulti:{type:"string",enum:["csv","ssv","tsv","pipes","multi"],default:"csv"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},jsonReference:{type:"object",required:["$ref"],additionalProperties:!1,properties:{$ref:{type:"string"}}}}},Grn={id:"https://spec.openapis.org/oas/3.0/schema/2021-09-28",$schema:"http://json-schema.org/draft-04/schema#",description:"The description of OpenAPI v3.0.x documents, as defined by https://spec.openapis.org/oas/v3.0.3",type:"object",required:["openapi","info","paths"],properties:{openapi:{type:"string",pattern:"^3\\.0\\.\\d(-.+)?$"},info:{$ref:"#/definitions/Info"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},tags:{type:"array",items:{$ref:"#/definitions/Tag"},uniqueItems:!0},paths:{$ref:"#/definitions/Paths"},components:{$ref:"#/definitions/Components"}},patternProperties:{"^x-":{}},additionalProperties:!1,definitions:{Reference:{type:"object",required:["$ref"],patternProperties:{"^\\$ref$":{type:"string",format:"uri-reference"}}},Info:{type:"object",required:["title","version"],properties:{title:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri-reference"},contact:{$ref:"#/definitions/Contact"},license:{$ref:"#/definitions/License"},version:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Contact:{type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"},email:{type:"string",format:"email"}},patternProperties:{"^x-":{}},additionalProperties:!1},License:{type:"object",required:["name"],properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Server:{type:"object",required:["url"],properties:{url:{type:"string"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/definitions/ServerVariable"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ServerVariable:{type:"object",required:["default"],properties:{enum:{type:"array",items:{type:"string"}},default:{type:"string"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Components:{type:"object",properties:{schemas:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}}},responses:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Response"}]}}},parameters:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Parameter"}]}}},examples:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Example"}]}}},requestBodies:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/RequestBody"}]}}},headers:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Header"}]}}},securitySchemes:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/SecurityScheme"}]}}},links:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Link"}]}}},callbacks:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Callback"}]}}}},patternProperties:{"^x-":{}},additionalProperties:!1},Schema:{type:"object",properties:{title:{type:"string"},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{type:"integer",minimum:0},minLength:{type:"integer",minimum:0,default:0},pattern:{type:"string",format:"regex"},maxItems:{type:"integer",minimum:0},minItems:{type:"integer",minimum:0,default:0},uniqueItems:{type:"boolean",default:!1},maxProperties:{type:"integer",minimum:0},minProperties:{type:"integer",minimum:0,default:0},required:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},enum:{type:"array",items:{},minItems:1,uniqueItems:!1},type:{type:"string",enum:["array","boolean","integer","number","object","string"]},not:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},allOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},oneOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},anyOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},properties:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"},{type:"boolean"}],default:!0},description:{type:"string"},format:{type:"string"},default:{},nullable:{type:"boolean",default:!1},discriminator:{$ref:"#/definitions/Discriminator"},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},example:{},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},deprecated:{type:"boolean",default:!1},xml:{$ref:"#/definitions/XML"}},patternProperties:{"^x-":{}},additionalProperties:!1},Discriminator:{type:"object",required:["propertyName"],properties:{propertyName:{type:"string"},mapping:{type:"object",additionalProperties:{type:"string"}}}},XML:{type:"object",properties:{name:{type:"string"},namespace:{type:"string",format:"uri"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},Response:{type:"object",required:["description"],properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{$ref:"#/definitions/Reference"}]}},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},links:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Link"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1},MediaType:{type:"object",properties:{schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}},encoding:{type:"object",additionalProperties:{$ref:"#/definitions/Encoding"}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"}]},Example:{type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:{},externalValue:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Header:{type:"object",properties:{description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string",enum:["simple"],default:"simple"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"}]},Paths:{type:"object",patternProperties:{"^\\/":{$ref:"#/definitions/PathItem"},"^x-":{}},additionalProperties:!1},PathItem:{type:"object",properties:{$ref:{type:"string"},summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0}},patternProperties:{"^(get|put|post|delete|options|head|patch|trace)$":{$ref:"#/definitions/Operation"},"^x-":{}},additionalProperties:!1},Operation:{type:"object",required:["responses"],properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},operationId:{type:"string"},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0},requestBody:{oneOf:[{$ref:"#/definitions/RequestBody"},{$ref:"#/definitions/Reference"}]},responses:{$ref:"#/definitions/Responses"},callbacks:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Callback"},{$ref:"#/definitions/Reference"}]}},deprecated:{type:"boolean",default:!1},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},servers:{type:"array",items:{$ref:"#/definitions/Server"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Responses:{type:"object",properties:{default:{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]}},patternProperties:{"^[1-5](?:\\d{2}|XX)$":{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]},"^x-":{}},minProperties:1,additionalProperties:!1},SecurityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"}}},Tag:{type:"object",required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExternalDocumentation:{type:"object",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExampleXORExamples:{description:"Example and examples are mutually exclusive",not:{required:["example","examples"]}},SchemaXORContent:{description:"Schema and content are mutually exclusive, at least one is required",not:{required:["schema","content"]},oneOf:[{required:["schema"]},{required:["content"],description:"Some properties are not allowed if content is present",allOf:[{not:{required:["style"]}},{not:{required:["explode"]}},{not:{required:["allowReserved"]}},{not:{required:["example"]}},{not:{required:["examples"]}}]}]},Parameter:{type:"object",properties:{name:{type:"string"},in:{type:"string"},description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,required:["name","in"],allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"},{$ref:"#/definitions/ParameterLocation"}]},ParameterLocation:{description:"Parameter location",oneOf:[{description:"Parameter in path",required:["required"],properties:{in:{enum:["path"]},style:{enum:["matrix","label","simple"],default:"simple"},required:{enum:[!0]}}},{description:"Parameter in query",properties:{in:{enum:["query"]},style:{enum:["form","spaceDelimited","pipeDelimited","deepObject"],default:"form"}}},{description:"Parameter in header",properties:{in:{enum:["header"]},style:{enum:["simple"],default:"simple"}}},{description:"Parameter in cookie",properties:{in:{enum:["cookie"]},style:{enum:["form"],default:"form"}}}]},RequestBody:{type:"object",required:["content"],properties:{description:{type:"string"},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},required:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},SecurityScheme:{oneOf:[{$ref:"#/definitions/APIKeySecurityScheme"},{$ref:"#/definitions/HTTPSecurityScheme"},{$ref:"#/definitions/OAuth2SecurityScheme"},{$ref:"#/definitions/OpenIdConnectSecurityScheme"}]},APIKeySecurityScheme:{type:"object",required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query","cookie"]},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},HTTPSecurityScheme:{type:"object",required:["scheme","type"],properties:{scheme:{type:"string"},bearerFormat:{type:"string"},description:{type:"string"},type:{type:"string",enum:["http"]}},patternProperties:{"^x-":{}},additionalProperties:!1,oneOf:[{description:"Bearer",properties:{scheme:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}}},{description:"Non Bearer",not:{required:["bearerFormat"]},properties:{scheme:{not:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}}}}]},OAuth2SecurityScheme:{type:"object",required:["type","flows"],properties:{type:{type:"string",enum:["oauth2"]},flows:{$ref:"#/definitions/OAuthFlows"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OpenIdConnectSecurityScheme:{type:"object",required:["type","openIdConnectUrl"],properties:{type:{type:"string",enum:["openIdConnect"]},openIdConnectUrl:{type:"string",format:"uri-reference"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OAuthFlows:{type:"object",properties:{implicit:{$ref:"#/definitions/ImplicitOAuthFlow"},password:{$ref:"#/definitions/PasswordOAuthFlow"},clientCredentials:{$ref:"#/definitions/ClientCredentialsFlow"},authorizationCode:{$ref:"#/definitions/AuthorizationCodeOAuthFlow"}},patternProperties:{"^x-":{}},additionalProperties:!1},ImplicitOAuthFlow:{type:"object",required:["authorizationUrl","scopes"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},PasswordOAuthFlow:{type:"object",required:["tokenUrl","scopes"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ClientCredentialsFlow:{type:"object",required:["tokenUrl","scopes"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},AuthorizationCodeOAuthFlow:{type:"object",required:["authorizationUrl","tokenUrl","scopes"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Link:{type:"object",properties:{operationId:{type:"string"},operationRef:{type:"string",format:"uri-reference"},parameters:{type:"object",additionalProperties:{}},requestBody:{},description:{type:"string"},server:{$ref:"#/definitions/Server"}},patternProperties:{"^x-":{}},additionalProperties:!1,not:{description:"Operation Id and Operation Ref are mutually exclusive",required:["operationId","operationRef"]}},Callback:{type:"object",additionalProperties:{$ref:"#/definitions/PathItem"},patternProperties:{"^x-":{}}},Encoding:{type:"object",properties:{contentType:{type:"string"},headers:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{$ref:"#/definitions/Reference"}]}},style:{type:"string",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1}},additionalProperties:!1}}},Krn={$id:"https://spec.openapis.org/oas/3.1/schema/2022-10-07",$schema:"https://json-schema.org/draft/2020-12/schema",description:"The description of OpenAPI v3.1.x documents without schema validation, as defined by https://spec.openapis.org/oas/v3.1.0",type:"object",properties:{openapi:{type:"string",pattern:"^3\\.1\\.\\d+(-.+)?$"},info:{$ref:"#/$defs/info"},jsonSchemaDialect:{type:"string",format:"uri-reference",default:"https://spec.openapis.org/oas/3.1/dialect/base"},servers:{type:"array",items:{$ref:"#/$defs/server"},default:[{url:"/"}]},paths:{$ref:"#/$defs/paths"},webhooks:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},components:{$ref:"#/$defs/components"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},tags:{type:"array",items:{$ref:"#/$defs/tag"}},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["openapi","info"],anyOf:[{required:["paths"]},{required:["components"]},{required:["webhooks"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{info:{$comment:"https://spec.openapis.org/oas/v3.1.0#info-object",type:"object",properties:{title:{type:"string"},summary:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri-reference"},contact:{$ref:"#/$defs/contact"},license:{$ref:"#/$defs/license"},version:{type:"string"}},required:["title","version"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},contact:{$comment:"https://spec.openapis.org/oas/v3.1.0#contact-object",type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"},email:{type:"string",format:"email"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},license:{$comment:"https://spec.openapis.org/oas/v3.1.0#license-object",type:"object",properties:{name:{type:"string"},identifier:{type:"string"},url:{type:"string",format:"uri-reference"}},required:["name"],dependentSchemas:{identifier:{not:{required:["url"]}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},server:{$comment:"https://spec.openapis.org/oas/v3.1.0#server-object",type:"object",properties:{url:{type:"string"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/$defs/server-variable"}}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"server-variable":{$comment:"https://spec.openapis.org/oas/v3.1.0#server-variable-object",type:"object",properties:{enum:{type:"array",items:{type:"string"},minItems:1},default:{type:"string"},description:{type:"string"}},required:["default"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},components:{$comment:"https://spec.openapis.org/oas/v3.1.0#components-object",type:"object",properties:{schemas:{type:"object",additionalProperties:{$ref:"#/$defs/schema"}},responses:{type:"object",additionalProperties:{$ref:"#/$defs/response-or-reference"}},parameters:{type:"object",additionalProperties:{$ref:"#/$defs/parameter-or-reference"}},examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}},requestBodies:{type:"object",additionalProperties:{$ref:"#/$defs/request-body-or-reference"}},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},securitySchemes:{type:"object",additionalProperties:{$ref:"#/$defs/security-scheme-or-reference"}},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},pathItems:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}}},patternProperties:{"^(schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems)$":{$comment:"Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected",propertyNames:{pattern:"^[a-zA-Z0-9._-]+$"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},paths:{$comment:"https://spec.openapis.org/oas/v3.1.0#paths-object",type:"object",patternProperties:{"^/":{$ref:"#/$defs/path-item"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item":{$comment:"https://spec.openapis.org/oas/v3.1.0#path-item-object",type:"object",properties:{summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/$defs/server"}},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}},get:{$ref:"#/$defs/operation"},put:{$ref:"#/$defs/operation"},post:{$ref:"#/$defs/operation"},delete:{$ref:"#/$defs/operation"},options:{$ref:"#/$defs/operation"},head:{$ref:"#/$defs/operation"},patch:{$ref:"#/$defs/operation"},trace:{$ref:"#/$defs/operation"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/path-item"}},operation:{$comment:"https://spec.openapis.org/oas/v3.1.0#operation-object",type:"object",properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"},operationId:{type:"string"},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}},requestBody:{$ref:"#/$defs/request-body-or-reference"},responses:{$ref:"#/$defs/responses"},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},deprecated:{default:!1,type:"boolean"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},servers:{type:"array",items:{$ref:"#/$defs/server"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"external-documentation":{$comment:"https://spec.openapis.org/oas/v3.1.0#external-documentation-object",type:"object",properties:{description:{type:"string"},url:{type:"string",format:"uri-reference"}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},parameter:{$comment:"https://spec.openapis.org/oas/v3.1.0#parameter-object",type:"object",properties:{name:{type:"string"},in:{enum:["query","header","path","cookie"]},description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},schema:{$ref:"#/$defs/schema"},content:{$ref:"#/$defs/content",minProperties:1,maxProperties:1}},required:["name","in"],oneOf:[{required:["schema"]},{required:["content"]}],if:{properties:{in:{const:"query"}},required:["in"]},then:{properties:{allowEmptyValue:{default:!1,type:"boolean"}}},dependentSchemas:{schema:{properties:{style:{type:"string"},explode:{type:"boolean"}},allOf:[{$ref:"#/$defs/examples"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-form"}],$defs:{"styles-for-path":{if:{properties:{in:{const:"path"}},required:["in"]},then:{properties:{name:{pattern:"[^/#?]+$"},style:{default:"simple",enum:["matrix","label","simple"]},required:{const:!0}},required:["required"]}},"styles-for-header":{if:{properties:{in:{const:"header"}},required:["in"]},then:{properties:{style:{default:"simple",const:"simple"}}}},"styles-for-query":{if:{properties:{in:{const:"query"}},required:["in"]},then:{properties:{style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},allowReserved:{default:!1,type:"boolean"}}}},"styles-for-cookie":{if:{properties:{in:{const:"cookie"}},required:["in"]},then:{properties:{style:{default:"form",const:"form"}}}},"styles-for-form":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"parameter-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/parameter"}},"request-body":{$comment:"https://spec.openapis.org/oas/v3.1.0#request-body-object",type:"object",properties:{description:{type:"string"},content:{$ref:"#/$defs/content"},required:{default:!1,type:"boolean"}},required:["content"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"request-body-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/request-body"}},content:{$comment:"https://spec.openapis.org/oas/v3.1.0#fixed-fields-10",type:"object",additionalProperties:{$ref:"#/$defs/media-type"},propertyNames:{format:"media-range"}},"media-type":{$comment:"https://spec.openapis.org/oas/v3.1.0#media-type-object",type:"object",properties:{schema:{$ref:"#/$defs/schema"},encoding:{type:"object",additionalProperties:{$ref:"#/$defs/encoding"}}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/examples"}],unevaluatedProperties:!1},encoding:{$comment:"https://spec.openapis.org/oas/v3.1.0#encoding-object",type:"object",properties:{contentType:{type:"string",format:"media-range"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{default:!1,type:"boolean"}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/encoding/$defs/explode-default"}],unevaluatedProperties:!1,$defs:{"explode-default":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}},responses:{$comment:"https://spec.openapis.org/oas/v3.1.0#responses-object",type:"object",properties:{default:{$ref:"#/$defs/response-or-reference"}},patternProperties:{"^[1-5](?:[0-9]{2}|XX)$":{$ref:"#/$defs/response-or-reference"}},minProperties:1,$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},response:{$comment:"https://spec.openapis.org/oas/v3.1.0#response-object",type:"object",properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},content:{$ref:"#/$defs/content"},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}}},required:["description"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"response-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/response"}},callbacks:{$comment:"https://spec.openapis.org/oas/v3.1.0#callback-object",type:"object",$ref:"#/$defs/specification-extensions",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},"callbacks-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/callbacks"}},example:{$comment:"https://spec.openapis.org/oas/v3.1.0#example-object",type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:!0,externalValue:{type:"string",format:"uri-reference"}},not:{required:["value","externalValue"]},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"example-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/example"}},link:{$comment:"https://spec.openapis.org/oas/v3.1.0#link-object",type:"object",properties:{operationRef:{type:"string",format:"uri-reference"},operationId:{type:"string"},parameters:{$ref:"#/$defs/map-of-strings"},requestBody:!0,description:{type:"string"},body:{$ref:"#/$defs/server"}},oneOf:[{required:["operationRef"]},{required:["operationId"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"link-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/link"}},header:{$comment:"https://spec.openapis.org/oas/v3.1.0#header-object",type:"object",properties:{description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},schema:{$ref:"#/$defs/schema"},content:{$ref:"#/$defs/content",minProperties:1,maxProperties:1}},oneOf:[{required:["schema"]},{required:["content"]}],dependentSchemas:{schema:{properties:{style:{default:"simple",const:"simple"},explode:{default:!1,type:"boolean"}},$ref:"#/$defs/examples"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"header-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/header"}},tag:{$comment:"https://spec.openapis.org/oas/v3.1.0#tag-object",type:"object",properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["name"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},reference:{$comment:"https://spec.openapis.org/oas/v3.1.0#reference-object",type:"object",properties:{$ref:{type:"string",format:"uri-reference"},summary:{type:"string"},description:{type:"string"}},unevaluatedProperties:!1},schema:{$comment:"https://spec.openapis.org/oas/v3.1.0#schema-object",$dynamicAnchor:"meta",type:["object","boolean"]},"security-scheme":{$comment:"https://spec.openapis.org/oas/v3.1.0#security-scheme-object",type:"object",properties:{type:{enum:["apiKey","http","mutualTLS","oauth2","openIdConnect"]},description:{type:"string"}},required:["type"],allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/security-scheme/$defs/type-apikey"},{$ref:"#/$defs/security-scheme/$defs/type-http"},{$ref:"#/$defs/security-scheme/$defs/type-http-bearer"},{$ref:"#/$defs/security-scheme/$defs/type-oauth2"},{$ref:"#/$defs/security-scheme/$defs/type-oidc"}],unevaluatedProperties:!1,$defs:{"type-apikey":{if:{properties:{type:{const:"apiKey"}},required:["type"]},then:{properties:{name:{type:"string"},in:{enum:["query","header","cookie"]}},required:["name","in"]}},"type-http":{if:{properties:{type:{const:"http"}},required:["type"]},then:{properties:{scheme:{type:"string"}},required:["scheme"]}},"type-http-bearer":{if:{properties:{type:{const:"http"},scheme:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}},required:["type","scheme"]},then:{properties:{bearerFormat:{type:"string"}}}},"type-oauth2":{if:{properties:{type:{const:"oauth2"}},required:["type"]},then:{properties:{flows:{$ref:"#/$defs/oauth-flows"}},required:["flows"]}},"type-oidc":{if:{properties:{type:{const:"openIdConnect"}},required:["type"]},then:{properties:{openIdConnectUrl:{type:"string",format:"uri-reference"}},required:["openIdConnectUrl"]}}}},"security-scheme-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/security-scheme"}},"oauth-flows":{type:"object",properties:{implicit:{$ref:"#/$defs/oauth-flows/$defs/implicit"},password:{$ref:"#/$defs/oauth-flows/$defs/password"},clientCredentials:{$ref:"#/$defs/oauth-flows/$defs/client-credentials"},authorizationCode:{$ref:"#/$defs/oauth-flows/$defs/authorization-code"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{implicit:{type:"object",properties:{authorizationUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},password:{type:"object",properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"client-credentials":{type:"object",properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"authorization-code":{type:"object",properties:{authorizationUrl:{type:"string",format:"uri-reference"},tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1}}},"security-requirement":{$comment:"https://spec.openapis.org/oas/v3.1.0#security-requirement-object",type:"object",additionalProperties:{type:"array",items:{type:"string"}}},"specification-extensions":{$comment:"https://spec.openapis.org/oas/v3.1.0#specification-extensions",patternProperties:{"^x-":!0}},examples:{properties:{example:!0,examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}}}},"map-of-strings":{type:"object",additionalProperties:{type:"string"}}}};const Jrn={"2.0":Yrn,"3.0":Grn,"3.1":Krn},eon=Object.keys(Jrn),LS={INVALID_REFERENCE:"Can't resolve reference: %s",EXTERNAL_REFERENCE_NOT_FOUND:"Can't resolve external reference: %s",NO_CONTENT:"No content found"},owe=e=>typeof e=="object"&&!Array.isArray(e)&&e!==null;function ton(e){if(e===null)return{version:void 0,specificationType:void 0,specificationVersion:void 0};if(owe(e))for(const t of new Set(eon)){const n=t==="2.0"?"swagger":"openapi",r=e[n];if(typeof r=="string"&&r.startsWith(t))return{version:t,specificationType:n,specificationVersion:r}}return{version:void 0,specificationType:void 0,specificationVersion:void 0}}function Q6(e){return e?.find(t=>t.isEntrypoint)}function OF(e,t,n=[]){const r={};for(const[o,a]of Object.entries(e)){const s=[...n,o];if(Array.isArray(a)){r[o]=a.map((i,l)=>typeof i=="object"&&!Array.isArray(i)&&i!==null?OF(i,t,[...s,l.toString()]):i);continue}if(typeof a=="object"&&a!==null){r[o]=OF(a,t,s);continue}r[o]=a}return t(r,n)}function awe(e){const t=[];return!e||typeof e!="object"?t:(OF(e,n=>(n.$ref&&typeof n.$ref=="string"&&!n.$ref.startsWith("#")&&t.push(n.$ref.split("#")[0]),n)),[...new Set(t)])}function oq(e){return typeof e<"u"&&Array.isArray(e)&&e.length>0&&e.some(t=>t.isEntrypoint===!0)}const aq=Symbol.for("yaml.alias"),CF=Symbol.for("yaml.document"),Up=Symbol.for("yaml.map"),swe=Symbol.for("yaml.pair"),Gd=Symbol.for("yaml.scalar"),eg=Symbol.for("yaml.seq"),A1=Symbol.for("yaml.node.type"),mm=e=>!!e&&typeof e=="object"&&e[A1]===aq,Wk=e=>!!e&&typeof e=="object"&&e[A1]===CF,Zk=e=>!!e&&typeof e=="object"&&e[A1]===Up,qa=e=>!!e&&typeof e=="object"&&e[A1]===swe,Bo=e=>!!e&&typeof e=="object"&&e[A1]===Gd,Qk=e=>!!e&&typeof e=="object"&&e[A1]===eg;function Ra(e){if(e&&typeof e=="object")switch(e[A1]){case Up:case eg:return!0}return!1}function Ua(e){if(e&&typeof e=="object")switch(e[A1]){case aq:case Up:case Gd:case eg:return!0}return!1}const iwe=e=>(Bo(e)||Ra(e))&&!!e.anchor,C5=Symbol("break visit"),non=Symbol("skip children"),Av=Symbol("remove node");function tg(e,t){const n=ron(t);Wk(e)?b6(null,e.contents,n,Object.freeze([e]))===Av&&(e.contents=null):b6(null,e,n,Object.freeze([]))}tg.BREAK=C5;tg.SKIP=non;tg.REMOVE=Av;function b6(e,t,n,r){const o=oon(e,t,n,r);if(Ua(o)||qa(o))return aon(e,r,o),b6(e,o,n,r);if(typeof o!="symbol"){if(Ra(t)){r=Object.freeze(r.concat(t));for(let a=0;a<t.items.length;++a){const s=b6(a,t.items[a],n,r);if(typeof s=="number")a=s-1;else{if(s===C5)return C5;s===Av&&(t.items.splice(a,1),a-=1)}}}else if(qa(t)){r=Object.freeze(r.concat(t));const a=b6("key",t.key,n,r);if(a===C5)return C5;a===Av&&(t.key=null);const s=b6("value",t.value,n,r);if(s===C5)return C5;s===Av&&(t.value=null)}}return o}function ron(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 oon(e,t,n,r){if(typeof n=="function")return n(e,t,r);if(Zk(t))return n.Map?.(e,t,r);if(Qk(t))return n.Seq?.(e,t,r);if(qa(t))return n.Pair?.(e,t,r);if(Bo(t))return n.Scalar?.(e,t,r);if(mm(t))return n.Alias?.(e,t,r)}function aon(e,t,n){const r=t[t.length-1];if(Ra(r))r.items[e]=n;else if(qa(r))e==="key"?r.key=n:r.value=n;else if(Wk(r))r.contents=n;else{const o=mm(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${o} parent`)}}const son={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},ion=e=>e.replace(/[!,[\]{}]/g,t=>son[t]);class Ui{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Ui.defaultYaml,t),this.tags=Object.assign({},Ui.defaultTags,n)}clone(){const t=new Ui(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new Ui(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Ui.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Ui.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:Ui.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Ui.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),o=r.shift();switch(o){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[a,s]=r;return this.tags[a]=s,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[a]=r;if(a==="1.1"||a==="1.2")return this.yaml.version=a,!0;{const s=/^\d+\.\d+$/.test(a);return n(6,`Unsupported YAML version ${a}`,s),!1}}default:return n(0,`Unknown directive ${o}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const s=t.slice(2,-1);return s==="!"||s==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),s)}const[,r,o]=t.match(/^(.*!)([^!]*)$/s);o||n(`The ${t} tag has no suffix`);const a=this.tags[r];if(a)try{return a+decodeURIComponent(o)}catch(s){return n(String(s)),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+ion(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 o;if(t&&r.length>0&&Ua(t.contents)){const a={};tg(t.contents,(s,i)=>{Ua(i)&&i.tag&&(a[i.tag]=!0)}),o=Object.keys(a)}else o=[];for(const[a,s]of r)a==="!!"&&s==="tag:yaml.org,2002:"||(!t||o.some(i=>i.startsWith(s)))&&n.push(`%TAG ${a} ${s}`);return n.join(`
999
+ */const u2=typeof document<"u";function yke(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function zen(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&yke(e.default)}const jo=Object.assign;function TR(e,t){const n={};for(const r in t){const o=t[r];n[r]=Ac(o)?o.map(e):e(o)}return n}const jv=()=>{},Ac=Array.isArray,xke=/#/g,Wen=/&/g,Zen=/\//g,Qen=/=/g,qen=/\?/g,kke=/\+/g,Xen=/%5B/g,Yen=/%5D/g,wke=/%5E/g,Gen=/%60/g,Oke=/%7B/g,Ken=/%7C/g,Cke=/%7D/g,Jen=/%20/g;function qQ(e){return encodeURI(""+e).replace(Ken,"|").replace(Xen,"[").replace(Yen,"]")}function etn(e){return qQ(e).replace(Oke,"{").replace(Cke,"}").replace(wke,"^")}function gF(e){return qQ(e).replace(kke,"%2B").replace(Jen,"+").replace(xke,"%23").replace(Wen,"%26").replace(Gen,"`").replace(Oke,"{").replace(Cke,"}").replace(wke,"^")}function ttn(e){return gF(e).replace(Qen,"%3D")}function ntn(e){return qQ(e).replace(xke,"%23").replace(qen,"%3F")}function rtn(e){return e==null?"":ntn(e).replace(Zen,"%2F")}function X8(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const otn=/\/$/,atn=e=>e.replace(otn,"");function ER(e,t,n="/"){let r,o={},a="",s="";const i=t.indexOf("#");let l=t.indexOf("?");return i<l&&i>=0&&(l=-1),l>-1&&(r=t.slice(0,l),a=t.slice(l+1,i>-1?i:t.length),o=e(a)),i>-1&&(r=r||t.slice(0,i),s=t.slice(i,t.length)),r=ctn(r??t,n),{fullPath:r+(a&&"?")+a+s,path:r,query:o,hash:X8(s)}}function stn(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function itn(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&dh(t.matched[r],n.matched[o])&&_ke(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function dh(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _ke(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ltn(e[n],t[n]))return!1;return!0}function ltn(e,t){return Ac(e)?Sle(e,t):Ac(t)?Sle(t,e):e===t}function Sle(e,t){return Ac(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function ctn(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let a=n.length-1,s,i;for(s=0;s<r.length;s++)if(i=r[s],i!==".")if(i==="..")a>1&&a--;else break;return n.slice(0,a).join("/")+"/"+r.slice(s).join("/")}const fp={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var nx;(function(e){e.pop="pop",e.push="push"})(nx||(nx={}));var nT;(function(e){e.back="back",e.forward="forward",e.unknown=""})(nT||(nT={}));const jR="";function utn(e){if(!e)if(u2){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),atn(e)}const dtn=/^[^#]+#/;function ftn(e,t){return e.replace(dtn,"#")+t}function ptn(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const htn=()=>({left:window.scrollX,top:window.scrollY});function mtn(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=ptn(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Lle(e,t){return(history.state?history.state.position-t:-1)+e}const bF=new Map;function gtn(e,t){bF.set(e,t)}function btn(e){const t=bF.get(e);return bF.delete(e),t}function vtn(e=""){let t=[],n=[[jR,{}]],r=0;e=utn(e);function o(i,l={}){r++,r!==n.length&&n.splice(r),n.push([i,l])}function a(i,l,{direction:c,delta:d}){const f={direction:c,delta:d,type:nx.pop};for(const h of t)h(i,l,f)}const s={location:jR,state:{},base:e,createHref:ftn.bind(null,e),replace(i,l){n.splice(r--,1),o(i,l)},push(i,l){o(i,l)},listen(i){return t.push(i),()=>{const l=t.indexOf(i);l>-1&&t.splice(l,1)}},destroy(){t=[],n=[[jR,{}]],r=0},go(i,l=!0){const c=this.location,d=i<0?nT.back:nT.forward;r=Math.max(0,Math.min(r+i,n.length-1)),l&&a(this.location,c,{direction:d,delta:i})}};return Object.defineProperty(s,"location",{enumerable:!0,get:()=>n[r][0]}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>n[r][1]}),s}function Ske(e){return typeof e=="string"||e&&typeof e=="object"}function Lke(e){return typeof e=="string"||typeof e=="symbol"}const $ke=Symbol("");var $le;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})($le||($le={}));function Y8(e,t){return jo(new Error,{type:e,[$ke]:!0},t)}function D0(e,t){return e instanceof Error&&$ke in e&&(t==null||!!(e.type&t))}const Tle="[^/]+?",ytn={sensitive:!1,strict:!1,start:!0,end:!0},xtn=/[.+*?^${}()[\]/\\]/g;function ktn(e,t){const n=jo({},ytn,t),r=[];let o=n.start?"^":"";const a=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const h=c[f];let m=40+(n.sensitive?.25:0);if(h.type===0)f||(o+="/"),o+=h.value.replace(xtn,"\\$&"),m+=40;else if(h.type===1){const{value:b,repeatable:v,optional:x,regexp:k}=h;a.push({name:b,repeatable:v,optional:x});const _=k||Tle;if(_!==Tle){m+=10;try{new RegExp(`(${_})`)}catch(T){throw new Error(`Invalid custom RegExp for param "${b}" (${_}): `+T.message)}}let S=v?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(S=x&&c.length<2?`(?:/${S})`:"/"+S),x&&(S+="?"),o+=S,m+=20,x&&(m+=-8),v&&(m+=-20),_===".*"&&(m+=-50)}d.push(m)}r.push(d)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function i(c){const d=c.match(s),f={};if(!d)return null;for(let h=1;h<d.length;h++){const m=d[h]||"",b=a[h-1];f[b.name]=m&&b.repeatable?m.split("/"):m}return f}function l(c){let d="",f=!1;for(const h of e){(!f||!d.endsWith("/"))&&(d+="/"),f=!1;for(const m of h)if(m.type===0)d+=m.value;else if(m.type===1){const{value:b,repeatable:v,optional:x}=m,k=b in c?c[b]:"";if(Ac(k)&&!v)throw new Error(`Provided param "${b}" is an array but it is not repeatable (* or + modifiers)`);const _=Ac(k)?k.join("/"):k;if(!_)if(x)h.length<2&&(d.endsWith("/")?d=d.slice(0,-1):f=!0);else throw new Error(`Missing required param "${b}"`);d+=_}}return d||"/"}return{re:s,score:r,keys:a,parse:i,stringify:l}}function wtn(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Tke(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const a=wtn(r[n],o[n]);if(a)return a;n++}if(Math.abs(o.length-r.length)===1){if(Ele(r))return 1;if(Ele(o))return-1}return o.length-r.length}function Ele(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Otn={type:0,value:""},Ctn=/[a-zA-Z0-9_]/;function _tn(e){if(!e)return[[]];if(e==="/")return[[Otn]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,r=n;const o=[];let a;function s(){a&&o.push(a),a=[]}let i=0,l,c="",d="";function f(){c&&(n===0?a.push({type:0,value:c}):n===1||n===2||n===3?(a.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;i<e.length;){if(l=e[i++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),s()):l===":"?(f(),n=1):h();break;case 4:h(),n=r;break;case 1:l==="("?n=2:Ctn.test(l)?h():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&i--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&i--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),s(),o}function Stn(e,t,n){const r=ktn(_tn(e.path),n),o=jo(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Ltn(e,t){const n=[],r=new Map;t=Nle({strict:!1,end:!0,sensitive:!1},t);function o(f){return r.get(f)}function a(f,h,m){const b=!m,v=Mle(f);v.aliasOf=m&&m.record;const x=Nle(t,f),k=[v];if("alias"in f){const T=typeof f.alias=="string"?[f.alias]:f.alias;for(const $ of T)k.push(Mle(jo({},v,{components:m?m.record.components:v.components,path:$,aliasOf:m?m.record:v})))}let _,S;for(const T of k){const{path:$}=T;if(h&&$[0]!=="/"){const M=h.record.path,P=M[M.length-1]==="/"?"":"/";T.path=h.record.path+($&&P+$)}if(_=Stn(T,h,x),m?m.alias.push(_):(S=S||_,S!==_&&S.alias.push(_),b&&f.name&&!Ale(_)&&s(f.name)),Eke(_)&&l(_),v.children){const M=v.children;for(let P=0;P<M.length;P++)a(M[P],_,m&&m.children[P])}m=m||_}return S?()=>{s(S)}:jv}function s(f){if(Lke(f)){const h=r.get(f);h&&(r.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(s),h.alias.forEach(s))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&r.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function i(){return n}function l(f){const h=Etn(f,n);n.splice(h,0,f),f.record.name&&!Ale(f)&&r.set(f.record.name,f)}function c(f,h){let m,b={},v,x;if("name"in f&&f.name){if(m=r.get(f.name),!m)throw Y8(1,{location:f});x=m.record.name,b=jo(jle(h.params,m.keys.filter(S=>!S.optional).concat(m.parent?m.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),f.params&&jle(f.params,m.keys.map(S=>S.name))),v=m.stringify(b)}else if(f.path!=null)v=f.path,m=n.find(S=>S.re.test(v)),m&&(b=m.parse(v),x=m.record.name);else{if(m=h.name?r.get(h.name):n.find(S=>S.re.test(h.path)),!m)throw Y8(1,{location:f,currentLocation:h});x=m.record.name,b=jo({},h.params,f.params),v=m.stringify(b)}const k=[];let _=m;for(;_;)k.unshift(_.record),_=_.parent;return{name:x,path:v,params:b,matched:k,meta:Ttn(k)}}e.forEach(f=>a(f));function d(){n.length=0,r.clear()}return{addRoute:a,resolve:c,removeRoute:s,clearRoutes:d,getRoutes:i,getRecordMatcher:o}}function jle(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Mle(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:$tn(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function $tn(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ale(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ttn(e){return e.reduce((t,n)=>jo(t,n.meta),{})}function Nle(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Etn(e,t){let n=0,r=t.length;for(;n!==r;){const a=n+r>>1;Tke(e,t[a])<0?r=a:n=a+1}const o=jtn(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function jtn(e){let t=e;for(;t=t.parent;)if(Eke(t)&&Tke(e,t)===0)return t}function Eke({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Mtn(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const a=r[o].replace(kke," "),s=a.indexOf("="),i=X8(s<0?a:a.slice(0,s)),l=s<0?null:X8(a.slice(s+1));if(i in t){let c=t[i];Ac(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function Ple(e){let t="";for(let n in e){const r=e[n];if(n=ttn(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ac(r)?r.map(a=>a&&gF(a)):[r&&gF(r)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function Atn(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ac(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Ntn=Symbol(""),Ile=Symbol(""),rM=Symbol(""),XQ=Symbol(""),vF=Symbol("");function W9(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Sp(e,t,n,r,o,a=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,l)=>{const c=h=>{h===!1?l(Y8(4,{from:n,to:t})):h instanceof Error?l(h):Ske(h)?l(Y8(2,{from:t,to:h})):(s&&r.enterCallbacks[o]===s&&typeof h=="function"&&s.push(h),i())},d=a(()=>e.call(r&&r.instances[o],t,n,c));let f=Promise.resolve(d);e.length<3&&(f=f.then(c)),f.catch(h=>l(h))})}function MR(e,t,n,r,o=a=>a()){const a=[];for(const s of e)for(const i in s.components){let l=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(yke(l)){const d=(l.__vccOpts||l)[t];d&&a.push(Sp(d,n,r,s,i,o))}else{let c=l();a.push(()=>c.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${i}" at "${s.path}"`);const f=zen(d)?d.default:d;s.mods[i]=d,s.components[i]=f;const m=(f.__vccOpts||f)[t];return m&&Sp(m,n,r,s,i,o)()}))}}return a}function Rle(e){const t=Rn(rM),n=Rn(XQ),r=Q(()=>{const l=O(e.to);return t.resolve(l)}),o=Q(()=>{const{matched:l}=r.value,{length:c}=l,d=l[c-1],f=n.matched;if(!d||!f.length)return-1;const h=f.findIndex(dh.bind(null,d));if(h>-1)return h;const m=Dle(l[c-2]);return c>1&&Dle(d)===m&&f[f.length-1].path!==m?f.findIndex(dh.bind(null,l[c-2])):h}),a=Q(()=>o.value>-1&&Dtn(n.params,r.value.params)),s=Q(()=>o.value>-1&&o.value===n.matched.length-1&&_ke(n.params,r.value.params));function i(l={}){if(Rtn(l)){const c=t[O(e.replace)?"replace":"push"](O(e.to)).catch(jv);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}if(__VUE_PROD_DEVTOOLS__&&u2){const l=rl();if(l){const c={route:r.value,isActive:a.value,isExactActive:s.value,error:null};l.__vrl_devtools=l.__vrl_devtools||[],l.__vrl_devtools.push(c),Oo(()=>{c.route=r.value,c.isActive=a.value,c.isExactActive=s.value,c.error=Ske(O(e.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:r,href:Q(()=>r.value.href),isActive:a,isExactActive:s,navigate:i}}function Ptn(e){return e.length===1?e[0]:e}const Itn=le({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Rle,setup(e,{slots:t}){const n=Ir(Rle(e)),{options:r}=Rn(rM),o=Q(()=>({[Ble(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ble(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&Ptn(t.default(n));return e.custom?a:nr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},a)}}}),rx=Itn;function Rtn(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Dtn(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Ac(o)||o.length!==r.length||r.some((a,s)=>a!==o[s]))return!1}return!0}function Dle(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ble=(e,t,n)=>e??t??n,Btn=le({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Rn(vF),o=Q(()=>e.route||r.value),a=Rn(Ile,0),s=Q(()=>{let c=O(a);const{matched:d}=o.value;let f;for(;(f=d[c])&&!f.components;)c++;return c}),i=Q(()=>o.value.matched[s.value]);qr(Ile,Q(()=>s.value+1)),qr(Ntn,i),qr(vF,o);const l=me();return pt(()=>[l.value,i.value,e.name],([c,d,f],[h,m,b])=>{d&&(d.instances[f]=c,m&&m!==d&&c&&c===h&&(d.leaveGuards.size||(d.leaveGuards=m.leaveGuards),d.updateGuards.size||(d.updateGuards=m.updateGuards))),c&&d&&(!m||!dh(d,m)||!h)&&(d.enterCallbacks[f]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=o.value,d=e.name,f=i.value,h=f&&f.components[d];if(!h)return Hle(n.default,{Component:h,route:c});const m=f.props[d],b=m?m===!0?c.params:typeof m=="function"?m(c):m:null,x=nr(h,jo({},b,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(f.instances[d]=null)},ref:l}));if(__VUE_PROD_DEVTOOLS__&&u2&&x.ref){const k={depth:s.value,name:f.name,path:f.path,meta:f.meta};(Ac(x.ref)?x.ref.map(S=>S.i):[x.ref.i]).forEach(S=>{S.__vrv_devtools=k})}return Hle(n.default,{Component:x,route:c})||x}}});function Hle(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const oM=Btn;function Z9(e,t){const n=jo({},e,{matched:e.matched.map(r=>Ytn(r,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:e.fullPath,tooltip:t,value:n}}}function GC(e){return{_custom:{display:e}}}let Htn=0;function Vtn(e,t,n){if(t.__hasDevtools)return;t.__hasDevtools=!0;const r=Htn++;Uen({id:"org.vuejs.router"+(r?"."+r:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:e},o=>{typeof o.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),o.on.inspectComponent((d,f)=>{d.instanceData&&d.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:Z9(t.currentRoute.value,"Current Route")})}),o.on.visitComponentTree(({treeNode:d,componentInstance:f})=>{if(f.__vrv_devtools){const h=f.__vrv_devtools;d.tags.push({label:(h.name?`${h.name.toString()}: `:"")+h.path,textColor:0,tooltip:"This component is rendered by &lt;router-view&gt;",backgroundColor:jke})}Ac(f.__vrl_devtools)&&(f.__devtoolsApi=o,f.__vrl_devtools.forEach(h=>{let m=h.route.path,b=Nke,v="",x=0;h.error?(m=h.error,b=Ztn,x=Qtn):h.isExactActive?(b=Ake,v="This is exactly active"):h.isActive&&(b=Mke,v="This link is active"),d.tags.push({label:m,textColor:x,tooltip:v,backgroundColor:b})}))}),pt(t.currentRoute,()=>{l(),o.notifyComponentUpdate(),o.sendInspectorTree(i),o.sendInspectorState(i)});const a="router:navigations:"+r;o.addTimelineLayer({id:a,label:`Router${r?" "+r:""} Navigations`,color:4237508}),t.onError((d,f)=>{o.addTimelineEvent({layerId:a,event:{title:"Error during Navigation",subtitle:f.fullPath,logType:"error",time:o.now(),data:{error:d},groupId:f.meta.__navigationId}})});let s=0;t.beforeEach((d,f)=>{const h={guard:GC("beforeEach"),from:Z9(f,"Current Location during this navigation"),to:Z9(d,"Target location")};Object.defineProperty(d.meta,"__navigationId",{value:s++}),o.addTimelineEvent({layerId:a,event:{time:o.now(),title:"Start of navigation",subtitle:d.fullPath,data:h,groupId:d.meta.__navigationId}})}),t.afterEach((d,f,h)=>{const m={guard:GC("afterEach")};h?(m.failure={_custom:{type:Error,readOnly:!0,display:h?h.message:"",tooltip:"Navigation Failure",value:h}},m.status=GC("❌")):m.status=GC("✅"),m.from=Z9(f,"Current Location during this navigation"),m.to=Z9(d,"Target location"),o.addTimelineEvent({layerId:a,event:{title:"End of navigation",subtitle:d.fullPath,time:o.now(),data:m,logType:h?"warning":"default",groupId:d.meta.__navigationId}})});const i="router-inspector:"+r;o.addInspector({id:i,label:"Routes"+(r?" "+r:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!c)return;const d=c;let f=n.getRoutes().filter(h=>!h.parent||!h.parent.record.components);f.forEach(Rke),d.filter&&(f=f.filter(h=>yF(h,d.filter.toLowerCase()))),f.forEach(h=>Ike(h,t.currentRoute.value)),d.rootNodes=f.map(Pke)}let c;o.on.getInspectorTree(d=>{c=d,d.app===e&&d.inspectorId===i&&l()}),o.on.getInspectorState(d=>{if(d.app===e&&d.inspectorId===i){const h=n.getRoutes().find(m=>m.record.__vd_id===d.nodeId);h&&(d.state={options:Utn(h)})}}),o.sendInspectorTree(i),o.sendInspectorState(i)})}function Ftn(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}function Utn(e){const{record:t}=e,n=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&n.push({editable:!1,key:"name",value:t.name}),n.push({editable:!1,key:"regexp",value:e.re}),e.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:e.keys.map(r=>`${r.name}${Ftn(r)}`).join(" "),tooltip:"Param keys",value:e.keys}}}),t.redirect!=null&&n.push({editable:!1,key:"redirect",value:t.redirect}),e.alias.length&&n.push({editable:!1,key:"aliases",value:e.alias.map(r=>r.record.path)}),Object.keys(e.record.meta).length&&n.push({editable:!1,key:"meta",value:e.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:e.score.map(r=>r.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:e.score}}}),n}const jke=15485081,Mke=2450411,Ake=8702998,ztn=2282478,Nke=16486972,Wtn=6710886,Ztn=16704226,Qtn=12131356;function Pke(e){const t=[],{record:n}=e;n.name!=null&&t.push({label:String(n.name),textColor:0,backgroundColor:ztn}),n.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:Nke}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:jke}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:Ake}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:Mke}),n.redirect&&t.push({label:typeof n.redirect=="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:Wtn});let r=n.__vd_id;return r==null&&(r=String(qtn++),n.__vd_id=r),{id:r,label:n.path,tags:t,children:e.children.map(Pke)}}let qtn=0;const Xtn=/^\/(.*)\/([a-z]*)$/;function Ike(e,t){const n=t.matched.length&&dh(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=n,n||(e.__vd_active=t.matched.some(r=>dh(r,e.record))),e.children.forEach(r=>Ike(r,t))}function Rke(e){e.__vd_match=!1,e.children.forEach(Rke)}function yF(e,t){const n=String(e.re).match(Xtn);if(e.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(t))return e.children.forEach(s=>yF(s,t)),e.record.path!=="/"||t==="/"?(e.__vd_match=e.re.test(t),!0):!1;const o=e.record.path.toLowerCase(),a=X8(o);return!t.startsWith("/")&&(a.includes(t)||o.includes(t))||a.startsWith(t)||o.startsWith(t)||e.record.name&&String(e.record.name).includes(t)?!0:e.children.some(s=>yF(s,t))}function Ytn(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function Gtn(e){const t=Ltn(e.routes,e),n=e.parseQuery||Mtn,r=e.stringifyQuery||Ple,o=e.history,a=W9(),s=W9(),i=W9(),l=ri(fp);let c=fp;u2&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=TR.bind(null,de=>""+de),f=TR.bind(null,rtn),h=TR.bind(null,X8);function m(de,Ce){let pe,ke;return Lke(de)?(pe=t.getRecordMatcher(de),ke=Ce):ke=de,t.addRoute(ke,pe)}function b(de){const Ce=t.getRecordMatcher(de);Ce&&t.removeRoute(Ce)}function v(){return t.getRoutes().map(de=>de.record)}function x(de){return!!t.getRecordMatcher(de)}function k(de,Ce){if(Ce=jo({},Ce||l.value),typeof de=="string"){const ye=ER(n,de,Ce.path),He=t.resolve({path:ye.path},Ce),De=o.createHref(ye.fullPath);return jo(ye,He,{params:h(He.params),hash:X8(ye.hash),redirectedFrom:void 0,href:De})}let pe;if(de.path!=null)pe=jo({},de,{path:ER(n,de.path,Ce.path).path});else{const ye=jo({},de.params);for(const He in ye)ye[He]==null&&delete ye[He];pe=jo({},de,{params:f(ye)}),Ce.params=f(Ce.params)}const ke=t.resolve(pe,Ce),Re=de.hash||"";ke.params=d(h(ke.params));const ee=stn(r,jo({},de,{hash:etn(Re),path:ke.path})),ce=o.createHref(ee);return jo({fullPath:ee,hash:Re,query:r===Ple?Atn(de.query):de.query||{}},ke,{redirectedFrom:void 0,href:ce})}function _(de){return typeof de=="string"?ER(n,de,l.value.path):jo({},de)}function S(de,Ce){if(c!==de)return Y8(8,{from:Ce,to:de})}function T(de){return P(de)}function $(de){return T(jo(_(de),{replace:!0}))}function M(de){const Ce=de.matched[de.matched.length-1];if(Ce&&Ce.redirect){const{redirect:pe}=Ce;let ke=typeof pe=="function"?pe(de):pe;return typeof ke=="string"&&(ke=ke.includes("?")||ke.includes("#")?ke=_(ke):{path:ke},ke.params={}),jo({query:de.query,hash:de.hash,params:ke.path!=null?{}:de.params},ke)}}function P(de,Ce){const pe=c=k(de),ke=l.value,Re=de.state,ee=de.force,ce=de.replace===!0,ye=M(pe);if(ye)return P(jo(_(ye),{state:typeof ye=="object"?jo({},Re,ye.state):Re,force:ee,replace:ce}),Ce||pe);const He=pe;He.redirectedFrom=Ce;let De;return!ee&&itn(r,ke,pe)&&(De=Y8(16,{to:He,from:ke}),K(ke,ke,!0,!1)),(De?Promise.resolve(De):Z(He,ke)).catch(ze=>D0(ze)?D0(ze,2)?ze:X(ze):G(ze,He,ke)).then(ze=>{if(ze){if(D0(ze,2))return P(jo({replace:ce},_(ze.to),{state:typeof ze.to=="object"?jo({},Re,ze.to.state):Re,force:ee}),Ce||He)}else ze=F(He,ke,!0,ce,Re);return V(He,ke,ze),ze})}function D(de,Ce){const pe=S(de,Ce);return pe?Promise.reject(pe):Promise.resolve()}function U(de){const Ce=Ae.values().next().value;return Ce&&typeof Ce.runWithContext=="function"?Ce.runWithContext(de):de()}function Z(de,Ce){let pe;const[ke,Re,ee]=Ktn(de,Ce);pe=MR(ke.reverse(),"beforeRouteLeave",de,Ce);for(const ye of ke)ye.leaveGuards.forEach(He=>{pe.push(Sp(He,de,Ce))});const ce=D.bind(null,de,Ce);return pe.push(ce),Se(pe).then(()=>{pe=[];for(const ye of a.list())pe.push(Sp(ye,de,Ce));return pe.push(ce),Se(pe)}).then(()=>{pe=MR(Re,"beforeRouteUpdate",de,Ce);for(const ye of Re)ye.updateGuards.forEach(He=>{pe.push(Sp(He,de,Ce))});return pe.push(ce),Se(pe)}).then(()=>{pe=[];for(const ye of ee)if(ye.beforeEnter)if(Ac(ye.beforeEnter))for(const He of ye.beforeEnter)pe.push(Sp(He,de,Ce));else pe.push(Sp(ye.beforeEnter,de,Ce));return pe.push(ce),Se(pe)}).then(()=>(de.matched.forEach(ye=>ye.enterCallbacks={}),pe=MR(ee,"beforeRouteEnter",de,Ce,U),pe.push(ce),Se(pe))).then(()=>{pe=[];for(const ye of s.list())pe.push(Sp(ye,de,Ce));return pe.push(ce),Se(pe)}).catch(ye=>D0(ye,8)?ye:Promise.reject(ye))}function V(de,Ce,pe){i.list().forEach(ke=>U(()=>ke(de,Ce,pe)))}function F(de,Ce,pe,ke,Re){const ee=S(de,Ce);if(ee)return ee;const ce=Ce===fp,ye=u2?history.state:{};pe&&(ke||ce?o.replace(de.fullPath,jo({scroll:ce&&ye&&ye.scroll},Re)):o.push(de.fullPath,Re)),l.value=de,K(de,Ce,pe,ce),X()}let ne;function ae(){ne||(ne=o.listen((de,Ce,pe)=>{if(!ue.listening)return;const ke=k(de),Re=M(ke);if(Re){P(jo(Re,{replace:!0,force:!0}),ke).catch(jv);return}c=ke;const ee=l.value;u2&&gtn(Lle(ee.fullPath,pe.delta),htn()),Z(ke,ee).catch(ce=>D0(ce,12)?ce:D0(ce,2)?(P(jo(_(ce.to),{force:!0}),ke).then(ye=>{D0(ye,20)&&!pe.delta&&pe.type===nx.pop&&o.go(-1,!1)}).catch(jv),Promise.reject()):(pe.delta&&o.go(-pe.delta,!1),G(ce,ke,ee))).then(ce=>{ce=ce||F(ke,ee,!1),ce&&(pe.delta&&!D0(ce,8)?o.go(-pe.delta,!1):pe.type===nx.pop&&D0(ce,20)&&o.go(-1,!1)),V(ke,ee,ce)}).catch(jv)}))}let oe=W9(),z=W9(),se;function G(de,Ce,pe){X(de);const ke=z.list();return ke.length?ke.forEach(Re=>Re(de,Ce,pe)):console.error(de),Promise.reject(de)}function J(){return se&&l.value!==fp?Promise.resolve():new Promise((de,Ce)=>{oe.add([de,Ce])})}function X(de){return se||(se=!de,ae(),oe.list().forEach(([Ce,pe])=>de?pe(de):Ce()),oe.reset()),de}function K(de,Ce,pe,ke){const{scrollBehavior:Re}=e;if(!u2||!Re)return Promise.resolve();const ee=!pe&&btn(Lle(de.fullPath,0))||(ke||!pe)&&history.state&&history.state.scroll||null;return In().then(()=>Re(de,Ce,ee)).then(ce=>ce&&mtn(ce)).catch(ce=>G(ce,de,Ce))}const fe=de=>o.go(de);let re;const Ae=new Set,ue={currentRoute:l,listening:!0,addRoute:m,removeRoute:b,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:v,resolve:k,options:e,push:T,replace:$,go:fe,back:()=>fe(-1),forward:()=>fe(1),beforeEach:a.add,beforeResolve:s.add,afterEach:i.add,onError:z.add,isReady:J,install(de){const Ce=this;de.component("RouterLink",rx),de.component("RouterView",oM),de.config.globalProperties.$router=Ce,Object.defineProperty(de.config.globalProperties,"$route",{enumerable:!0,get:()=>O(l)}),u2&&!re&&l.value===fp&&(re=!0,T(o.location).catch(Re=>{}));const pe={};for(const Re in fp)Object.defineProperty(pe,Re,{get:()=>l.value[Re],enumerable:!0});de.provide(rM,Ce),de.provide(XQ,B0e(pe)),de.provide(vF,l);const ke=de.unmount;Ae.add(de),de.unmount=function(){Ae.delete(de),Ae.size<1&&(c=fp,ne&&ne(),ne=null,l.value=fp,re=!1,se=!1),ke()},__VUE_PROD_DEVTOOLS__&&u2&&Vtn(de,Ce,t)}};function Se(de){return de.reduce((Ce,pe)=>Ce.then(()=>U(pe)),Promise.resolve())}return ue}function Ktn(e,t){const n=[],r=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let s=0;s<a;s++){const i=t.matched[s];i&&(e.matched.find(c=>dh(c,i))?r.push(i):n.push(i));const l=e.matched[s];l&&(t.matched.find(c=>dh(c,l))||o.push(l))}return[n,r,o]}function sl(){return Rn(rM)}function YQ(e){return Rn(XQ)}function Dke(e){return e?.color||"#FFFFFF"}const Jtn="modulepreload",enn=function(e,t){return new URL(e,t).href},Vle={},qs=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let c=function(d){return Promise.all(d.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const s=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),l=i?.nonce||i?.getAttribute("nonce");o=c(n.map(d=>{if(d=enn(d,r),d in Vle)return;Vle[d]=!0;const f=d.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(r)for(let b=s.length-1;b>=0;b--){const v=s[b];if(v.href===d&&(!f||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${h}`))return;const m=document.createElement("link");if(m.rel=f?"stylesheet":Jtn,f||(m.as="script"),m.crossOrigin="",m.href=d,l&&m.setAttribute("nonce",l),document.head.appendChild(m),f)return new Promise((b,v)=>{m.addEventListener("load",b),m.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${d}`)))})}))}function a(s){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s}return o.then(s=>{for(const i of s||[])i.status==="rejected"&&a(i.reason);return t().catch(a)})};var ln=(e=>(e.Request="request",e.Examples="examples",e.Cookies="cookies",e.Collection="collection",e.Schema="schema",e.Environment="environment",e.Servers="servers",e.Workspace="workspace",e.Settings="settings",e))(ln||{});const tnn="activeWorkspace";function Bke(){const e=localStorage.getItem(tnn);return e?{name:"request.root",params:{workspace:e}}:{name:"workspace.default"}}const Hke=[{name:"request.root",path:"",component:()=>qs(()=>Promise.resolve().then(()=>Cbn),void 0,import.meta.url),redirect:e=>({name:"request",params:{...e.params,request:"default"}}),children:[{name:"request",path:"request/:request",component:()=>qs(()=>Promise.resolve().then(()=>O1e),void 0,import.meta.url)},{name:"request.examples",path:"request/:request/examples/:examples",component:()=>qs(()=>Promise.resolve().then(()=>O1e),void 0,import.meta.url)},{name:"collection",path:"collection/:collection",component:()=>qs(()=>Promise.resolve().then(()=>yyn),void 0,import.meta.url),redirect:()=>({name:"collection.overview"}),children:[{name:"collection.overview",path:"overview",component:()=>qs(()=>Promise.resolve().then(()=>$yn),void 0,import.meta.url)},{name:"collection.servers",path:"servers",component:()=>qs(()=>Promise.resolve().then(()=>C1e),void 0,import.meta.url),children:[{name:"collection.servers.edit",path:":servers",component:()=>qs(()=>Promise.resolve().then(()=>C1e),void 0,import.meta.url)}]},{name:"collection.environment",path:"environment",component:()=>qs(()=>Promise.resolve().then(()=>oxn),void 0,import.meta.url)},{name:"collection.authentication",path:"authentication",component:()=>qs(()=>Promise.resolve().then(()=>dxn),void 0,import.meta.url)},{name:"collection.cookies",path:"cookies",component:()=>qs(()=>Promise.resolve().then(()=>pxn),void 0,import.meta.url)},{name:"collection.scripts",path:"scripts",component:()=>qs(()=>Promise.resolve().then(()=>mxn),void 0,import.meta.url)},{name:"collection.sync",path:"sync",component:()=>qs(()=>Promise.resolve().then(()=>bxn),void 0,import.meta.url)},{name:"collection.settings",path:"settings",component:()=>qs(()=>Promise.resolve().then(()=>Txn),void 0,import.meta.url)}]}]}],nnn=[{name:"root",path:"/",redirect:Bke},{name:"workspace.default",path:"/workspace",redirect:{name:"workspace",params:{workspace:"default"}}},{name:"workspace",path:"/workspace/:workspace",redirect:{name:"request.root"},children:Hke}];[...Hke];function AR(e,t){const n=e.split(".").reduce((r,o)=>r?.[o],t);return typeof n=="string"?n:JSON.stringify(n)}function vo(e,t){let n=e;const r=new Set;return n=n.replace(ca.VARIABLES,(o,a)=>{const s=a.trim();r.add(s);const i=AR(s,t);return Tn(i)&&i!==""?i:`{{${s}}}`}),n=n.replace(ca.PATH,(o,a)=>{const s=a.trim();if(r.has(s))return`{${s}}`;const i=AR(s,t);return Tn(i)&&i!==""?i:`{${s}}`}),n=n.replace(/:\b[\w.]+\b/g,o=>{const a=o.slice(1);if(r.has(a))return o;const s=AR(a,t);return Tn(s)&&s!==""?s:o}),n}function Fle(e){function t(n,r){const o=Object.keys(n),a=[];return o.forEach(s=>{const i=r?`${r}.${s}`:s;typeof n[s]=="object"?a.push(...t(n[s],i)):a.push([i,String(n[s])])}),a}return t(e)}const Mv=Wt({uid:Pe().brand(),name:Pe().optional().default("Default Environment"),color:Pe().optional().default("#FFFFFF"),value:Pe().default(""),isDefault:Ar().optional()});function rnn(e){return()=>{const t={[ln.Collection]:"default",[ln.Environment]:"default",[ln.Request]:"default",[ln.Examples]:"default",[ln.Schema]:"default",[ln.Cookies]:"default",[ln.Servers]:"default",[ln.Workspace]:"default",[ln.Settings]:"default"},n=e?.currentRoute.value;return n&&Object.keys(t).forEach(r=>{n.params[r]&&(t[r]=n.params[r])}),t}}const Vke=({collections:e,requestExamples:t,requests:n,router:r,servers:o,workspaces:a})=>{const s=Q(rnn(r)),i=Q(()=>a[s.value[ln.Workspace]]??Object.values(a)[0]),l=Q(()=>i.value?.collections.map(_=>e[_]).filter(Tn).sort((_,S)=>_.info?.title==="Drafts"?1:S.info?.title==="Drafts"?-1:0)??[]),c=Q(()=>l.value?.flatMap(_=>_.servers.map(S=>o[S]))),d=Q(()=>l.value?.flatMap(_=>_.requests)??[]),f=Q(()=>{if(!i.value?.activeEnvironmentId)return Mv.parse({uid:"default",color:"#FFFFFF",name:"No Environment",value:JSON.stringify(i.value?.environments,null,2)});const _=l.value.find(S=>S["x-scalar-environments"]?.[i.value?.activeEnvironmentId??""]);return _&&i.value?.activeEnvironmentId?Mv.parse({uid:i.value.activeEnvironmentId,name:i.value.activeEnvironmentId,value:JSON.stringify(_["x-scalar-environments"]?.[i.value?.activeEnvironmentId]?.variables,null,2),color:_["x-scalar-environments"]?.[i.value?.activeEnvironmentId]?.color||"#FFFFFF",isDefault:!1}):Mv.parse({uid:"default",color:"#FFFFFF",name:"No Environment",value:JSON.stringify(i.value.environments,null,2)})}),h=Q(()=>{const _=s.value[ln.Request],S=e[s.value.collection]||e[i.value?.collections[0]??""];return n[_]||n[S?.requests[0]??""]||Object.values(n)[0]}),m=Q(()=>{const _=s.value[ln.Examples]==="default"?h.value?.examples[0]||"":s.value[ln.Examples];return t[_]}),b=Q(()=>{const _=e[s.value[ln.Collection]];if(_)return _;const S=h.value?.uid;if(S)return Object.values(e).find($=>$.requests?.includes(S));const T=i.value?.collections[0]??e[0]?.uid??"";return e[T]}),v=Q(()=>{if(h.value?.selectedServerUid){const _=o[h.value.selectedServerUid];if(_)return _}if(b.value?.selectedServerUid){const _=o[b.value.selectedServerUid];if(_)return _}}),x=Q(()=>s.value[ln.Cookies]==="default"?i.value?.cookies[0]??"default":s.value[ln.Cookies]),k=Q(()=>{const _=i.value?.environments??{},S=f.value.uid?JSON.parse(f.value.value):{},T=Fle(_).map(([P,D])=>({key:P,value:D,source:"global"})),$=Fle(S).map(([P,D])=>({key:P,value:D,source:"collection"})),M=new Map;return $.forEach(P=>{M.set(P.key,P)}),T.forEach(P=>{M.has(P.key)||M.set(P.key,P)}),Array.from(M.values())});return{activeCollection:b,activeCookieId:x,activeExample:m,activeRequest:h,activeRouterParams:s,activeEnvironment:f,activeServer:v,activeWorkspace:i,activeWorkspaceCollections:l,activeWorkspaceServers:c,activeEnvVariables:k,activeWorkspaceRequests:d}},GQ=Symbol(),$o=()=>{const e=Rn(GQ);if(!e)throw new Error("Active entities store not provided");return e};function xF(e){return e.flatMap(t=>{if(t.key==="value")try{const n=JSON.parse(t.value);return Object.keys(n).map(r=>({key:r,value:n[r],source:t.source}))}catch{}return[t]})}const onn={key:0,class:"gap-1/2 flex flex-col"},ann=["onClick"],snn={class:"flex items-center gap-2 whitespace-nowrap"},inn={class:"w-20 overflow-hidden text-right text-ellipsis whitespace-nowrap"},lnn=le({__name:"EnvironmentVariableDropdown",props:{query:{},environment:{},envVariables:{},dropdownPosition:{}},emits:["select"],setup(e,{expose:t,emit:n}){const r=e,o=n,a=me(!0),s=me(null),i=me(0),l=sl(),{activeCollection:c}=$o(),d=()=>{if(!l)return;const{currentRoute:v,push:x}=l,k=v.value.params.workspace;!c.value||c.value.info?.title==="Drafts"?x({name:"environment.default",params:{[ln.Workspace]:k}}):x({name:"collection.environment",params:{[ln.Collection]:c.value.uid}}),a.value=!1},f=new Ph(xF(r.envVariables),{keys:["key","value"]}),h=Q(()=>{const v=r.query;if(!v)return xF(r.envVariables).slice(-4).filter(({key:k,value:_})=>k!==""||_!=="");const x=f.search(v,{limit:10});return x.length>0?x.map(k=>k.item).filter(({key:k,value:_})=>k!==""||_!==""):[]}),m=v=>{o("select",v)};t({handleArrowKey:v=>{const x=v==="up"?-1:1,k=h.value.length;k!==0&&(i.value=(i.value+x+k)%k)},handleSelect:()=>{if(i.value>=0){const v=h.value[i.value];v&&m(v.key)}}}),en(()=>{i.value=0});const b=Q(()=>({left:(r.dropdownPosition?.left??0)+"px",top:(r.dropdownPosition?.top??0)+5+"px"}));return THt(s,()=>{a.value=!1},{ignore:[s]}),(v,x)=>a.value?(C(),Y(O(M7e),{key:0,class:"scalar-client"},{default:B(()=>[L("div",{ref_key:"dropdownRef",ref:s,class:"custom-scroll fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75",style:sr(b.value)},[h.value.length?(C(),A("ul",onn,[(C(!0),A(je,null,_t(h.value,(k,_)=>(C(),A("li",{key:k.key,class:Ie(["font-code text-xxs hover:bg-b-2 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",{"bg-b-2":_===i.value}]),onClick:S=>m(k.key)},[L("div",snn,[k.source==="collection"&&v.environment.name!=="No Environment"?(C(),A("span",{key:0,class:"h-2.25 w-2.25 min-w-2.25 rounded-full",style:sr({backgroundColor:O(Dke)(v.environment)})},null,4)):(C(),Y(O(k4e),{key:1,class:"-ml-0.25 size-2.5",icon:"Globe"})),be(" "+Te(k.key),1)]),L("span",inn,Te(k.value),1)],10,ann))),128))])):O(l)?(C(),Y(O(At),{key:1,class:"font-code text-xxs bg-b-inherit hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",variant:"outlined",onClick:d},{default:B(()=>[H(O(eZ),{class:"size-3"}),x[0]||(x[0]=be(" Add Variable "))]),_:1,__:[0]})):te("",!0),x[1]||(x[1]=L("div",{class:"bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg"},null,-1))],4)]),_:1})):te("",!0)}}),cnn={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"},unn={class:"text-c-1 whitespace-nowrap"},dnn={class:"text-c-1 overflow-hidden text-ellipsis"},fnn={class:"overflow-hidden text-ellipsis"},pnn={class:"flex h-4 w-4 items-center justify-center"},_S=le({__name:"DataTableInputSelect",props:{modelValue:{},value:{},default:{},canAddCustomValue:{type:Boolean,default:!0},type:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=Q(()=>n.value??[]),a=me(!1),s=me(""),i=me(null);pt(s,x=>{r("update:modelValue",x)});const l=x=>{r("update:modelValue",x),a.value=!1},c=()=>{s.value.trim()&&l(s.value)},d=()=>{s.value.trim()||r("update:modelValue",""),a.value=!1},f=x=>n.modelValue.toString()===x;pt(a,x=>{x&&In(()=>{i.value?.focus()})});const h=Q(()=>n.modelValue!==void 0?n.modelValue:n.default),m=Q(()=>{const x=new Set(n.modelValue.toString().split(", "));return o.value.filter(k=>x.has(k)).map(k=>({id:k,label:k,value:k}))}),b=Q(()=>o.value.map(x=>({id:x,label:x,value:x}))),v=x=>{const k=x.map(_=>_.value);r("update:modelValue",k.join(", "))};return(x,k)=>(C(),A("div",cnn,[x.type==="array"?(C(),Y(O(XZ),{key:0,modelValue:m.value,options:b.value,"onUpdate:modelValue":v},{default:B(()=>[H(O(At),{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:B(()=>[L("span",unn,Te(m.value.length>0?m.value.map(_=>_.label).join(", "):"Select a value"),1),H(O(Ct),{icon:"ChevronDown",size:"md",class:"min-w-4"})]),_:1})]),_:1},8,["modelValue","options"])):a.value?Po((C(),A("input",{key:1,ref_key:"inputRef",ref:i,"onUpdate:modelValue":k[0]||(k[0]=_=>s.value=_),class:"text-c-1 w-full min-w-0 border-none px-2 py-1.5 outline-none",placeholder:"Value",type:"text",onBlur:d,onKeyup:cs(c,["enter"])},null,544)),[[Y2,s.value]]):(C(),Y(O(x$),{key:2,resize:"",value:h.value},{items:B(()=>[(C(!0),A(je,null,_t(o.value,_=>(C(),Y(O(T2),{key:_,class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",value:_,onClick:S=>l(_)},{default:B(()=>[L("div",{class:Ie(["flex h-4 w-4 items-center justify-center rounded-full p-[3px]",f(_)?"bg-c-accent text-b-1":"shadow-border text-transparent"])},[H(O(Ct),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),L("span",fnn,Te(_),1)]),_:2},1032,["value","onClick"]))),128)),x.canAddCustomValue?(C(),A(je,{key:0},[o.value.length?(C(),Y(O(zj),{key:0})):te("",!0),H(O(T2),{class:"flex items-center gap-1.5",onClick:k[1]||(k[1]=_=>a.value=!0)},{default:B(()=>[L("div",pnn,[H(O(Ct),{icon:"Add",size:"sm"})]),k[2]||(k[2]=L("span",null,"Add value",-1))]),_:1,__:[2]})],64)):te("",!0)]),default:B(()=>[H(O(At),{class:"h-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none",fullWidth:"",variant:"ghost"},{default:B(()=>[L("span",dnn,Te(h.value||"Select a value"),1),H(O(Ct),{icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["value"]))]))}});let hnn=class Fke extends U1{constructor(t,n,r,o){super(),this.variableName=t,this.variableName=t,this.environment=n,this.envVariables=r,this.isReadOnly=o??!1,this.uid=_k()}app;uid;environment;envVariables;isReadOnly;toDOM(){const t=document.createElement("span");t.className="cm-pill",t.textContent=`${this.variableName}`;const n=le({props:{variableName:{type:String,default:null}},render:()=>{const r=this.envVariables?xF(this.envVariables).find(l=>l.key===this.variableName):void 0,o=r?.source==="global",a=o?"var(--scalar-color-1)":r&&this.environment&&this.environment.name!=="No Environment"?Dke(this.environment):"var(--scalar-color-1)";t.style.setProperty("--tw-bg-base",a),t.style.opacity=r?.value?"1":"0.5";const s=r?.value||"No value",i=nr("div",{class:"flex items-center gap-1 whitespace-nowrap"},[(o||this.environment?.name==="No Environment"&&r?.value)&&nr(k4e,{class:"size-3 -ml-1",icon:"Globe"}),nr("span",this.variableName)]);return nr(Uy,{content:s,delay:0,placement:"bottom",offset:6},{default:()=>i})}});return this.app=wL(n,{variableName:this.variableName}),this.app.mount(t),t}destroy(){this.app&&this.app.unmount()}eq(t){return t instanceof Fke&&t.variableName===this.variableName&&t.uid===this.uid}ignoreEvent(){return!1}};const mnn=e=>Os.fromClass(class{decorations;constructor(t){this.decorations=this.buildDecorations(t)}update(t){(t.docChanged||t.viewportChanged)&&requestAnimationFrame(()=>{this.decorations=this.buildDecorations(t.view),t.view.update([])})}buildDecorations(t){const n=new nf;for(const{from:r,to:o}of t.visibleRanges){const a=t.state.doc.sliceString(r,o);let s;for(;(s=ca.VARIABLES.exec(a))!==null;){const i=r+s.index,l=i+s[0].length,c=s[1]??"";n.add(i,l,Mn.widget({widget:new hnn(c,e.environment,e.envVariables,e.isReadOnly),side:1}))}}return n.finish()}},{decorations:t=>t.decorations}),gnn=qt.domEventHandlers({keydown(e,t){if(e.key==="Backspace"){const{state:n}=t,{from:r,to:o}=n.selection.main;if(r===0&&o===n.doc.length)return t.dispatch({changes:{from:0,to:n.doc.length},selection:{anchor:0}}),e.preventDefault(),!0;if(r===o&&r>0&&n.doc.sliceString(r-2,r)==="}}")return t.dispatch({changes:{from:r-2,to:o},selection:{anchor:r-2}}),e.preventDefault(),!0}return!1}}),KQ=Symbol(),Ti=()=>({layout:Rn(KQ,"desktop")}),bnn={class:"whitespace-nowrap"},vnn=["id"],ynn={key:0,class:"z-context text-c-2 absolute right-1.5 bottom-1 hidden font-sans group-has-[:focus-visible]/input:block",role:"alert"},xnn={key:5,class:"centered-y text-orange absolute right-7 text-xs"},knn={key:6,class:"centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1"},wnn={key:7,class:"required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pt-px pr-2 opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 group-[.alert]:bg-transparent group-[.alert]:shadow-none group-[.error]:bg-transparent group-[.error]:shadow-none peer-has-[.cm-focused]:opacity-0"},Onn={inheritAttrs:!1},Cnn=le({...Onn,__name:"CodeInput",props:{colorPicker:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},modelValue:{},error:{type:Boolean},emitOnBlur:{type:Boolean,default:!0},extensions:{default:()=>[]},lineNumbers:{type:Boolean},lint:{type:Boolean},disableTabIndent:{type:Boolean,default:!1},language:{},handleFieldSubmit:{},handleFieldChange:{},placeholder:{},required:{type:Boolean},disableEnter:{type:Boolean,default:!1},disableCloseBrackets:{type:Boolean,default:!1},enum:{},examples:{},type:{},nullable:{type:Boolean,default:!1},withVariables:{type:Boolean,default:!0},importCurl:{type:Boolean},default:{},environment:{},envVariables:{},lineWrapping:{type:Boolean,default:!1}},emits:["submit","update:modelValue","curl","blur"],setup(e,{expose:t,emit:n}){const r=e,o=n,a=ZU(),s=a.id||`id-${_k()}`,i=me(!1),l=me(!1),c=me(""),d=me({left:0,top:0}),f=me(null),{layout:h}=Ti();function m(V){return V===r.modelValue?null:r.importCurl&&V.trim().toLowerCase().startsWith("curl")?(o("curl",V),T.value?.dispatch({changes:{from:0,to:T.value.state.doc.length,insert:String(r.modelValue)}}),null):r.handleFieldChange?r.handleFieldChange(V):o("update:modelValue",V)}function b(V){return r.handleFieldSubmit?r.handleFieldSubmit(V):o("submit",V)}function v(V){i.value=!1,r.emitOnBlur&&r.modelValue&&b(V),o("blur",V)}const x=[...r.extensions];r.colorPicker&&x.push(Qqt);const k=Q(()=>mnn({environment:r.environment,envVariables:r.envVariables,isReadOnly:h==="modal"})),_=Q(()=>[...x,k.value,gnn]),S=me(null),{codeMirror:T}=lke({content:Ys(()=>r.modelValue!==void 0?String(r.modelValue):""),onChange:V=>{m(V),M()},onFocus:()=>i.value=!0,onBlur:V=>v(V),codeMirrorRef:S,disableTabIndent:Ys(()=>r.disableTabIndent),disableEnter:Ys(()=>r.disableEnter),disableCloseBrackets:Ys(()=>r.disableCloseBrackets),lineNumbers:Ys(()=>r.lineNumbers),language:Ys(()=>r.language),lint:Ys(()=>r.lint),extensions:_,placeholder:Ys(()=>r.placeholder)});T.value?.focus(),pt(T,()=>{T.value&&Object.hasOwn(a,"autofocus")&&T.value.focus()});const{handleDropdownSelect:$,updateDropdownVisibility:M}=YJt({codeMirror:T,query:c,showDropdown:l,dropdownPosition:d}),P=Q(()=>r.nullable?["true","false","null"]:["true","false"]),D=(V,F)=>{l.value?V==="down"?(F.preventDefault(),f.value?.handleArrowKey("down")):V==="up"?(F.preventDefault(),f.value?.handleArrowKey("up")):V==="enter"&&(F.preventDefault(),f.value?.handleSelect()):V==="escape"?r.disableTabIndent||F.stopPropagation():V==="enter"&&F.target instanceof HTMLDivElement&&b(F.target.textContent??"")},U=Q(()=>Array.isArray(r.type)?r.type.find(V=>V!=="null")??"string":r.type),Z=Q(()=>l.value&&r.withVariables&&h!=="modal"&&r.environment);return t({focus:()=>{T.value?.focus()},handleChange:m,handleSubmit:b,handleBlur:v,booleanOptions:P,codeMirror:T,modelValue:r.modelValue}),(V,F)=>(C(),A(je,null,[V.disabled?(C(),A("div",{key:0,class:Ie(["text-c-2 flex cursor-default items-center justify-center",O(h)==="modal"?"font-code pr-2 pl-1 text-base":"px-2"]),"data-testid":"code-input-disabled"},[L("span",bnn,Te(V.modelValue),1)],2)):r.enum&&r.enum.length?(C(),Y(_S,{key:1,default:r.default,modelValue:V.modelValue,type:U.value,value:r.enum,"onUpdate:modelValue":F[0]||(F[0]=ne=>o("update:modelValue",ne))},null,8,["default","modelValue","type","value"])):V.type==="boolean"||V.type?.includes("boolean")?(C(),Y(_S,{key:2,default:r.default,modelValue:V.modelValue,value:P.value,"onUpdate:modelValue":F[1]||(F[1]=ne=>o("update:modelValue",ne))},null,8,["default","modelValue","value"])):r.examples&&r.examples.length?(C(),Y(_S,{key:3,default:r.default,modelValue:r.modelValue,value:r.examples,"onUpdate:modelValue":F[2]||(F[2]=ne=>o("update:modelValue",ne))},null,8,["default","modelValue","value"])):(C(),A("div",lt({key:4,id:O(s)},V.$attrs,{ref_key:"codeMirrorRef",ref:S,class:["group/input group-[.alert]:outline-orange group-[.error]:outline-red font-code peer relative w-full overflow-hidden text-xs leading-[1.44] whitespace-nowrap -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline",{"line-wrapping has-[:focus-visible]:bg-b-1 has-[:focus-visible]:absolute has-[:focus-visible]:z-1":V.lineWrapping,"flow-code-input--error":V.error}],onKeydown:[F[3]||(F[3]=cs(Jt(ne=>D("down",ne),["stop"]),["down"])),F[4]||(F[4]=cs(ne=>D("enter",ne),["enter"])),F[5]||(F[5]=cs(ne=>D("escape",ne),["escape"])),F[6]||(F[6]=cs(Jt(ne=>D("up",ne),["stop"]),["up"]))]}),[V.disableTabIndent?te("",!0):(C(),A("div",ynn,F[7]||(F[7]=[be(" Press "),L("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Esc",-1),be(" then "),L("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Tab",-1),be(" to exit ")])))],16,vnn)),V.$slots.warning?(C(),A("div",xnn,[we(V.$slots,"warning",{},void 0,!0)])):te("",!0),V.$slots.icon?(C(),A("div",knn,[we(V.$slots,"icon",{},void 0,!0)])):te("",!0),V.required?(C(),A("div",wnn," Required ")):te("",!0),Z.value?(C(),Y(lnn,{key:8,ref_key:"dropdownRef",ref:f,dropdownPosition:d.value,envVariables:V.envVariables,environment:V.environment,query:c.value,onSelect:O($)},null,8,["dropdownPosition","envVariables","environment","query","onSelect"])):te("",!0)],64))}}),uf=Dn(Cnn,[["__scopeId","data-v-103d9d56"]]),_nn=le({__name:"HttpMethod",props:{isSquare:{type:Boolean,default:!1},method:{},isEditable:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const n=e,r=t,o=Q(()=>j8(n.method)),a=Object.entries(SZ).map(([c])=>({id:c,label:c.toUpperCase(),color:j8(c).colorClass})),s=Q({get:()=>a.find(({id:c})=>c===n.method),set:c=>c?.id&&r("change",c.id)}),i=ks({base:"text-center font-code text-3xs justify-center items-center flex",variants:{isSquare:{true:"px-2.5 whitespace-nowrap font-bold border-r h-fit m-auto",false:"rounded-full"},isEditable:{true:"http-bg-gradient rounded-md border border-r",false:"cursor-auto"}}}),l=Q(()=>o.value.short);return(c,d)=>c.isEditable?(C(),Y(O(qd),{key:0,modelValue:s.value,"onUpdate:modelValue":d[0]||(d[0]=f=>s.value=f),class:"font-code scalar-client mt-1 text-sm",options:O(a)},{default:B(()=>[L("div",{class:Ie(["h-full",{"pointer-events-none":!c.isEditable}])},[L("button",{class:Ie(["relative h-full",O(is)(O(i)({isSquare:c.isSquare,isEditable:c.isEditable}),o.value.colorClass)]),type:"button"},[L("span",null,Te(l.value),1)],2)],2)]),_:1},8,["modelValue","options"])):(C(),A("div",{key:1,class:Ie(["relative gap-1 whitespace-nowrap",O(is)(O(i)({isSquare:c.isSquare,isEditable:c.isEditable}),o.value.colorClass)]),type:"button"},Te(o.value.short),3))}}),aM=Dn(_nn,[["__scopeId","data-v-076b14a1"]]),Snn=(e,t=2)=>e>1e3?(e/1e3).toFixed(t)+"s":e+"ms",Lnn={100:{color:"text-yellow"},200:{color:"text-green"},202:{color:"text-green"},300:{color:"text-blue"},304:{color:"text-blue"},400:{color:"text-red"},401:{color:"text-orange"},422:{color:"text-yellow"},423:{color:"text-purple"},505:{color:"text-orange"}},$nn=e=>Lnn[e]||{color:"text-grey"},Uke=ea([Pe().brand(),Pe().brand().array()]).array().default([]),Tnn=ea([Wt({description:Pe().optional(),default:Pe().default("")}),Pe()]),Enn=Wt({description:Pe().optional(),color:Pe().optional(),variables:wo(Pe(),Tnn)}),jnn=wo(Pe(),Enn),Mnn=Wt({description:Pe().optional(),example:Pe().optional()}),Ann=wo(Pe(),Mnn),sM=Wt({description:Pe().optional()}),iM=Wt({uid:Eh.brand(),nameKey:Pe().optional().default("")}),Nnn=["query","header","cookie"],zke=sM.extend({type:Lr("apiKey"),name:Pe().optional().default(""),in:na(Nnn).optional().default("header").catch("header")}),Pnn=Wt({value:Pe().default("")}),Inn=zke.merge(iM).merge(Pnn),Wke=sM.extend({type:Lr("http"),scheme:Pe().toLowerCase().pipe(na(["basic","bearer"])).optional().default("basic"),bearerFormat:ea([Lr("JWT"),Pe()]).optional().default("JWT")}),Rnn=Wt({username:Pe().default(""),password:Pe().default(""),token:Pe().default("")}),Dnn=Wke.merge(iM).merge(Rnn),Zke=sM.extend({type:Lr("openIdConnect"),openIdConnectUrl:Pe().optional().default("")}),Bnn=Zke.merge(iM),Ule=Pe().default(""),NR=Pe().default(""),KC=Wt({refreshUrl:Pe().optional().default(""),scopes:wo(Pe(),Pe().optional().default("")).optional().default({}).catch({}),selectedScopes:ta(Pe()).optional().default([]),"x-scalar-client-id":Pe().optional().default(""),token:Pe().default(""),"x-scalar-security-query":wo(Pe(),Pe()).optional(),"x-scalar-security-body":wo(Pe(),Pe()).optional(),"x-tokenName":Pe().optional()}),PR=typeof window<"u"?window.location.origin+window.location.pathname:"",JQ=["SHA-256","plain","no"],IR=na(["header","body"]).optional(),Qke=sM.extend({type:Lr("oauth2"),"x-default-scopes":ta(Pe()).optional(),flows:Wt({implicit:KC.extend({type:Lr("implicit").default("implicit"),authorizationUrl:Ule,"x-scalar-redirect-uri":Pe().optional().default(PR)}),password:KC.extend({type:Lr("password").default("password"),tokenUrl:NR,clientSecret:Pe().default(""),username:Pe().default(""),password:Pe().default(""),"x-scalar-credentials-location":IR}),clientCredentials:KC.extend({type:Lr("clientCredentials").default("clientCredentials"),tokenUrl:NR,clientSecret:Pe().default(""),"x-scalar-credentials-location":IR}),authorizationCode:KC.extend({type:Lr("authorizationCode").default("authorizationCode"),authorizationUrl:Ule,"x-usePkce":na(JQ).optional().default("no"),"x-scalar-redirect-uri":Pe().optional().default(PR),tokenUrl:NR,clientSecret:Pe().default(""),"x-scalar-credentials-location":IR})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":"",refreshUrl:"",token:"",type:"implicit",authorizationUrl:"http://localhost:8080","x-scalar-redirect-uri":PR}})}),Hnn=Qke.merge(iM),qke=wo(Pe(),ta(Pe()).optional().default([]));ea([zke,Wke,Qke,Zke]);const ox=DSt("type",[Inn,Dnn,Bnn,Hnn]).transform(e=>(e.type==="oauth2"&&e["x-default-scopes"]?.length&&Object.keys(e.flows).forEach(n=>{e.flows[n]?.selectedScopes&&e["x-default-scopes"]&&(e.flows[n].selectedScopes=[e["x-default-scopes"]].flat())}),e)),G8=e=>Array.isArray(e)?e.map(t=>typeof t=="object"&&t!==null?G8(t):t):Object.fromEntries(Object.entries(e).filter(([t,n])=>n!==void 0).map(([t,n])=>typeof n=="object"&&n!==null?[t,G8(n)]:[t,n])),Vnn=Wt({name:Pe().optional().nullable().catch(null),identifier:Pe().optional().catch(void 0),url:Pe().url().optional().catch(void 0)}).transform(G8),Fnn=Wt({name:Pe().optional(),url:Pe().url().optional().catch(void 0),email:Pe().optional().catch(void 0)}).transform(G8),Unn=Wt({title:Pe().catch("API"),summary:Pe().optional().catch(void 0),description:Pe().optional().catch(void 0),termsOfService:Pe().url().optional().catch(void 0),contact:Fnn.optional().catch(void 0),license:Vnn.optional().catch(void 0),version:Pe().catch("1.0")}).merge(sLt).transform(G8),eq=Wt({description:Pe().optional().catch(void 0),url:Pe()}).transform(G8),znn=Wt({tagName:Pe()}).array(),Wnn=Wt({type:Lr("tag").optional().default("tag"),name:Pe(),description:Pe().optional().catch(void 0),externalDocs:eq.optional(),"x-scalar-children":znn.default([]).optional(),"x-internal":Ar().optional(),"x-scalar-ignore":Ar().optional()}),K8=Wnn.extend({uid:Eh.brand(),children:ea([Pe().brand(),Pe().brand()]).array().default([])}),Znn=Wt({type:Lr("collection").optional().default("collection"),openapi:ea([Pe(),Lr("3.0.0"),Lr("3.1.0"),Lr("4.0.0")]).optional().default("3.1.0"),jsonSchemaDialect:Pe().optional(),info:Unn.catch({title:"API",version:"1.0"}),security:ta(qke).optional().default([]),externalDocs:eq.optional().catch(void 0),components:wo(Pe(),Qi()).optional(),webhooks:wo(Pe(),Qi()).optional(),"x-scalar-icon":Pe().optional().default("interface-content-folder"),"x-scalar-active-environment":Pe().optional(),"x-scalar-environments":jnn.optional(),"x-scalar-secrets":Ann.optional()}),Qnn=Wt({uid:Eh.brand(),securitySchemes:Pe().array().default([]),selectedSecuritySchemeUids:Uke,selectedServerUid:Pe().brand().optional(),servers:Pe().brand().array().default([]),requests:Pe().brand().array().default([]),tags:Pe().brand().array().default([]),children:ea([Pe().brand(),Pe().brand()]).array().default([]),documentUrl:Pe().optional(),watchMode:Ar().optional().default(!1),integration:Pe().nullable().optional(),useCollectionSecurity:Ar().optional().default(!1),watchModeStatus:na(["IDLE","WATCHING","ERROR"]).optional().default("IDLE")}),J8=Znn.merge(Qnn),qnn=na(["path","query","header","cookie"]),Xnn=na(["matrix","simple","form","label","spaceDelimited","pipeDelimited","deepObject"]);Qi();const Ynn=Wt({in:qnn,name:Pe(),description:Pe().optional(),required:Ar().optional().default(!1),deprecated:Ar().optional().default(!1),schema:Qi().optional(),content:Qi().optional(),style:Xnn.optional(),explode:Ar().optional(),example:Qi().optional(),examples:ea([wo(Pe(),Wt({value:Qi().optional(),summary:Pe().optional(),externalValue:Pe().optional()})),ta(Qi())]).optional()});var SS=(e=>(e.Deprecated="deprecated",e.Experimental="experimental",e.Stable="stable",e))(SS||{});const zle=Wt({title:Pe().optional(),component:Qi(),props:wo(Pe(),ls()).optional()}),Gnn=Wt({"request.section":ta(zle).optional(),"response.section":ta(zle).optional()}),Knn=Wt({onBeforeRequest:xa({input:[Wt({request:l$(Request)})],output:ea([yd(),Voe(yd())])}).optional(),onResponseReceived:xa({input:[Wt({response:l$(Response),operation:wo(Pe(),ls())})],output:ea([yd(),Voe(yd())])}).optional()}),Jnn=xa({input:[],output:Wt({name:Pe(),views:Gnn.optional(),hooks:Knn.optional()})}),ern=Wt({name:Pe().regex(/^x-/),component:Qi(),renderer:Qi().optional()}),trn=xa({input:[],output:Wt({name:Pe(),extensions:ta(ern)})}),nrn=na(["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","elysiajs","fastify","mars","laserwave","none"]),rrn=na(["summary","path"]),orn=na(["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]),arn=na(["adonisjs","docusaurus","dotnet","elysiajs","express","fastapi","fastify","go","hono","html","laravel","litestar","nestjs","nextjs","nitro","nuxt","platformatic","react","rust","svelte","vue"]).nullable(),srn=Wt({url:Pe().optional(),content:ea([Pe(),F6e(),wo(Pe(),ls()),xa({input:[],output:wo(Pe(),ls())})]).optional(),title:Pe().optional(),slug:Pe().optional()}),irn=Wt({basePath:Pe()}),rT=Wt({url:Pe().optional(),content:ea([Pe(),F6e(),wo(Pe(),ls()),xa({input:[],output:wo(Pe(),ls())})]).optional(),title:Pe().optional(),slug:Pe().optional(),spec:srn.optional(),authentication:ls().optional(),baseServerURL:Pe().optional(),hideClientButton:Ar().optional().default(!1).catch(!1),proxyUrl:Pe().optional(),searchHotKey:orn.optional(),servers:ta(ls()).optional(),showSidebar:Ar().optional().default(!0).catch(!0),showToolbar:na(["always","localhost","never"]).optional().default("localhost").catch("localhost"),operationTitleSource:rrn.optional().default("summary").catch("summary"),theme:nrn.optional().default("default").catch("default"),_integration:arn.optional(),onRequestSent:xa({input:[Pe()],output:yd()}).optional(),persistAuth:Ar().optional().default(!1).catch(!1),plugins:ta(Jnn).optional(),telemetry:Ar().optional().default(!0)}),lrn=q6e(),crn=rT.merge(Wt({layout:na(["modern","classic"]).optional().default("modern").catch("modern"),proxy:Pe().optional(),fetch:lrn.optional(),plugins:ta(trn).optional(),isEditable:Ar().optional().default(!1).catch(!1),isLoading:Ar().optional().default(!1).catch(!1),hideModels:Ar().optional().default(!1).catch(!1),documentDownloadType:na(["yaml","json","both","direct","none"]).optional().default("both").catch("both"),hideDownloadButton:Ar().optional(),hideTestRequestButton:Ar().optional().default(!1).catch(!1),hideSearch:Ar().optional().default(!1).catch(!1),showOperationId:Ar().optional().default(!1).catch(!1),darkMode:Ar().optional(),forceDarkModeState:na(["dark","light"]).optional(),hideDarkModeToggle:Ar().optional().default(!1).catch(!1),metaData:ls().optional(),favicon:Pe().optional(),hiddenClients:ea([wo(Pe(),ea([Ar(),ta(Pe())])),ta(Pe()),Lr(!0)]).optional(),defaultHttpClient:Wt({targetKey:q6e(),clientKey:Pe()}).optional(),customCss:Pe().optional(),onSpecUpdate:xa({input:[Pe()],output:yd()}).optional(),onServerChange:xa({input:[Pe()],output:yd()}).optional(),onDocumentSelect:xa().optional(),onLoaded:xa().optional(),onBeforeRequest:xa({input:[Wt({request:l$(Request)})],output:yd()}).optional(),onShowMore:xa({input:[Pe()],output:yd()}).optional(),onSidebarClick:xa({input:[Pe()],output:yd()}).optional(),pathRouting:irn.optional(),generateHeadingSlug:xa({input:[Wt({slug:Pe().default("headingSlug")})],output:Pe()}).optional(),generateModelSlug:xa({input:[Wt({name:Pe().default("modelName")})],output:Pe()}).optional(),generateTagSlug:xa({input:[Wt({name:Pe().default("tagName")})],output:Pe()}).optional(),generateOperationSlug:xa({input:[Wt({path:Pe(),operationId:Pe().optional(),method:Pe(),summary:Pe().optional()})],output:Pe()}).optional(),generateWebhookSlug:xa({input:[Wt({name:Pe(),method:Pe().optional()})],output:Pe()}).optional(),redirect:xa({input:[Pe()],output:Pe().nullable().optional()}).optional(),withDefaultFonts:Ar().optional().default(!0).catch(!0),defaultOpenAllTags:Ar().optional().default(!1).catch(!1),expandAllModelSections:Ar().optional().default(!1).catch(!1),expandAllResponses:Ar().optional().default(!1).catch(!1),tagsSorter:ea([Lr("alpha"),xa({input:[ls(),ls()],output:a$()})]).optional(),operationsSorter:ea([Lr("alpha"),Lr("method"),xa({input:[ls(),ls()],output:a$()})]).optional(),orderSchemaPropertiesBy:ea([Lr("alpha"),Lr("preserve")]).optional().default("alpha").catch("alpha"),orderRequiredPropertiesFirst:Ar().optional().default(!0).catch(!0)})),Wle="https://api.scalar.com/request-proxy",RR="https://proxy.scalar.com",urn=e=>{const t={...e};return t.hideDownloadButton&&(console.warn("[DEPRECATED] You're using the deprecated 'hideDownloadButton' attribute. Use 'documentDownloadType: 'none'' instead."),t.documentDownloadType="none"),t.spec?.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),t.spec?.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, rename it to 'proxyUrl' or update the package."),t.proxyUrl||(t.proxyUrl=t.proxy),delete t.proxy),t.proxyUrl===Wle&&(console.warn(`[DEPRECATED] Warning: configuration.proxyUrl points to our old proxy (${Wle}).`),console.warn(`[DEPRECATED] We are overwriting the value and use the new proxy URL (${RR}) instead.`),console.warn(`[DEPRECATED] Action Required: You should manually update your configuration to use the new URL (${RR}). Read more: https://github.com/scalar/scalar`),t.proxyUrl=RR),t},kF=crn.transform(urn),Xke=e=>!!(!Array.isArray(e)&&e&&"sources"in e&&Array.isArray(e.sources));Wt({cdn:Pe().optional().default("https://cdn.jsdelivr.net/npm/@scalar/api-reference"),pageTitle:Pe().optional().default("Scalar API Reference")});function drn(e){return e?Object.keys(e).map(t=>String(t)):[]}const frn=10,Zle=10,prn="propertyName*",tq=new Date().toISOString(),hrn=tq.split("T")[0],mrn=tq.split("T")[1].split(".")[0],grn={"date-time":tq,date:hrn,email:"hello@example.com",hostname:"example.com","idn-email":"jane.doe@example.com","idn-hostname":"example.com",ipv4:"127.0.0.1",ipv6:"51d4:7fab:bfbf:b7d7:b2cb:d4b4:3dad:d998","iri-reference":"/entitiy/1",iri:"https://example.com/entity/123","json-pointer":"/nested/objects",password:"super-secret",regex:"/[a-z]/","relative-json-pointer":"1/nested/objects",time:mrn,"uri-reference":"../folder","uri-template":"https://example.com/{id}",uri:"https://example.com",uuid:"123e4567-e89b-12d3-a456-426614174000","object-id":"6592008029c8c3e4dc76256c"},Yke=(e,t=!1,n="")=>"type"in e&&e.type==="string"&&"format"in e&&e.format==="binary"?new File([""],"filename"):t&&"format"in e&&e.format?grn[e.format]??n:n,wF=new WeakMap,Qle=new WeakMap,brn=e=>{if(!e)return;const t=Qle.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 Qle.set(e,r),r}}},Ma=(e,t)=>(typeof t!="object"||t===null||wF.set(_l(UE(e)),t),t),vrn=e=>!!(e.allOf||e.oneOf||e.anyOf),yrn=(e,t,n,r)=>{if(r?.omitEmptyAndOptionalProperties!==!0||"type"in e&&(e.type==="object"||e.type==="array")||vrn(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 a=n??e.title??"",s=brn(t);return!(s?s.has(a):!1)},Gke=(e,t)=>Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&typeof e=="object"&&t&&typeof t=="object"?{...e,...t}:t,xrn=(e,t,n,r)=>{const o={};if("properties"in e&&e.properties){const a=Object.keys(e.properties),s=n>3?Math.min(Zle,a.length):a.length;for(let i=0;i<s;i++){const l=a[i],c=ht(e.properties[l]);if(!c)continue;const d=t?.xml&&"xml"in c?c.xml?.name:void 0,f=Ms(c,t,{level:n+1,parentSchema:e,name:l,seen:r});typeof f<"u"&&(o[d??l]=f)}n>3&&a.length>Zle&&(o["..."]="[Additional Properties Truncated]")}if("patternProperties"in e&&e.patternProperties)for(const a of Object.keys(e.patternProperties)){const s=ht(e.patternProperties[a]);s&&(o[a]=Ms(s,t,{level:n+1,parentSchema:e,name:a,seen:r}))}if("additionalProperties"in e&&e.additionalProperties!==void 0){const a=ht(e.additionalProperties),s=e.additionalProperties===!0||typeof e.additionalProperties=="object"&&Object.keys(e.additionalProperties).length===0,i=typeof a=="object"&&"x-additionalPropertiesName"in a&&typeof a["x-additionalPropertiesName"]=="string"&&a["x-additionalPropertiesName"].trim().length>0?`${a["x-additionalPropertiesName"].trim()}*`:prn;o[i]=s?"anything":typeof a=="object"?Ms(a,t,{level:n+1,seen:r}):"anything"}if(e.oneOf?.[0])Object.assign(o,Ms(ht(e.oneOf[0]),t,{level:n+1,seen:r}));else if(e.anyOf?.[0])Object.assign(o,Ms(ht(e.anyOf[0]),t,{level:n+1,seen:r}));else if(Array.isArray(e.allOf)&&e.allOf.length>0){let a=o;for(const s of e.allOf){const i=Ms(ht(s),t,{level:n+1,parentSchema:e,seen:r});a=Gke(a,i)}a&&typeof a=="object"&&Object.assign(o,a)}if(t?.xml&&"xml"in e&&e.xml?.name&&n===0){const a={};return a[e.xml.name]=o,Ma(e,a)}return Ma(e,o)},krn=(e,t,n,r)=>{const o="items"in e?ht(e.items):void 0,a=o&&typeof o=="object"&&"xml"in o?o.xml?.name:void 0,s=!!(t?.xml&&"xml"in e&&e.xml?.wrapped&&a);if(e.example!==void 0)return Ma(e,s?{[a]:e.example}:e.example);if(o&&typeof o=="object"){if(Array.isArray(o.allOf)&&o.allOf.length>0){const d=o.allOf.filter(Tn),f=ht(d[0]);if(f&&typeof f=="object"&&"type"in f&&f.type==="object"){const b=Ms({type:"object",allOf:d},t,{level:n+1,parentSchema:e,seen:r});return Ma(e,s?[{[a]:b}]:[b])}const h=d.map(m=>Ms(ht(m),t,{level:n+1,parentSchema:e,seen:r})).filter(Tn);return Ma(e,s?h.map(m=>({[a]:m})):h)}const c=o.anyOf||o.oneOf;if(c&&c.length>0){const d=c[0],f=Ms(ht(d),t,{level:n+1,parentSchema:e,seen:r});return Ma(e,s?[{[a]:f}]:[f])}}const i=o&&typeof o=="object"&&("type"in o&&o.type==="object"||"properties"in o),l=o&&typeof o=="object"&&("type"in o&&o.type==="array"||"items"in o);if(o&&typeof o=="object"&&("type"in o&&o.type||i||l)){const c=Ms(o,t,{level:n+1,seen:r});return Ma(e,s?[{[a]:c}]:[c])}return Ma(e,[])},wrn=(e,t,n)=>{if("type"in e&&e.type&&!Array.isArray(e.type))switch(e.type){case"string":return Yke(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}},Orn=(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 Yke(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}}},Ms=(e,t,n)=>{const{level:r=0,parentSchema:o,name:a,seen:s=new WeakSet}=n??{},i=ht(e);if(!Tn(i))return;const l=_l(UE(i));if(s.has(l))return"[Circular Reference]";if(s.add(l),wF.has(l))return s.delete(l),wF.get(l);if(r>frn)return s.delete(l),"[Max Depth Exceeded]";const c=!!t?.emptyString;if(i.deprecated||t?.mode==="write"&&i.readOnly||t?.mode==="read"&&i.writeOnly||yrn(i,o,a,t)){s.delete(l);return}if("x-variable"in i&&i["x-variable"]){const m=t?.variables?.[i["x-variable"]];if(m!==void 0)return"type"in i&&(i.type==="number"||i.type==="integer")?(s.delete(l),Ma(i,Number(m))):(s.delete(l),Ma(i,m))}if(Array.isArray(i.examples)&&i.examples.length>0)return s.delete(l),Ma(i,i.examples[0]);if(i.example!==void 0)return s.delete(l),Ma(i,i.example);if(i.default!==void 0)return s.delete(l),Ma(i,i.default);if(i.const!==void 0)return s.delete(l),Ma(i,i.const);if(Array.isArray(i.enum)&&i.enum.length>0)return s.delete(l),Ma(i,i.enum[0]);if("properties"in i||"type"in i&&i.type==="object"){const m=xrn(i,t,r,s);return s.delete(l),m}if("type"in i&&i.type==="array"||"items"in i){const m=krn(i,t,r,s);return s.delete(l),m}const d=wrn(i,c,t?.emptyString);if(d!==void 0)return s.delete(l),Ma(i,d);const f=i.oneOf||i.anyOf;if(Array.isArray(f)&&f.length>0){for(const m of f){const b=ht(m);if(b&&(!("type"in b)||b.type!=="null"))return s.delete(l),Ma(i,Ms(b,t,{level:r+1,seen:s}))}return s.delete(l),Ma(i,null)}if(Array.isArray(i.allOf)&&i.allOf.length>0){let m;const b=i.allOf;for(const v of b){const x=Ms(v,t,{level:r+1,parentSchema:i,seen:s});m===void 0?m=x:m&&typeof m=="object"&&x&&typeof x=="object"?m=Gke(m,x):x!==void 0&&(m=x)}return s.delete(l),Ma(i,m??null)}const h=Orn(i,c,t?.emptyString);return h!==void 0?(s.delete(l),Ma(i,h)):(s.delete(l),Ma(i,null))};function qle(e=[],t=[],n,r=!0){return[...t||[],...e||[]].filter(s=>s.in===n).filter(s=>r&&s.required||!r).map(s=>({name:s.name??"Unknown Parameter",description:s.description??null,value:s.example?s.example:s.schema?Ms(s.schema,{mode:"write"}):"",required:s.required??!1,enabled:s.required??!1})).sort((s,i)=>s.required&&!i.required?-1:!s.required&&i.required?1:0)}function Kke(e,t=!1,n){return Object.entries(e).flatMap(([r,o])=>{const a=n??r;return Array.isArray(o)&&!t?Kke(o,!0,r):(typeof o=="object"&&!(o instanceof File)&&o!==null&&(o=JSON.stringify(o)),[{name:a,value:o}])})}const Crn=["application/json","application/octet-stream","application/x-www-form-urlencoded","application/xml","multipart/form-data","text/plain"];function _rn(e,t,n){const r=e.requestBody?.content,o=v6e(r),a=Crn.find(m=>!!o?.[m])??(Object.keys(o??{})[0]||"application/json"),s=a.includes("json")||a.endsWith("+json"),i=o?.[a]?.examples??o?.["application/json"]?.examples,l=i?.[Object.keys(i??{})[0]??""];if(l)return{mimeType:a,text:K2("value"in l?l.value:l)};const c=qle(e.parameters??[],[],"body",!1);if(c.length>0)return{mimeType:"application/json",text:K2(c[0]?.value??"")};const d=qle(e.parameters??[],[],"formData",!1);if(d.length>0)return{mimeType:"application/x-www-form-urlencoded",params:d.map(m=>({name:m.name,value:typeof m.value=="string"?m.value:JSON.stringify(m.value)}))};if(!a)return null;const f=o?.[a],h=f?.example?f?.example:void 0;if(s){const m=f?.schema?Ms(ht(f?.schema),{mode:"write",omitEmptyAndOptionalProperties:!1}):null,b=h??m;return{mimeType:a,text:b?typeof b=="string"?b:JSON.stringify(b,null,2):void 0}}if(a==="application/xml"){const m=f?.schema?Ms(ht(f?.schema),{xml:!0,mode:"write"}):null;return{mimeType:a,text:h??TH(m)}}if(a==="application/octet-stream")return{mimeType:a,text:"BINARY"};if(a==="text/plain"){const m=f?.schema?Ms(ht(f?.schema),{xml:!0,mode:"write"}):null;return{mimeType:a,text:h??m??""}}if(a==="multipart/form-data"||a==="application/x-www-form-urlencoded"){const m=f?.schema?Ms(ht(f?.schema),{xml:!0,mode:"write"}):null;return{mimeType:a,params:Kke(h??m??{})}}return null}const uu=Wt({key:Pe().default(""),value:oLt().default(""),enabled:Ar().default(!0),file:ls().optional(),description:Pe().optional(),required:Ar().optional(),enum:ta(Pe()).optional(),examples:ta(ls()).optional(),type:ea([Pe(),ta(Pe())]).optional(),format:Pe().optional(),minimum:a$().optional(),maximum:a$().optional(),default:ls().optional(),nullable:Ar().optional()}).transform(e=>{const t={...e};return Array.isArray(t.type)&&t.type.includes("null")&&(t.nullable=!0),Array.isArray(t.type)&&t.type.length===2&&t.type.includes("null")&&(t.type=t.type.find(n=>n!=="null")),t}),Jke=Wt({url:Pe(),base64:Pe().optional()}).nullable();ea([Wt({type:Lr("string"),value:Pe()}),Wt({type:Lr("file"),file:Jke})]);const Srn=["json","text","html","javascript","xml","yaml","edn"],Lrn=["application/json","text/plain","text/html","application/javascript","application/xml","application/yaml","application/edn","application/octet-stream","application/x-www-form-urlencoded","multipart/form-data","binary"],$rn=Wt({raw:Wt({encoding:na(Srn),value:Pe().default(""),mimeType:Pe().optional()}).optional(),formData:Wt({encoding:ea([Lr("form-data"),Lr("urlencoded")]).default("form-data"),value:uu.array().default([])}).optional(),binary:l$(Blob).optional(),activeBody:ea([Lr("raw"),Lr("formData"),Lr("binary")]).default("raw")}),Trn=Wt({encoding:na(Lrn),content:ea([wo(Pe(),ls()),Pe()]),file:Jke.optional()}),oT=Wt({uid:Eh.brand(),type:Lr("requestExample").optional().default("requestExample"),requestUid:Pe().brand().optional(),name:Pe().optional().default("Name"),body:$rn.optional().default({activeBody:"raw"}),parameters:Wt({path:uu.array().default([]),query:uu.array().default([]),headers:uu.array().default([{key:"Accept",value:"*/*",enabled:!0}]),cookies:uu.array().default([])}).optional().default({path:[],query:[],headers:[{key:"Accept",value:"*/*",enabled:!0}],cookies:[]}),serverVariables:wo(Pe(),ta(Pe())).optional()}),JC=wo(Pe(),Pe()).optional(),Ern=Wt({name:Pe().optional(),body:Trn.optional(),parameters:Wt({path:JC,query:JC,headers:JC,cookies:JC})});function jrn(e){const t=e.schema,n=(()=>{if(e.examples&&!Array.isArray(e.examples)&&w8(e.examples).length>0){const i=Object.entries(e.examples).map(([l,c])=>c.externalValue?c.externalValue:c.value);return{value:i[0],examples:i}}if(Tn(e.example))return{value:e.example};if(Array.isArray(e.examples)&&e.examples.length>0)return{value:e.examples[0]};if(Tn(t?.example))return{value:t.example};if(Array.isArray(t?.examples)&&t.examples.length>0)return t?.type==="boolean"?{value:t.default??!1}:{value:t.examples[0]};if(e.content){const i=w8(e.content)[0];if(i){const l=e.content[i];if(l?.examples){const c=Object.keys(l.examples)[0];if(c){const d=l.examples[c];if(Tn(d?.value))return{value:d.value}}}if(Tn(l?.example))return{value:l.example}}}return null})(),r=String(n?.value??t?.default??""),o=t?.enum&&t?.type!=="string"?t.enum?.map(String):t?.items?.enum&&t?.type==="array"?t.items.enum.map(String):t?.enum,a=n?.examples||(t?.examples&&t?.type!=="string"?t.examples?.map(String):t?.examples),s=k1({...t,key:e.name,value:r,description:e.description,required:e.required,enabled:!!e.required,enum:o,examples:a},uu,!1);return s||(console.warn(`Example at ${e.name} is invalid.`),uu.parse({}))}function lM(e,t,n){const r={path:[],query:[],cookie:[],header:[],headers:[{key:"Accept",value:"*/*",enabled:!0}]};e.parameters?.forEach(l=>r[l.in].push(jrn(l))),r.header.length>0&&(r.headers=r.header,r.header=[]);const o=r.headers.find(l=>l.key.toLowerCase()==="content-type"),a={activeBody:"raw"};if(e.requestBody||o?.value){const l=_rn(e),c=e.requestBody?l?.mimeType:o?.value;(c?.includes("/json")||c?.endsWith("+json"))&&(a.activeBody="raw",a.raw={encoding:"json",mimeType:c,value:l?.text??JSON.stringify({})}),c==="application/xml"&&(a.activeBody="raw",a.raw={encoding:"xml",value:l?.text??""}),c==="application/octet-stream"&&(a.activeBody="binary",a.binary=void 0),(c==="application/x-www-form-urlencoded"||c==="multipart/form-data")&&(a.activeBody="formData",a.formData={encoding:c==="application/x-www-form-urlencoded"?"urlencoded":"form-data",value:(l?.params||[]).map(d=>d.value instanceof File?{key:d.name,value:"BINARY",file:d.value,enabled:!0}:{key:d.name,value:d.value||"",enabled:!0})}),l?.mimeType&&!o&&!l.mimeType.startsWith("multipart/")&&r.headers.push({key:"Content-Type",value:l.mimeType,enabled:!0})}const s={},i=k1({requestUid:e.uid,parameters:r,name:t,body:a,serverVariables:s},oT,!1);return i||(console.warn(`Example at ${e.uid} is invalid.`),oT.parse({}))}const Mrn=["connect","delete","get","head","options","patch","post","put","trace"],Arn=ls(),Nrn=Wt({tags:Pe().array().optional(),summary:Pe().optional(),description:Pe().optional(),operationId:Pe().optional(),security:ta(qke).optional(),requestBody:Arn.optional(),parameters:Ynn.array().optional(),externalDocs:eq.optional(),deprecated:Ar().optional(),responses:wo(Pe(),ls()).optional(),callbacks:wo(Pe(),wo(Pe(),wo(Pe(),ls()))).optional(),"x-scalar-examples":wo(Pe(),Ern).optional(),"x-internal":Ar().optional(),"x-scalar-ignore":Ar().optional()}),Prn=Wt({"x-scalar-stability":na([SS.Deprecated,SS.Experimental,SS.Stable]).optional().catch(void 0)}),Irn=Wt({type:Lr("request").optional().default("request"),uid:Eh.brand(),path:Pe().optional().default(""),method:na(Mrn).default("get"),servers:Pe().brand().array().default([]),selectedServerUid:Pe().brand().optional().nullable().default(null),examples:Pe().brand().array().default([]),selectedSecuritySchemeUids:Uke}),c3=Nrn.omit({"x-scalar-examples":!0}).merge(aLt).merge(Prn).merge(Irn).merge(lLt);function Xle(e,t,n){const r=t.split(".");return r.reduce((o,a,s)=>(s===r.length-1&&(o[a]=n),o[a]),e),e}function nq(e,t){return t.split(".").reduce((r,o)=>r[o],e)}class Yle{parentData;maxRecords;records=[];sideEffects=[];idx=0;debug;constructor(t,n=5e3,r=!1){this.maxRecords=n,this.parentData=t,this.debug=r}_unsavedMutate(t,n){Xle(this.parentData,t,n),this.runSideEffects(t)}addSideEffect(t,n,r,o=!0){this.sideEffects.push({triggers:t,effect:n,name:r}),o&&(n(this.parentData),this.debug&&console.info(`Running mutation side effect: ${r}`,"debug"))}runSideEffects(t){this.sideEffects.forEach(({effect:n,triggers:r,name:o})=>{(r.some(s=>t.includes(s))||t.length<1)&&(n(this.parentData),this.debug&&console.info(`Running mutation side effect: ${o}`,"debug"))})}mutate(t,n,r=null){this.idx<this.records.length-1&&this.records.splice(this.idx+1);const o=nq(this.parentData,t);o!==n&&(Xle(this.parentData,t,n),this.runSideEffects(t),this.records.push({prev:r??o,value:n,path:t}),this.idx=this.records.length-1,this.records.length>this.maxRecords&&this.records.shift(),this.debug&&console.info(`Set object '${this.idx}' '${t}' to ${n}`,"debug"))}undo(){if(this.idx<0||this.records.length<1)return!1;this.debug&&console.info("Undoing Mutation","debug");const t=this.records[this.idx];return this.idx-=1,t&&this._unsavedMutate(t.path,t.prev),!0}redo(){if(this.idx>this.records.length-2)return!1;this.debug&&console.info("Redoing Mutation","debug");const t=this.records[this.idx+1];return this.idx+=1,t&&this._unsavedMutate(t.path,t.value),!0}}const Gle={DEBOUNCE_MS:328,MAX_WAIT_MS:1e3};function Rrn(e,t,{maxWait:n}={}){let r=null,o=null;return function(...a){r&&clearTimeout(r),r=setTimeout(()=>{o!==null&&clearTimeout(o),o=null,e.apply(this,a)},t),n&&!o&&(o=setTimeout(()=>{r!==null&&clearTimeout(r),o=null,e.apply(this,a)},n))}}const{parse:Drn,stringify:Brn}=JSON,{keys:Hrn}=Object,ax=String,ewe="string",Kle={},rq="object",twe=(e,t)=>t,Vrn=e=>e instanceof ax?ax(e):e,Frn=(e,t)=>typeof t===ewe?new ax(t):t,nwe=(e,t,n,r)=>{const o=[];for(let a=Hrn(n),{length:s}=a,i=0;i<s;i++){const l=a[i],c=n[l];if(c instanceof ax){const d=e[c];typeof d===rq&&!t.has(d)?(t.add(d),n[l]=Kle,o.push({k:l,a:[e,t,d,r]})):n[l]=r.call(n,l,d)}else n[l]!==Kle&&(n[l]=r.call(n,l,c))}for(let{length:a}=o,s=0;s<a;s++){const{k:i,a:l}=o[s];n[i]=r.call(n,i,nwe.apply(null,l))}return n},Jle=(e,t,n)=>{const r=ax(t.push(n)-1);return e.set(n,r),r},rwe=(e,t)=>{const n=Drn(e,Frn).map(Vrn),r=n[0],o=twe,a=typeof r===rq&&r?nwe(n,new Set,r,o):r;return o.call({"":a},"",a)},Urn=(e,t,n)=>{const r=twe,o=new Map,a=[],s=[];let i=+Jle(o,a,r.call({"":e},"",e)),l=!i;for(;i<a.length;)l=!0,s[i]=Brn(a[i++],c,n);return"["+s.join(",")+"]";function c(d,f){if(l)return l=!l,f;const h=r.call(this,d,f);switch(typeof h){case rq:if(h===null)return h;case ewe:return o.get(h)||Jle(o,a,h)}return h}},zrn=500;function Tf(e,t,n,r=zrn){function o(s){const i=t[s];return i||console.warn(`Missing ${e[s]?"mutator":"object"} for uid: ${s}`),i??null}const a=n?Rrn(()=>Mc().setItem(n,Urn(e)),Gle.DEBOUNCE_MS,{maxWait:Gle.MAX_WAIT_MS}):()=>null;return{add:s=>{e[s.uid]=s,t[s.uid]=new Yle(s,r),a()},delete:s=>{if(!s){console.warn("[@scalar/object-utils] No uid provided to delete");return}delete e[s],delete t[s],a()},set:s=>{e[s.uid]=s,t[s.uid]=new Yle(s,r),a()},edit:(s,i,l)=>{if(!s){console.warn("[@scalar/object-utils] No uid provided to edit",i,l);return}o(s)?.mutate(i,l),a()},untrackedEdit:(s,i,l)=>{o(s)?._unsavedMutate(i,l),a()},undo:s=>{o(s)?.undo(),a()},redo:s=>{o(s)?.redo(),a()},reset:()=>{Object.keys(e).forEach(s=>{delete e[s],delete t[s]}),a()}}}function Wrn(e){const t=Ir({}),n=Tf(t,Ir({}),e&&u0.COLLECTION);return{collections:t,collectionMutators:n}}function ece({requests:e,requestMutators:t,requestExamples:n,requestExampleMutators:r,workspaces:o,workspaceMutators:a,collections:s,collectionMutators:i,tagMutators:l,serverMutators:c}){return{addCollection:(d,f)=>{const h=J8.parse(d),m=o[f];return m&&a.edit(f,"collections",[...m.collections,h.uid]),i.add(h),h},deleteCollection:(d,f)=>{if(f.uid){if(s[d.uid]?.info?.title==="Drafts"){console.warn("The drafts collection cannot be deleted");return}if(Object.values(s).length===1){console.warn("You must have at least one collection");return}d.tags.forEach(h=>l.delete(h)),d.requests.forEach(h=>{const m=e[h];m&&(t.delete(h),m.examples.forEach(b=>n[b]&&r.delete(b)))}),d.servers.forEach(h=>{h&&c.delete(h)}),a.edit(f.uid,"collections",f.collections.filter(h=>h!==d.uid)),i.delete(d.uid)}},addCollectionEnvironment:(d,f,h)=>{const m=s[h];if(m){const b=m["x-scalar-environments"]||{};i.edit(h,"x-scalar-environments",{...b,[d]:f})}},removeCollectionEnvironment:(d,f)=>{const h=s[f];if(h){const m=h["x-scalar-environments"]||{};d in m&&(delete m[d],i.edit(f,"x-scalar-environments",m))}}}}function Zrn(e){const t=Ir({}),n=Tf(t,Ir({}),e&&u0.COOKIE);return{cookies:t,cookieMutators:n}}function Qrn(e){const t=Ir({}),n=Tf(t,Ir({}),e&&u0.ENVIRONMENT);return n.add(Mv.parse({uid:"default",name:"Default Environment",color:"#FFFFFF",value:JSON.stringify({exampleKey:"exampleValue"},null,2),isDefault:!0})),{environments:t,environmentMutators:n}}function qrn({environmentMutators:e}){return{deleteEnvironment:t=>{if(t==="default"){console.warn("Default environment cannot be deleted.");return}e.delete(t)}}}function w4(){const e=new Set;function t(s){return e.add(s),()=>r(s)}function n(s){function i(...l){r(i),s(...l)}return t(i)}function r(s){e.delete(s)}function o(){e.clear()}function a(s){e?.forEach(i=>i(s))}return{on:t,once:n,off:r,emit:a,reset:o,listeners:()=>Array.from(e)}}function Xrn(){return{executeRequest:w4(),focusAddressBar:w4(),cancelRequest:w4(),requestStatus:w4(),commandPalette:w4(),hotKeys:w4()}}var Yrn={title:"A JSON Schema for Swagger 2.0 API.",id:"http://swagger.io/v2/schema.json#",$schema:"http://json-schema.org/draft-04/schema#",type:"object",required:["swagger","info","paths"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{swagger:{type:"string",enum:["2.0"],description:"The Swagger version of this document."},info:{$ref:"#/definitions/info"},host:{type:"string",pattern:"^[^{}/ :\\\\]+(?::\\d+)?$",description:"The host (name or ip) of the API. Example: 'swagger.io'"},basePath:{type:"string",pattern:"^/",description:"The base path to the API. Example: '/api'."},schemes:{$ref:"#/definitions/schemesList"},consumes:{description:"A list of MIME types accepted by the API.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},paths:{$ref:"#/definitions/paths"},definitions:{$ref:"#/definitions/definitions"},parameters:{$ref:"#/definitions/parameterDefinitions"},responses:{$ref:"#/definitions/responseDefinitions"},security:{$ref:"#/definitions/security"},securityDefinitions:{$ref:"#/definitions/securityDefinitions"},tags:{type:"array",items:{$ref:"#/definitions/tag"},uniqueItems:!0},externalDocs:{$ref:"#/definitions/externalDocs"}},definitions:{info:{type:"object",description:"General information about the API.",required:["version","title"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{title:{type:"string",description:"A unique and precise title of the API."},version:{type:"string",description:"A semantic version number of the API."},description:{type:"string",description:"A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed."},termsOfService:{type:"string",description:"The terms of service for the API."},contact:{$ref:"#/definitions/contact"},license:{$ref:"#/definitions/license"}}},contact:{type:"object",description:"Contact information for the owners of the API.",additionalProperties:!1,properties:{name:{type:"string",description:"The identifying name of the contact person/organization."},url:{type:"string",description:"The URL pointing to the contact information.",format:"uri"},email:{type:"string",description:"The email address of the contact person/organization.",format:"email"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},license:{type:"object",required:["name"],additionalProperties:!1,properties:{name:{type:"string",description:"The name of the license type. It's encouraged to use an OSI compatible license."},url:{type:"string",description:"The URL pointing to the license.",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},paths:{type:"object",description:"Relative paths to the individual endpoints. They must be relative to the 'basePath'.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"},"^/":{$ref:"#/definitions/pathItem"}},additionalProperties:!1},definitions:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},description:"One or more JSON objects describing the schemas being consumed and produced by the API."},parameterDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/parameter"},description:"One or more JSON representations for parameters"},responseDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/response"},description:"One or more JSON representations for responses"},externalDocs:{type:"object",additionalProperties:!1,description:"information about external documentation",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},examples:{type:"object",additionalProperties:!0},mimeType:{type:"string",description:"The MIME type of the HTTP message."},operation:{type:"object",required:["responses"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{tags:{type:"array",items:{type:"string"},uniqueItems:!0},summary:{type:"string",description:"A brief summary of the operation."},description:{type:"string",description:"A longer description of the operation, GitHub Flavored Markdown is allowed."},externalDocs:{$ref:"#/definitions/externalDocs"},operationId:{type:"string",description:"A unique identifier of the operation."},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},consumes:{description:"A list of MIME types the API can consume.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},parameters:{$ref:"#/definitions/parametersList"},responses:{$ref:"#/definitions/responses"},schemes:{$ref:"#/definitions/schemesList"},deprecated:{type:"boolean",default:!1},security:{$ref:"#/definitions/security"}}},pathItem:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},get:{$ref:"#/definitions/operation"},put:{$ref:"#/definitions/operation"},post:{$ref:"#/definitions/operation"},delete:{$ref:"#/definitions/operation"},options:{$ref:"#/definitions/operation"},head:{$ref:"#/definitions/operation"},patch:{$ref:"#/definitions/operation"},parameters:{$ref:"#/definitions/parametersList"}}},responses:{type:"object",description:"Response objects names can either be any valid HTTP status code or 'default'.",minProperties:1,additionalProperties:!1,patternProperties:{"^([0-9]{3})$|^(default)$":{$ref:"#/definitions/responseValue"},"^x-":{$ref:"#/definitions/vendorExtension"}},not:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}}},responseValue:{oneOf:[{$ref:"#/definitions/response"},{$ref:"#/definitions/jsonReference"}]},response:{type:"object",required:["description"],properties:{description:{type:"string"},schema:{oneOf:[{$ref:"#/definitions/schema"},{$ref:"#/definitions/fileSchema"}]},headers:{$ref:"#/definitions/headers"},examples:{$ref:"#/definitions/examples"}},additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},headers:{type:"object",additionalProperties:{$ref:"#/definitions/header"}},header:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},vendorExtension:{description:"Any property starting with x- is valid.",additionalProperties:!0,additionalItems:!0},bodyParameter:{type:"object",required:["name","in","schema"],patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},in:{type:"string",description:"Determines the location of the parameter.",enum:["body"]},required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},schema:{$ref:"#/definitions/schema"}},additionalProperties:!1},headerParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["header"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},queryParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["query"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},formDataParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["formData"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array","file"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},pathParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["required"],properties:{required:{type:"boolean",enum:[!0],description:"Determines whether or not this parameter is required or optional."},in:{type:"string",description:"Determines the location of the parameter.",enum:["path"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},nonBodyParameter:{type:"object",required:["name","in","type"],oneOf:[{$ref:"#/definitions/headerParameterSubSchema"},{$ref:"#/definitions/formDataParameterSubSchema"},{$ref:"#/definitions/queryParameterSubSchema"},{$ref:"#/definitions/pathParameterSubSchema"}]},parameter:{oneOf:[{$ref:"#/definitions/bodyParameter"},{$ref:"#/definitions/nonBodyParameter"}]},schema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},maxProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},additionalProperties:{anyOf:[{$ref:"#/definitions/schema"},{type:"boolean"}],default:{}},type:{$ref:"http://json-schema.org/draft-04/schema#/properties/type"},items:{anyOf:[{$ref:"#/definitions/schema"},{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}}],default:{}},allOf:{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}},properties:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},default:{}},discriminator:{type:"string"},readOnly:{type:"boolean",default:!1},xml:{$ref:"#/definitions/xml"},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},fileSchema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["type"],properties:{format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},type:{type:"string",enum:["file"]},readOnly:{type:"boolean",default:!1},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},primitivesItems:{type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},security:{type:"array",items:{$ref:"#/definitions/securityRequirement"},uniqueItems:!0},securityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"},uniqueItems:!0}},xml:{type:"object",additionalProperties:!1,properties:{name:{type:"string"},namespace:{type:"string"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},tag:{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/externalDocs"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},securityDefinitions:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/basicAuthenticationSecurity"},{$ref:"#/definitions/apiKeySecurity"},{$ref:"#/definitions/oauth2ImplicitSecurity"},{$ref:"#/definitions/oauth2PasswordSecurity"},{$ref:"#/definitions/oauth2ApplicationSecurity"},{$ref:"#/definitions/oauth2AccessCodeSecurity"}]}},basicAuthenticationSecurity:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["basic"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},apiKeySecurity:{type:"object",additionalProperties:!1,required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ImplicitSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["implicit"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2PasswordSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["password"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ApplicationSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["application"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2AccessCodeSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["accessCode"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2Scopes:{type:"object",additionalProperties:{type:"string"}},mediaTypeList:{type:"array",items:{$ref:"#/definitions/mimeType"},uniqueItems:!0},parametersList:{type:"array",description:"The parameters needed to send a valid API call.",additionalItems:!1,items:{oneOf:[{$ref:"#/definitions/parameter"},{$ref:"#/definitions/jsonReference"}]},uniqueItems:!0},schemesList:{type:"array",description:"The transfer protocol of the API.",items:{type:"string",enum:["http","https","ws","wss"]},uniqueItems:!0},collectionFormat:{type:"string",enum:["csv","ssv","tsv","pipes"],default:"csv"},collectionFormatWithMulti:{type:"string",enum:["csv","ssv","tsv","pipes","multi"],default:"csv"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},jsonReference:{type:"object",required:["$ref"],additionalProperties:!1,properties:{$ref:{type:"string"}}}}},Grn={id:"https://spec.openapis.org/oas/3.0/schema/2021-09-28",$schema:"http://json-schema.org/draft-04/schema#",description:"The description of OpenAPI v3.0.x documents, as defined by https://spec.openapis.org/oas/v3.0.3",type:"object",required:["openapi","info","paths"],properties:{openapi:{type:"string",pattern:"^3\\.0\\.\\d(-.+)?$"},info:{$ref:"#/definitions/Info"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},tags:{type:"array",items:{$ref:"#/definitions/Tag"},uniqueItems:!0},paths:{$ref:"#/definitions/Paths"},components:{$ref:"#/definitions/Components"}},patternProperties:{"^x-":{}},additionalProperties:!1,definitions:{Reference:{type:"object",required:["$ref"],patternProperties:{"^\\$ref$":{type:"string",format:"uri-reference"}}},Info:{type:"object",required:["title","version"],properties:{title:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri-reference"},contact:{$ref:"#/definitions/Contact"},license:{$ref:"#/definitions/License"},version:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Contact:{type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"},email:{type:"string",format:"email"}},patternProperties:{"^x-":{}},additionalProperties:!1},License:{type:"object",required:["name"],properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Server:{type:"object",required:["url"],properties:{url:{type:"string"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/definitions/ServerVariable"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ServerVariable:{type:"object",required:["default"],properties:{enum:{type:"array",items:{type:"string"}},default:{type:"string"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Components:{type:"object",properties:{schemas:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}}},responses:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Response"}]}}},parameters:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Parameter"}]}}},examples:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Example"}]}}},requestBodies:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/RequestBody"}]}}},headers:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Header"}]}}},securitySchemes:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/SecurityScheme"}]}}},links:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Link"}]}}},callbacks:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Callback"}]}}}},patternProperties:{"^x-":{}},additionalProperties:!1},Schema:{type:"object",properties:{title:{type:"string"},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{type:"integer",minimum:0},minLength:{type:"integer",minimum:0,default:0},pattern:{type:"string",format:"regex"},maxItems:{type:"integer",minimum:0},minItems:{type:"integer",minimum:0,default:0},uniqueItems:{type:"boolean",default:!1},maxProperties:{type:"integer",minimum:0},minProperties:{type:"integer",minimum:0,default:0},required:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},enum:{type:"array",items:{},minItems:1,uniqueItems:!1},type:{type:"string",enum:["array","boolean","integer","number","object","string"]},not:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},allOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},oneOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},anyOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},properties:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"},{type:"boolean"}],default:!0},description:{type:"string"},format:{type:"string"},default:{},nullable:{type:"boolean",default:!1},discriminator:{$ref:"#/definitions/Discriminator"},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},example:{},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},deprecated:{type:"boolean",default:!1},xml:{$ref:"#/definitions/XML"}},patternProperties:{"^x-":{}},additionalProperties:!1},Discriminator:{type:"object",required:["propertyName"],properties:{propertyName:{type:"string"},mapping:{type:"object",additionalProperties:{type:"string"}}}},XML:{type:"object",properties:{name:{type:"string"},namespace:{type:"string",format:"uri"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},Response:{type:"object",required:["description"],properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{$ref:"#/definitions/Reference"}]}},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},links:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Link"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1},MediaType:{type:"object",properties:{schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}},encoding:{type:"object",additionalProperties:{$ref:"#/definitions/Encoding"}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"}]},Example:{type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:{},externalValue:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Header:{type:"object",properties:{description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string",enum:["simple"],default:"simple"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"}]},Paths:{type:"object",patternProperties:{"^\\/":{$ref:"#/definitions/PathItem"},"^x-":{}},additionalProperties:!1},PathItem:{type:"object",properties:{$ref:{type:"string"},summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0}},patternProperties:{"^(get|put|post|delete|options|head|patch|trace)$":{$ref:"#/definitions/Operation"},"^x-":{}},additionalProperties:!1},Operation:{type:"object",required:["responses"],properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},operationId:{type:"string"},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0},requestBody:{oneOf:[{$ref:"#/definitions/RequestBody"},{$ref:"#/definitions/Reference"}]},responses:{$ref:"#/definitions/Responses"},callbacks:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Callback"},{$ref:"#/definitions/Reference"}]}},deprecated:{type:"boolean",default:!1},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},servers:{type:"array",items:{$ref:"#/definitions/Server"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Responses:{type:"object",properties:{default:{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]}},patternProperties:{"^[1-5](?:\\d{2}|XX)$":{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]},"^x-":{}},minProperties:1,additionalProperties:!1},SecurityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"}}},Tag:{type:"object",required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExternalDocumentation:{type:"object",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExampleXORExamples:{description:"Example and examples are mutually exclusive",not:{required:["example","examples"]}},SchemaXORContent:{description:"Schema and content are mutually exclusive, at least one is required",not:{required:["schema","content"]},oneOf:[{required:["schema"]},{required:["content"],description:"Some properties are not allowed if content is present",allOf:[{not:{required:["style"]}},{not:{required:["explode"]}},{not:{required:["allowReserved"]}},{not:{required:["example"]}},{not:{required:["examples"]}}]}]},Parameter:{type:"object",properties:{name:{type:"string"},in:{type:"string"},description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,required:["name","in"],allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"},{$ref:"#/definitions/ParameterLocation"}]},ParameterLocation:{description:"Parameter location",oneOf:[{description:"Parameter in path",required:["required"],properties:{in:{enum:["path"]},style:{enum:["matrix","label","simple"],default:"simple"},required:{enum:[!0]}}},{description:"Parameter in query",properties:{in:{enum:["query"]},style:{enum:["form","spaceDelimited","pipeDelimited","deepObject"],default:"form"}}},{description:"Parameter in header",properties:{in:{enum:["header"]},style:{enum:["simple"],default:"simple"}}},{description:"Parameter in cookie",properties:{in:{enum:["cookie"]},style:{enum:["form"],default:"form"}}}]},RequestBody:{type:"object",required:["content"],properties:{description:{type:"string"},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},required:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},SecurityScheme:{oneOf:[{$ref:"#/definitions/APIKeySecurityScheme"},{$ref:"#/definitions/HTTPSecurityScheme"},{$ref:"#/definitions/OAuth2SecurityScheme"},{$ref:"#/definitions/OpenIdConnectSecurityScheme"}]},APIKeySecurityScheme:{type:"object",required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query","cookie"]},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},HTTPSecurityScheme:{type:"object",required:["scheme","type"],properties:{scheme:{type:"string"},bearerFormat:{type:"string"},description:{type:"string"},type:{type:"string",enum:["http"]}},patternProperties:{"^x-":{}},additionalProperties:!1,oneOf:[{description:"Bearer",properties:{scheme:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}}},{description:"Non Bearer",not:{required:["bearerFormat"]},properties:{scheme:{not:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}}}}]},OAuth2SecurityScheme:{type:"object",required:["type","flows"],properties:{type:{type:"string",enum:["oauth2"]},flows:{$ref:"#/definitions/OAuthFlows"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OpenIdConnectSecurityScheme:{type:"object",required:["type","openIdConnectUrl"],properties:{type:{type:"string",enum:["openIdConnect"]},openIdConnectUrl:{type:"string",format:"uri-reference"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OAuthFlows:{type:"object",properties:{implicit:{$ref:"#/definitions/ImplicitOAuthFlow"},password:{$ref:"#/definitions/PasswordOAuthFlow"},clientCredentials:{$ref:"#/definitions/ClientCredentialsFlow"},authorizationCode:{$ref:"#/definitions/AuthorizationCodeOAuthFlow"}},patternProperties:{"^x-":{}},additionalProperties:!1},ImplicitOAuthFlow:{type:"object",required:["authorizationUrl","scopes"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},PasswordOAuthFlow:{type:"object",required:["tokenUrl","scopes"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ClientCredentialsFlow:{type:"object",required:["tokenUrl","scopes"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},AuthorizationCodeOAuthFlow:{type:"object",required:["authorizationUrl","tokenUrl","scopes"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Link:{type:"object",properties:{operationId:{type:"string"},operationRef:{type:"string",format:"uri-reference"},parameters:{type:"object",additionalProperties:{}},requestBody:{},description:{type:"string"},server:{$ref:"#/definitions/Server"}},patternProperties:{"^x-":{}},additionalProperties:!1,not:{description:"Operation Id and Operation Ref are mutually exclusive",required:["operationId","operationRef"]}},Callback:{type:"object",additionalProperties:{$ref:"#/definitions/PathItem"},patternProperties:{"^x-":{}}},Encoding:{type:"object",properties:{contentType:{type:"string"},headers:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{$ref:"#/definitions/Reference"}]}},style:{type:"string",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1}},additionalProperties:!1}}},Krn={$id:"https://spec.openapis.org/oas/3.1/schema/2022-10-07",$schema:"https://json-schema.org/draft/2020-12/schema",description:"The description of OpenAPI v3.1.x documents without schema validation, as defined by https://spec.openapis.org/oas/v3.1.0",type:"object",properties:{openapi:{type:"string",pattern:"^3\\.1\\.\\d+(-.+)?$"},info:{$ref:"#/$defs/info"},jsonSchemaDialect:{type:"string",format:"uri-reference",default:"https://spec.openapis.org/oas/3.1/dialect/base"},servers:{type:"array",items:{$ref:"#/$defs/server"},default:[{url:"/"}]},paths:{$ref:"#/$defs/paths"},webhooks:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},components:{$ref:"#/$defs/components"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},tags:{type:"array",items:{$ref:"#/$defs/tag"}},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["openapi","info"],anyOf:[{required:["paths"]},{required:["components"]},{required:["webhooks"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{info:{$comment:"https://spec.openapis.org/oas/v3.1.0#info-object",type:"object",properties:{title:{type:"string"},summary:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri-reference"},contact:{$ref:"#/$defs/contact"},license:{$ref:"#/$defs/license"},version:{type:"string"}},required:["title","version"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},contact:{$comment:"https://spec.openapis.org/oas/v3.1.0#contact-object",type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"},email:{type:"string",format:"email"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},license:{$comment:"https://spec.openapis.org/oas/v3.1.0#license-object",type:"object",properties:{name:{type:"string"},identifier:{type:"string"},url:{type:"string",format:"uri-reference"}},required:["name"],dependentSchemas:{identifier:{not:{required:["url"]}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},server:{$comment:"https://spec.openapis.org/oas/v3.1.0#server-object",type:"object",properties:{url:{type:"string"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/$defs/server-variable"}}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"server-variable":{$comment:"https://spec.openapis.org/oas/v3.1.0#server-variable-object",type:"object",properties:{enum:{type:"array",items:{type:"string"},minItems:1},default:{type:"string"},description:{type:"string"}},required:["default"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},components:{$comment:"https://spec.openapis.org/oas/v3.1.0#components-object",type:"object",properties:{schemas:{type:"object",additionalProperties:{$ref:"#/$defs/schema"}},responses:{type:"object",additionalProperties:{$ref:"#/$defs/response-or-reference"}},parameters:{type:"object",additionalProperties:{$ref:"#/$defs/parameter-or-reference"}},examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}},requestBodies:{type:"object",additionalProperties:{$ref:"#/$defs/request-body-or-reference"}},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},securitySchemes:{type:"object",additionalProperties:{$ref:"#/$defs/security-scheme-or-reference"}},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},pathItems:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}}},patternProperties:{"^(schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems)$":{$comment:"Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected",propertyNames:{pattern:"^[a-zA-Z0-9._-]+$"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},paths:{$comment:"https://spec.openapis.org/oas/v3.1.0#paths-object",type:"object",patternProperties:{"^/":{$ref:"#/$defs/path-item"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item":{$comment:"https://spec.openapis.org/oas/v3.1.0#path-item-object",type:"object",properties:{summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/$defs/server"}},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}},get:{$ref:"#/$defs/operation"},put:{$ref:"#/$defs/operation"},post:{$ref:"#/$defs/operation"},delete:{$ref:"#/$defs/operation"},options:{$ref:"#/$defs/operation"},head:{$ref:"#/$defs/operation"},patch:{$ref:"#/$defs/operation"},trace:{$ref:"#/$defs/operation"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/path-item"}},operation:{$comment:"https://spec.openapis.org/oas/v3.1.0#operation-object",type:"object",properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"},operationId:{type:"string"},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}},requestBody:{$ref:"#/$defs/request-body-or-reference"},responses:{$ref:"#/$defs/responses"},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},deprecated:{default:!1,type:"boolean"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},servers:{type:"array",items:{$ref:"#/$defs/server"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"external-documentation":{$comment:"https://spec.openapis.org/oas/v3.1.0#external-documentation-object",type:"object",properties:{description:{type:"string"},url:{type:"string",format:"uri-reference"}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},parameter:{$comment:"https://spec.openapis.org/oas/v3.1.0#parameter-object",type:"object",properties:{name:{type:"string"},in:{enum:["query","header","path","cookie"]},description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},schema:{$ref:"#/$defs/schema"},content:{$ref:"#/$defs/content",minProperties:1,maxProperties:1}},required:["name","in"],oneOf:[{required:["schema"]},{required:["content"]}],if:{properties:{in:{const:"query"}},required:["in"]},then:{properties:{allowEmptyValue:{default:!1,type:"boolean"}}},dependentSchemas:{schema:{properties:{style:{type:"string"},explode:{type:"boolean"}},allOf:[{$ref:"#/$defs/examples"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-form"}],$defs:{"styles-for-path":{if:{properties:{in:{const:"path"}},required:["in"]},then:{properties:{name:{pattern:"[^/#?]+$"},style:{default:"simple",enum:["matrix","label","simple"]},required:{const:!0}},required:["required"]}},"styles-for-header":{if:{properties:{in:{const:"header"}},required:["in"]},then:{properties:{style:{default:"simple",const:"simple"}}}},"styles-for-query":{if:{properties:{in:{const:"query"}},required:["in"]},then:{properties:{style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},allowReserved:{default:!1,type:"boolean"}}}},"styles-for-cookie":{if:{properties:{in:{const:"cookie"}},required:["in"]},then:{properties:{style:{default:"form",const:"form"}}}},"styles-for-form":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"parameter-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/parameter"}},"request-body":{$comment:"https://spec.openapis.org/oas/v3.1.0#request-body-object",type:"object",properties:{description:{type:"string"},content:{$ref:"#/$defs/content"},required:{default:!1,type:"boolean"}},required:["content"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"request-body-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/request-body"}},content:{$comment:"https://spec.openapis.org/oas/v3.1.0#fixed-fields-10",type:"object",additionalProperties:{$ref:"#/$defs/media-type"},propertyNames:{format:"media-range"}},"media-type":{$comment:"https://spec.openapis.org/oas/v3.1.0#media-type-object",type:"object",properties:{schema:{$ref:"#/$defs/schema"},encoding:{type:"object",additionalProperties:{$ref:"#/$defs/encoding"}}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/examples"}],unevaluatedProperties:!1},encoding:{$comment:"https://spec.openapis.org/oas/v3.1.0#encoding-object",type:"object",properties:{contentType:{type:"string",format:"media-range"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{default:!1,type:"boolean"}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/encoding/$defs/explode-default"}],unevaluatedProperties:!1,$defs:{"explode-default":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}},responses:{$comment:"https://spec.openapis.org/oas/v3.1.0#responses-object",type:"object",properties:{default:{$ref:"#/$defs/response-or-reference"}},patternProperties:{"^[1-5](?:[0-9]{2}|XX)$":{$ref:"#/$defs/response-or-reference"}},minProperties:1,$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},response:{$comment:"https://spec.openapis.org/oas/v3.1.0#response-object",type:"object",properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},content:{$ref:"#/$defs/content"},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}}},required:["description"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"response-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/response"}},callbacks:{$comment:"https://spec.openapis.org/oas/v3.1.0#callback-object",type:"object",$ref:"#/$defs/specification-extensions",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},"callbacks-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/callbacks"}},example:{$comment:"https://spec.openapis.org/oas/v3.1.0#example-object",type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:!0,externalValue:{type:"string",format:"uri-reference"}},not:{required:["value","externalValue"]},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"example-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/example"}},link:{$comment:"https://spec.openapis.org/oas/v3.1.0#link-object",type:"object",properties:{operationRef:{type:"string",format:"uri-reference"},operationId:{type:"string"},parameters:{$ref:"#/$defs/map-of-strings"},requestBody:!0,description:{type:"string"},body:{$ref:"#/$defs/server"}},oneOf:[{required:["operationRef"]},{required:["operationId"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"link-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/link"}},header:{$comment:"https://spec.openapis.org/oas/v3.1.0#header-object",type:"object",properties:{description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},schema:{$ref:"#/$defs/schema"},content:{$ref:"#/$defs/content",minProperties:1,maxProperties:1}},oneOf:[{required:["schema"]},{required:["content"]}],dependentSchemas:{schema:{properties:{style:{default:"simple",const:"simple"},explode:{default:!1,type:"boolean"}},$ref:"#/$defs/examples"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"header-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/header"}},tag:{$comment:"https://spec.openapis.org/oas/v3.1.0#tag-object",type:"object",properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["name"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},reference:{$comment:"https://spec.openapis.org/oas/v3.1.0#reference-object",type:"object",properties:{$ref:{type:"string",format:"uri-reference"},summary:{type:"string"},description:{type:"string"}},unevaluatedProperties:!1},schema:{$comment:"https://spec.openapis.org/oas/v3.1.0#schema-object",$dynamicAnchor:"meta",type:["object","boolean"]},"security-scheme":{$comment:"https://spec.openapis.org/oas/v3.1.0#security-scheme-object",type:"object",properties:{type:{enum:["apiKey","http","mutualTLS","oauth2","openIdConnect"]},description:{type:"string"}},required:["type"],allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/security-scheme/$defs/type-apikey"},{$ref:"#/$defs/security-scheme/$defs/type-http"},{$ref:"#/$defs/security-scheme/$defs/type-http-bearer"},{$ref:"#/$defs/security-scheme/$defs/type-oauth2"},{$ref:"#/$defs/security-scheme/$defs/type-oidc"}],unevaluatedProperties:!1,$defs:{"type-apikey":{if:{properties:{type:{const:"apiKey"}},required:["type"]},then:{properties:{name:{type:"string"},in:{enum:["query","header","cookie"]}},required:["name","in"]}},"type-http":{if:{properties:{type:{const:"http"}},required:["type"]},then:{properties:{scheme:{type:"string"}},required:["scheme"]}},"type-http-bearer":{if:{properties:{type:{const:"http"},scheme:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}},required:["type","scheme"]},then:{properties:{bearerFormat:{type:"string"}}}},"type-oauth2":{if:{properties:{type:{const:"oauth2"}},required:["type"]},then:{properties:{flows:{$ref:"#/$defs/oauth-flows"}},required:["flows"]}},"type-oidc":{if:{properties:{type:{const:"openIdConnect"}},required:["type"]},then:{properties:{openIdConnectUrl:{type:"string",format:"uri-reference"}},required:["openIdConnectUrl"]}}}},"security-scheme-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/security-scheme"}},"oauth-flows":{type:"object",properties:{implicit:{$ref:"#/$defs/oauth-flows/$defs/implicit"},password:{$ref:"#/$defs/oauth-flows/$defs/password"},clientCredentials:{$ref:"#/$defs/oauth-flows/$defs/client-credentials"},authorizationCode:{$ref:"#/$defs/oauth-flows/$defs/authorization-code"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{implicit:{type:"object",properties:{authorizationUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},password:{type:"object",properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"client-credentials":{type:"object",properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"authorization-code":{type:"object",properties:{authorizationUrl:{type:"string",format:"uri-reference"},tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1}}},"security-requirement":{$comment:"https://spec.openapis.org/oas/v3.1.0#security-requirement-object",type:"object",additionalProperties:{type:"array",items:{type:"string"}}},"specification-extensions":{$comment:"https://spec.openapis.org/oas/v3.1.0#specification-extensions",patternProperties:{"^x-":!0}},examples:{properties:{example:!0,examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}}}},"map-of-strings":{type:"object",additionalProperties:{type:"string"}}}};const Jrn={"2.0":Yrn,"3.0":Grn,"3.1":Krn},eon=Object.keys(Jrn),LS={INVALID_REFERENCE:"Can't resolve reference: %s",EXTERNAL_REFERENCE_NOT_FOUND:"Can't resolve external reference: %s",NO_CONTENT:"No content found"},owe=e=>typeof e=="object"&&!Array.isArray(e)&&e!==null;function ton(e){if(e===null)return{version:void 0,specificationType:void 0,specificationVersion:void 0};if(owe(e))for(const t of new Set(eon)){const n=t==="2.0"?"swagger":"openapi",r=e[n];if(typeof r=="string"&&r.startsWith(t))return{version:t,specificationType:n,specificationVersion:r}}return{version:void 0,specificationType:void 0,specificationVersion:void 0}}function Q6(e){return e?.find(t=>t.isEntrypoint)}function OF(e,t,n=[]){const r={};for(const[o,a]of Object.entries(e)){const s=[...n,o];if(Array.isArray(a)){r[o]=a.map((i,l)=>typeof i=="object"&&!Array.isArray(i)&&i!==null?OF(i,t,[...s,l.toString()]):i);continue}if(typeof a=="object"&&a!==null){r[o]=OF(a,t,s);continue}r[o]=a}return t(r,n)}function awe(e){const t=[];return!e||typeof e!="object"?t:(OF(e,n=>(n.$ref&&typeof n.$ref=="string"&&!n.$ref.startsWith("#")&&t.push(n.$ref.split("#")[0]),n)),[...new Set(t)])}function oq(e){return typeof e<"u"&&Array.isArray(e)&&e.length>0&&e.some(t=>t.isEntrypoint===!0)}const aq=Symbol.for("yaml.alias"),CF=Symbol.for("yaml.document"),Up=Symbol.for("yaml.map"),swe=Symbol.for("yaml.pair"),Gd=Symbol.for("yaml.scalar"),eg=Symbol.for("yaml.seq"),A1=Symbol.for("yaml.node.type"),mm=e=>!!e&&typeof e=="object"&&e[A1]===aq,Wk=e=>!!e&&typeof e=="object"&&e[A1]===CF,Zk=e=>!!e&&typeof e=="object"&&e[A1]===Up,qa=e=>!!e&&typeof e=="object"&&e[A1]===swe,Bo=e=>!!e&&typeof e=="object"&&e[A1]===Gd,Qk=e=>!!e&&typeof e=="object"&&e[A1]===eg;function Ra(e){if(e&&typeof e=="object")switch(e[A1]){case Up:case eg:return!0}return!1}function Ua(e){if(e&&typeof e=="object")switch(e[A1]){case aq:case Up:case Gd:case eg:return!0}return!1}const iwe=e=>(Bo(e)||Ra(e))&&!!e.anchor,C5=Symbol("break visit"),non=Symbol("skip children"),Av=Symbol("remove node");function tg(e,t){const n=ron(t);Wk(e)?b6(null,e.contents,n,Object.freeze([e]))===Av&&(e.contents=null):b6(null,e,n,Object.freeze([]))}tg.BREAK=C5;tg.SKIP=non;tg.REMOVE=Av;function b6(e,t,n,r){const o=oon(e,t,n,r);if(Ua(o)||qa(o))return aon(e,r,o),b6(e,o,n,r);if(typeof o!="symbol"){if(Ra(t)){r=Object.freeze(r.concat(t));for(let a=0;a<t.items.length;++a){const s=b6(a,t.items[a],n,r);if(typeof s=="number")a=s-1;else{if(s===C5)return C5;s===Av&&(t.items.splice(a,1),a-=1)}}}else if(qa(t)){r=Object.freeze(r.concat(t));const a=b6("key",t.key,n,r);if(a===C5)return C5;a===Av&&(t.key=null);const s=b6("value",t.value,n,r);if(s===C5)return C5;s===Av&&(t.value=null)}}return o}function ron(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 oon(e,t,n,r){if(typeof n=="function")return n(e,t,r);if(Zk(t))return n.Map?.(e,t,r);if(Qk(t))return n.Seq?.(e,t,r);if(qa(t))return n.Pair?.(e,t,r);if(Bo(t))return n.Scalar?.(e,t,r);if(mm(t))return n.Alias?.(e,t,r)}function aon(e,t,n){const r=t[t.length-1];if(Ra(r))r.items[e]=n;else if(qa(r))e==="key"?r.key=n:r.value=n;else if(Wk(r))r.contents=n;else{const o=mm(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${o} parent`)}}const son={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},ion=e=>e.replace(/[!,[\]{}]/g,t=>son[t]);class Ui{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Ui.defaultYaml,t),this.tags=Object.assign({},Ui.defaultTags,n)}clone(){const t=new Ui(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new Ui(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Ui.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Ui.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:Ui.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Ui.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),o=r.shift();switch(o){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[a,s]=r;return this.tags[a]=s,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[a]=r;if(a==="1.1"||a==="1.2")return this.yaml.version=a,!0;{const s=/^\d+\.\d+$/.test(a);return n(6,`Unsupported YAML version ${a}`,s),!1}}default:return n(0,`Unknown directive ${o}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const s=t.slice(2,-1);return s==="!"||s==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),s)}const[,r,o]=t.match(/^(.*!)([^!]*)$/s);o||n(`The ${t} tag has no suffix`);const a=this.tags[r];if(a)try{return a+decodeURIComponent(o)}catch(s){return n(String(s)),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+ion(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 o;if(t&&r.length>0&&Ua(t.contents)){const a={};tg(t.contents,(s,i)=>{Ua(i)&&i.tag&&(a[i.tag]=!0)}),o=Object.keys(a)}else o=[];for(const[a,s]of r)a==="!!"&&s==="tag:yaml.org,2002:"||(!t||o.some(i=>i.startsWith(s)))&&n.push(`%TAG ${a} ${s}`);return n.join(`
1000
1000
  `)}}Ui.defaultYaml={explicit:!1,version:"1.2"};Ui.defaultTags={"!!":"tag:yaml.org,2002:"};function lwe(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 cwe(e){const t=new Set;return tg(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}function uwe(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function lon(e,t){const n=[],r=new Map;let o=null;return{onAnchor:a=>{n.push(a),o??(o=cwe(e));const s=uwe(t,o);return o.add(s),s},setAnchors:()=>{for(const a of n){const s=r.get(a);if(typeof s=="object"&&s.anchor&&(Bo(s.node)||Ra(s.node)))s.node.anchor=s.anchor;else{const i=new Error("Failed to resolve repeated object (this should not happen)");throw i.source=a,i}}},sourceObjects:r}}function v6(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let o=0,a=r.length;o<a;++o){const s=r[o],i=v6(e,r,String(o),s);i===void 0?delete r[o]:i!==s&&(r[o]=i)}else if(r instanceof Map)for(const o of Array.from(r.keys())){const a=r.get(o),s=v6(e,r,o,a);s===void 0?r.delete(o):s!==a&&r.set(o,s)}else if(r instanceof Set)for(const o of Array.from(r)){const a=v6(e,r,o,o);a===void 0?r.delete(o):a!==o&&(r.delete(o),r.add(a))}else for(const[o,a]of Object.entries(r)){const s=v6(e,r,o,a);s===void 0?delete r[o]:s!==a&&(r[o]=s)}return e.call(t,n,r)}function _1(e,t,n){if(Array.isArray(e))return e.map((r,o)=>_1(r,String(o),n));if(e&&typeof e.toJSON=="function"){if(!n||!iwe(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=a=>{r.res=a,delete n.onCreate};const o=e.toJSON(t,n);return n.onCreate&&n.onCreate(o),o}return typeof e=="bigint"&&!n?.keep?Number(e):e}class sq{constructor(t){Object.defineProperty(this,A1,{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:o,reviver:a}={}){if(!Wk(t))throw new TypeError("A document argument is required");const s={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},i=_1(this,"",s);if(typeof o=="function")for(const{count:l,res:c}of s.anchors.values())o(c,l);return typeof a=="function"?v6(a,{"":i},"",i):i}}class iq extends sq{constructor(t){super(aq),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,n){let r;n?.aliasResolveCache?r=n.aliasResolveCache:(r=[],tg(t,{Node:(a,s)=>{(mm(s)||iwe(s))&&r.push(s)}}),n&&(n.aliasResolveCache=r));let o;for(const a of r){if(a===this)break;a.anchor===this.source&&(o=a)}return o}toJSON(t,n){if(!n)return{source:this.source};const{anchors:r,doc:o,maxAliasCount:a}=n,s=this.resolve(o,n);if(!s){const l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(l)}let i=r.get(s);if(i||(_1(s,null,n),i=r.get(s)),!i||i.res===void 0){const l="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(l)}if(a>=0&&(i.count+=1,i.aliasCount===0&&(i.aliasCount=$S(o,s,r)),i.count*i.aliasCount>a)){const l="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(l)}return i.res}toString(t,n,r){const o=`*${this.source}`;if(t){if(lwe(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const a=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(a)}if(t.implicitKey)return`${o} `}return o}}function $S(e,t,n){if(mm(t)){const r=t.resolve(e),o=n&&r&&n.get(r);return o?o.count*o.aliasCount:0}else if(Ra(t)){let r=0;for(const o of t.items){const a=$S(e,o,n);a>r&&(r=a)}return r}else if(qa(t)){const r=$S(e,t.key,n),o=$S(e,t.value,n);return Math.max(r,o)}return 1}const dwe=e=>!e||typeof e!="function"&&typeof e!="object";class zn extends sq{constructor(t){super(Gd),this.value=t}toJSON(t,n){return n?.keep?this.value:_1(this.value,t,n)}toString(){return String(this.value)}}zn.BLOCK_FOLDED="BLOCK_FOLDED";zn.BLOCK_LITERAL="BLOCK_LITERAL";zn.PLAIN="PLAIN";zn.QUOTE_DOUBLE="QUOTE_DOUBLE";zn.QUOTE_SINGLE="QUOTE_SINGLE";const con="tag:yaml.org,2002:";function uon(e,t,n){if(t){const r=n.filter(a=>a.tag===t),o=r.find(a=>!a.format)??r[0];if(!o)throw new Error(`Tag ${t} not found`);return o}return n.find(r=>r.identify?.(e)&&!r.format)}function sx(e,t,n){if(Wk(e)&&(e=e.contents),Ua(e))return e;if(qa(e)){const f=n.schema[Up].createNode?.(n.schema,null,n);return f.items.push(e),f}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:o,onTagObj:a,schema:s,sourceObjects:i}=n;let l;if(r&&e&&typeof e=="object"){if(l=i.get(e),l)return l.anchor??(l.anchor=o(e)),new iq(l.anchor);l={anchor:null,node:null},i.set(e,l)}t?.startsWith("!!")&&(t=con+t.slice(2));let c=uon(e,t,s.tags);if(!c){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const f=new zn(e);return l&&(l.node=f),f}c=e instanceof Map?s[Up]:Symbol.iterator in Object(e)?s[eg]:s[Up]}a&&(a(c),delete n.onTagObj);const d=c?.createNode?c.createNode(n.schema,e,n):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(n.schema,e,n):new zn(e);return t?d.tag=t:c.default||(d.tag=c.tag),l&&(l.node=d),d}function aT(e,t,n){let r=n;for(let o=t.length-1;o>=0;--o){const a=t[o];if(typeof a=="number"&&Number.isInteger(a)&&a>=0){const s=[];s[a]=r,r=s}else r=new Map([[a,r]])}return sx(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 Vb=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class fwe extends sq{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=>Ua(r)||qa(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(Vb(t))this.add(n);else{const[r,...o]=t,a=this.get(r,!0);if(Ra(a))a.addIn(o,n);else if(a===void 0&&this.schema)this.set(r,aT(this.schema,o,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${o}`)}}deleteIn(t){const[n,...r]=t;if(r.length===0)return this.delete(n);const o=this.get(n,!0);if(Ra(o))return o.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){const[r,...o]=t,a=this.get(r,!0);return o.length===0?!n&&Bo(a)?a.value:a:Ra(a)?a.getIn(o,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!qa(n))return!1;const r=n.value;return r==null||t&&Bo(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 o=this.get(n,!0);return Ra(o)?o.hasIn(r):!1}setIn(t,n){const[r,...o]=t;if(o.length===0)this.set(r,n);else{const a=this.get(r,!0);if(Ra(a))a.setIn(o,n);else if(a===void 0&&this.schema)this.set(r,aT(this.schema,o,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${o}`)}}}const don=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function j2(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const G5=(e,t,n)=>e.endsWith(`
1001
1001
  `)?j2(n,t):n.includes(`
1002
1002
  `)?`
@@ -2909,26 +2909,26 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2909
2909
  `).join("")}
2910
2910
  </div>
2911
2911
  </div>`);const ut=F(u_(ye[f]));S(Re,ut,ze.length,ke)},_=function(){b.x=0,b.y=0,Z.style("opacity",0)},S=function(ke,Re,ee,ce){const He=ee*15;let De=ke+160<$?ke:$-160,ze=Re-(He+30);i===Xb&&ce&&c.current&&(De=ce.clientX-80-50,ze=c.current.getBoundingClientRect().bottom-c.current.getBoundingClientRect().height-He-75+Re),Z.style("left",De+"px").style("top",ze+"px"),ke<pp?Z.style("opacity",0):Z.style("opacity",.9)};const T=c.current.clientHeight,$=c.current.clientWidth,M=5,P=5,D=n?qce:M,U=WJ(c.current),Z=WJ(d.current);U.selectAll("*").remove();const V=$-pp,F=Lde().domain([0,0]).range([T-D,0]),ne=EZe().domain([new Date,new Date]).range([pp,$]),ae=[...e],oe=ae[0],z=ae[ae.length-1],se=oe.time,G=z.time;ne.domain([se,G]),a&&ae.shift();let J=[];if(a){J=[100];for(let ke=0;ke<ae.length;ke++){const Re=ae[ke][f];typeof Re=="number"&&J.push(Re)}}else for(let ke=0;ke<ae.length;ke++)if(ae[ke].values){const Re=ae[ke].values?.filter(ee=>ee!=null);Re&&J.push(...Re)}const X=Math.max(...J,s),K=X+X*.1;F.domain([0,K]);const fe=c5n(0,X,2),re=G.getTime()-se.getTime(),Ae=7,ue=[];for(let ke=0;ke<Ae;ke++){const Re=new Date(se.getTime()+re*(ke/(Ae-1)));ue.push(Re)}let Se=FJ(F).tickValues(fe);o==="req"&&(Se=Se.tickFormat(ke=>ke>=1e6?(ke/1e6).toFixed(0)+"M":ke>=1e3?(ke/1e3).toFixed(0)+"K":ke.toString())),U.attr("width",$).attr("height",T).append("g").attr("transform",`translate(${pp}, ${pp})`);const de=U.append("g").attr("transform",`translate(${pp})`);if(U.append("g").attr("class",Wo.grid).call(FJ(F).tickValues(fe).tickSize(-V).tickFormat(()=>"")).attr("transform",`translate(${pp})`).call(ke=>ke.select(".domain").remove()),de.call(Se).call(ke=>ke.select(".domain").remove()).call(ke=>ke.selectAll(".tick > line").remove()).attr("class",Wo.axis),n){const ke=kVe(ne).tickValues(ue).tickFormat(Qb("%H:%M:%S")).tickSizeOuter(0);U.append("g").attr("transform",`translate(5, ${T-qce})`).call(ke).call(ee=>ee.select(".domain").remove()).call(ee=>ee.selectAll(".tick > line").remove()).attr("class",Wo.axis).selectAll("text").attr("dy","1em").style("text-anchor","start")}const Ce=[],pe=[];if(a){const ke=U.selectAll(".chart").data(ae).enter(),Re=2,ee=-4;a&&Object.keys(a).forEach(ce=>{ke.append("rect").attr("fill",a[ce]).attr("x",ye=>ne(ye.time)+ee).attr("y",ye=>F(u_(ye[ce]))).attr("width",Re).attr("height",ye=>T-D-F(u_(ye[ce]))).transition().duration(1e3)})}else for(let ke=0;ke<m;ke++){if(ae.filter(ce=>ce.values&&ke<ce.values.length&&ce.values[ke]>0).length===0)continue;const ee=U.append("path").attr("class",`${Wo.line} ${h[`color-${ke}`]}`).datum(ae).attr("d",IZe().x(ce=>ne(ce.time)).y(ce=>F(ce.values&&ke<ce.values.length&&ce.values[ke]||0)).curve(RZe)).transition().duration(1e3).node();ee&&Ce.push(ee),pe.push(U.append("circle").attr("r",5).attr("class",h[`color-${ke}`]).attr("stroke","black").attr("stroke-width",2).style("opacity",0).style("pointer-events","none"))}a?(U.on("mouseover pointermove",k).on("pointerleave",_),k()):(U.on("mouseover pointermove",v).on("pointerleave",x),v())}},[c,d,e,a,o,r,s,m,a,n,i,t,0]),u.jsxs("div",{"data-testid":"metric-chart",className:`${Qe.tinyFlexBlock} ${Qe.fullWidth}`,children:[u.jsx("svg",{ref:c,style:{width:"100%",height:"96px"}}),u.jsx("div",{ref:d,className:`${i===Bde?Wo.tooltipAbsolute:Wo.tooltipFixed} ${Wo.tooltip}`})]})},oCe=(e,t)=>u.jsx("div",{className:`${Qe.tinyFlexRow}`,children:e.map((n,r)=>u.jsxs(qi.Fragment,{children:[u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.itemsCenter}`,children:[u.jsxs("div",{className:`${Mp.label} ${Ze.desktopBodySmallest} ${Ze.opacity70} ${Ze.textWhite}`,children:[" ",n," "]}),u.jsx("div",{className:`${Mp.legendLine} ${t[`color-${r}`]}`})]}),e.length-1&&r<e.length-1?u.jsx(APe,{color:vn,backgroundColorOpacity:Rv,classes:Mp.verticalSeparator}):""]},`label-${r}`))});function BF({title:e,metricURL:t,initialLoading:n,dataValues:r,unit:o,options:a,chartTooltipPosition:s=Bde,showLegend:i=!0,timeline:l=!1,slimCss:c=!1,threadName:d}){const f=pu,[h,m]=ge.useState(!1),[b,v]=ge.useState([]),x=c?`${Mp.borderexBoxSlim}`:`${Mp.borderexBoxContainer} ${Mp.borderedBoxHeigthLoading}`,[k,_]=ge.useState(`${x}`),[S,T]=ge.useState(0),$=rCe(t),M=a.map(D=>D.label);ge.useEffect(()=>{_(`${Mp.borderexBoxContainer}`);let D=[],U=0;t==="req"&&(U=10),r.length>0?(t==="latency"?D=r.map(({date:Z,...V})=>({time:new Date(Z),...V})):r.forEach(Z=>{const V=a.map(F=>Number(Z[F.internalKey])||0);D.push({time:new Date(Z.date),values:[...V]}),U=Math.max(U,...V)}),v([...D]),m(!1),T(U)):m(!0)},[r]);function P(){return n?u.jsx(uU,{loading:!0,applySentences:{containerClassName:`${Qe.mediumFlexBlock} ${Qe.itemsCenter}`,sentences:[]},containerClassName:SU.loadingSpinner,spinnerProps:{size:40,thickness:3}}):h?u.jsx(Qhn,{iconName:"NodeJSMetricsIcon"}):t==="latency"?u.jsx(Yce,{data:b,unit:o,labels:a.map(D=>({name:D.label,value:D.internalKey})),percentiles:{p99:"#2192FA",p95:"#FA6221",p90:"#C61BE2"},colorSet:t,lowerMaxY:S,tooltipPosition:s,timeline:l}):u.jsx(Yce,{data:b,unit:o,labels:M,colorSet:t,lowerMaxY:S,tooltipPosition:s,timeline:l})}return u.jsx(wc,{classes:k,backgroundColor:f,color:qo,children:u.jsxs("div",{className:`${Qe.tinyFlexBlock} ${Qe.fullWidth} ${Qe.fullHeight}`,children:[u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.itemsCenter} ${Qe.justifyBetween} ${Qe.fullWidth} ${Qe.positionRelative}`,children:[u.jsxs("div",{className:`${Qe.tinyFlexRow}`,children:[u.jsx("span",{className:`${Ze.desktopBodySemibold} ${Ze.textWhite}`,children:e}),u.jsx("span",{className:`${Ze.desktopBodySmall} ${Ze.textWhite} ${Ze.opacity70}`,children:o})]}),d&&u.jsx("div",{className:`${Qe.tinyFlexRow} ${Qe.itemsCenter}`,children:u.jsxs("div",{className:`${Mp.label} ${Ze.desktopBodySmallest} ${Ze.opacity70} ${Ze.textWhite}`,children:[" ",d," "]})}),!h&&i&&oCe(M,$)]}),u.jsx("div",{className:`${Qe.smallFlexRow} ${Qe.fullWidth} ${Qe.justifyBetween} ${Qe.itemsCenter} ${Qe.fullHeight}`,children:P()})]})})}function d5n(){const[e,t]=ge.useState(void 0),[n,r]=ge.useState(!0),[o,a]=ge.useState(DF()),{runtimePid:s,mode:i}=Nc(),l=async()=>{try{if(s){const c=await h0e(s,i);a(c),t(void 0)}}catch(c){t(c)}finally{r(!1)}};return XOe(()=>{l()},Rde),ge.useEffect(()=>{l()},[s,i]),u.jsx(wc,{classes:`${Qce.borderexBoxContainer}`,backgroundColor:Tx,color:qo,children:e?u.jsx(vh,{error:e,onClickDismiss:()=>t(void 0)}):u.jsxs("div",{className:`${Qe.smallFlexBlock} ${Qe.fullWidth}`,children:[u.jsx("div",{className:`${Qe.smallFlexRow} ${Qe.fullWidth} ${Qe.justifyBetween}`,children:u.jsx("div",{className:`${Qe.tinyFlexRow} ${Qe.fullWidth} ${Qe.justifyBetween}`,children:u.jsxs("div",{className:Qe.tinyFlexRow,children:[u.jsx(Is.NodeJSMetricsIcon,{color:vn,size:q}),u.jsx("div",{children:u.jsx("p",{className:`${Ze.desktopBodySemibold} ${Ze.textWhite}`,children:"Metrics"})})]})})}),u.jsx("div",{className:Qce.metricsContainer,children:Dde.map(c=>c!=="dataKafka"&&u.jsx(BF,{title:oc[c].title,unit:`(${oc[c].unit})`,metricURL:oc[c].type,dataValues:o[c],initialLoading:n,options:oc[c].options},c))})]})})}const f5n=()=>{const[e,t]=ge.useState(void 0),[n,r]=ge.useState({id:0,lastStarted:"",name:"",url:""}),{setRuntimePid:o,mode:a}=Nc(),s=async()=>{try{const i=await xXe(a);i.id&&(r(i),o(i.id),t(void 0))}catch(i){t(i)}};return ge.useEffect(()=>{s()},[a]),u.jsx("div",{className:Bee.container,children:u.jsx("div",{className:Bee.containerElement,children:e?u.jsx(vh,{error:e,onClickDismiss:()=>t(void 0)}):u.jsxs(u.Fragment,{children:[u.jsx(DXe,{onModeUpdated:s,onErrorOccurred:t,apiApplication:n}),u.jsx(Dhn,{}),u.jsx(d5n,{})]})})})},p5n="_detailPodContainer_gvwne_1",h5n="_detailPodContent_gvwne_5",m5n="_borderedBoxContainerPodLogs_gvwne_8",eD={detailPodContainer:p5n,detailPodContent:h5n,borderedBoxContainerPodLogs:m5n};var tD={},Jl={},nD={},Gce;function f0(){return Gce||(Gce=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isEventSourceSupported=e.isReactNative=e.ReadyState=e.DEFAULT_HEARTBEAT=e.UNPARSABLE_JSON_OBJECT=e.DEFAULT_RECONNECT_INTERVAL_MS=e.DEFAULT_RECONNECT_LIMIT=e.SOCKET_IO_PING_CODE=e.SOCKET_IO_PATH=e.SOCKET_IO_PING_INTERVAL=e.DEFAULT_EVENT_SOURCE_OPTIONS=e.EMPTY_EVENT_HANDLERS=e.DEFAULT_OPTIONS=void 0;var t=1,n=1e3*t;e.DEFAULT_OPTIONS={},e.EMPTY_EVENT_HANDLERS={},e.DEFAULT_EVENT_SOURCE_OPTIONS={withCredentials:!1,events:e.EMPTY_EVENT_HANDLERS},e.SOCKET_IO_PING_INTERVAL=25*n,e.SOCKET_IO_PATH="/socket.io/?EIO=3&transport=websocket",e.SOCKET_IO_PING_CODE="2",e.DEFAULT_RECONNECT_LIMIT=20,e.DEFAULT_RECONNECT_INTERVAL_MS=5e3,e.UNPARSABLE_JSON_OBJECT={},e.DEFAULT_HEARTBEAT={message:"ping",timeout:6e4,interval:25e3};var r;(function(a){a[a.UNINSTANTIATED=-1]="UNINSTANTIATED",a[a.CONNECTING=0]="CONNECTING",a[a.OPEN=1]="OPEN",a[a.CLOSING=2]="CLOSING",a[a.CLOSED=3]="CLOSED"})(r||(e.ReadyState=r={}));var o=function(){try{return"EventSource"in globalThis}catch{return!1}};e.isReactNative=typeof navigator<"u"&&navigator.product==="ReactNative",e.isEventSourceSupported=!e.isReactNative&&o()})(nD)),nD}var G9={},rD={},Kce;function zq(){return Kce||(Kce=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.resetWebSockets=e.sharedWebSockets=void 0,e.sharedWebSockets={};var t=function(n){if(n&&e.sharedWebSockets.hasOwnProperty(n))delete e.sharedWebSockets[n];else for(var r in e.sharedWebSockets)e.sharedWebSockets.hasOwnProperty(r)&&delete e.sharedWebSockets[r]};e.resetWebSockets=t})(rD)),rD}var p5={},V0={},Jce;function Wq(){if(Jce)return V0;Jce=1,Object.defineProperty(V0,"__esModule",{value:!0}),V0.setUpSocketIOPing=V0.appendQueryParams=V0.parseSocketIOUrl=void 0;var e=f0(),t=function(o){if(o){var a=/^https|wss/.test(o),s=o.replace(/^(https?|wss?)(:\/\/)?/,""),i=s.replace(/\/$/,""),l=a?"wss":"ws";return"".concat(l,"://").concat(i).concat(e.SOCKET_IO_PATH)}else if(o===""){var a=/^https/.test(window.location.protocol),l=a?"wss":"ws",c=window.location.port?":".concat(window.location.port):"";return"".concat(l,"://").concat(window.location.hostname).concat(c).concat(e.SOCKET_IO_PATH)}return o};V0.parseSocketIOUrl=t;var n=function(o,a){a===void 0&&(a={});var s=/\?([\w]+=[\w]+)/,i=s.test(o),l="".concat(Object.entries(a).reduce(function(c,d){var f=d[0],h=d[1];return c+"".concat(f,"=").concat(h,"&")},"").slice(0,-1));return"".concat(o).concat(i?"&":"?").concat(l)};V0.appendQueryParams=n;var r=function(o,a){a===void 0&&(a=e.SOCKET_IO_PING_INTERVAL);var s=function(){return o(e.SOCKET_IO_PING_CODE)};return window.setInterval(s,a)};return V0.setUpSocketIOPing=r,V0}var d_={},e1e;function aCe(){if(e1e)return d_;e1e=1,Object.defineProperty(d_,"__esModule",{value:!0}),d_.heartbeat=n;var e=f0();function t(r){return Array.isArray(r)?r.reduce(function(o,a){return o.current>a.current?o:a}).current:r.current}function n(r,o,a){var s=a||{},i=s.interval,l=i===void 0?e.DEFAULT_HEARTBEAT.interval:i,c=s.timeout,d=c===void 0?e.DEFAULT_HEARTBEAT.timeout:c,f=s.message,h=f===void 0?e.DEFAULT_HEARTBEAT.message:f,m=Math.max(100,l/10),b=Date.now(),v=setInterval(function(){var x=Date.now(),k=t(o);if(k+d<=x)console.warn("Heartbeat timed out, closing connection, last message received ".concat(x-k,"ms ago, last ping sent ").concat(x-b,"ms ago")),r.close();else if(k+l<=x&&b+l<=x)try{typeof h=="function"?r.send(h()):r.send(h),b=x}catch(_){console.error("Heartbeat failed, closing connection",_ instanceof Error?_.message:_),r.close()}},m);return r.addEventListener("close",function(){clearInterval(v)}),function(){}}return d_}var K9={},oD={},t1e;function Zq(){return t1e||(t1e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.resetSubscribers=e.removeSubscriber=e.addSubscriber=e.hasSubscribers=e.getSubscribers=void 0;var t={},n=[],r=function(l){return(0,e.hasSubscribers)(l)?Array.from(t[l]):n};e.getSubscribers=r;var o=function(l){var c;return((c=t[l])===null||c===void 0?void 0:c.size)>0};e.hasSubscribers=o;var a=function(l,c){t[l]=t[l]||new Set,t[l].add(c)};e.addSubscriber=a;var s=function(l,c){t[l].delete(c)};e.removeSubscriber=s;var i=function(l){if(l&&t.hasOwnProperty(l))delete t[l];else for(var c in t)t.hasOwnProperty(c)&&delete t[c]};e.resetSubscribers=i})(oD)),oD}var n1e;function Qq(){if(n1e)return K9;n1e=1,Object.defineProperty(K9,"__esModule",{value:!0}),K9.assertIsWebSocket=n,K9.resetGlobalState=r;var e=zq(),t=Zq();function n(o,a){if(!a&&!(o instanceof WebSocket))throw new Error("")}function r(o){(0,t.resetSubscribers)(o),(0,e.resetWebSockets)(o)}return K9}var r1e;function g5n(){if(r1e)return p5;r1e=1;var e=p5&&p5.__assign||function(){return e=Object.assign||function(d){for(var f,h=1,m=arguments.length;h<m;h++){f=arguments[h];for(var b in f)Object.prototype.hasOwnProperty.call(f,b)&&(d[b]=f[b])}return d},e.apply(this,arguments)};Object.defineProperty(p5,"__esModule",{value:!0}),p5.attachListeners=void 0;var t=Wq(),n=aCe(),r=f0(),o=Qq(),a=function(d,f,h,m){d.onmessage=function(b){var v;f.current.onMessage&&f.current.onMessage(b),typeof m?.current=="number"&&(m.current=Date.now()),!(typeof f.current.filter=="function"&&f.current.filter(b)!==!0)&&(f.current.heartbeat&&typeof f.current.heartbeat!="boolean"&&((v=f.current.heartbeat)===null||v===void 0?void 0:v.returnMessage)===b.data||h(b))}},s=function(d,f,h,m,b){d.onopen=function(v){if(f.current.onOpen&&f.current.onOpen(v),m.current=0,h(r.ReadyState.OPEN),f.current.heartbeat&&d instanceof WebSocket){var x=typeof f.current.heartbeat=="boolean"?void 0:f.current.heartbeat;b.current=Date.now(),(0,n.heartbeat)(d,b,x)}}},i=function(d,f,h,m,b){if(r.isEventSourceSupported&&d instanceof EventSource)return function(){};(0,o.assertIsWebSocket)(d,f.current.skipAssert);var v;return d.onclose=function(x){var k;if(f.current.onClose&&f.current.onClose(x),h(r.ReadyState.CLOSED),f.current.shouldReconnect&&f.current.shouldReconnect(x)){var _=(k=f.current.reconnectAttempts)!==null&&k!==void 0?k:r.DEFAULT_RECONNECT_LIMIT;if(b.current<_){var S=typeof f.current.reconnectInterval=="function"?f.current.reconnectInterval(b.current):f.current.reconnectInterval;v=window.setTimeout(function(){b.current++,m()},S??r.DEFAULT_RECONNECT_INTERVAL_MS)}else f.current.onReconnectStop&&f.current.onReconnectStop(_),console.warn("Max reconnect attempts of ".concat(_," exceeded"))}},function(){return v&&window.clearTimeout(v)}},l=function(d,f,h,m,b){var v;return d.onerror=function(x){var k;if(f.current.onError&&f.current.onError(x),r.isEventSourceSupported&&d instanceof EventSource&&(f.current.onClose&&f.current.onClose(e(e({},x),{code:1006,reason:"An error occurred with the EventSource: ".concat(x),wasClean:!1})),h(r.ReadyState.CLOSED),d.close()),f.current.retryOnError)if(b.current<((k=f.current.reconnectAttempts)!==null&&k!==void 0?k:r.DEFAULT_RECONNECT_LIMIT)){var _=typeof f.current.reconnectInterval=="function"?f.current.reconnectInterval(b.current):f.current.reconnectInterval;v=window.setTimeout(function(){b.current++,m()},_??r.DEFAULT_RECONNECT_INTERVAL_MS)}else f.current.onReconnectStop&&f.current.onReconnectStop(f.current.reconnectAttempts),console.warn("Max reconnect attempts of ".concat(f.current.reconnectAttempts," exceeded"))},function(){return v&&window.clearTimeout(v)}},c=function(d,f,h,m,b,v,x){var k=f.setLastMessage,_=f.setReadyState,S,T,$;return h.current.fromSocketIO&&(S=(0,t.setUpSocketIOPing)(x)),a(d,h,k,v),s(d,h,_,b,v),T=i(d,h,_,m,b),$=l(d,h,_,m,b),function(){_(r.ReadyState.CLOSING),T(),$(),d.close(),S&&clearInterval(S)}};return p5.attachListeners=c,p5}var h5={},o1e;function b5n(){if(o1e)return h5;o1e=1;var e=h5&&h5.__assign||function(){return e=Object.assign||function(f){for(var h,m=1,b=arguments.length;m<b;m++){h=arguments[m];for(var v in h)Object.prototype.hasOwnProperty.call(h,v)&&(f[v]=h[v])}return f},e.apply(this,arguments)};Object.defineProperty(h5,"__esModule",{value:!0}),h5.attachSharedListeners=void 0;var t=zq(),n=f0(),r=Zq(),o=Wq(),a=aCe(),s=function(f,h,m){f.onmessage=function(b){(0,r.getSubscribers)(h).forEach(function(v){var x;v.optionsRef.current.onMessage&&v.optionsRef.current.onMessage(b),typeof((x=v?.lastMessageTime)===null||x===void 0?void 0:x.current)=="number"&&(v.lastMessageTime.current=Date.now()),!(typeof v.optionsRef.current.filter=="function"&&v.optionsRef.current.filter(b)!==!0)&&(m&&typeof m!="boolean"&&m?.returnMessage===b.data||v.setLastMessage(b))})}},i=function(f,h,m){f.onopen=function(b){var v=(0,r.getSubscribers)(h);v.forEach(function(x){x.reconnectCount.current=0,x.optionsRef.current.onOpen&&x.optionsRef.current.onOpen(b),x.setReadyState(n.ReadyState.OPEN),m&&f instanceof WebSocket&&(x.lastMessageTime.current=Date.now())}),m&&f instanceof WebSocket&&(0,a.heartbeat)(f,v.map(function(x){return x.lastMessageTime}),typeof m=="boolean"?void 0:m)}},l=function(f,h){f instanceof WebSocket&&(f.onclose=function(m){(0,r.getSubscribers)(h).forEach(function(b){b.optionsRef.current.onClose&&b.optionsRef.current.onClose(m),b.setReadyState(n.ReadyState.CLOSED)}),delete t.sharedWebSockets[h],(0,r.getSubscribers)(h).forEach(function(b){var v;if(b.optionsRef.current.shouldReconnect&&b.optionsRef.current.shouldReconnect(m)){var x=(v=b.optionsRef.current.reconnectAttempts)!==null&&v!==void 0?v:n.DEFAULT_RECONNECT_LIMIT;if(b.reconnectCount.current<x){var k=typeof b.optionsRef.current.reconnectInterval=="function"?b.optionsRef.current.reconnectInterval(b.reconnectCount.current):b.optionsRef.current.reconnectInterval;setTimeout(function(){b.reconnectCount.current++,b.reconnect.current()},k??n.DEFAULT_RECONNECT_INTERVAL_MS)}else b.optionsRef.current.onReconnectStop&&b.optionsRef.current.onReconnectStop(b.optionsRef.current.reconnectAttempts),console.warn("Max reconnect attempts of ".concat(x," exceeded"))}})})},c=function(f,h){f.onerror=function(m){(0,r.getSubscribers)(h).forEach(function(b){b.optionsRef.current.onError&&b.optionsRef.current.onError(m),n.isEventSourceSupported&&f instanceof EventSource&&(b.optionsRef.current.onClose&&b.optionsRef.current.onClose(e(e({},m),{code:1006,reason:"An error occurred with the EventSource: ".concat(m),wasClean:!1})),b.setReadyState(n.ReadyState.CLOSED))}),n.isEventSourceSupported&&f instanceof EventSource&&f.close()}},d=function(f,h,m,b){var v;return m.current.fromSocketIO&&(v=(0,o.setUpSocketIOPing)(b)),s(f,h,m.current.heartbeat),l(f,h),i(f,h,m.current.heartbeat),c(f,h),function(){v&&clearInterval(v)}};return h5.attachSharedListeners=d,h5}var a1e;function v5n(){if(a1e)return G9;a1e=1,Object.defineProperty(G9,"__esModule",{value:!0}),G9.createOrJoinSocket=void 0;var e=zq(),t=f0(),n=g5n(),r=b5n(),o=Zq(),a=function(i,l,c,d,f){return function(){if((0,o.removeSubscriber)(i,l),!(0,o.hasSubscribers)(i)){try{var h=e.sharedWebSockets[i];h instanceof WebSocket&&(h.onclose=function(m){c.current.onClose&&c.current.onClose(m),d(t.ReadyState.CLOSED)}),h.close()}catch{}f&&f(),delete e.sharedWebSockets[i]}}},s=function(i,l,c,d,f,h,m,b,v){if(!t.isEventSourceSupported&&d.current.eventSourceOptions)throw t.isReactNative?new Error("EventSource is not supported in ReactNative"):new Error("EventSource is not supported");if(d.current.share){var x=null;e.sharedWebSockets[l]===void 0?(e.sharedWebSockets[l]=d.current.eventSourceOptions?new EventSource(l,d.current.eventSourceOptions):new WebSocket(l,d.current.protocols),i.current=e.sharedWebSockets[l],c(t.ReadyState.CONNECTING),x=(0,r.attachSharedListeners)(e.sharedWebSockets[l],l,d,v)):(i.current=e.sharedWebSockets[l],c(e.sharedWebSockets[l].readyState));var k={setLastMessage:f,setReadyState:c,optionsRef:d,reconnectCount:m,lastMessageTime:b,reconnect:h};return(0,o.addSubscriber)(l,k),a(l,k,d,c,x)}else{if(i.current=d.current.eventSourceOptions?new EventSource(l,d.current.eventSourceOptions):new WebSocket(l,d.current.protocols),c(t.ReadyState.CONNECTING),!i.current)throw new Error("WebSocket failed to be created");return(0,n.attachListeners)(i.current,{setLastMessage:f,setReadyState:c},d,h.current,m,b,v)}};return G9.createOrJoinSocket=s,G9}var F0={},s1e;function y5n(){return s1e||(s1e=1,(function(e){var t=F0&&F0.__awaiter||function(l,c,d,f){function h(m){return m instanceof d?m:new d(function(b){b(m)})}return new(d||(d=Promise))(function(m,b){function v(_){try{k(f.next(_))}catch(S){b(S)}}function x(_){try{k(f.throw(_))}catch(S){b(S)}}function k(_){_.done?m(_.value):h(_.value).then(v,x)}k((f=f.apply(l,c||[])).next())})},n=F0&&F0.__generator||function(l,c){var d={label:0,sent:function(){if(m[0]&1)throw m[1];return m[1]},trys:[],ops:[]},f,h,m,b=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return b.next=v(0),b.throw=v(1),b.return=v(2),typeof Symbol=="function"&&(b[Symbol.iterator]=function(){return this}),b;function v(k){return function(_){return x([k,_])}}function x(k){if(f)throw new TypeError("Generator is already executing.");for(;b&&(b=0,k[0]&&(d=0)),d;)try{if(f=1,h&&(m=k[0]&2?h.return:k[0]?h.throw||((m=h.return)&&m.call(h),0):h.next)&&!(m=m.call(h,k[1])).done)return m;switch(h=0,m&&(k=[k[0]&2,m.value]),k[0]){case 0:case 1:m=k;break;case 4:return d.label++,{value:k[1],done:!1};case 5:d.label++,h=k[1],k=[0];continue;case 7:k=d.ops.pop(),d.trys.pop();continue;default:if(m=d.trys,!(m=m.length>0&&m[m.length-1])&&(k[0]===6||k[0]===2)){d=0;continue}if(k[0]===3&&(!m||k[1]>m[0]&&k[1]<m[3])){d.label=k[1];break}if(k[0]===6&&d.label<m[1]){d.label=m[1],m=k;break}if(m&&d.label<m[2]){d.label=m[2],d.ops.push(k);break}m[2]&&d.ops.pop(),d.trys.pop();continue}k=c.call(l,d)}catch(_){k=[6,_],h=0}finally{f=m=0}if(k[0]&5)throw k[1];return{value:k[0]?k[1]:void 0,done:!0}}},r=F0&&F0.__spreadArray||function(l,c,d){if(d||arguments.length===2)for(var f=0,h=c.length,m;f<h;f++)(m||!(f in c))&&(m||(m=Array.prototype.slice.call(c,0,f)),m[f]=c[f]);return l.concat(m||Array.prototype.slice.call(c))};Object.defineProperty(e,"__esModule",{value:!0}),e.getUrl=void 0;var o=Wq(),a=f0(),s=function(l){return new Promise(function(c){return window.setTimeout(c,l)})},i=function(l,c){for(var d=[],f=2;f<arguments.length;f++)d[f-2]=arguments[f];return t(void 0,r([l,c],d,!0),void 0,function(h,m,b){var v,x,k,_,S,T,$,M;return b===void 0&&(b=0),n(this,function(P){switch(P.label){case 0:if(typeof h!="function")return[3,10];P.label=1;case 1:return P.trys.push([1,3,,9]),[4,h()];case 2:return v=P.sent(),[3,9];case 3:return P.sent(),m.current.retryOnError?(x=(T=m.current.reconnectAttempts)!==null&&T!==void 0?T:a.DEFAULT_RECONNECT_LIMIT,b<x?(k=typeof m.current.reconnectInterval=="function"?m.current.reconnectInterval(b):m.current.reconnectInterval,[4,s(k??a.DEFAULT_RECONNECT_INTERVAL_MS)]):[3,5]):[3,7];case 4:return P.sent(),[2,(0,e.getUrl)(h,m,b+1)];case 5:return(M=($=m.current).onReconnectStop)===null||M===void 0||M.call($,b),[2,null];case 6:return[3,8];case 7:return[2,null];case 8:return[3,9];case 9:return[3,11];case 10:v=h,P.label=11;case 11:return _=m.current.fromSocketIO?(0,o.parseSocketIOUrl)(v):v,S=m.current.queryParams?(0,o.appendQueryParams)(_,m.current.queryParams):_,[2,S]}})})};e.getUrl=i})(F0)),F0}var aD={},i1e;function x5n(){return i1e||(i1e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.websocketWrapper=void 0;var t=function(n,r){return new Proxy(n,{get:function(o,a){var s=o[a];return a==="reconnect"?r:typeof s=="function"?(console.error("Calling methods directly on the websocket is not supported at this moment. You must use the methods returned by useWebSocket."),function(){}):s},set:function(o,a,s){return/^on/.test(a)?(console.warn("The websocket's event handlers should be defined through the options object passed into useWebSocket."),!1):(o[a]=s,!0)}})};e.websocketWrapper=t,e.default=e.websocketWrapper})(aD)),aD}var l1e;function qq(){if(l1e)return Jl;l1e=1;var e=Jl&&Jl.__assign||function(){return e=Object.assign||function(h){for(var m,b=1,v=arguments.length;b<v;b++){m=arguments[b];for(var x in m)Object.prototype.hasOwnProperty.call(m,x)&&(h[x]=m[x])}return h},e.apply(this,arguments)},t=Jl&&Jl.__awaiter||function(h,m,b,v){function x(k){return k instanceof b?k:new b(function(_){_(k)})}return new(b||(b=Promise))(function(k,_){function S(M){try{$(v.next(M))}catch(P){_(P)}}function T(M){try{$(v.throw(M))}catch(P){_(P)}}function $(M){M.done?k(M.value):x(M.value).then(S,T)}$((v=v.apply(h,m||[])).next())})},n=Jl&&Jl.__generator||function(h,m){var b={label:0,sent:function(){if(k[0]&1)throw k[1];return k[1]},trys:[],ops:[]},v,x,k,_=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return _.next=S(0),_.throw=S(1),_.return=S(2),typeof Symbol=="function"&&(_[Symbol.iterator]=function(){return this}),_;function S($){return function(M){return T([$,M])}}function T($){if(v)throw new TypeError("Generator is already executing.");for(;_&&(_=0,$[0]&&(b=0)),b;)try{if(v=1,x&&(k=$[0]&2?x.return:$[0]?x.throw||((k=x.return)&&k.call(x),0):x.next)&&!(k=k.call(x,$[1])).done)return k;switch(x=0,k&&($=[$[0]&2,k.value]),$[0]){case 0:case 1:k=$;break;case 4:return b.label++,{value:$[1],done:!1};case 5:b.label++,x=$[1],$=[0];continue;case 7:$=b.ops.pop(),b.trys.pop();continue;default:if(k=b.trys,!(k=k.length>0&&k[k.length-1])&&($[0]===6||$[0]===2)){b=0;continue}if($[0]===3&&(!k||$[1]>k[0]&&$[1]<k[3])){b.label=$[1];break}if($[0]===6&&b.label<k[1]){b.label=k[1],k=$;break}if(k&&b.label<k[2]){b.label=k[2],b.ops.push($);break}k[2]&&b.ops.pop(),b.trys.pop();continue}$=m.call(h,b)}catch(M){$=[6,M],x=0}finally{v=k=0}if($[0]&5)throw $[1];return{value:$[0]?$[1]:void 0,done:!0}}},r=Jl&&Jl.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(Jl,"__esModule",{value:!0}),Jl.useWebSocket=void 0;var o=u7(),a=S1e(),s=f0(),i=v5n(),l=y5n(),c=r(x5n()),d=Qq(),f=function(h,m,b){m===void 0&&(m=s.DEFAULT_OPTIONS),b===void 0&&(b=!0);var v=(0,o.useState)(null),x=v[0],k=v[1],_=(0,o.useState)({}),S=_[0],T=_[1],$=(0,o.useMemo)(function(){if(!m.disableJson&&x)try{return JSON.parse(x.data)}catch{return s.UNPARSABLE_JSON_OBJECT}return null},[x,m.disableJson]),M=(0,o.useRef)(null),P=(0,o.useRef)(null),D=(0,o.useRef)(function(){}),U=(0,o.useRef)(0),Z=(0,o.useRef)(Date.now()),V=(0,o.useRef)([]),F=(0,o.useRef)(null),ne=(0,o.useRef)(m);ne.current=m;var ae=M.current&&S[M.current]!==void 0?S[M.current]:h!==null&&b===!0?s.ReadyState.CONNECTING:s.ReadyState.UNINSTANTIATED,oe=m.queryParams?JSON.stringify(m.queryParams):null,z=(0,o.useCallback)(function(J,X){var K;if(X===void 0&&(X=!0),s.isEventSourceSupported&&P.current instanceof EventSource){console.warn("Unable to send a message from an eventSource");return}((K=P.current)===null||K===void 0?void 0:K.readyState)===s.ReadyState.OPEN?((0,d.assertIsWebSocket)(P.current,ne.current.skipAssert),P.current.send(J)):X&&V.current.push(J)},[]),se=(0,o.useCallback)(function(J,X){X===void 0&&(X=!0),z(JSON.stringify(J),X)},[z]),G=(0,o.useCallback)(function(){return ne.current.share!==!0||s.isEventSourceSupported&&P.current instanceof EventSource?P.current:(F.current===null&&P.current&&((0,d.assertIsWebSocket)(P.current,ne.current.skipAssert),F.current=(0,c.default)(P.current,D)),F.current)},[]);return(0,o.useEffect)(function(){if(h!==null&&b===!0){var J,X=!1,K=!0,fe=function(){return t(void 0,void 0,void 0,function(){var re,Ae,ue;return n(this,function(Se){switch(Se.label){case 0:return re=M,[4,(0,l.getUrl)(h,ne)];case 1:return re.current=Se.sent(),M.current===null?(console.error("Failed to get a valid URL. WebSocket connection aborted."),M.current="ABORTED",(0,a.flushSync)(function(){return T(function(de){return e(e({},de),{ABORTED:s.ReadyState.CLOSED})})}),[2]):(Ae=function(de){X||(0,a.flushSync)(function(){return k(de)})},ue=function(de){X||(0,a.flushSync)(function(){return T(function(Ce){var pe;return e(e({},Ce),M.current&&(pe={},pe[M.current]=de,pe))})})},K&&(J=(0,i.createOrJoinSocket)(P,M.current,ue,ne,Ae,D,U,Z,z)),[2])}})})};return D.current=function(){X||(F.current&&(F.current=null),J?.(),fe())},fe(),function(){X=!0,K=!1,F.current&&(F.current=null),J?.(),k(null)}}else(h===null||b===!1)&&(U.current=0,T(function(re){var Ae;return e(e({},re),M.current&&(Ae={},Ae[M.current]=s.ReadyState.CLOSED,Ae))}))},[h,b,oe,z]),(0,o.useEffect)(function(){ae===s.ReadyState.OPEN&&V.current.splice(0).forEach(function(J){z(J)})},[ae]),{sendMessage:z,sendJsonMessage:se,lastMessage:x,lastJsonMessage:$,readyState:ae,getWebSocket:G}};return Jl.useWebSocket=f,Jl}var m5={},c1e;function k5n(){if(c1e)return m5;c1e=1;var e=m5&&m5.__assign||function(){return e=Object.assign||function(i){for(var l,c=1,d=arguments.length;c<d;c++){l=arguments[c];for(var f in l)Object.prototype.hasOwnProperty.call(l,f)&&(i[f]=l[f])}return i},e.apply(this,arguments)};Object.defineProperty(m5,"__esModule",{value:!0}),m5.useSocketIO=void 0;var t=u7(),n=qq(),r=f0(),o={type:"empty",payload:null},a=function(i){if(!i||!i.data)return o;var l=i.data.match(/\[.*]/);if(!l)return o;var c=JSON.parse(l);return!Array.isArray(c)||!c[1]?o:{type:c[0],payload:c[1]}},s=function(i,l,c){l===void 0&&(l=r.DEFAULT_OPTIONS),c===void 0&&(c=!0);var d=(0,t.useMemo)(function(){return e(e({},l),{fromSocketIO:!0})},[]),f=(0,n.useWebSocket)(i,d,c),h=f.sendMessage,m=f.sendJsonMessage,b=f.lastMessage,v=f.readyState,x=f.getWebSocket,k=(0,t.useMemo)(function(){return a(b)},[b]);return{sendMessage:h,sendJsonMessage:m,lastMessage:k,lastJsonMessage:k,readyState:v,getWebSocket:x}};return m5.useSocketIO=s,m5}var U0={},u1e;function w5n(){if(u1e)return U0;u1e=1;var e=U0&&U0.__assign||function(){return e=Object.assign||function(s){for(var i,l=1,c=arguments.length;l<c;l++){i=arguments[l];for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(s[d]=i[d])}return s},e.apply(this,arguments)},t=U0&&U0.__rest||function(s,i){var l={};for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&i.indexOf(c)<0&&(l[c]=s[c]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,c=Object.getOwnPropertySymbols(s);d<c.length;d++)i.indexOf(c[d])<0&&Object.prototype.propertyIsEnumerable.call(s,c[d])&&(l[c[d]]=s[c[d]]);return l};Object.defineProperty(U0,"__esModule",{value:!0}),U0.useEventSource=void 0;var n=u7(),r=qq(),o=f0(),a=function(s,i,l){i===void 0&&(i=o.DEFAULT_EVENT_SOURCE_OPTIONS);var c=i.withCredentials,d=i.events,f=t(i,["withCredentials","events"]);l===void 0&&(l=!0);var h=e(e({},f),{eventSourceOptions:{withCredentials:c}}),m=(0,n.useRef)(o.EMPTY_EVENT_HANDLERS);d&&(m.current=d);var b=(0,r.useWebSocket)(s,h,l),v=b.lastMessage,x=b.readyState,k=b.getWebSocket;return(0,n.useEffect)(function(){v?.type&&Object.entries(m.current).forEach(function(_){var S=_[0],T=_[1];S===v.type&&T(v)})},[v]),{lastEvent:v,readyState:x,getEventSource:k}};return U0.useEventSource=a,U0}var d1e;function O5n(){return d1e||(d1e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.resetGlobalState=e.useEventSource=e.ReadyState=e.useSocketIO=e.default=void 0;var t=qq();Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.useWebSocket}});var n=k5n();Object.defineProperty(e,"useSocketIO",{enumerable:!0,get:function(){return n.useSocketIO}});var r=f0();Object.defineProperty(e,"ReadyState",{enumerable:!0,get:function(){return r.ReadyState}});var o=w5n();Object.defineProperty(e,"useEventSource",{enumerable:!0,get:function(){return o.useEventSource}});var a=Qq();Object.defineProperty(e,"resetGlobalState",{enumerable:!0,get:function(){return a.resetGlobalState}})})(tD)),tD}var C5n=O5n();const _5n=t0(C5n),S5n="_container_1cbp0_1",L5n="_content_1cbp0_4",$5n="_flexGrow_1cbp0_7",T5n="_buttonContainer_1cbp0_10",E5n="_select_1cbp0_11",j5n="_borderexBoxPodContainer_1cbp0_14",M5n="_lateralPadding_1cbp0_18",A5n="_top_1cbp0_21",N5n="_bottom_1cbp0_21",P5n="_logsContainer_1cbp0_24",I5n="_logDividerBottom_1cbp0_27",R5n="_logDividerTop_1cbp0_28",vl={container:S5n,content:L5n,flexGrow:$5n,buttonContainer:T5n,select:E5n,borderexBoxPodContainer:j5n,lateralPadding:M5n,top:A5n,bottom:N5n,logsContainer:P5n,logDividerBottom:I5n,logDividerTop:R5n},D5n="_icon_1xzuv_1",B5n="_displayedElements_1xzuv_4",H5n="_log_1xzuv_7",V5n="_logRawContainer_1xzuv_11",F5n="_logRaw_1xzuv_11",U5n="_request_1xzuv_18",z5n="_log10_1xzuv_21",W5n="_text10_1xzuv_24",Z5n="_log20_1xzuv_27",Q5n="_text20_1xzuv_30",q5n="_log30_1xzuv_33",X5n="_text30_1xzuv_36",Y5n="_log40_1xzuv_39",G5n="_text40_1xzuv_42",K5n="_log50_1xzuv_45",J5n="_text50_1xzuv_48",e3n="_text60_1xzuv_49",t3n="_buttonRawJson_1xzuv_53",n3n="_logContainerClassNameInactive_1xzuv_56",r3n="_logContainerClassNameActive_1xzuv_59",o3n="_logContainerClassNameActive10_1xzuv_62",a3n="_logContainerClassNameActive20_1xzuv_65",s3n="_logContainerClassNameActive30_1xzuv_68",i3n="_logContainerClassNameActive40_1xzuv_71",l3n="_logContainerClassNameActive50_1xzuv_74",c3n="_msg_1xzuv_77",u3n="_copyPasteIcon_1xzuv_80",d3n="_textLog_1xzuv_83",Ii={icon:D5n,displayedElements:B5n,log:H5n,logRawContainer:V5n,logRaw:F5n,request:U5n,log10:z5n,text10:W5n,log20:Z5n,text20:Q5n,log30:q5n,text30:X5n,log40:Y5n,text40:G5n,log50:K5n,text50:J5n,text60:e3n,buttonRawJson:t3n,logContainerClassNameInactive:n3n,logContainerClassNameActive:r3n,logContainerClassNameActive10:o3n,logContainerClassNameActive20:a3n,logContainerClassNameActive30:s3n,logContainerClassNameActive40:i3n,logContainerClassNameActive50:l3n,msg:c3n,copyPasteIcon:u3n,textLog:d3n};function f3n({log:e,onClickArrow:t}){const[n,r]=ge.useState(!1),[o,a]=ge.useState($()),{level:s,time:i,pid:l,name:c,msg:d,reqId:f,req:h,hostname:m,responseTime:b,...v}=e,x=_(s);let k=`${Ii.msg} `;k+=Ii[`text${s}`];function _(V){return{10:"TRACE",20:"DEBUG",30:"INFO",40:"WARN",50:"ERROR",60:"FATAL"}[V]||""}const S=`${Ii.log} `+Ii[`log${s}`];ge.useEffect(()=>{a(n?M():$())},[n]);function T(){r(!n),t()}function $(){return`${Ii.logContainerClassNameInactive} ${Ze.desktopOtherCliTerminalSmall} ${Ze.textWhite} `}function M(){return`${Ii.logContainerClassNameActive} ${Ze.desktopOtherCliTerminalSmall} ${Ze.textWhite} `+Ii[`logContainerClassNameActive${s}`]}function P(V){return V.replace(/[{}\n]/g,"").replace('"',"").replace('"',"")}function D(V){return V.replace(/(^{\n|}$)/g,"").replace('"',"").replace('"',"")}function U(){return!(f||h&&Object.keys(h)?.length>0||v&&Object.keys(v)?.length>0)}function Z(){if(!v)return[];let V;const F=[];let ne={};return Object.keys(v).forEach(ae=>{V=v[ae],ne={},ne[ae]=V,typeof V=="object"&&V!==null?F.push(u.jsx("div",{className:`${Ze.desktopOtherCliTerminalSmall} ${Ze.textWhite} ${Ii.textLog}`,children:u.jsx("pre",{children:D(JSON.stringify(ne,null,2))})},ae)):F.push(u.jsx("div",{className:`${Ze.desktopOtherCliTerminalSmall} ${Ze.textWhite} ${Ii.textLog}`,children:u.jsx("pre",{children:P(JSON.stringify(ne,null,2))})},ae))}),F}return u.jsxs("div",{className:o,children:[u.jsxs("div",{className:S,children:[u.jsx(U2,{iconName:n?"ArrowDownIcon":"ArrowRightIcon",color:vn,size:Oe,onClick:()=>T(),disabled:U()}),u.jsx("span",{children:kqe(i)}),u.jsx("span",{className:Ii[`text${s}`],children:x}),u.jsx("span",{children:"-"}),u.jsx("span",{children:c}),f&&u.jsxs(u.Fragment,{children:[u.jsx("span",{children:"-"}),u.jsxs("span",{children:['"..',f.substr(-4),'"']})]}),h&&u.jsxs(u.Fragment,{children:[u.jsx("span",{children:"-"}),u.jsxs("span",{className:Ii.request,children:[h.method," ",h.url," "]})]}),u.jsx("span",{className:k,children:d})]}),n&&u.jsxs(u.Fragment,{children:[u.jsx("div",{className:Ii.copyPasteIcon,children:u.jsx(SPe,{value:e,tooltipLabel:"Log copied!",color:vn,size:Oe,tooltipClassName:LU.tooltipDarkStyle,position:gD})}),u.jsxs("div",{className:Ii.displayedElements,children:[u.jsx("div",{className:`${Ze.desktopOtherCliTerminalSmall} ${Ze.textWhite} ${Ii.textLog}`,children:u.jsx("pre",{children:P(JSON.stringify({reqId:f},null,2))})},"reqId"),h&&u.jsx("div",{className:`${Ze.desktopOtherCliTerminalSmall} ${Ze.textWhite} ${Ii.textLog}`,children:u.jsx("pre",{children:D(JSON.stringify({req:h},null,2))})},"req"),Z()]})]})]})}const p3n="_container_wbrpe_1",h3n="_content_wbrpe_4",m3n="_buttonLevel_wbrpe_7",g3n="_point_wbrpe_11",b3n="_line_wbrpe_15",v3n="_tracePoint_wbrpe_19",y3n="_debugPoint_wbrpe_22",x3n="_infoPoint_wbrpe_25",k3n="_warnPoint_wbrpe_28",w3n="_errorPoint_wbrpe_31",O3n="_inactivePoint_wbrpe_34",C3n="_selectedPoint_wbrpe_37",_3n="_progressContainer_wbrpe_41",S3n="_progress_wbrpe_41",L3n="_bar_wbrpe_54",$3n="_percent_wbrpe_59",ts={container:p3n,content:h3n,buttonLevel:m3n,point:g3n,line:b3n,tracePoint:v3n,debugPoint:y3n,infoPoint:x3n,warnPoint:k3n,errorPoint:w3n,inactivePoint:O3n,selectedPoint:C3n,progressContainer:_3n,progress:S3n,bar:L3n,percent:$3n};function T3n({level:e=10,levelName:t="",levelSelected:n=10,onClickLevel:r=()=>{}}){const[o,a]=ge.useState(!1),[s,i]=ge.useState(ts.point+" "+ts[`${t}Point`]),[l,c]=ge.useState(`${ts.buttonLevel} ${Ze.desktopBodySmall} ${Ze.textWhite}`);return ge.useEffect(()=>{n>e&&(o?(i(ts.point+" "+ts[`${t}Point`]),c(`${ts.buttonLevel} ${Ze.desktopBodySmall} ${Ze.textWhite}`)):(i(ts.point+" "+ts[`${t}Point`]+" "+ts.inactivePoint),c(`${ts.buttonLevel} ${Ze.desktopBodySmall} ${Ze.textWhite} ${Ze.opacity70}`))),i(n===e?ts.point+" "+ts[`${t}Point`]+" "+ts.selectedPoint:ts.point+" "+ts[`${t}Point`])},[n,o]),u.jsxs("div",{className:l,onClick:r,onMouseOver:()=>a(!0),onMouseLeave:()=>a(!1),children:[t,u.jsx("div",{className:s})]},e)}function E3n({defaultLevelSelected:e=10,onChangeLevelSelected:t=()=>{}}){const n={50:"ERROR",40:"WARN",30:"INFO",20:"DEBUG",10:"TRACE"},r=[50,40,30,20,10],o={50:"0%",40:"calc(25% - 4px)",30:"calc(50% - 4px)",20:"calc(75% - 4px)",10:"calc(100% - 4px)"},[a,s]=ge.useState(o[e]),[i,l]=ge.useState(e);function c(d){l(d),s(o[d]),t(d)}return u.jsxs("div",{className:ts.container,children:[r.map(d=>u.jsx(T3n,{levelSelected:i,level:d,levelName:n[d].toLowerCase(),onClickLevel:()=>c(d)},d)),u.jsx("div",{className:ts.progressContainer,children:u.jsx("div",{className:ts.progress,children:u.jsx("div",{className:ts.bar,style:{width:`${a}`},children:u.jsx("p",{className:ts.percent})})})})]})}const j3n=({filteredServices:e})=>{const{runtimePid:t}=Nc(),[n,r]=ge.useState($O),[o,a]=ge.useState(!0),[s,i]=ge.useState(""),[l,c]=ge.useState(r4),[d,f]=ge.useState([]),[h,m]=ge.useState([]),[b,v]=ge.useState(!1),x=ge.useRef(null),[k,_]=ge.useState(0),[S,T]=ge.useState(!1),[$,M]=ge.useState(0),[P,D]=ge.useState(void 0),Z=`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/api/runtimes/${t}/logs/ws`;_5n(Z,{onOpen:()=>{a(!1),D(void 0)},onMessage:z=>{try{let se;try{se=JSON.parse(z.data)}catch{se={level:30,time:new Date().toISOString(),name:"unknown",msg:z.data}}f(G=>{const J=[...G,se];return J.length>=100&&J.shift(),J})}catch(se){D(se)}},onError:z=>{D(z),a(!1)},shouldReconnect:()=>typeof t!="number",reconnectAttempts:5,reconnectInterval:2e3}),ge.useEffect(()=>{x.current&&l===r4&&h.length>0&&x.current.scrollTo({top:x.current.scrollHeight,left:0,behavior:"smooth"}),l!==r4&&M(h.length)},[x,l,h]),ge.useEffect(()=>{if(d.length>0){if(!b){i(30),v(!0);return}if(s||e.length>0){let z=[...d];s&&(z=z.filter(se=>se.level>=s)),e.length>0&&(z=z.filter(se=>e.includes(se.name))),m(z)}else m([...d])}},[d,b,s,e]),ge.useEffect(()=>{l!==r4&&$>0&&$<h.length&&T(!0)},[l,h.length,$]),ge.useEffect(()=>{f([]),m([]),a(!0)},[t]);function V(){c(r4),T(!1),M(0)}function F(){let z="";d.forEach(X=>{z+=`${JSON.stringify(X,null,2)}
2912
- `});const se=new Blob([z],{type:"text/plain"}),G=URL.createObjectURL(se),J=document.createElement("a");J.download=`${new Date().toISOString()}.logs`,J.href=G,J.target="_blank",J.click()}function ne(){c(mQe),M(h.length)}function ae(){return n===$O?h.map((z,se)=>u.jsx(f3n,{log:z,onClickArrow:()=>ne()},se)):u.jsx("span",{className:`${Ze.desktopOtherCliTerminalSmall} ${Ze.textWhite}`,children:JSON.stringify(h)})}function oe(z){const se=z.currentTarget.scrollTop;se>k?l!==r4&&c(hQe):se<k&&c(gQe),_(se<=0?0:se)}return P?u.jsx(vh,{error:P,onClickDismiss:()=>D(void 0)}):o?u.jsx(uU,{loading:!0,applySentences:{containerClassName:`${Qe.mediumFlexBlock} ${Qe.itemsCenter}`,sentences:[]},containerClassName:SU.loadingSpinner,spinnerProps:{size:40,thickness:3}}):u.jsx("div",{className:vl.container,children:u.jsx("div",{className:vl.content,children:u.jsx("div",{className:`${Qe.largeFlexBlock} ${Qe.fullWidth} ${vl.flexGrow}`,children:u.jsxs(wc,{classes:vl.borderexBoxPodContainer,backgroundColor:pu,color:qo,children:[u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.itemsCenter} ${Qe.justifyBetween} ${vl.lateralPadding} ${vl.top}`,children:[u.jsx("span",{className:vl.select,children:" "}),u.jsx(E3n,{defaultLevelSelected:30,onChangeLevelSelected:z=>i(z)}),u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.justifyEnd} ${vl.buttonContainer}`,children:[u.jsx(Od,{type:"button",paddingClass:Qe.smallButtonPadding,label:"Pretty",onClick:()=>r($O),color:vn,backgroundColor:pu,selected:n===$O,textClass:Ze.desktopButtonSmall}),u.jsx(Od,{type:"button",paddingClass:Qe.smallButtonPadding,label:"Raw",onClick:()=>r(See),color:vn,backgroundColor:qo,selected:n===See,textClass:Ze.desktopButtonSmall})]})]}),u.jsx(IS,{marginBottom:e8,color:vn,opacity:t8}),u.jsxs("div",{className:`${vl.logsContainer} ${vl.lateralPadding}`,ref:x,onScroll:oe,children:[h?.length>0&&u.jsxs(u.Fragment,{children:[u.jsx("hr",{className:vl.logDividerTop}),ae()]}),u.jsx("div",{className:vl.logDividerBottom})]}),u.jsx(IS,{marginTop:e8,color:vn,opacity:t8}),u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.itemsCenter} ${Qe.justifyBetween} ${vl.lateralPadding} ${vl.bottom}`,children:[u.jsx("div",{children:" "}),S?u.jsxs("p",{className:`${Ze.desktopBodySmall} ${Ze.textWhite}`,children:["There are new logs. ",u.jsx("span",{className:`${Qe.cursorPointer} ${Ze.textTertiaryBlue}`,onClick:()=>V(),children:"Go to the bottom"})," to resume"]}):u.jsx("p",{className:`${Ze.desktopBodySmall} ${Ze.textRichBlack}`,children:"There are new logs. Go to the bottom to resume"}),u.jsx(Od,{type:"button",paddingClass:Qe.smallButtonPadding,label:"Save Logs",onClick:()=>F(),color:vn,backgroundColor:qo,textClass:Ze.desktopButtonSmall})]})]})})})})},M3n="_boxService_nb41f_1",A3n="_servicesContainer_nb41f_4",N3n="_selectedThread_nb41f_7",P3n="_workerThreads_nb41f_10",K6={boxService:M3n,servicesContainer:A3n,selectedThread:N3n,workerThreads:P3n};function I3n({id:e,entrypoint:t,isSelected:n,onChangeService:r=()=>{}}){const[o]=ge.useState(n);return u.jsx(wc,{classes:K6.boxService,color:qo,backgroundColor:o?vn:pu,backgroundColorOpacity:o?Rv:n8,internalOverHandling:!0,backgroundColorOpacityOver:t8,backgroundColorOver:vn,children:u.jsx("div",{className:`${Qe.miniFlexBlock} ${Qe.fullWidth}`,children:u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.fullWidth} ${Qe.justifyBetween}`,children:[u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.fullWidth}`,children:[u.jsx(TPe,{onChange:r,color:vn,checked:n,size:Oe}),u.jsx("span",{className:`${Ze.desktopBodySmall} ${Ze.textWhite}`,children:e}),t&&u.jsx("span",{className:`${Ze.desktopBodySmallest} ${Ze.textWhite} ${Ze.opacity70}`,children:"(Entrypoint)"})]}),u.jsx(Is.InternalLinkIcon,{color:vn,size:Oe,addImportantToColor:!0})]})})})}function R3n({services:e,handleChangeService:t=()=>{},selectAllServices:n=!0,handleChangeAllServices:r=()=>{}}){return u.jsxs("div",{className:`${Qe.smallFlexBlock} ${Qe.fullWidth} ${K6.servicesContainer}`,children:[e.length>1&&u.jsx(Y1e.ToggleSwitch,{label:"Select all services",labelClassName:`${Ze.desktopBodySmall} ${Ze.textWhite}`,name:"selectAllServices",onChange:()=>r(),checked:n,size:Oe}),u.jsx("div",{className:`${Qe.tinyFlexBlock} ${Qe.fullWidth}`,children:e.map(o=>u.jsx(I3n,{...o,isSelected:ib(o),onChangeService:()=>t(o)},o.id))})]})}const D3n=()=>{const{setCurrentPage:e,runtimePid:t,mode:n}=Nc(),[r,o]=ge.useState(void 0),[a,s]=ge.useState(!0),[i,l]=ge.useState(vn),[c,d]=ge.useState([]);ge.useEffect(()=>{e(nL)},[]),ge.useEffect(()=>{l(vn)},[]),ge.useEffect(()=>{(async()=>{try{if(t){const b=await jU(t,n);d(b.map(v=>({...v,selected:!0}))),o(void 0)}}catch(b){o(b)}})()},[t,n]);function f(m){const b=c.map(v=>m.id===v.id?{...v,selected:!ib(v)}:{...v});a&&b.find(v=>!ib(v))!==void 0&&s(!1),!a&&b.filter(ib).length===b.length&&s(!0),d(b)}function h(){s(!a),d(c.map(m=>({...m,selected:!a})))}return r?u.jsx(vh,{error:r,onClickDismiss:()=>o(void 0)}):u.jsx("div",{className:eD.detailPodContainer,children:u.jsxs("div",{className:eD.detailPodContent,children:[u.jsx("div",{className:`${Qe.miniFlexBlock} ${Qe.fullWidth}`,children:u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.fullWidth}`,children:[u.jsx(Is.CLIIcon,{color:i,size:q}),u.jsx("p",{className:`${Ze.desktopBodyLargeSemibold} ${Ze.textWhite} `,children:"Logs"})]})}),u.jsx(wc,{color:qo,backgroundColor:Tx,classes:eD.borderedBoxContainerPodLogs,children:u.jsxs("div",{className:`${Qe.smallFlexRow} ${Qe.itemsStart}`,children:[u.jsx(R3n,{services:c,handleChangeService:f,selectAllServices:a,handleChangeAllServices:()=>h()}),u.jsx(j3n,{filteredServices:c.filter(ib).map(m=>m.id)})]})})]})})},B3n="_podServicesContainer_1gi78_1",H3n="_podServicesContent_1gi78_5",V3n="_borderedBoxContainerPodServices_1gi78_8",sD={podServicesContainer:B3n,podServicesContent:H3n,borderedBoxContainerPodServices:V3n},sCe=e=>e==="all"?"All Threads":`Thread-${e}`,HF=e=>e?e>1:!1;function F3n({service:e,isSelected:t,onClickService:n,selectedThread:r="all",onSelectThread:o}){const[a]=ge.useState(t),s=rL(e),i=HF(rL(e)),l=()=>{const c=[];if(i)for(let d=0;d<=s;d++){const f=d===0?"all":d;c.push(u.jsx("div",{className:`${Qe.fullWidth} ${Qe.justifyBetween} ${K6.workerThreads} ${Ze.opacity70} ${r===f&&K6.selectedThread}`,onClick:h=>{h.stopPropagation(),o(f)},children:sCe(f)},f))}return c};return u.jsx(wc,{classes:K6.boxService,color:qo,backgroundColor:a&&!i?vn:pu,backgroundColorOpacity:a&&!i?Rv:n8,internalOverHandling:!0,backgroundColorOpacityOver:(!a||!i)&&t8,backgroundColorOver:(!a||!i)&&vn,clickable:!0,onClick:()=>n(),children:u.jsxs("div",{className:`${Qe.miniFlexBlock} ${Qe.fullWidth}`,children:[u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.fullWidth} ${Qe.justifyBetween}`,children:[u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.fullWidth}`,children:[u.jsx("span",{className:`${Ze.desktopBodySmall} ${Ze.textWhite}`,children:e.id}),ZD(e)&&u.jsx("span",{className:`${Ze.desktopBodySmallest} ${Ze.textWhite} ${Ze.opacity70}`,children:"(Entrypoint)"})]}),i&&(a?u.jsx("span",{children:u.jsx(Is.ArrowDownIcon,{color:vn,size:Oe})}):u.jsx("span",{className:`${Ze.opacity70}`,children:u.jsx(Is.ArrowRightIcon,{color:vn,size:Oe})}))]}),i&&a&&u.jsx("div",{className:`${Qe.fullWidth}`,children:l()})]})})}function U3n({services:e,handleClickService:t,handleClickThread:n,showAggregatedMetrics:r=!0,handleChangeShowAggregateMetrics:o,serviceSelected:a}){const[s,i]=ge.useState("all"),l=c=>{i(c),n(c)};return u.jsxs("div",{className:`${Qe.smallFlexBlock} ${Qe.fullWidth} ${K6.servicesContainer}`,children:[e.length>1&&u.jsx(Y1e.ToggleSwitch,{label:"Show Aggregated Metrics",labelClassName:`${Ze.desktopBodySmall} ${Ze.textWhite}`,name:"showAggregatedMetrics",onChange:()=>o(),checked:r,size:Oe}),u.jsx("div",{className:`${Qe.tinyFlexBlock} ${Qe.fullWidth}`,children:e.map(c=>{const d=a.id===c.id;return u.jsx(F3n,{service:c,isSelected:d,onClickService:()=>t(c),selectedThread:d?s:"all",onSelectThread:f=>l(f)},`${c.id}-$${c.selected}`)})})]})}const z3n="_container_1lg3r_1",W3n="_content_1lg3r_4",Z3n="_boxMetricContainer_1lg3r_7",Q3n="_flexGrow_1lg3r_10",J9={container:z3n,content:W3n,boxMetricContainer:Z3n,flexGrow:Q3n},q3n={dataMem:YOe,dataCpu:GOe,dataReq:KOe,dataKafka:JOe,dataWebsocket:eCe,dataUndici:tCe,dataLatency:Uq,dataNodejs:nCe};function X3n({threadIndex:e,service:{id:t},services:n,showAggregatedMetrics:r}){const o=e?sCe(e):"",[a,s]=ge.useState(void 0),[i,l]=ge.useState(!0),[c,d]=ge.useState(DF()),[f,h]=ge.useState(DF()),{runtimePid:m,mode:b}=Nc(),v=async()=>{try{if(t&&m){const x=e&&e!=="all"?OXe(m,t,e-1,b):wXe(m,t,b),[k,_]=await Promise.all([h0e(m,b),x]);h(k),d(_),s(void 0)}}catch(x){s(x)}finally{l(!1)}};return XOe(()=>{v()},Rde),ge.useEffect(()=>{v()},[t,r,e,b]),a?u.jsx(vh,{error:a,onClickDismiss:()=>s(void 0)}):u.jsx("div",{className:`${J9.container} ${J9.content} ${Qe.smallFlexBlock} ${Qe.fullWidth} ${J9.flexGrow}`,children:Dde.map(x=>(x!=="dataKafka"||x==="dataKafka"&&QQe(n))&&u.jsxs("div",{className:`${Qe.tinyFlexBlock} ${Qe.fullWidth}`,children:[u.jsxs("div",{className:`${Qe.smallFlexRow} ${Qe.fullWidth}`,children:[u.jsx(wc,{color:qo,backgroundColor:pu,classes:J9.boxMetricContainer,children:u.jsx(BF,{title:`${t} ${oc[x].title}`,unit:`(${oc[x].unit})`,metricURL:oc[x].type,dataValues:c[x],initialLoading:i,chartTooltipPosition:Xb,options:oc[x].options,showLegend:!1,timeline:!0,slimCss:!0,threadName:o})}),r&&u.jsx(wc,{color:qo,backgroundColor:pu,classes:J9.boxMetricContainer,children:u.jsx(BF,{title:`Entrypoint ${oc[x].title}`,unit:`(${oc[x].unit})`,metricURL:oc[x].type,dataValues:f[x],initialLoading:i,chartTooltipPosition:Xb,options:oc[x].options,showLegend:!1,timeline:!0,slimCss:!0})})]}),oCe(ZQe(oc[x].options),q3n[x])]},x))})}const Y3n=()=>{const{setCurrentPage:e,runtimePid:t,mode:n}=Nc(),[r,o]=ge.useState(void 0),[a,s]=ge.useState(!0),[i,l]=ge.useState([]),[c,d]=ge.useState({id:"",status:""}),[f,h]=ge.useState();return ge.useEffect(()=>{e(tL)},[]),ge.useEffect(()=>{(async()=>{try{if(t){const b=await jU(t,n);l(b),d(b[0]),o(void 0)}}catch(b){o(b)}})()},[t,n]),r?u.jsx(vh,{error:r,onClickDismiss:()=>o(void 0)}):u.jsx("div",{className:sD.podServicesContainer,children:u.jsxs("div",{className:sD.podServicesContent,children:[u.jsx("div",{className:`${Qe.miniFlexBlock} ${Qe.fullWidth}`,children:u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.fullWidth}`,children:[u.jsx(Is.NodeJSMetricsIcon,{color:vn,size:q}),u.jsx("p",{className:`${Ze.desktopBodyLargeSemibold} ${Ze.textWhite} `,children:"Metrics"})]})}),u.jsx(wc,{color:qo,backgroundColor:Tx,classes:sD.borderedBoxContainerPodServices,children:u.jsxs("div",{className:`${Qe.smallFlexRow} ${Qe.itemsStart}`,children:[u.jsx(U3n,{services:i,serviceSelected:c,handleClickService:m=>{d(m),HF(rL(m))?h("all"):h(void 0)},handleClickThread:m=>{HF(rL(c))?h(m):h(void 0)},showAggregatedMetrics:a,handleChangeShowAggregateMetrics:()=>s(!a)},c.id),u.jsx(X3n,{threadIndex:f,service:c,services:i,showAggregatedMetrics:a})]})})]})})},G3n=()=>{const{setCurrentPage:e}=Nc(),[t,n]=ge.useState();return ge.useEffect(()=>{e(eL)},[]),ge.useEffect(()=>{(async()=>{n(await p0e())})()},[]),t&&u.jsx(vXe,{profile:t,showHottestFrames:!0,showControls:!0,showStackDetails:!0})};function K3n(){const e=Nc(),{setCurrentWindowWidth:t}=e,[n,r]=ge.useState(!1),[o,a]=ge.useState(!1),{ErrorBoundary:s,error:i}=wQe({onDidCatch:c=>{a(!0),console.error(c)}});ge.useEffect(()=>{async function c(){r(!1)}c()},[]),ge.useEffect(()=>{t(window.innerWidth);const c=()=>{t(window.innerWidth)};return window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)}},[]);function l(){a(!1)}return n?u.jsx(uU,{loading:!0,applySentences:{containerClassName:`${Qe.mediumFlexBlock} ${Qe.itemsCenter}`,sentences:[{style:`${Ze.desktopBodySmall} ${Ze.textWhite}`,text:"Loading ..."}]},containerClassName:SU.loadingSpinner,spinnerProps:{size:40,thickness:3}}):o&&i?u.jsx(vh,{error:i,onClickDismiss:()=>l()}):u.jsx(s,{children:u.jsx(MTe,{children:u.jsxs(cTe,{children:[u.jsx(tb,{path:C2,element:u.jsx(jO,{children:u.jsx(AO,{children:u.jsx(f5n,{})})})}),u.jsx(tb,{path:eL,element:u.jsx(jO,{children:u.jsx(AO,{children:u.jsx(G3n,{})})})}),u.jsx(tb,{path:tL,element:u.jsx(jO,{children:u.jsx(AO,{children:u.jsx(Y3n,{})})})}),u.jsx(tb,{path:nL,element:u.jsx(jO,{children:u.jsx(AO,{children:u.jsx(D3n,{})})})})]})})})}const iCe=document.getElementById("root");if(!iCe)throw new Error("Failed to find the root element");y$e.createRoot(iCe).render(u.jsx(K3n,{}));const J3n={parse(e){try{return{error:!1,data:JSON.parse(e)}}catch(t){return{error:!0,message:t.message?String(t.message):"Unknown Error"}}}},emn=["aria-pressed"],tmn={class:"sr-only"},nmn={class:"size-4",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},rmn={"clip-path":"url(#mask)"},omn=le({__name:"SidebarToggle",setup(e){const{isSidebarOpen:t,toggleSidebarOpen:n}=Ih();return(r,o)=>(C(),A("button",{"aria-pressed":O(t),class:"scalar-sidebar-toggle text-c-3 hover:bg-b-2 active:text-c-1 rounded-lg p-2",type:"button",onClick:o[0]||(o[0]=(...a)=>O(n)&&O(n)(...a))},[L("span",tmn,Te(O(t)?"Hide":"Show")+" sidebar",1),(C(),A("svg",nmn,[o[1]||(o[1]=L("defs",null,[L("clipPath",{id:"mask"},[L("path",{"clip-rule":"evenodd",d:"M9 3.2H4c-1.7 0-3 1.3-3 3v11.5c0 1.7 1.3 3 3 3h5V3.2z"})])],-1)),L("g",rmn,[L("path",{class:Ie(["transition-transform duration-300",O(t)?"translate-x-0":"-translate-x-1/2"]),d:"M1 3.2h8v17.5H1z",fill:"currentColor"},null,2)]),o[2]||(o[2]=L("path",{d:"M20 20.8H4c-1.7 0-3-1.3-3-3V6.2c0-1.7 1.3-3 3-3h16c1.7 0 3 1.3 3 3v11.5c0 1.7-1.3 3-3 3zM9 3.2v17.5",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},null,-1))]))],8,emn))}});var Tr;(function(e){e.assertEqual=o=>o;function t(o){}e.assertIs=t;function n(o){throw new Error}e.assertNever=n,e.arrayToEnum=o=>{const a={};for(const s of o)a[s]=s;return a},e.getValidEnumValues=o=>{const a=e.objectKeys(o).filter(i=>typeof o[o[i]]!="number"),s={};for(const i of a)s[i]=o[i];return e.objectValues(s)},e.objectValues=o=>e.objectKeys(o).map(function(a){return o[a]}),e.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const a=[];for(const s in o)Object.prototype.hasOwnProperty.call(o,s)&&a.push(s);return a},e.find=(o,a)=>{for(const s of o)if(a(s))return s},e.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function r(o,a=" | "){return o.map(s=>typeof s=="string"?`'${s}'`:s).join(a)}e.joinValues=r,e.jsonStringifyReplacer=(o,a)=>typeof a=="bigint"?a.toString():a})(Tr||(Tr={}));var VF;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(VF||(VF={}));const Ft=Tr.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),d2=e=>{switch(typeof e){case"undefined":return Ft.undefined;case"string":return Ft.string;case"number":return isNaN(e)?Ft.nan:Ft.number;case"boolean":return Ft.boolean;case"function":return Ft.function;case"bigint":return Ft.bigint;case"symbol":return Ft.symbol;case"object":return Array.isArray(e)?Ft.array:e===null?Ft.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Ft.promise:typeof Map<"u"&&e instanceof Map?Ft.map:typeof Set<"u"&&e instanceof Set?Ft.set:typeof Date<"u"&&e instanceof Date?Ft.date:Ft.object;default:return Ft.unknown}},bt=Tr.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),amn=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class kc extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(a){return a.message},r={_errors:[]},o=a=>{for(const s of a.issues)if(s.code==="invalid_union")s.unionErrors.map(o);else if(s.code==="invalid_return_type")o(s.returnTypeError);else if(s.code==="invalid_arguments")o(s.argumentsError);else if(s.path.length===0)r._errors.push(n(s));else{let i=r,l=0;for(;l<s.path.length;){const c=s.path[l];l===s.path.length-1?(i[c]=i[c]||{_errors:[]},i[c]._errors.push(n(s))):i[c]=i[c]||{_errors:[]},i=i[c],l++}}};return o(this),r}static assert(t){if(!(t instanceof kc))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Tr.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const o of this.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(t(o))):r.push(t(o));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}kc.create=e=>new kc(e);const i7=(e,t)=>{let n;switch(e.code){case bt.invalid_type:e.received===Ft.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case bt.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Tr.jsonStringifyReplacer)}`;break;case bt.unrecognized_keys:n=`Unrecognized key(s) in object: ${Tr.joinValues(e.keys,", ")}`;break;case bt.invalid_union:n="Invalid input";break;case bt.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Tr.joinValues(e.options)}`;break;case bt.invalid_enum_value:n=`Invalid enum value. Expected ${Tr.joinValues(e.options)}, received '${e.received}'`;break;case bt.invalid_arguments:n="Invalid function arguments";break;case bt.invalid_return_type:n="Invalid function return type";break;case bt.invalid_date:n="Invalid date";break;case bt.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Tr.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case bt.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case bt.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case bt.custom:n="Invalid input";break;case bt.invalid_intersection_types:n="Intersection results could not be merged";break;case bt.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case bt.not_finite:n="Number must be finite";break;default:n=t.defaultError,Tr.assertNever(e)}return{message:n}};let lCe=i7;function smn(e){lCe=e}function pT(){return lCe}const hT=e=>{const{data:t,path:n,errorMaps:r,issueData:o}=e,a=[...n,...o.path||[]],s={...o,path:a};if(o.message!==void 0)return{...o,path:a,message:o.message};let i="";const l=r.filter(c=>!!c).slice().reverse();for(const c of l)i=c(s,{data:t,defaultError:i}).message;return{...o,path:a,message:i}},imn=[];function It(e,t){const n=pT(),r=hT({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===i7?void 0:i7].filter(o=>!!o)});e.common.issues.push(r)}class Si{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const o of n){if(o.status==="aborted")return jn;o.status==="dirty"&&t.dirty(),r.push(o.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const o of n){const a=await o.key,s=await o.value;r.push({key:a,value:s})}return Si.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const o of n){const{key:a,value:s}=o;if(a.status==="aborted"||s.status==="aborted")return jn;a.status==="dirty"&&t.dirty(),s.status==="dirty"&&t.dirty(),a.value!=="__proto__"&&(typeof s.value<"u"||o.alwaysSet)&&(r[a.value]=s.value)}return{status:t.value,value:r}}}const jn=Object.freeze({status:"aborted"}),x6=e=>({status:"dirty",value:e}),nl=e=>({status:"valid",value:e}),FF=e=>e.status==="aborted",UF=e=>e.status==="dirty",P3=e=>e.status==="valid",fx=e=>typeof Promise<"u"&&e instanceof Promise;function mT(e,t,n,r){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function cCe(e,t,n,r,o){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,n),n}var sn;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(sn||(sn={}));var Ub,zb;class Jd{constructor(t,n,r,o){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const f1e=(e,t)=>{if(P3(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new kc(e.common.issues);return this._error=n,this._error}}};function Xn(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:o}:{errorMap:(s,i)=>{var l,c;const{message:d}=e;return s.code==="invalid_enum_value"?{message:d??i.defaultError}:typeof i.data>"u"?{message:(l=d??r)!==null&&l!==void 0?l:i.defaultError}:s.code!=="invalid_type"?{message:i.defaultError}:{message:(c=d??n)!==null&&c!==void 0?c:i.defaultError}},description:o}}class or{get description(){return this._def.description}_getType(t){return d2(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:d2(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Si,ctx:{common:t.parent.common,data:t.data,parsedType:d2(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(fx(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const o={common:{issues:[],async:(r=n?.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:d2(t)},a=this._parseSync({data:t,path:o.path,parent:o});return f1e(o,a)}"~validate"(t){var n,r;const o={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:d2(t)};if(!this["~standard"].async)try{const a=this._parseSync({data:t,path:[],parent:o});return P3(a)?{value:a.value}:{issues:o.common.issues}}catch(a){!((r=(n=a?.message)===null||n===void 0?void 0:n.toLowerCase())===null||r===void 0)&&r.includes("encountered")&&(this["~standard"].async=!0),o.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:o}).then(a=>P3(a)?{value:a.value}:{issues:o.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:d2(t)},o=this._parse({data:t,path:r.path,parent:r}),a=await(fx(o)?o:Promise.resolve(o));return f1e(r,a)}refine(t,n){const r=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,a)=>{const s=t(o),i=()=>a.addIssue({code:bt.custom,...r(o)});return typeof Promise<"u"&&s instanceof Promise?s.then(l=>l?!0:(i(),!1)):s?!0:(i(),!1)})}refinement(t,n){return this._refinement((r,o)=>t(r)?!0:(o.addIssue(typeof n=="function"?n(r,o):n),!1))}_refinement(t){return new Iu({schema:this,typeName:_n.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return Dd.create(this,this._def)}nullable(){return gh.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ku.create(this)}promise(){return c7.create(this,this._def)}or(t){return gx.create([this,t],this._def)}and(t){return bx.create(this,t,this._def)}transform(t){return new Iu({...Xn(this._def),schema:this,typeName:_n.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new wx({...Xn(this._def),innerType:this,defaultValue:n,typeName:_n.ZodDefault})}brand(){return new Xq({typeName:_n.ZodBranded,type:this,...Xn(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new Ox({...Xn(this._def),innerType:this,catchValue:n,typeName:_n.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Gk.create(this,t)}readonly(){return Cx.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const lmn=/^c[^\s-]{8,}$/i,cmn=/^[0-9a-z]+$/,umn=/^[0-9A-HJKMNP-TV-Z]{26}$/i,dmn=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,fmn=/^[a-z0-9_-]{21}$/i,pmn=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,hmn=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,mmn=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,gmn="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let iD;const bmn=/^(?:(?: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])$/,vmn=/^(?:(?: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])\/(3[0-2]|[12]?[0-9])$/,ymn=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,xmn=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,kmn=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,wmn=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,uCe="((\\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])))",Omn=new RegExp(`^${uCe}$`);function dCe(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function Cmn(e){return new RegExp(`^${dCe(e)}$`)}function fCe(e){let t=`${uCe}T${dCe(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function _mn(e,t){return!!((t==="v4"||!t)&&bmn.test(e)||(t==="v6"||!t)&&ymn.test(e))}function Smn(e,t){if(!pmn.test(e))return!1;try{const[n]=e.split("."),r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),o=JSON.parse(atob(r));return!(typeof o!="object"||o===null||!o.typ||!o.alg||t&&o.alg!==t)}catch{return!1}}function Lmn(e,t){return!!((t==="v4"||!t)&&vmn.test(e)||(t==="v6"||!t)&&xmn.test(e))}class fu extends or{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Ft.string){const a=this._getOrReturnCtx(t);return It(a,{code:bt.invalid_type,expected:Ft.string,received:a.parsedType}),jn}const r=new Si;let o;for(const a of this._def.checks)if(a.kind==="min")t.data.length<a.value&&(o=this._getOrReturnCtx(t,o),It(o,{code:bt.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="max")t.data.length>a.value&&(o=this._getOrReturnCtx(t,o),It(o,{code:bt.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="length"){const s=t.data.length>a.value,i=t.data.length<a.value;(s||i)&&(o=this._getOrReturnCtx(t,o),s?It(o,{code:bt.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):i&&It(o,{code:bt.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),r.dirty())}else if(a.kind==="email")mmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"email",code:bt.invalid_string,message:a.message}),r.dirty());else if(a.kind==="emoji")iD||(iD=new RegExp(gmn,"u")),iD.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"emoji",code:bt.invalid_string,message:a.message}),r.dirty());else if(a.kind==="uuid")dmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"uuid",code:bt.invalid_string,message:a.message}),r.dirty());else if(a.kind==="nanoid")fmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"nanoid",code:bt.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid")lmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"cuid",code:bt.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid2")cmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"cuid2",code:bt.invalid_string,message:a.message}),r.dirty());else if(a.kind==="ulid")umn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"ulid",code:bt.invalid_string,message:a.message}),r.dirty());else if(a.kind==="url")try{new URL(t.data)}catch{o=this._getOrReturnCtx(t,o),It(o,{validation:"url",code:bt.invalid_string,message:a.message}),r.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"regex",code:bt.invalid_string,message:a.message}),r.dirty())):a.kind==="trim"?t.data=t.data.trim():a.kind==="includes"?t.data.includes(a.value,a.position)||(o=this._getOrReturnCtx(t,o),It(o,{code:bt.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),r.dirty()):a.kind==="toLowerCase"?t.data=t.data.toLowerCase():a.kind==="toUpperCase"?t.data=t.data.toUpperCase():a.kind==="startsWith"?t.data.startsWith(a.value)||(o=this._getOrReturnCtx(t,o),It(o,{code:bt.invalid_string,validation:{startsWith:a.value},message:a.message}),r.dirty()):a.kind==="endsWith"?t.data.endsWith(a.value)||(o=this._getOrReturnCtx(t,o),It(o,{code:bt.invalid_string,validation:{endsWith:a.value},message:a.message}),r.dirty()):a.kind==="datetime"?fCe(a).test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{code:bt.invalid_string,validation:"datetime",message:a.message}),r.dirty()):a.kind==="date"?Omn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{code:bt.invalid_string,validation:"date",message:a.message}),r.dirty()):a.kind==="time"?Cmn(a).test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{code:bt.invalid_string,validation:"time",message:a.message}),r.dirty()):a.kind==="duration"?hmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"duration",code:bt.invalid_string,message:a.message}),r.dirty()):a.kind==="ip"?_mn(t.data,a.version)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"ip",code:bt.invalid_string,message:a.message}),r.dirty()):a.kind==="jwt"?Smn(t.data,a.alg)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"jwt",code:bt.invalid_string,message:a.message}),r.dirty()):a.kind==="cidr"?Lmn(t.data,a.version)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"cidr",code:bt.invalid_string,message:a.message}),r.dirty()):a.kind==="base64"?kmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"base64",code:bt.invalid_string,message:a.message}),r.dirty()):a.kind==="base64url"?wmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"base64url",code:bt.invalid_string,message:a.message}),r.dirty()):Tr.assertNever(a);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(o=>t.test(o),{validation:n,code:bt.invalid_string,...sn.errToObj(r)})}_addCheck(t){return new fu({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...sn.errToObj(t)})}url(t){return this._addCheck({kind:"url",...sn.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...sn.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...sn.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...sn.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...sn.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...sn.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...sn.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...sn.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...sn.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...sn.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...sn.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...sn.errToObj(t)})}datetime(t){var n,r;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:(n=t?.offset)!==null&&n!==void 0?n:!1,local:(r=t?.local)!==null&&r!==void 0?r:!1,...sn.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...sn.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...sn.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...sn.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...sn.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...sn.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...sn.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...sn.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...sn.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...sn.errToObj(n)})}nonempty(t){return this.min(1,sn.errToObj(t))}trim(){return new fu({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new fu({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new fu({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}fu.create=e=>{var t;return new fu({checks:[],typeName:_n.ZodString,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...Xn(e)})};function $mn(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r,a=parseInt(e.toFixed(o).replace(".","")),s=parseInt(t.toFixed(o).replace(".",""));return a%s/Math.pow(10,o)}class ph extends or{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Ft.number){const a=this._getOrReturnCtx(t);return It(a,{code:bt.invalid_type,expected:Ft.number,received:a.parsedType}),jn}let r;const o=new Si;for(const a of this._def.checks)a.kind==="int"?Tr.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),It(r,{code:bt.invalid_type,expected:"integer",received:"float",message:a.message}),o.dirty()):a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(r=this._getOrReturnCtx(t,r),It(r,{code:bt.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),o.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),It(r,{code:bt.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),o.dirty()):a.kind==="multipleOf"?$mn(t.data,a.value)!==0&&(r=this._getOrReturnCtx(t,r),It(r,{code:bt.not_multiple_of,multipleOf:a.value,message:a.message}),o.dirty()):a.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),It(r,{code:bt.not_finite,message:a.message}),o.dirty()):Tr.assertNever(a);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,sn.toString(n))}gt(t,n){return this.setLimit("min",t,!1,sn.toString(n))}lte(t,n){return this.setLimit("max",t,!0,sn.toString(n))}lt(t,n){return this.setLimit("max",t,!1,sn.toString(n))}setLimit(t,n,r,o){return new ph({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:sn.toString(o)}]})}_addCheck(t){return new ph({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:sn.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:sn.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:sn.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:sn.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:sn.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:sn.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:sn.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:sn.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:sn.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Tr.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}ph.create=e=>new ph({checks:[],typeName:_n.ZodNumber,coerce:e?.coerce||!1,...Xn(e)});class hh extends or{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Ft.bigint)return this._getInvalidInput(t);let r;const o=new Si;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(r=this._getOrReturnCtx(t,r),It(r,{code:bt.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),o.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),It(r,{code:bt.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),o.dirty()):a.kind==="multipleOf"?t.data%a.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),It(r,{code:bt.not_multiple_of,multipleOf:a.value,message:a.message}),o.dirty()):Tr.assertNever(a);return{status:o.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return It(n,{code:bt.invalid_type,expected:Ft.bigint,received:n.parsedType}),jn}gte(t,n){return this.setLimit("min",t,!0,sn.toString(n))}gt(t,n){return this.setLimit("min",t,!1,sn.toString(n))}lte(t,n){return this.setLimit("max",t,!0,sn.toString(n))}lt(t,n){return this.setLimit("max",t,!1,sn.toString(n))}setLimit(t,n,r,o){return new hh({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:sn.toString(o)}]})}_addCheck(t){return new hh({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:sn.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:sn.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:sn.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:sn.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:sn.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}hh.create=e=>{var t;return new hh({checks:[],typeName:_n.ZodBigInt,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...Xn(e)})};class px extends or{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Ft.boolean){const r=this._getOrReturnCtx(t);return It(r,{code:bt.invalid_type,expected:Ft.boolean,received:r.parsedType}),jn}return nl(t.data)}}px.create=e=>new px({typeName:_n.ZodBoolean,coerce:e?.coerce||!1,...Xn(e)});class I3 extends or{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Ft.date){const a=this._getOrReturnCtx(t);return It(a,{code:bt.invalid_type,expected:Ft.date,received:a.parsedType}),jn}if(isNaN(t.data.getTime())){const a=this._getOrReturnCtx(t);return It(a,{code:bt.invalid_date}),jn}const r=new Si;let o;for(const a of this._def.checks)a.kind==="min"?t.data.getTime()<a.value&&(o=this._getOrReturnCtx(t,o),It(o,{code:bt.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),r.dirty()):a.kind==="max"?t.data.getTime()>a.value&&(o=this._getOrReturnCtx(t,o),It(o,{code:bt.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),r.dirty()):Tr.assertNever(a);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new I3({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:sn.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:sn.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}I3.create=e=>new I3({checks:[],coerce:e?.coerce||!1,typeName:_n.ZodDate,...Xn(e)});class gT extends or{_parse(t){if(this._getType(t)!==Ft.symbol){const r=this._getOrReturnCtx(t);return It(r,{code:bt.invalid_type,expected:Ft.symbol,received:r.parsedType}),jn}return nl(t.data)}}gT.create=e=>new gT({typeName:_n.ZodSymbol,...Xn(e)});class hx extends or{_parse(t){if(this._getType(t)!==Ft.undefined){const r=this._getOrReturnCtx(t);return It(r,{code:bt.invalid_type,expected:Ft.undefined,received:r.parsedType}),jn}return nl(t.data)}}hx.create=e=>new hx({typeName:_n.ZodUndefined,...Xn(e)});class mx extends or{_parse(t){if(this._getType(t)!==Ft.null){const r=this._getOrReturnCtx(t);return It(r,{code:bt.invalid_type,expected:Ft.null,received:r.parsedType}),jn}return nl(t.data)}}mx.create=e=>new mx({typeName:_n.ZodNull,...Xn(e)});class l7 extends or{constructor(){super(...arguments),this._any=!0}_parse(t){return nl(t.data)}}l7.create=e=>new l7({typeName:_n.ZodAny,...Xn(e)});class d3 extends or{constructor(){super(...arguments),this._unknown=!0}_parse(t){return nl(t.data)}}d3.create=e=>new d3({typeName:_n.ZodUnknown,...Xn(e)});class df extends or{_parse(t){const n=this._getOrReturnCtx(t);return It(n,{code:bt.invalid_type,expected:Ft.never,received:n.parsedType}),jn}}df.create=e=>new df({typeName:_n.ZodNever,...Xn(e)});class bT extends or{_parse(t){if(this._getType(t)!==Ft.undefined){const r=this._getOrReturnCtx(t);return It(r,{code:bt.invalid_type,expected:Ft.void,received:r.parsedType}),jn}return nl(t.data)}}bT.create=e=>new bT({typeName:_n.ZodVoid,...Xn(e)});class ku extends or{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),o=this._def;if(n.parsedType!==Ft.array)return It(n,{code:bt.invalid_type,expected:Ft.array,received:n.parsedType}),jn;if(o.exactLength!==null){const s=n.data.length>o.exactLength.value,i=n.data.length<o.exactLength.value;(s||i)&&(It(n,{code:s?bt.too_big:bt.too_small,minimum:i?o.exactLength.value:void 0,maximum:s?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),r.dirty())}if(o.minLength!==null&&n.data.length<o.minLength.value&&(It(n,{code:bt.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),r.dirty()),o.maxLength!==null&&n.data.length>o.maxLength.value&&(It(n,{code:bt.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((s,i)=>o.type._parseAsync(new Jd(n,s,n.path,i)))).then(s=>Si.mergeArray(r,s));const a=[...n.data].map((s,i)=>o.type._parseSync(new Jd(n,s,n.path,i)));return Si.mergeArray(r,a)}get element(){return this._def.type}min(t,n){return new ku({...this._def,minLength:{value:t,message:sn.toString(n)}})}max(t,n){return new ku({...this._def,maxLength:{value:t,message:sn.toString(n)}})}length(t,n){return new ku({...this._def,exactLength:{value:t,message:sn.toString(n)}})}nonempty(t){return this.min(1,t)}}ku.create=(e,t)=>new ku({type:e,minLength:null,maxLength:null,exactLength:null,typeName:_n.ZodArray,...Xn(t)});function V4(e){if(e instanceof ua){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Dd.create(V4(r))}return new ua({...e._def,shape:()=>t})}else return e instanceof ku?new ku({...e._def,type:V4(e.element)}):e instanceof Dd?Dd.create(V4(e.unwrap())):e instanceof gh?gh.create(V4(e.unwrap())):e instanceof e0?e0.create(e.items.map(t=>V4(t))):e}class ua extends or{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Tr.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==Ft.object){const c=this._getOrReturnCtx(t);return It(c,{code:bt.invalid_type,expected:Ft.object,received:c.parsedType}),jn}const{status:r,ctx:o}=this._processInputParams(t),{shape:a,keys:s}=this._getCached(),i=[];if(!(this._def.catchall instanceof df&&this._def.unknownKeys==="strip"))for(const c in o.data)s.includes(c)||i.push(c);const l=[];for(const c of s){const d=a[c],f=o.data[c];l.push({key:{status:"valid",value:c},value:d._parse(new Jd(o,f,o.path,c)),alwaysSet:c in o.data})}if(this._def.catchall instanceof df){const c=this._def.unknownKeys;if(c==="passthrough")for(const d of i)l.push({key:{status:"valid",value:d},value:{status:"valid",value:o.data[d]}});else if(c==="strict")i.length>0&&(It(o,{code:bt.unrecognized_keys,keys:i}),r.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const d of i){const f=o.data[d];l.push({key:{status:"valid",value:d},value:c._parse(new Jd(o,f,o.path,d)),alwaysSet:d in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const c=[];for(const d of l){const f=await d.key,h=await d.value;c.push({key:f,value:h,alwaysSet:d.alwaysSet})}return c}).then(c=>Si.mergeObjectSync(r,c)):Si.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(t){return sn.errToObj,new ua({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var o,a,s,i;const l=(s=(a=(o=this._def).errorMap)===null||a===void 0?void 0:a.call(o,n,r).message)!==null&&s!==void 0?s:r.defaultError;return n.code==="unrecognized_keys"?{message:(i=sn.errToObj(t).message)!==null&&i!==void 0?i:l}:{message:l}}}:{}})}strip(){return new ua({...this._def,unknownKeys:"strip"})}passthrough(){return new ua({...this._def,unknownKeys:"passthrough"})}extend(t){return new ua({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new ua({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:_n.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new ua({...this._def,catchall:t})}pick(t){const n={};return Tr.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new ua({...this._def,shape:()=>n})}omit(t){const n={};return Tr.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new ua({...this._def,shape:()=>n})}deepPartial(){return V4(this)}partial(t){const n={};return Tr.objectKeys(this.shape).forEach(r=>{const o=this.shape[r];t&&!t[r]?n[r]=o:n[r]=o.optional()}),new ua({...this._def,shape:()=>n})}required(t){const n={};return Tr.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let a=this.shape[r];for(;a instanceof Dd;)a=a._def.innerType;n[r]=a}}),new ua({...this._def,shape:()=>n})}keyof(){return pCe(Tr.objectKeys(this.shape))}}ua.create=(e,t)=>new ua({shape:()=>e,unknownKeys:"strip",catchall:df.create(),typeName:_n.ZodObject,...Xn(t)});ua.strictCreate=(e,t)=>new ua({shape:()=>e,unknownKeys:"strict",catchall:df.create(),typeName:_n.ZodObject,...Xn(t)});ua.lazycreate=(e,t)=>new ua({shape:e,unknownKeys:"strip",catchall:df.create(),typeName:_n.ZodObject,...Xn(t)});class gx extends or{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function o(a){for(const i of a)if(i.result.status==="valid")return i.result;for(const i of a)if(i.result.status==="dirty")return n.common.issues.push(...i.ctx.common.issues),i.result;const s=a.map(i=>new kc(i.ctx.common.issues));return It(n,{code:bt.invalid_union,unionErrors:s}),jn}if(n.common.async)return Promise.all(r.map(async a=>{const s={...n,common:{...n.common,issues:[]},parent:null};return{result:await a._parseAsync({data:n.data,path:n.path,parent:s}),ctx:s}})).then(o);{let a;const s=[];for(const l of r){const c={...n,common:{...n.common,issues:[]},parent:null},d=l._parseSync({data:n.data,path:n.path,parent:c});if(d.status==="valid")return d;d.status==="dirty"&&!a&&(a={result:d,ctx:c}),c.common.issues.length&&s.push(c.common.issues)}if(a)return n.common.issues.push(...a.ctx.common.issues),a.result;const i=s.map(l=>new kc(l));return It(n,{code:bt.invalid_union,unionErrors:i}),jn}}get options(){return this._def.options}}gx.create=(e,t)=>new gx({options:e,typeName:_n.ZodUnion,...Xn(t)});const n2=e=>e instanceof yx?n2(e.schema):e instanceof Iu?n2(e.innerType()):e instanceof xx?[e.value]:e instanceof mh?e.options:e instanceof kx?Tr.objectValues(e.enum):e instanceof wx?n2(e._def.innerType):e instanceof hx?[void 0]:e instanceof mx?[null]:e instanceof Dd?[void 0,...n2(e.unwrap())]:e instanceof gh?[null,...n2(e.unwrap())]:e instanceof Xq||e instanceof Cx?n2(e.unwrap()):e instanceof Ox?n2(e._def.innerType):[];class wM extends or{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Ft.object)return It(n,{code:bt.invalid_type,expected:Ft.object,received:n.parsedType}),jn;const r=this.discriminator,o=n.data[r],a=this.optionsMap.get(o);return a?n.common.async?a._parseAsync({data:n.data,path:n.path,parent:n}):a._parseSync({data:n.data,path:n.path,parent:n}):(It(n,{code:bt.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),jn)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){const o=new Map;for(const a of n){const s=n2(a.shape[t]);if(!s.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const i of s){if(o.has(i))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(i)}`);o.set(i,a)}}return new wM({typeName:_n.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:o,...Xn(r)})}}function zF(e,t){const n=d2(e),r=d2(t);if(e===t)return{valid:!0,data:e};if(n===Ft.object&&r===Ft.object){const o=Tr.objectKeys(t),a=Tr.objectKeys(e).filter(i=>o.indexOf(i)!==-1),s={...e,...t};for(const i of a){const l=zF(e[i],t[i]);if(!l.valid)return{valid:!1};s[i]=l.data}return{valid:!0,data:s}}else if(n===Ft.array&&r===Ft.array){if(e.length!==t.length)return{valid:!1};const o=[];for(let a=0;a<e.length;a++){const s=e[a],i=t[a],l=zF(s,i);if(!l.valid)return{valid:!1};o.push(l.data)}return{valid:!0,data:o}}else return n===Ft.date&&r===Ft.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class bx extends or{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),o=(a,s)=>{if(FF(a)||FF(s))return jn;const i=zF(a.value,s.value);return i.valid?((UF(a)||UF(s))&&n.dirty(),{status:n.value,value:i.data}):(It(r,{code:bt.invalid_intersection_types}),jn)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([a,s])=>o(a,s)):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}bx.create=(e,t,n)=>new bx({left:e,right:t,typeName:_n.ZodIntersection,...Xn(n)});class e0 extends or{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ft.array)return It(r,{code:bt.invalid_type,expected:Ft.array,received:r.parsedType}),jn;if(r.data.length<this._def.items.length)return It(r,{code:bt.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),jn;!this._def.rest&&r.data.length>this._def.items.length&&(It(r,{code:bt.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const a=[...r.data].map((s,i)=>{const l=this._def.items[i]||this._def.rest;return l?l._parse(new Jd(r,s,r.path,i)):null}).filter(s=>!!s);return r.common.async?Promise.all(a).then(s=>Si.mergeArray(n,s)):Si.mergeArray(n,a)}get items(){return this._def.items}rest(t){return new e0({...this._def,rest:t})}}e0.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new e0({items:e,typeName:_n.ZodTuple,rest:null,...Xn(t)})};class vx extends or{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ft.object)return It(r,{code:bt.invalid_type,expected:Ft.object,received:r.parsedType}),jn;const o=[],a=this._def.keyType,s=this._def.valueType;for(const i in r.data)o.push({key:a._parse(new Jd(r,i,r.path,i)),value:s._parse(new Jd(r,r.data[i],r.path,i)),alwaysSet:i in r.data});return r.common.async?Si.mergeObjectAsync(n,o):Si.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof or?new vx({keyType:t,valueType:n,typeName:_n.ZodRecord,...Xn(r)}):new vx({keyType:fu.create(),valueType:t,typeName:_n.ZodRecord,...Xn(n)})}}class vT extends or{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ft.map)return It(r,{code:bt.invalid_type,expected:Ft.map,received:r.parsedType}),jn;const o=this._def.keyType,a=this._def.valueType,s=[...r.data.entries()].map(([i,l],c)=>({key:o._parse(new Jd(r,i,r.path,[c,"key"])),value:a._parse(new Jd(r,l,r.path,[c,"value"]))}));if(r.common.async){const i=new Map;return Promise.resolve().then(async()=>{for(const l of s){const c=await l.key,d=await l.value;if(c.status==="aborted"||d.status==="aborted")return jn;(c.status==="dirty"||d.status==="dirty")&&n.dirty(),i.set(c.value,d.value)}return{status:n.value,value:i}})}else{const i=new Map;for(const l of s){const c=l.key,d=l.value;if(c.status==="aborted"||d.status==="aborted")return jn;(c.status==="dirty"||d.status==="dirty")&&n.dirty(),i.set(c.value,d.value)}return{status:n.value,value:i}}}}vT.create=(e,t,n)=>new vT({valueType:t,keyType:e,typeName:_n.ZodMap,...Xn(n)});class R3 extends or{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ft.set)return It(r,{code:bt.invalid_type,expected:Ft.set,received:r.parsedType}),jn;const o=this._def;o.minSize!==null&&r.data.size<o.minSize.value&&(It(r,{code:bt.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),n.dirty()),o.maxSize!==null&&r.data.size>o.maxSize.value&&(It(r,{code:bt.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const a=this._def.valueType;function s(l){const c=new Set;for(const d of l){if(d.status==="aborted")return jn;d.status==="dirty"&&n.dirty(),c.add(d.value)}return{status:n.value,value:c}}const i=[...r.data.values()].map((l,c)=>a._parse(new Jd(r,l,r.path,c)));return r.common.async?Promise.all(i).then(l=>s(l)):s(i)}min(t,n){return new R3({...this._def,minSize:{value:t,message:sn.toString(n)}})}max(t,n){return new R3({...this._def,maxSize:{value:t,message:sn.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}R3.create=(e,t)=>new R3({valueType:e,minSize:null,maxSize:null,typeName:_n.ZodSet,...Xn(t)});class J6 extends or{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Ft.function)return It(n,{code:bt.invalid_type,expected:Ft.function,received:n.parsedType}),jn;function r(i,l){return hT({data:i,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,pT(),i7].filter(c=>!!c),issueData:{code:bt.invalid_arguments,argumentsError:l}})}function o(i,l){return hT({data:i,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,pT(),i7].filter(c=>!!c),issueData:{code:bt.invalid_return_type,returnTypeError:l}})}const a={errorMap:n.common.contextualErrorMap},s=n.data;if(this._def.returns instanceof c7){const i=this;return nl(async function(...l){const c=new kc([]),d=await i._def.args.parseAsync(l,a).catch(m=>{throw c.addIssue(r(l,m)),c}),f=await Reflect.apply(s,this,d);return await i._def.returns._def.type.parseAsync(f,a).catch(m=>{throw c.addIssue(o(f,m)),c})})}else{const i=this;return nl(function(...l){const c=i._def.args.safeParse(l,a);if(!c.success)throw new kc([r(l,c.error)]);const d=Reflect.apply(s,this,c.data),f=i._def.returns.safeParse(d,a);if(!f.success)throw new kc([o(d,f.error)]);return f.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new J6({...this._def,args:e0.create(t).rest(d3.create())})}returns(t){return new J6({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new J6({args:t||e0.create([]).rest(d3.create()),returns:n||d3.create(),typeName:_n.ZodFunction,...Xn(r)})}}class yx extends or{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}yx.create=(e,t)=>new yx({getter:e,typeName:_n.ZodLazy,...Xn(t)});class xx extends or{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return It(n,{received:n.data,code:bt.invalid_literal,expected:this._def.value}),jn}return{status:"valid",value:t.data}}get value(){return this._def.value}}xx.create=(e,t)=>new xx({value:e,typeName:_n.ZodLiteral,...Xn(t)});function pCe(e,t){return new mh({values:e,typeName:_n.ZodEnum,...Xn(t)})}class mh extends or{constructor(){super(...arguments),Ub.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return It(n,{expected:Tr.joinValues(r),received:n.parsedType,code:bt.invalid_type}),jn}if(mT(this,Ub)||cCe(this,Ub,new Set(this._def.values)),!mT(this,Ub).has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return It(n,{received:n.data,code:bt.invalid_enum_value,options:r}),jn}return nl(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return mh.create(t,{...this._def,...n})}exclude(t,n=this._def){return mh.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}Ub=new WeakMap;mh.create=pCe;class kx extends or{constructor(){super(...arguments),zb.set(this,void 0)}_parse(t){const n=Tr.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Ft.string&&r.parsedType!==Ft.number){const o=Tr.objectValues(n);return It(r,{expected:Tr.joinValues(o),received:r.parsedType,code:bt.invalid_type}),jn}if(mT(this,zb)||cCe(this,zb,new Set(Tr.getValidEnumValues(this._def.values))),!mT(this,zb).has(t.data)){const o=Tr.objectValues(n);return It(r,{received:r.data,code:bt.invalid_enum_value,options:o}),jn}return nl(t.data)}get enum(){return this._def.values}}zb=new WeakMap;kx.create=(e,t)=>new kx({values:e,typeName:_n.ZodNativeEnum,...Xn(t)});class c7 extends or{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Ft.promise&&n.common.async===!1)return It(n,{code:bt.invalid_type,expected:Ft.promise,received:n.parsedType}),jn;const r=n.parsedType===Ft.promise?n.data:Promise.resolve(n.data);return nl(r.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}c7.create=(e,t)=>new c7({type:e,typeName:_n.ZodPromise,...Xn(t)});class Iu extends or{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===_n.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),o=this._def.effect||null,a={addIssue:s=>{It(r,s),s.fatal?n.abort():n.dirty()},get path(){return r.path}};if(a.addIssue=a.addIssue.bind(a),o.type==="preprocess"){const s=o.transform(r.data,a);if(r.common.async)return Promise.resolve(s).then(async i=>{if(n.value==="aborted")return jn;const l=await this._def.schema._parseAsync({data:i,path:r.path,parent:r});return l.status==="aborted"?jn:l.status==="dirty"||n.value==="dirty"?x6(l.value):l});{if(n.value==="aborted")return jn;const i=this._def.schema._parseSync({data:s,path:r.path,parent:r});return i.status==="aborted"?jn:i.status==="dirty"||n.value==="dirty"?x6(i.value):i}}if(o.type==="refinement"){const s=i=>{const l=o.refinement(i,a);if(r.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return i};if(r.common.async===!1){const i=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?jn:(i.status==="dirty"&&n.dirty(),s(i.value),{status:n.value,value:i.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(i=>i.status==="aborted"?jn:(i.status==="dirty"&&n.dirty(),s(i.value).then(()=>({status:n.value,value:i.value}))))}if(o.type==="transform")if(r.common.async===!1){const s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!P3(s))return s;const i=o.transform(s.value,a);if(i instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:i}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>P3(s)?Promise.resolve(o.transform(s.value,a)).then(i=>({status:n.value,value:i})):s);Tr.assertNever(o)}}Iu.create=(e,t,n)=>new Iu({schema:e,typeName:_n.ZodEffects,effect:t,...Xn(n)});Iu.createWithPreprocess=(e,t,n)=>new Iu({schema:t,effect:{type:"preprocess",transform:e},typeName:_n.ZodEffects,...Xn(n)});class Dd extends or{_parse(t){return this._getType(t)===Ft.undefined?nl(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Dd.create=(e,t)=>new Dd({innerType:e,typeName:_n.ZodOptional,...Xn(t)});class gh extends or{_parse(t){return this._getType(t)===Ft.null?nl(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}gh.create=(e,t)=>new gh({innerType:e,typeName:_n.ZodNullable,...Xn(t)});class wx extends or{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Ft.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}wx.create=(e,t)=>new wx({innerType:e,typeName:_n.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...Xn(t)});class Ox extends or{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return fx(o)?o.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new kc(r.common.issues)},input:r.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new kc(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Ox.create=(e,t)=>new Ox({innerType:e,typeName:_n.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...Xn(t)});class yT extends or{_parse(t){if(this._getType(t)!==Ft.nan){const r=this._getOrReturnCtx(t);return It(r,{code:bt.invalid_type,expected:Ft.nan,received:r.parsedType}),jn}return{status:"valid",value:t.data}}}yT.create=e=>new yT({typeName:_n.ZodNaN,...Xn(e)});const Tmn=Symbol("zod_brand");class Xq extends or{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class Gk extends or{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?jn:a.status==="dirty"?(n.dirty(),x6(a.value)):this._def.out._parseAsync({data:a.value,path:r.path,parent:r})})();{const o=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?jn:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:r.path,parent:r})}}static create(t,n){return new Gk({in:t,out:n,typeName:_n.ZodPipeline})}}class Cx extends or{_parse(t){const n=this._def.innerType._parse(t),r=o=>(P3(o)&&(o.value=Object.freeze(o.value)),o);return fx(n)?n.then(o=>r(o)):r(n)}unwrap(){return this._def.innerType}}Cx.create=(e,t)=>new Cx({innerType:e,typeName:_n.ZodReadonly,...Xn(t)});function hCe(e,t={},n){return e?l7.create().superRefine((r,o)=>{var a,s;if(!e(r)){const i=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,l=(s=(a=i.fatal)!==null&&a!==void 0?a:n)!==null&&s!==void 0?s:!0,c=typeof i=="string"?{message:i}:i;o.addIssue({code:"custom",...c,fatal:l})}}):l7.create()}const Emn={object:ua.lazycreate};var _n;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(_n||(_n={}));const jmn=(e,t={message:`Input not instance of ${e.name}`})=>hCe(n=>n instanceof e,t),mCe=fu.create,gCe=ph.create,Mmn=yT.create,Amn=hh.create,bCe=px.create,Nmn=I3.create,Pmn=gT.create,Imn=hx.create,Rmn=mx.create,Dmn=l7.create,Bmn=d3.create,Hmn=df.create,Vmn=bT.create,Fmn=ku.create,Umn=ua.create,zmn=ua.strictCreate,Wmn=gx.create,Zmn=wM.create,Qmn=bx.create,qmn=e0.create,Xmn=vx.create,Ymn=vT.create,Gmn=R3.create,Kmn=J6.create,Jmn=yx.create,e4n=xx.create,t4n=mh.create,n4n=kx.create,r4n=c7.create,p1e=Iu.create,o4n=Dd.create,a4n=gh.create,s4n=Iu.createWithPreprocess,i4n=Gk.create,l4n=()=>mCe().optional(),c4n=()=>gCe().optional(),u4n=()=>bCe().optional(),d4n={string:(e=>fu.create({...e,coerce:!0})),number:(e=>ph.create({...e,coerce:!0})),boolean:(e=>px.create({...e,coerce:!0})),bigint:(e=>hh.create({...e,coerce:!0})),date:(e=>I3.create({...e,coerce:!0}))},f4n=jn;var Wb=Object.freeze({__proto__:null,defaultErrorMap:i7,setErrorMap:smn,getErrorMap:pT,makeIssue:hT,EMPTY_PATH:imn,addIssueToContext:It,ParseStatus:Si,INVALID:jn,DIRTY:x6,OK:nl,isAborted:FF,isDirty:UF,isValid:P3,isAsync:fx,get util(){return Tr},get objectUtil(){return VF},ZodParsedType:Ft,getParsedType:d2,ZodType:or,datetimeRegex:fCe,ZodString:fu,ZodNumber:ph,ZodBigInt:hh,ZodBoolean:px,ZodDate:I3,ZodSymbol:gT,ZodUndefined:hx,ZodNull:mx,ZodAny:l7,ZodUnknown:d3,ZodNever:df,ZodVoid:bT,ZodArray:ku,ZodObject:ua,ZodUnion:gx,ZodDiscriminatedUnion:wM,ZodIntersection:bx,ZodTuple:e0,ZodRecord:vx,ZodMap:vT,ZodSet:R3,ZodFunction:J6,ZodLazy:yx,ZodLiteral:xx,ZodEnum:mh,ZodNativeEnum:kx,ZodPromise:c7,ZodEffects:Iu,ZodTransformer:Iu,ZodOptional:Dd,ZodNullable:gh,ZodDefault:wx,ZodCatch:Ox,ZodNaN:yT,BRAND:Tmn,ZodBranded:Xq,ZodPipeline:Gk,ZodReadonly:Cx,custom:hCe,Schema:or,ZodSchema:or,late:Emn,get ZodFirstPartyTypeKind(){return _n},coerce:d4n,any:Dmn,array:Fmn,bigint:Amn,boolean:bCe,date:Nmn,discriminatedUnion:Zmn,effect:p1e,enum:t4n,function:Kmn,instanceof:jmn,intersection:Qmn,lazy:Jmn,literal:e4n,map:Ymn,nan:Mmn,nativeEnum:n4n,never:Hmn,null:Rmn,nullable:a4n,number:gCe,object:Umn,oboolean:u4n,onumber:c4n,optional:o4n,ostring:l4n,pipeline:i4n,preprocess:s4n,promise:r4n,record:Xmn,set:Gmn,strictObject:zmn,string:mCe,symbol:Pmn,transformer:p1e,tuple:qmn,undefined:Imn,union:Wmn,unknown:Bmn,void:Vmn,NEVER:f4n,ZodIssueCode:bt,quotelessJson:amn,ZodError:kc});const p4n={"page-view":Wb.object({to:Wb.string(),from:Wb.string(),hostname:Wb.string()})},vCe=Object.keys(p4n);Wb.enum(vCe);const h4n=(e,t)=>{async function n(r,...[o]){if(!vCe.includes(r))throw new Error("[Analytics]: Invalid event submission");const a=t();await fetch(`${e}/analytics/send`,{method:"POST",headers:{"content-type":"application/json",...a?{authorization:`Bearer ${a}`}:{}},body:JSON.stringify({event:r,data:o})})}return{capture:n}},m4n=h4n("https://api.scalar.com",()=>null);function g4n(){const{layout:e}=Ti();if(!(!pOe().value.telemetry||e==="modal"))return m4n}const b4n=e=>{const t=new Set;return e&&["path","query","headers","cookies"].some(n=>e.parameters?.[n]?.some(r=>{r.required&&r.value===""&&t.add(r.key)})),t},v4n=5*1e3,y4n=60*1e3,x4n=()=>{const{toast:e}=F1(),t=$o(),n=Sn(),{activeCollection:r,activeWorkspace:o}=t,{collectionMutators:a}=n,s=d=>e(`[useOpenApiWatcher] Changes to the ${d} were not applied`,"error"),i=d=>{d.path[0]==="info"||d.path[0]==="security"?pfn(d,t,n)||s("collection"):d.path[0]==="components"&&d.path[1]==="securitySchemes"?FOe(d,t,n)||s("securitySchemes"):d.path[0]==="servers"?mfn(d,t,n)||s("servers"):d.path[0]==="tags"?gfn(d,t,n)||s("tags"):d.path[0]==="paths"&&(hfn(d,t,n)||s("requests"))},{pause:l,resume:c}=HHt(async()=>{const d=r.value?.documentUrl;if(!d)return;const f=jS[d];try{const h=await vZ(d,o.value?.proxyUrl,void 0,!1),m=t8e(h);if(a.edit(r.value.uid,"watchModeStatus","WATCHING"),f?.hash)if(f.hash&&f.hash!==m){const{schema:b}=await jF(h),v=dx(f.schema,b),x=VOe(v);try{x.forEach(i),jS[d]={hash:m,schema:b}}catch(k){console.error("[useOpenApiWatcher] Error:",k)}}else console.log("[useOpenApiWatcher] No changes detected yet…");else{const{schema:b}=await jF(h);b&&(jS[d]={hash:m,schema:b})}}catch(h){console.error("[useOpenApiWatcher] Error:",h),console.info("[useOpenApiWatcher] Pausing watcher for 60 seconds"),l(),a.edit(r.value.uid,"watchModeStatus","ERROR"),e("[useOpenApiWatcher] Unable to fetch the spec file, paused the watcher for 60 seconds","error"),setTimeout(()=>{console.info("[useOpenApiWatcher] Resuming watcher"),c()},y4n)}},v4n);pt([()=>r.value?.documentUrl,()=>r.value?.watchMode],([d,f])=>{d&&f?(console.info(`[useOpenApiWatcher] Watching ${d} …`),c()):r.value&&(l(),a.edit(r.value.uid,"watchModeStatus","IDLE"))},{immediate:!0})},k4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function yCe(e,t){return C(),A("svg",k4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m10.812 2.492-8.32 8.32a1.68 1.68 0 0 0 0 2.377l8.32 8.319a1.68 1.68 0 0 0 2.377 0l8.319-8.32a1.68 1.68 0 0 0 0-2.377l-8.32-8.319a1.68 1.68 0 0 0-2.377 0Z"},null,-1)]))}const w4n={render:yCe},O4n=Object.freeze(Object.defineProperty({__proto__:null,default:w4n,render:yCe},Symbol.toStringTag,{value:"Module"})),C4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function xCe(e,t){return C(),A("svg",C4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.711 16.963V7.044a1.37 1.37 0 0 0-.759-1.229l-7.338-3.67a1.37 1.37 0 0 0-1.227 0l-7.34 3.662a1.37 1.37 0 0 0-.758 1.23v9.919a1.37 1.37 0 0 0 .759 1.229l7.34 3.67a1.38 1.38 0 0 0 1.229 0l7.34-3.663a1.37 1.37 0 0 0 .754-1.23Z"},null,-1)]))}const _4n={render:xCe},S4n=Object.freeze(Object.defineProperty({__proto__:null,default:_4n,render:xCe},Symbol.toStringTag,{value:"Module"})),L4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function kCe(e,t){return C(),A("svg",L4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 12a10 10 0 1 0 20 0 10 10 0 0 0-20 0"},null,-1)]))}const $4n={render:kCe},T4n=Object.freeze(Object.defineProperty({__proto__:null,default:$4n,render:kCe},Symbol.toStringTag,{value:"Module"})),E4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function wCe(e,t){return C(),A("svg",E4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"},null,-1)]))}const j4n={render:wCe},M4n=Object.freeze(Object.defineProperty({__proto__:null,default:j4n,render:wCe},Symbol.toStringTag,{value:"Module"})),A4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function OCe(e,t){return C(),A("svg",A4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3.334 4.82v6.768a10.58 10.58 0 0 0 6.783 9.878l.926.356a2.67 2.67 0 0 0 1.914 0l.926-.356a10.58 10.58 0 0 0 6.783-9.878V4.821a1.32 1.32 0 0 0-.771-1.211A19.3 19.3 0 0 0 12 2a19.3 19.3 0 0 0-7.895 1.61 1.32 1.32 0 0 0-.771 1.21"},null,-1)]))}const N4n={render:OCe},P4n=Object.freeze(Object.defineProperty({__proto__:null,default:N4n,render:OCe},Symbol.toStringTag,{value:"Module"})),I4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function CCe(e,t){return C(),A("svg",I4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 20h18M5 4h14a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2"},null,-1)]))}const R4n={render:CCe},D4n=Object.freeze(Object.defineProperty({__proto__:null,default:R4n,render:CCe},Symbol.toStringTag,{value:"Module"})),B4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function _Ce(e,t){return C(),A("svg",B4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8m-5 4h5m6-7h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-6a2 2 0 0 1 2-2"},null,-1)]))}const H4n={render:_Ce},V4n=Object.freeze(Object.defineProperty({__proto__:null,default:H4n,render:_Ce},Symbol.toStringTag,{value:"Module"})),F4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function SCe(e,t){return C(),A("svg",F4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.522 14.167V6.64a2.13 2.13 0 0 0-2.13-2.13H5.608a2.13 2.13 0 0 0-2.13 2.13v7.526m17.044 0H3.478m17.044 0 1.364 4.778a1.066 1.066 0 0 1-.959 1.545H3.073a1.065 1.065 0 0 1-.959-1.545l1.364-4.778m6.855 3.333h3.334"},null,-1)]))}const U4n={render:SCe},z4n=Object.freeze(Object.defineProperty({__proto__:null,default:U4n,render:SCe},Symbol.toStringTag,{value:"Module"})),W4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function LCe(e,t){return C(),A("svg",W4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.333 2h7.334s2.666 0 2.666 2.667v14.666s0 2.667-2.666 2.667H8.333s-2.666 0-2.666-2.667V4.667S5.667 2 8.333 2"},null,-1),L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M9.186 4.563h1.246s.889 0 .889.889V9.88s0 .889-.889.889H9.186s-.89 0-.89-.89V5.453s0-.89.89-.89"},null,-1)]))}const Z4n={render:LCe},Q4n=Object.freeze(Object.defineProperty({__proto__:null,default:Z4n,render:LCe},Symbol.toStringTag,{value:"Module"})),q4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function $Ce(e,t){return C(),A("svg",q4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.667 2H8.333a2.667 2.667 0 0 0-2.666 2.667v14.666A2.667 2.667 0 0 0 8.333 22h7.334a2.667 2.667 0 0 0 2.666-2.667V4.667A2.667 2.667 0 0 0 15.667 2"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 5a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const X4n={render:$Ce},Y4n=Object.freeze(Object.defineProperty({__proto__:null,default:X4n,render:$Ce},Symbol.toStringTag,{value:"Module"})),G4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function TCe(e,t){return C(),A("svg",G4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.667 2H8.333a2.667 2.667 0 0 0-2.666 2.667v14.666A2.667 2.667 0 0 0 8.333 22h7.334a2.667 2.667 0 0 0 2.666-2.667V4.667A2.667 2.667 0 0 0 15.667 2"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M8 5a1 1 0 1 1 2 0 1 1 0 0 1-2 0m3 2a1 1 0 1 1 2 0 1 1 0 0 1-2 0M8 9a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const K4n={render:TCe},J4n=Object.freeze(Object.defineProperty({__proto__:null,default:K4n,render:TCe},Symbol.toStringTag,{value:"Module"})),e6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ECe(e,t){return C(),A("svg",e6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.198 2h9.603s1.74 0 1.74 1.74v16.52s0 1.74-1.74 1.74H7.198s-1.74 0-1.74-1.74V3.74S5.459 2 7.199 2Z"},null,-1),L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M14.684 4.935H9.315a.94.94 0 0 1-.932-.8L8.067 2h7.865l-.315 2.133a.94.94 0 0 1-.933.802"},null,-1)]))}const t6n={render:ECe},n6n=Object.freeze(Object.defineProperty({__proto__:null,default:t6n,render:ECe},Symbol.toStringTag,{value:"Module"})),r6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function jCe(e,t){return C(),A("svg",r6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21 11V7a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h6m1.034-7.319a.499.499 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z"},null,-1)]))}const o6n={render:jCe},a6n=Object.freeze(Object.defineProperty({__proto__:null,default:o6n,render:jCe},Symbol.toStringTag,{value:"Module"})),s6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function MCe(e,t){return C(),A("svg",s6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.667 22H8.333a2.667 2.667 0 0 1-2.666-2.667V4.667A2.667 2.667 0 0 1 8.333 2h7.334a2.667 2.667 0 0 1 2.666 2.667v14.666A2.667 2.667 0 0 1 15.667 22"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 19a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const i6n={render:MCe},l6n=Object.freeze(Object.defineProperty({__proto__:null,default:i6n,render:MCe},Symbol.toStringTag,{value:"Module"})),c6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ACe(e,t){return C(),A("svg",c6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M10 7.5v2.813M14 7.5v2.813M14 7.5h2.5a1.125 1.125 0 0 1 1.125 1.125v5.062a1.125 1.125 0 0 1-1.125 1.125h-.543c-.373 0-.73.149-.994.412l-.864.864a1.4 1.4 0 0 1-.994.412h-2.21c-.373 0-.73-.148-.994-.412l-.864-.864a1.4 1.4 0 0 0-.994-.412H7.5a1.125 1.125 0 0 1-1.125-1.125V8.625A1.125 1.125 0 0 1 7.5 7.5zM4.2 3h15.6S21 3 21 4.2v15.6s0 1.2-1.2 1.2H4.2S3 21 3 19.8V4.2S3 3 4.2 3"},null,-1)]))}const u6n={render:ACe},d6n=Object.freeze(Object.defineProperty({__proto__:null,default:u6n,render:ACe},Symbol.toStringTag,{value:"Module"})),f6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function NCe(e,t){return C(),A("svg",f6n,t[0]||(t[0]=[L("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)]))}const p6n={render:NCe},h6n=Object.freeze(Object.defineProperty({__proto__:null,default:p6n,render:NCe},Symbol.toStringTag,{value:"Module"})),m6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function PCe(e,t){return C(),A("svg",m6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 8.82a15 15 0 0 1 20 0M5 12.859a10 10 0 0 1 14 0m-10.5 3.57a5 5 0 0 1 7 0"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const g6n={render:PCe},b6n=Object.freeze(Object.defineProperty({__proto__:null,default:g6n,render:PCe},Symbol.toStringTag,{value:"Module"})),v6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ICe(e,t){return C(),A("svg",v6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M14.7 10.2v3.6m2.556-6.147a3.6 3.6 0 0 0-5.094 0m7.632-2.547a7.2 7.2 0 0 0-10.179 0M4.8 13.8h14.4a1.8 1.8 0 0 1 1.8 1.8v3.6a1.8 1.8 0 0 1-1.8 1.8H4.8A1.8 1.8 0 0 1 3 19.2v-3.6a1.8 1.8 0 0 1 1.8-1.8"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M6 17.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0m4 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const y6n={render:ICe},x6n=Object.freeze(Object.defineProperty({__proto__:null,default:y6n,render:ICe},Symbol.toStringTag,{value:"Module"})),k6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function RCe(e,t){return C(),A("svg",k6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.5 2h7m-5.3 1v6.774a1.8 1.8 0 0 1-.19.807l-4.562 9.114A.9.9 0 0 0 6.258 21h11.484a.9.9 0 0 0 .81-1.305l-4.562-9.114a1.8 1.8 0 0 1-.19-.807V3M7.5 15.6h9"},null,-1)]))}const w6n={render:RCe},O6n=Object.freeze(Object.defineProperty({__proto__:null,default:w6n,render:RCe},Symbol.toStringTag,{value:"Module"})),C6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function DCe(e,t){return C(),A("svg",C6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.802 13.8a.899.899 0 0 1-.702-1.467l8.908-9.178a.45.45 0 0 1 .774.414l-1.728 5.417A.9.9 0 0 0 12.9 10.2h6.298a.899.899 0 0 1 .702 1.467l-8.908 9.178a.45.45 0 0 1-.774-.414l1.728-5.417A.9.9 0 0 0 11.1 13.8z"},null,-1)]))}const _6n={render:DCe},S6n=Object.freeze(Object.defineProperty({__proto__:null,default:_6n,render:DCe},Symbol.toStringTag,{value:"Module"})),L6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function BCe(e,t){return C(),A("svg",L6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9.286a2.5 2.5 0 1 1 2.5 2.5m-2.5-2.5a2.5 2.5 0 1 0-2.5 2.5m2.5-2.5v.833m2.5 1.667a2.5 2.5 0 1 1-2.5 2.5m2.5-2.5h-.833m-4.167 0a2.5 2.5 0 1 0 2.5 2.5m-2.5-2.5h.833M12 10.119c-.92 0-1.667.746-1.667 1.667M12 10.119c.92 0 1.667.746 1.667 1.667M12 14.286v-.834m0 .834V20.5m-1.667-8.714c0 .92.746 1.666 1.667 1.666m1.667-1.666c0 .92-.746 1.666-1.667 1.666M4.2 3h15.6S21 3 21 4.2v15.6s0 1.2-1.2 1.2H4.2S3 21 3 19.8V4.2S3 3 4.2 3"},null,-1)]))}const $6n={render:BCe},T6n=Object.freeze(Object.defineProperty({__proto__:null,default:$6n,render:BCe},Symbol.toStringTag,{value:"Module"})),E6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function HCe(e,t){return C(),A("svg",E6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m10.812 2.492-8.32 8.32a1.68 1.68 0 0 0 0 2.377l8.32 8.319a1.68 1.68 0 0 0 2.377 0l8.319-8.32a1.68 1.68 0 0 0 0-2.377l-8.32-8.319a1.68 1.68 0 0 0-2.377 0ZM12 8v4"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 16a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const j6n={render:HCe},M6n=Object.freeze(Object.defineProperty({__proto__:null,default:j6n,render:HCe},Symbol.toStringTag,{value:"Module"})),A6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function VCe(e,t){return C(),A("svg",A6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9.57v4.296m7.926 7.516H4.074c-.798 0-1.318-.84-.96-1.554L11.04 3.976a1.074 1.074 0 0 1 1.92 0l7.927 15.852a1.074 1.074 0 0 1-.96 1.554Z"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 18a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const N6n={render:VCe},P6n=Object.freeze(Object.defineProperty({__proto__:null,default:N6n,render:VCe},Symbol.toStringTag,{value:"Module"})),I6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function FCe(e,t){return C(),A("svg",I6n,t[0]||(t[0]=[L("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),L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":"10",d:"M12 17v-6 0a.5.5 0 0 0-.5-.5l-.5.001h-1M12 17h-2m2 0h2"},null,-1),L("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)]))}const R6n={render:FCe},D6n=Object.freeze(Object.defineProperty({__proto__:null,default:R6n,render:FCe},Symbol.toStringTag,{value:"Module"})),B6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function UCe(e,t){return C(),A("svg",B6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.999 21.002H19M11.56 3.264a.5.5 0 0 1 .877 0l2.953 5.605a1 1 0 0 0 1.516.294L21.185 5.5a.5.5 0 0 1 .798.519l-2.835 10.248a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.018 6.019a.5.5 0 0 1 .798-.52l4.277 3.665a1 1 0 0 0 1.516-.294l2.953-5.606Z"},null,-1)]))}const H6n={render:UCe},V6n=Object.freeze(Object.defineProperty({__proto__:null,default:H6n,render:UCe},Symbol.toStringTag,{value:"Module"})),F6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function zCe(e,t){return C(),A("svg",F6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.527 3.525a1.8 1.8 0 0 0-1.273-.527H5.798a1.8 1.8 0 0 0-1.8 1.8v6.456c0 .478.19.936.527 1.273l7.836 7.836a2.184 2.184 0 0 0 3.078 0l5.924-5.924a2.184 2.184 0 0 0 0-3.078z"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M8 8a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const U6n={render:zCe},z6n=Object.freeze(Object.defineProperty({__proto__:null,default:U6n,render:zCe},Symbol.toStringTag,{value:"Module"})),W6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function WCe(e,t){return C(),A("svg",W6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"},null,-1)]))}const Z6n={render:WCe},Q6n=Object.freeze(Object.defineProperty({__proto__:null,default:Z6n,render:WCe},Symbol.toStringTag,{value:"Module"})),q6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ZCe(e,t){return C(),A("svg",q6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11 14h1v4m4-16v4M3 10h18M8 2v4M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2"},null,-1)]))}const X6n={render:ZCe},Y6n=Object.freeze(Object.defineProperty({__proto__:null,default:X6n,render:ZCe},Symbol.toStringTag,{value:"Module"})),G6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function QCe(e,t){return C(),A("svg",G6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M17.333 5.01c1.39-.224 2.796-.34 4.205-.346.121 0 .238.044.329.125.085.084.133.2.133.32v14a.453.453 0 0 1-.444.444C14.186 19.66 12 21.997 12 21.997m0 0V7.091m0 14.906s-2.187-2.337-9.556-2.444A.453.453 0 0 1 2 19.109v-14c0-.12.048-.236.133-.32a.5.5 0 0 1 .33-.125C9.822 4.762 12 7.091 12 7.091m0 0a5.5 5.5 0 0 1 1.458-3.05 6.9 6.9 0 0 1 3.235-2.017.53.53 0 0 1 .436.053.41.41 0 0 1 .204.356V16.31a7.27 7.27 0 0 0-3.875 2.186A5.33 5.33 0 0 0 12 21.562"},null,-1)]))}const K6n={render:QCe},J6n=Object.freeze(Object.defineProperty({__proto__:null,default:K6n,render:QCe},Symbol.toStringTag,{value:"Module"})),e8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function qCe(e,t){return C(),A("svg",e8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11 3v8l3-3 3 3V3M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2"},null,-1)]))}const t8n={render:qCe},n8n=Object.freeze(Object.defineProperty({__proto__:null,default:t8n,render:qCe},Symbol.toStringTag,{value:"Module"})),r8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function XCe(e,t){return C(),A("svg",r8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 3v4a2 2 0 0 0 2 2h4m-5-6H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8z"},null,-1)]))}const o8n={render:XCe},a8n=Object.freeze(Object.defineProperty({__proto__:null,default:o8n,render:XCe},Symbol.toStringTag,{value:"Module"})),s8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function YCe(e,t){return C(),A("svg",s8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13 6h6a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.93a2 2 0 0 1 1.67.9l.81 1.2a2 2 0 0 0 1.69.9"},null,-1)]))}const i8n={render:YCe},l8n=Object.freeze(Object.defineProperty({__proto__:null,default:i8n,render:YCe},Symbol.toStringTag,{value:"Module"})),c8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function GCe(e,t){return C(),A("svg",c8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2m1-2h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1"},null,-1)]))}const u8n={render:GCe},d8n=Object.freeze(Object.defineProperty({__proto__:null,default:u8n,render:GCe},Symbol.toStringTag,{value:"Module"})),f8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function KCe(e,t){return C(),A("svg",f8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m20.72 11.12-8.51 8.51a5.559 5.559 0 1 1-7.86-7.861l7.935-7.936a3.71 3.71 0 0 1 5.25 5.241L9.581 17.01a1.853 1.853 0 1 1-2.62-2.62l7.861-7.853"},null,-1)]))}const p8n={render:KCe},h8n=Object.freeze(Object.defineProperty({__proto__:null,default:p8n,render:KCe},Symbol.toStringTag,{value:"Module"})),m8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function JCe(e,t){return C(),A("svg",m8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M10.2 16.8a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0m0 0V5.7a2.1 2.1 0 0 0-4.125-.56L3.13 15.844m10.67.956a3.6 3.6 0 1 0 7.2 0 3.6 3.6 0 0 0-7.2 0m0 0V5.7a2.1 2.1 0 0 1 4.125-.56l2.945 10.7M10.2 9.6h3.6V12h-3.6z"},null,-1)]))}const g8n={render:JCe},b8n=Object.freeze(Object.defineProperty({__proto__:null,default:g8n,render:JCe},Symbol.toStringTag,{value:"Module"})),v8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function e_e(e,t){return C(),A("svg",v8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 6V4m2 2.983 1.414-1.415M18 9h2m-3 2 1.2 1.2M4 20 15 9m-1.8-1.8L12 6"},null,-1)]))}const y8n={render:e_e},x8n=Object.freeze(Object.defineProperty({__proto__:null,default:y8n,render:e_e},Symbol.toStringTag,{value:"Module"})),k8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function t_e(e,t){return C(),A("svg",k8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.8 15.6v-1.8A1.8 1.8 0 0 0 12 12H4.8A1.8 1.8 0 0 1 3 10.2V7.5a1.8 1.8 0 0 1 1.8-1.8h1.8M19.2 3H8.4a1.8 1.8 0 0 0-1.8 1.8v1.8a1.8 1.8 0 0 0 1.8 1.8h10.8A1.8 1.8 0 0 0 21 6.6V4.8A1.8 1.8 0 0 0 19.2 3m-4.5 12.6h-1.8a.9.9 0 0 0-.9.9v3.6a.9.9 0 0 0 .9.9h1.8a.9.9 0 0 0 .9-.9v-3.6a.9.9 0 0 0-.9-.9"},null,-1)]))}const w8n={render:t_e},O8n=Object.freeze(Object.defineProperty({__proto__:null,default:w8n,render:t_e},Symbol.toStringTag,{value:"Module"})),C8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function n_e(e,t){return C(),A("svg",C8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M16.494 3.913a2.56 2.56 0 0 1 1.855-.905 2.58 2.58 0 0 1 1.923.749 2.54 2.54 0 0 1 .741 1.915 2.53 2.53 0 0 1-.924 1.835l-12.13 12.13-4.943 1.348 1.348-4.942z"},null,-1)]))}const _8n={render:n_e},S8n=Object.freeze(Object.defineProperty({__proto__:null,default:_8n,render:n_e},Symbol.toStringTag,{value:"Module"})),L8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function r_e(e,t){return C(),A("svg",L8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526M18 8A6 6 0 1 1 6 8a6 6 0 0 1 12 0"},null,-1)]))}const $8n={render:r_e},T8n=Object.freeze(Object.defineProperty({__proto__:null,default:$8n,render:r_e},Symbol.toStringTag,{value:"Module"})),E8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function o_e(e,t){return C(),A("svg",E8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.8 14.7s.9-.9 3.6-.9 4.5 1.8 7.2 1.8 3.6-.9 3.6-.9V3.9s-.9.9-3.6.9S11.1 3 8.4 3s-3.6.9-3.6.9zm0 0V21"},null,-1)]))}const j8n={render:o_e},M8n=Object.freeze(Object.defineProperty({__proto__:null,default:j8n,render:o_e},Symbol.toStringTag,{value:"Module"})),A8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function a_e(e,t){return C(),A("svg",A8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7z"},null,-1)]))}const N8n={render:a_e},P8n=Object.freeze(Object.defineProperty({__proto__:null,default:N8n,render:a_e},Symbol.toStringTag,{value:"Module"})),I8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function s_e(e,t){return C(),A("svg",I8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z"},null,-1)]))}const R8n={render:s_e},D8n=Object.freeze(Object.defineProperty({__proto__:null,default:R8n,render:s_e},Symbol.toStringTag,{value:"Module"})),B8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function i_e(e,t){return C(),A("svg",B8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 3v4M2 5h4m14 12v2m-1-1h2m-6.937-2.5a2 2 0 0 1 1.437-1.437l6.135-1.582a.5.5 0 0 0 0-.962L15.5 9.936A2 2 0 0 1 14.063 8.5l-1.582-6.135a.5.5 0 0 0-.963 0L9.937 8.5A2 2 0 0 1 8.5 9.937l-6.135 1.581a.5.5 0 0 0 0 .964L8.5 14.063A2 2 0 0 1 9.937 15.5l1.582 6.135a.5.5 0 0 0 .963 0z"},null,-1)]))}const H8n={render:i_e},V8n=Object.freeze(Object.defineProperty({__proto__:null,default:H8n,render:i_e},Symbol.toStringTag,{value:"Module"})),F8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function l_e(e,t){return C(),A("svg",F8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7 11v4a2 2 0 0 0 2 2h4"},null,-1),L("circle",{cx:"7",cy:"7",r:"3.25",stroke:"currentColor"},null,-1),L("circle",{cx:"17",cy:"17",r:"3.25",stroke:"currentColor"},null,-1)]))}const U8n={render:l_e},z8n=Object.freeze(Object.defineProperty({__proto__:null,default:U8n,render:l_e},Symbol.toStringTag,{value:"Module"})),W8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function c_e(e,t){return C(),A("svg",W8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 21v-6a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v6M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"},null,-1)]))}const Z8n={render:c_e},Q8n=Object.freeze(Object.defineProperty({__proto__:null,default:Z8n,render:c_e},Symbol.toStringTag,{value:"Module"})),q8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function u_e(e,t){return C(),A("svg",q8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.414 17.657 12 19.07A5 5 0 0 1 4.929 12l1.414-1.414m4.243-4.243L12 4.93A5 5 0 0 1 19.071 12l-1.414 1.414m-8.485 1.414 5.656-5.656"},null,-1)]))}const X8n={render:u_e},Y8n=Object.freeze(Object.defineProperty({__proto__:null,default:X8n,render:u_e},Symbol.toStringTag,{value:"Module"})),G8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function d_e(e,t){return C(),A("svg",G8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32 1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0"},null,-1)]))}const K8n={render:d_e},J8n=Object.freeze(Object.defineProperty({__proto__:null,default:K8n,render:d_e},Symbol.toStringTag,{value:"Module"})),e7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function f_e(e,t){return C(),A("svg",e7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",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),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 16a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const t7n={render:f_e},n7n=Object.freeze(Object.defineProperty({__proto__:null,default:t7n,render:f_e},Symbol.toStringTag,{value:"Module"})),r7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function p_e(e,t){return C(),A("svg",r7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",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),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 16a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const o7n={render:p_e},a7n=Object.freeze(Object.defineProperty({__proto__:null,default:o7n,render:p_e},Symbol.toStringTag,{value:"Module"})),s7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function h_e(e,t){return C(),A("svg",s7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.5 21a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11m3.9-9.4L19 4m-3.5 3.5 3 3M22 7l-3-3"},null,-1)]))}const i7n={render:h_e},l7n=Object.freeze(Object.defineProperty({__proto__:null,default:i7n,render:h_e},Symbol.toStringTag,{value:"Module"})),c7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function m_e(e,t){return C(),A("svg",c7n,t[0]||(t[0]=[L("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)]))}const u7n={render:m_e},d7n=Object.freeze(Object.defineProperty({__proto__:null,default:u7n,render:m_e},Symbol.toStringTag,{value:"Module"})),f7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function g_e(e,t){return C(),A("svg",f7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 11.78v.44a2 2 0 0 0 2 2h.18a2 2 0 0 1 1.73 1l.25.43a2 2 0 0 1 0 2l-.08.15a2 2 0 0 0 .73 2.73l.38.22a2 2 0 0 0 2.73-.73l.1-.15a2 2 0 0 1 1.72-1h.51a2 2 0 0 1 1.74 1l.09.15a2 2 0 0 0 2.73.73l.38-.22a2 2 0 0 0 .73-2.73l-.08-.15a2 2 0 0 1 0-2l.25-.43a2 2 0 0 1 1.73-1H20a2 2 0 0 0 2-2v-.44a2 2 0 0 0-2-2h-.18a2 2 0 0 1-1.73-1l-.25-.43a2 2 0 0 1 0-2l.08-.15a2 2 0 0 0-.73-2.73l-.39-.22a2 2 0 0 0-2.73.73l-.08.15a2 2 0 0 1-1.74 1h-.5a2 2 0 0 1-1.74-1l-.09-.15a2 2 0 0 0-2.73-.73l-.38.22a2 2 0 0 0-.73 2.73l.08.15a2 2 0 0 1 0 2l-.25.43a2 2 0 0 1-1.73 1H4a2 2 0 0 0-2 2"},null,-1),L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 0-6 0 3 3 0 0 0 6 0"},null,-1)]))}const p7n={render:g_e},h7n=Object.freeze(Object.defineProperty({__proto__:null,default:p7n,render:g_e},Symbol.toStringTag,{value:"Module"})),m7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function b_e(e,t){return C(),A("svg",m7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M16 9a5 5 0 0 1 0 6m3.364 3.364a9 9 0 0 0 0-12.728M11 4.702a.706.706 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z"},null,-1)]))}const g7n={render:b_e},b7n=Object.freeze(Object.defineProperty({__proto__:null,default:g7n,render:b_e},Symbol.toStringTag,{value:"Module"})),v7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function v_e(e,t){return C(),A("svg",v7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11.566 18.582v2.778s3.367-.611 4.445-2.222c.58-.87.599-2.196.465-3.334m-10.698-3.01H3s.611-3.367 2.222-4.445c.87-.58 2.196-.6 3.334-.465m-.82 8.883-1.571-1.571-.625-.625a20.2 20.2 0 0 1 1.837-4.667 10.76 10.76 0 0 1 5.199-4.825c2.26-1.003 4.914-1.314 7.712-.903.486 3.46.349 9.4-5.665 12.92a20.6 20.6 0 0 1-4.73 1.828l-.586-.585zm0 0L6.165 18.34"},null,-1)]))}const y7n={render:v_e},x7n=Object.freeze(Object.defineProperty({__proto__:null,default:y7n,render:v_e},Symbol.toStringTag,{value:"Module"})),k7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function y_e(e,t){return C(),A("svg",k7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m9 15 3-3m5 1a6 6 0 0 0-6-6m10 6A10 10 0 0 0 11 3m-7 7a7.31 7.31 0 0 0 10 10z"},null,-1)]))}const w7n={render:y_e},O7n=Object.freeze(Object.defineProperty({__proto__:null,default:w7n,render:y_e},Symbol.toStringTag,{value:"Module"})),C7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function x_e(e,t){return C(),A("svg",C7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 3v4M2 5h4m14 12v2m-1-1h2m-10.582-5.578L5.368 13.5a.763.763 0 0 1-.906-.574l-.439-1.757a.875.875 0 0 1 .565-1.034l11.036-3.629m-2.35 5.307 3.541-.755m-1.546 8.317L12.73 14.3M7.225 9.268l.91 3.642m.596 6.465 2.537-5.075m4.397-7.233a1.635 1.635 0 0 1 1.19-1.982l.89-.222a.817.817 0 0 1 .99.594l1.239 4.953a.82.82 0 0 1-.594.99l-.891.223a1.634 1.634 0 0 1-1.982-1.189zm-2.03 5.77a1.635 1.635 0 1 1-3.27 0 1.635 1.635 0 0 1 3.27 0"},null,-1)]))}const _7n={render:x_e},S7n=Object.freeze(Object.defineProperty({__proto__:null,default:_7n,render:x_e},Symbol.toStringTag,{value:"Module"})),L7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function k_e(e,t){return C(),A("svg",L7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m7.59 13.51 6.83 3.98m-.01-10.98-6.82 3.98M20 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0M8 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0m12 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0"},null,-1)]))}const $7n={render:k_e},T7n=Object.freeze(Object.defineProperty({__proto__:null,default:$7n,render:k_e},Symbol.toStringTag,{value:"Module"})),E7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function w_e(e,t){return C(),A("svg",E7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 12h-1.488a1.2 1.2 0 0 0-1.158.876l-1.41 5.016a.15.15 0 0 1-.288 0L10.344 6.108a.15.15 0 0 0-.288 0l-1.41 5.016A1.2 1.2 0 0 1 7.494 12H6"},null,-1),L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"},null,-1)]))}const j7n={render:w_e},M7n=Object.freeze(Object.defineProperty({__proto__:null,default:j7n,render:w_e},Symbol.toStringTag,{value:"Module"})),A7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function O_e(e,t){return C(),A("svg",A7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v6l4 2M2 12a10 10 0 1 0 20 0 10 10 0 0 0-20 0"},null,-1)]))}const N7n={render:O_e},P7n=Object.freeze(Object.defineProperty({__proto__:null,default:N7n,render:O_e},Symbol.toStringTag,{value:"Module"})),I7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function C_e(e,t){return C(),A("svg",I7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M17.263 5.71v.181c0 .558-.222 1.094-.617 1.489l-3.157 3.158a2.105 2.105 0 0 1-2.978 0L7.353 7.38a2.1 2.1 0 0 1-.616-1.489v-.18m10.526 0V3.605A2.105 2.105 0 0 0 15.158 1.5H8.842a2.105 2.105 0 0 0-2.105 2.105v2.106m10.526 0H6.737m0 15.789h10.526m-10.526 0 3.948-3.158a2.105 2.105 0 0 1 2.63 0l3.948 3.158m-10.526 0v-4.391c0-.559.222-1.094.616-1.489l3.158-3.158a2.105 2.105 0 0 1 2.978 0l3.157 3.158c.395.395.617.93.617 1.489V21.5"},null,-1)]))}const R7n={render:C_e},D7n=Object.freeze(Object.defineProperty({__proto__:null,default:R7n,render:C_e},Symbol.toStringTag,{value:"Module"})),B7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function __e(e,t){return C(),A("svg",B7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2m20 0v-2a4 4 0 0 0-3-3.87m-3-12a4 4 0 0 1 0 7.75M13 7a4 4 0 1 1-8 0 4 4 0 0 1 8 0"},null,-1)]))}const H7n={render:__e},V7n=Object.freeze(Object.defineProperty({__proto__:null,default:H7n,render:__e},Symbol.toStringTag,{value:"Module"})),F7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function S_e(e,t){return C(),A("svg",F7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 2a7.071 7.071 0 1 0 10 10M12 2a10 10 0 0 0-7.071 17.071M12 2a10 10 0 0 0-7.071 17.071M22 12a10 10 0 0 1-17.071 7.071M22 12a10 10 0 0 1-17.071 7.071"},null,-1)]))}const U7n={render:S_e},z7n=Object.freeze(Object.defineProperty({__proto__:null,default:U7n,render:S_e},Symbol.toStringTag,{value:"Module"})),W7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function L_e(e,t){return C(),A("svg",W7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"},null,-1)]))}const Z7n={render:L_e},Q7n=Object.freeze(Object.defineProperty({__proto__:null,default:Z7n,render:L_e},Symbol.toStringTag,{value:"Module"})),q7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function $_e(e,t){return C(),A("svg",q7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11.023 12.976a1.8 1.8 0 0 0-.603-.397L3.284 9.718a.45.45 0 0 1 .021-.843l17.098-5.85a.446.446 0 0 1 .572.572l-5.85 17.098a.45.45 0 0 1-.843.021l-2.861-7.138a1.8 1.8 0 0 0-.398-.601Zm0 0 9.845-9.843"},null,-1)]))}const X7n={render:$_e},Y7n=Object.freeze(Object.defineProperty({__proto__:null,default:X7n,render:$_e},Symbol.toStringTag,{value:"Module"})),G7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function T_e(e,t){return C(),A("svg",G7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7m2-3h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2"},null,-1)]))}const K7n={render:T_e},J7n=Object.freeze(Object.defineProperty({__proto__:null,default:K7n,render:T_e},Symbol.toStringTag,{value:"Module"})),egn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function E_e(e,t){return C(),A("svg",egn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12h5M9 8h5m-9 9V5a2 2 0 0 1 2-2h13m0 0a2 2 0 0 0-2 2v14a2 2 0 0 1-2 2m4-18a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1h-3m-2 13H4a2 2 0 0 1-2-2v-1a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1a2 2 0 0 0 2 2"},null,-1)]))}const tgn={render:E_e},ngn=Object.freeze(Object.defineProperty({__proto__:null,default:tgn,render:E_e},Symbol.toStringTag,{value:"Module"})),rgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function j_e(e,t){return C(),A("svg",rgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 2v20m5-17H9.5a3.5 3.5 0 1 0 0 7h5a3.5 3.5 0 1 1 0 7H6"},null,-1)]))}const ogn={render:j_e},agn=Object.freeze(Object.defineProperty({__proto__:null,default:ogn,render:j_e},Symbol.toStringTag,{value:"Module"})),sgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function M_e(e,t){return C(),A("svg",sgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m22 7-8.5 8.5-5-5L2 17M22 7h-6m6 0v6"},null,-1)]))}const ign={render:M_e},lgn=Object.freeze(Object.defineProperty({__proto__:null,default:ign,render:M_e},Symbol.toStringTag,{value:"Module"})),cgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function A_e(e,t){return C(),A("svg",cgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8 17v-7m4 7v-4m4 4V8M5 21h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2"},null,-1)]))}const ugn={render:A_e},dgn=Object.freeze(Object.defineProperty({__proto__:null,default:ugn,render:A_e},Symbol.toStringTag,{value:"Module"})),fgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function N_e(e,t){return C(),A("svg",fgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3.011 20.99c1.124-.887 2.04-1.775 3.506-1.977 1.268 0 2.49.481 3.416 1.348a3.595 3.595 0 0 0 5.561-2.115 3.146 3.146 0 0 0 3.317-4.599 3.148 3.148 0 0 0 1.234-5.241 3.145 3.145 0 1 0-4.45-4.45 3.147 3.147 0 0 0-5.24 1.234 3.146 3.146 0 0 0-4.6 3.317 3.596 3.596 0 0 0-2.11 5.533c.714 1.035 1.532 2.197 1.344 3.444-.247 1.477-1.066 2.366-1.978 3.506m0 0L16.494 7.507"},null,-1)]))}const pgn={render:N_e},hgn=Object.freeze(Object.defineProperty({__proto__:null,default:pgn,render:N_e},Symbol.toStringTag,{value:"Module"})),mgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function P_e(e,t){return C(),A("svg",mgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21.038 16.44v2.71a1.81 1.81 0 0 1-1.97 1.807 17.9 17.9 0 0 1-7.794-2.773 17.6 17.6 0 0 1-5.42-5.42 17.9 17.9 0 0 1-2.773-7.83 1.806 1.806 0 0 1 1.798-1.97h2.71a1.806 1.806 0 0 1 1.806 1.554 11.6 11.6 0 0 0 .632 2.538 1.8 1.8 0 0 1-.406 1.906l-1.147 1.147a14.45 14.45 0 0 0 5.42 5.42l1.146-1.148a1.81 1.81 0 0 1 1.906-.406c.82.305 1.671.518 2.538.632a1.807 1.807 0 0 1 1.554 1.833"},null,-1)]))}const ggn={render:P_e},bgn=Object.freeze(Object.defineProperty({__proto__:null,default:ggn,render:P_e},Symbol.toStringTag,{value:"Module"})),vgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function I_e(e,t){return C(),A("svg",vgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m8.21 2.5 1.782 1.781m4.016 0L15.79 2.5M9.158 7.36v-.947a2.845 2.845 0 1 1 5.684 0v.947M12 19.553c-3.126 0-5.684-2.558-5.684-5.685v-2.842a3.79 3.79 0 0 1 3.79-3.79h3.789a3.79 3.79 0 0 1 3.79 3.79v2.842c0 3.127-2.559 5.685-5.685 5.685m0 0v-8.527M6.818 9.132c-1.829-.19-3.344-1.8-3.344-3.79m2.842 7.58h-3.79m.948 7.578c0-1.99 1.61-3.695 3.6-3.79M20.498 5.342c0 1.99-1.516 3.6-3.316 3.79m4.292 3.79h-3.79m-.758 3.788c1.99.095 3.6 1.8 3.6 3.79"},null,-1)]))}const ygn={render:I_e},xgn=Object.freeze(Object.defineProperty({__proto__:null,default:ygn,render:I_e},Symbol.toStringTag,{value:"Module"})),kgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function R_e(e,t){return C(),A("svg",kgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M17.662 18.661a4.33 4.33 0 1 0-2.455-7.891 6.662 6.662 0 1 0-6.537 7.89h8.993Z"},null,-1)]))}const wgn={render:R_e},Ogn=Object.freeze(Object.defineProperty({__proto__:null,default:wgn,render:R_e},Symbol.toStringTag,{value:"Module"})),Cgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function D_e(e,t){return C(),A("svg",Cgn,t[0]||(t[0]=[L("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),L("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),L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6 8h4m-4 8h4"},null,-1)]))}const _gn={render:D_e},Sgn=Object.freeze(Object.defineProperty({__proto__:null,default:_gn,render:D_e},Symbol.toStringTag,{value:"Module"})),Lgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function B_e(e,t){return C(),A("svg",Lgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 6.601c0 .955.948 1.87 2.636 2.546S9.613 10.2 12 10.2s4.676-.38 6.364-1.054C20.052 8.47 21 7.556 21 6.6m-18 0c0-.955.948-1.87 2.636-2.546C7.324 3.38 9.613 3.001 12 3.001s4.676.38 6.364 1.054C20.052 4.731 21 5.646 21 6.601m-18 0v5.4m18-5.4v5.4M3 12c0 1.987 4.03 3.6 9 3.6s9-1.612 9-3.6M3 12v5.4c0 1.987 4.03 3.6 9 3.6s9-1.613 9-3.6V12"},null,-1)]))}const $gn={render:B_e},Tgn=Object.freeze(Object.defineProperty({__proto__:null,default:$gn,render:B_e},Symbol.toStringTag,{value:"Module"})),Egn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function H_e(e,t){return C(),A("svg",Egn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M9 3H4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1m11 0h-5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1m0 11h-5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1M9 14H4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1"},null,-1)]))}const jgn={render:H_e},Mgn=Object.freeze(Object.defineProperty({__proto__:null,default:jgn,render:H_e},Symbol.toStringTag,{value:"Module"})),Agn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function V_e(e,t){return C(),A("svg",Agn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 14h-5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1M9 14H4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1m5-11H9a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1"},null,-1)]))}const Ngn={render:V_e},Pgn=Object.freeze(Object.defineProperty({__proto__:null,default:Ngn,render:V_e},Symbol.toStringTag,{value:"Module"})),Ign={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function F_e(e,t){return C(),A("svg",Ign,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m3.3 7 8.7 5m0 0 8.7-5M12 12v10m9-14a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"},null,-1)]))}const Rgn={render:F_e},Dgn=Object.freeze(Object.defineProperty({__proto__:null,default:Rgn,render:F_e},Symbol.toStringTag,{value:"Module"})),Bgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function U_e(e,t){return C(),A("svg",Bgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m7 14 2.5-2.5L7 9m5 7.5h5M5 4h14c1.105 0 2 .796 2 1.778v12.444c0 .982-.895 1.778-2 1.778H5c-1.105 0-2-.796-2-1.778V5.778C3 4.796 3.895 4 5 4"},null,-1)]))}const Hgn={render:U_e},Vgn=Object.freeze(Object.defineProperty({__proto__:null,default:Hgn,render:U_e},Symbol.toStringTag,{value:"Module"})),Fgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function z_e(e,t){return C(),A("svg",Fgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.347",d:"M2.02 3.015h1.796l2.39 11.156a1.8 1.8 0 0 0 1.796 1.42h8.784a1.796 1.796 0 0 0 1.752-1.411l1.482-6.674H4.777"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M7 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0m9 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const Ugn={render:z_e},zgn=Object.freeze(Object.defineProperty({__proto__:null,default:Ugn,render:z_e},Symbol.toStringTag,{value:"Module"})),Wgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function W_e(e,t){return C(),A("svg",Wgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 8v13m0-13c-.362-1.49-.985-2.765-1.787-3.657C9.41 3.451 8.465 2.983 7.5 3a2.5 2.5 0 1 0 0 5M12 8c.362-1.49.985-2.765 1.787-3.657.803-.892 1.748-1.36 2.713-1.343a2.5 2.5 0 0 1 0 5m2.5 4v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7M4 8h16a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1"},null,-1)]))}const Zgn={render:W_e},Qgn=Object.freeze(Object.defineProperty({__proto__:null,default:Zgn,render:W_e},Symbol.toStringTag,{value:"Module"})),qgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function Z_e(e,t){return C(),A("svg",qgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 9h18M3 9v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9M3 9l2.45-4.9A2 2 0 0 1 7.24 3h9.52a2 2 0 0 1 1.8 1.1L21 9m-9-6v6"},null,-1)]))}const Xgn={render:Z_e},Ygn=Object.freeze(Object.defineProperty({__proto__:null,default:Xgn,render:Z_e},Symbol.toStringTag,{value:"Module"})),Ggn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function Q_e(e,t){return C(),A("svg",Ggn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.929 19.071a10 10 0 0 0 14.142 0m0-14.142a10 10 0 0 0-14.142 0M4 15.5v-7l2.8 7v-7m5.6 7H11a1.4 1.4 0 0 1-1.4-1.4V9.9A1.4 1.4 0 0 1 11 8.5h1.4m-2.8 4.2h2.8m2.8-4.2v1.883a8.4 8.4 0 0 0 .601 3.119L16.6 15.5l1.4-4.9 1.4 4.9.8-1.998a8.4 8.4 0 0 0 .6-3.12V8.5"},null,-1)]))}const Kgn={render:Q_e},Jgn=Object.freeze(Object.defineProperty({__proto__:null,default:Kgn,render:Q_e},Symbol.toStringTag,{value:"Module"})),e9n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function q_e(e,t){return C(),A("svg",e9n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7 20.5 8 14h1.08a1.48 1.48 0 0 0 1.18-.58 1.44 1.44 0 0 0 .27-1.28l-.75-3A1.49 1.49 0 0 0 8.33 8H3m16-3h-3.753a1.49 1.49 0 0 0-1.45 1.14l-.75 3a1.44 1.44 0 0 0 .28 1.28 1.48 1.48 0 0 0 1.18.58h1.58l.78 4.75a1.5 1.5 0 0 0 1.46 1.25h2M2 12a10 10 0 1 0 20 0 10 10 0 0 0-20 0"},null,-1)]))}const t9n={render:q_e},n9n=Object.freeze(Object.defineProperty({__proto__:null,default:t9n,render:q_e},Symbol.toStringTag,{value:"Module"})),r9n=Object.assign({"./icons/basic-shape-diamond.svg":O4n,"./icons/basic-shape-hexagon.svg":S4n,"./icons/basic-shape-primary-circle-ellipse-round.svg":T4n,"./icons/basic-shape-primary-square-rectangle.svg":M4n,"./icons/basic-shape-shield.svg":P4n,"./icons/computer-device-desktop-monitor.svg":D4n,"./icons/computer-device-desktop.svg":V4n,"./icons/computer-device-laptop.svg":z4n,"./icons/computer-device-mobile-phone-android-samsung-back.svg":Q4n,"./icons/computer-device-mobile-phone-android-samsung.svg":Y4n,"./icons/computer-device-mobile-phone-iphone-x-back.svg":J4n,"./icons/computer-device-mobile-phone-iphone-x.svg":n6n,"./icons/computer-device-mobile-tablet-touch.svg":a6n,"./icons/computer-device-mobile-tablet.svg":l6n,"./icons/computer-device-network-ethernet-cat6.svg":d6n,"./icons/computer-device-network-lan-www.svg":h6n,"./icons/computer-device-network-wifi-connection.svg":b6n,"./icons/computer-device-network-wifi-router.svg":x6n,"./icons/ecology-science-erlenmeyer-flask.svg":O6n,"./icons/image-flash-lightning.svg":S6n,"./icons/image-picture-flower.svg":T6n,"./icons/interface-alert-exclamation-diamond.svg":M6n,"./icons/interface-alert-exclamation-triangle-warning.svg":P6n,"./icons/interface-alert-information-circle.svg":D6n,"./icons/interface-award-crown.svg":V6n,"./icons/interface-bookmark-tag.svg":z6n,"./icons/interface-bookmark.svg":Q6n,"./icons/interface-calendar-date-one.svg":Y6n,"./icons/interface-content-book-open-pages.svg":J6n,"./icons/interface-content-book-page.svg":n8n,"./icons/interface-content-file.svg":a8n,"./icons/interface-content-folder.svg":l8n,"./icons/interface-copy-clipboard.svg":d8n,"./icons/interface-edit-attachment.svg":h8n,"./icons/interface-edit-binocular.svg":b8n,"./icons/interface-edit-magic-wand.svg":x8n,"./icons/interface-edit-tool-paint-roller.svg":O8n,"./icons/interface-edit-tool-pencil.svg":S8n,"./icons/interface-favorite-award.svg":T8n,"./icons/interface-favorite-flag.svg":M8n,"./icons/interface-favorite-heart.svg":P8n,"./icons/interface-favorite-star.svg":D8n,"./icons/interface-favorite-stars-sparkles.svg":V8n,"./icons/interface-hierarchy-flowchart.svg":z8n,"./icons/interface-home-house.svg":Q8n,"./icons/interface-hyperlink.svg":Y8n,"./icons/interface-lighting-brightness.svg":J8n,"./icons/interface-lock-closed.svg":n7n,"./icons/interface-lock-open-unlock.svg":a7n,"./icons/interface-login-key.svg":l7n,"./icons/interface-search.svg":d7n,"./icons/interface-setting-cog.svg":h7n,"./icons/interface-share-megaphone-bullhorn.svg":b7n,"./icons/interface-share-rocket.svg":x7n,"./icons/interface-share-satellite.svg":O7n,"./icons/interface-share-space-ship.svg":S7n,"./icons/interface-share.svg":T7n,"./icons/interface-signal-square.svg":M7n,"./icons/interface-time-clock-circle.svg":P7n,"./icons/interface-time-hour-glass.svg":D7n,"./icons/interface-users-multiple.svg":V7n,"./icons/interface-weather-moon.svg":z7n,"./icons/mail-chat-bubble-square.svg":Q7n,"./icons/mail-send-email-paper-airplane.svg":Y7n,"./icons/mail-send-envelope.svg":J7n,"./icons/money-cashier-receipt.svg":ngn,"./icons/money-currency-dollar-pay.svg":agn,"./icons/money-graph-arrow-increase.svg":lgn,"./icons/money-graph-bar-chart-increase.svg":dgn,"./icons/nature-ecology-leaf.svg":hgn,"./icons/phone-telephone.svg":bgn,"./icons/programming-bug.svg":xgn,"./icons/programming-cloud.svg":Ogn,"./icons/programming-computer-database-server.svg":Sgn,"./icons/programming-computer-database.svg":Tgn,"./icons/programming-module-four-layout.svg":Mgn,"./icons/programming-module-three.svg":Pgn,"./icons/programming-module.svg":Dgn,"./icons/programming-script-code.svg":Vgn,"./icons/shopping-cart.svg":zgn,"./icons/shopping-gift-present.svg":Qgn,"./icons/shopping-shipping-box-parcel-package.svg":Ygn,"./icons/tag-new-circle.svg":Jgn,"./icons/travel-map-earth-globe.svg":n9n});function o9n(e){const t=Object.entries(e).map(([o,a])=>{const s=o.replace("./icons/","").replace(".svg","");return{icon:{src:s,title:s.replaceAll("-"," "),tags:[]},rawData:a}}),n=t.map(o=>o.icon),r=Object.fromEntries(t.map(o=>[o.icon.src,o.rawData]));return{iconDefinitionList:n,iconDataMap:r}}const X_e=o9n(r9n),a9n=X_e.iconDefinitionList,s9n=X_e.iconDataMap,i9n=e=>s9n[e],sg=le({__name:"LibraryIcon",props:{src:{}},setup(e){const t=e,n=Q(()=>i9n(t.src));return(r,o)=>n.value?(C(),Y(fo(n.value),{key:0})):te("",!0)}}),l9n=` ,\\
2912
+ `});const se=new Blob([z],{type:"text/plain"}),G=URL.createObjectURL(se),J=document.createElement("a");J.download=`${new Date().toISOString()}.logs`,J.href=G,J.target="_blank",J.click()}function ne(){c(mQe),M(h.length)}function ae(){return n===$O?h.map((z,se)=>u.jsx(f3n,{log:z,onClickArrow:()=>ne()},se)):u.jsx("span",{className:`${Ze.desktopOtherCliTerminalSmall} ${Ze.textWhite}`,children:JSON.stringify(h)})}function oe(z){const se=z.currentTarget.scrollTop;se>k?l!==r4&&c(hQe):se<k&&c(gQe),_(se<=0?0:se)}return P?u.jsx(vh,{error:P,onClickDismiss:()=>D(void 0)}):o?u.jsx(uU,{loading:!0,applySentences:{containerClassName:`${Qe.mediumFlexBlock} ${Qe.itemsCenter}`,sentences:[]},containerClassName:SU.loadingSpinner,spinnerProps:{size:40,thickness:3}}):u.jsx("div",{className:vl.container,children:u.jsx("div",{className:vl.content,children:u.jsx("div",{className:`${Qe.largeFlexBlock} ${Qe.fullWidth} ${vl.flexGrow}`,children:u.jsxs(wc,{classes:vl.borderexBoxPodContainer,backgroundColor:pu,color:qo,children:[u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.itemsCenter} ${Qe.justifyBetween} ${vl.lateralPadding} ${vl.top}`,children:[u.jsx("span",{className:vl.select,children:" "}),u.jsx(E3n,{defaultLevelSelected:30,onChangeLevelSelected:z=>i(z)}),u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.justifyEnd} ${vl.buttonContainer}`,children:[u.jsx(Od,{type:"button",paddingClass:Qe.smallButtonPadding,label:"Pretty",onClick:()=>r($O),color:vn,backgroundColor:pu,selected:n===$O,textClass:Ze.desktopButtonSmall}),u.jsx(Od,{type:"button",paddingClass:Qe.smallButtonPadding,label:"Raw",onClick:()=>r(See),color:vn,backgroundColor:qo,selected:n===See,textClass:Ze.desktopButtonSmall})]})]}),u.jsx(IS,{marginBottom:e8,color:vn,opacity:t8}),u.jsxs("div",{className:`${vl.logsContainer} ${vl.lateralPadding}`,ref:x,onScroll:oe,children:[h?.length>0&&u.jsxs(u.Fragment,{children:[u.jsx("hr",{className:vl.logDividerTop}),ae()]}),u.jsx("div",{className:vl.logDividerBottom})]}),u.jsx(IS,{marginTop:e8,color:vn,opacity:t8}),u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.itemsCenter} ${Qe.justifyBetween} ${vl.lateralPadding} ${vl.bottom}`,children:[u.jsx("div",{children:" "}),S?u.jsxs("p",{className:`${Ze.desktopBodySmall} ${Ze.textWhite}`,children:["There are new logs. ",u.jsx("span",{className:`${Qe.cursorPointer} ${Ze.textTertiaryBlue}`,onClick:()=>V(),children:"Go to the bottom"})," to resume"]}):u.jsx("p",{className:`${Ze.desktopBodySmall} ${Ze.textRichBlack}`,children:"There are new logs. Go to the bottom to resume"}),u.jsx(Od,{type:"button",paddingClass:Qe.smallButtonPadding,label:"Save Logs",onClick:()=>F(),color:vn,backgroundColor:qo,textClass:Ze.desktopButtonSmall})]})]})})})})},M3n="_boxService_nb41f_1",A3n="_servicesContainer_nb41f_4",N3n="_selectedThread_nb41f_7",P3n="_workerThreads_nb41f_10",K6={boxService:M3n,servicesContainer:A3n,selectedThread:N3n,workerThreads:P3n};function I3n({id:e,entrypoint:t,isSelected:n,onChangeService:r=()=>{}}){const[o]=ge.useState(n);return u.jsx(wc,{classes:K6.boxService,color:qo,backgroundColor:o?vn:pu,backgroundColorOpacity:o?Rv:n8,internalOverHandling:!0,backgroundColorOpacityOver:t8,backgroundColorOver:vn,children:u.jsx("div",{className:`${Qe.miniFlexBlock} ${Qe.fullWidth}`,children:u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.fullWidth} ${Qe.justifyBetween}`,children:[u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.fullWidth}`,children:[u.jsx(TPe,{onChange:r,color:vn,checked:n,size:Oe}),u.jsx("span",{className:`${Ze.desktopBodySmall} ${Ze.textWhite}`,children:e}),t&&u.jsx("span",{className:`${Ze.desktopBodySmallest} ${Ze.textWhite} ${Ze.opacity70}`,children:"(Entrypoint)"})]}),u.jsx(Is.InternalLinkIcon,{color:vn,size:Oe,addImportantToColor:!0})]})})})}function R3n({services:e,handleChangeService:t=()=>{},selectAllServices:n=!0,handleChangeAllServices:r=()=>{}}){return u.jsxs("div",{className:`${Qe.smallFlexBlock} ${Qe.fullWidth} ${K6.servicesContainer}`,children:[e.length>1&&u.jsx(Y1e.ToggleSwitch,{label:"Select all services",labelClassName:`${Ze.desktopBodySmall} ${Ze.textWhite}`,name:"selectAllServices",onChange:()=>r(),checked:n,size:Oe}),u.jsx("div",{className:`${Qe.tinyFlexBlock} ${Qe.fullWidth}`,children:e.map(o=>u.jsx(I3n,{...o,isSelected:ib(o),onChangeService:()=>t(o)},o.id))})]})}const D3n=()=>{const{setCurrentPage:e,runtimePid:t,mode:n}=Nc(),[r,o]=ge.useState(void 0),[a,s]=ge.useState(!0),[i,l]=ge.useState(vn),[c,d]=ge.useState([]);ge.useEffect(()=>{e(nL)},[]),ge.useEffect(()=>{l(vn)},[]),ge.useEffect(()=>{(async()=>{try{if(t){const b=await jU(t,n);d(b.map(v=>({...v,selected:!0}))),o(void 0)}}catch(b){o(b)}})()},[t,n]);function f(m){const b=c.map(v=>m.id===v.id?{...v,selected:!ib(v)}:{...v});a&&b.find(v=>!ib(v))!==void 0&&s(!1),!a&&b.filter(ib).length===b.length&&s(!0),d(b)}function h(){s(!a),d(c.map(m=>({...m,selected:!a})))}return r?u.jsx(vh,{error:r,onClickDismiss:()=>o(void 0)}):u.jsx("div",{className:eD.detailPodContainer,children:u.jsxs("div",{className:eD.detailPodContent,children:[u.jsx("div",{className:`${Qe.miniFlexBlock} ${Qe.fullWidth}`,children:u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.fullWidth}`,children:[u.jsx(Is.CLIIcon,{color:i,size:q}),u.jsx("p",{className:`${Ze.desktopBodyLargeSemibold} ${Ze.textWhite} `,children:"Logs"})]})}),u.jsx(wc,{color:qo,backgroundColor:Tx,classes:eD.borderedBoxContainerPodLogs,children:u.jsxs("div",{className:`${Qe.smallFlexRow} ${Qe.itemsStart}`,children:[u.jsx(R3n,{services:c,handleChangeService:f,selectAllServices:a,handleChangeAllServices:()=>h()}),u.jsx(j3n,{filteredServices:c.filter(ib).map(m=>m.id)})]})})]})})},B3n="_podServicesContainer_1gi78_1",H3n="_podServicesContent_1gi78_5",V3n="_borderedBoxContainerPodServices_1gi78_8",sD={podServicesContainer:B3n,podServicesContent:H3n,borderedBoxContainerPodServices:V3n},sCe=e=>e==="all"?"All Threads":`Thread-${e}`,HF=e=>e?e>1:!1;function F3n({service:e,isSelected:t,onClickService:n,selectedThread:r="all",onSelectThread:o}){const[a]=ge.useState(t),s=rL(e),i=HF(rL(e)),l=()=>{const c=[];if(i)for(let d=0;d<=s;d++){const f=d===0?"all":d;c.push(u.jsx("div",{className:`${Qe.fullWidth} ${Qe.justifyBetween} ${K6.workerThreads} ${Ze.opacity70} ${r===f&&K6.selectedThread}`,onClick:h=>{h.stopPropagation(),o(f)},children:sCe(f)},f))}return c};return u.jsx(wc,{classes:K6.boxService,color:qo,backgroundColor:a&&!i?vn:pu,backgroundColorOpacity:a&&!i?Rv:n8,internalOverHandling:!0,backgroundColorOpacityOver:(!a||!i)&&t8,backgroundColorOver:(!a||!i)&&vn,clickable:!0,onClick:()=>n(),children:u.jsxs("div",{className:`${Qe.miniFlexBlock} ${Qe.fullWidth}`,children:[u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.fullWidth} ${Qe.justifyBetween}`,children:[u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.fullWidth}`,children:[u.jsx("span",{className:`${Ze.desktopBodySmall} ${Ze.textWhite}`,children:e.id}),ZD(e)&&u.jsx("span",{className:`${Ze.desktopBodySmallest} ${Ze.textWhite} ${Ze.opacity70}`,children:"(Entrypoint)"})]}),i&&(a?u.jsx("span",{children:u.jsx(Is.ArrowDownIcon,{color:vn,size:Oe})}):u.jsx("span",{className:`${Ze.opacity70}`,children:u.jsx(Is.ArrowRightIcon,{color:vn,size:Oe})}))]}),i&&a&&u.jsx("div",{className:`${Qe.fullWidth}`,children:l()})]})})}function U3n({services:e,handleClickService:t,handleClickThread:n,showAggregatedMetrics:r=!0,handleChangeShowAggregateMetrics:o,serviceSelected:a}){const[s,i]=ge.useState("all"),l=c=>{i(c),n(c)};return u.jsxs("div",{className:`${Qe.smallFlexBlock} ${Qe.fullWidth} ${K6.servicesContainer}`,children:[e.length>1&&u.jsx(Y1e.ToggleSwitch,{label:"Show Aggregated Metrics",labelClassName:`${Ze.desktopBodySmall} ${Ze.textWhite}`,name:"showAggregatedMetrics",onChange:()=>o(),checked:r,size:Oe}),u.jsx("div",{className:`${Qe.tinyFlexBlock} ${Qe.fullWidth}`,children:e.map(c=>{const d=a.id===c.id;return u.jsx(F3n,{service:c,isSelected:d,onClickService:()=>t(c),selectedThread:d?s:"all",onSelectThread:f=>l(f)},`${c.id}-$${c.selected}`)})})]})}const z3n="_container_1lg3r_1",W3n="_content_1lg3r_4",Z3n="_boxMetricContainer_1lg3r_7",Q3n="_flexGrow_1lg3r_10",J9={container:z3n,content:W3n,boxMetricContainer:Z3n,flexGrow:Q3n},q3n={dataMem:YOe,dataCpu:GOe,dataReq:KOe,dataKafka:JOe,dataWebsocket:eCe,dataUndici:tCe,dataLatency:Uq,dataNodejs:nCe};function X3n({threadIndex:e,service:{id:t},services:n,showAggregatedMetrics:r}){const o=e?sCe(e):"",[a,s]=ge.useState(void 0),[i,l]=ge.useState(!0),[c,d]=ge.useState(DF()),[f,h]=ge.useState(DF()),{runtimePid:m,mode:b}=Nc(),v=async()=>{try{if(t&&m){const x=e&&e!=="all"?OXe(m,t,e-1,b):wXe(m,t,b),[k,_]=await Promise.all([h0e(m,b),x]);h(k),d(_),s(void 0)}}catch(x){s(x)}finally{l(!1)}};return XOe(()=>{v()},Rde),ge.useEffect(()=>{v()},[t,r,e,b]),a?u.jsx(vh,{error:a,onClickDismiss:()=>s(void 0)}):u.jsx("div",{className:`${J9.container} ${J9.content} ${Qe.smallFlexBlock} ${Qe.fullWidth} ${J9.flexGrow}`,children:Dde.map(x=>(x!=="dataKafka"||x==="dataKafka"&&QQe(n))&&u.jsxs("div",{className:`${Qe.tinyFlexBlock} ${Qe.fullWidth}`,children:[u.jsxs("div",{className:`${Qe.smallFlexRow} ${Qe.fullWidth}`,children:[u.jsx(wc,{color:qo,backgroundColor:pu,classes:J9.boxMetricContainer,children:u.jsx(BF,{title:`${t} ${oc[x].title}`,unit:`(${oc[x].unit})`,metricURL:oc[x].type,dataValues:c[x],initialLoading:i,chartTooltipPosition:Xb,options:oc[x].options,showLegend:!1,timeline:!0,slimCss:!0,threadName:o})}),r&&u.jsx(wc,{color:qo,backgroundColor:pu,classes:J9.boxMetricContainer,children:u.jsx(BF,{title:`Entrypoint ${oc[x].title}`,unit:`(${oc[x].unit})`,metricURL:oc[x].type,dataValues:f[x],initialLoading:i,chartTooltipPosition:Xb,options:oc[x].options,showLegend:!1,timeline:!0,slimCss:!0})})]}),oCe(ZQe(oc[x].options),q3n[x])]},x))})}const Y3n=()=>{const{setCurrentPage:e,runtimePid:t,mode:n}=Nc(),[r,o]=ge.useState(void 0),[a,s]=ge.useState(!0),[i,l]=ge.useState([]),[c,d]=ge.useState({id:"",status:""}),[f,h]=ge.useState();return ge.useEffect(()=>{e(tL)},[]),ge.useEffect(()=>{(async()=>{try{if(t){const b=await jU(t,n);l(b),d(b[0]),o(void 0)}}catch(b){o(b)}})()},[t,n]),r?u.jsx(vh,{error:r,onClickDismiss:()=>o(void 0)}):u.jsx("div",{className:sD.podServicesContainer,children:u.jsxs("div",{className:sD.podServicesContent,children:[u.jsx("div",{className:`${Qe.miniFlexBlock} ${Qe.fullWidth}`,children:u.jsxs("div",{className:`${Qe.tinyFlexRow} ${Qe.fullWidth}`,children:[u.jsx(Is.NodeJSMetricsIcon,{color:vn,size:q}),u.jsx("p",{className:`${Ze.desktopBodyLargeSemibold} ${Ze.textWhite} `,children:"Metrics"})]})}),u.jsx(wc,{color:qo,backgroundColor:Tx,classes:sD.borderedBoxContainerPodServices,children:u.jsxs("div",{className:`${Qe.smallFlexRow} ${Qe.itemsStart}`,children:[u.jsx(U3n,{services:i,serviceSelected:c,handleClickService:m=>{d(m),HF(rL(m))?h("all"):h(void 0)},handleClickThread:m=>{HF(rL(c))?h(m):h(void 0)},showAggregatedMetrics:a,handleChangeShowAggregateMetrics:()=>s(!a)},c.id),u.jsx(X3n,{threadIndex:f,service:c,services:i,showAggregatedMetrics:a})]})})]})})},G3n="_fullFlamegraph_11mf7_1",K3n={fullFlamegraph:G3n},J3n=()=>{const{setCurrentPage:e}=Nc(),[t,n]=ge.useState();return ge.useEffect(()=>{e(eL)},[]),ge.useEffect(()=>{(async()=>{n(await p0e())})()},[]),t&&u.jsx("div",{className:K3n.fullFlamegraph,children:u.jsx(vXe,{profile:t,showHottestFrames:!0,showControls:!0,showStackDetails:!0})})};function emn(){const e=Nc(),{setCurrentWindowWidth:t}=e,[n,r]=ge.useState(!1),[o,a]=ge.useState(!1),{ErrorBoundary:s,error:i}=wQe({onDidCatch:c=>{a(!0),console.error(c)}});ge.useEffect(()=>{async function c(){r(!1)}c()},[]),ge.useEffect(()=>{t(window.innerWidth);const c=()=>{t(window.innerWidth)};return window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)}},[]);function l(){a(!1)}return n?u.jsx(uU,{loading:!0,applySentences:{containerClassName:`${Qe.mediumFlexBlock} ${Qe.itemsCenter}`,sentences:[{style:`${Ze.desktopBodySmall} ${Ze.textWhite}`,text:"Loading ..."}]},containerClassName:SU.loadingSpinner,spinnerProps:{size:40,thickness:3}}):o&&i?u.jsx(vh,{error:i,onClickDismiss:()=>l()}):u.jsx(s,{children:u.jsx(MTe,{children:u.jsxs(cTe,{children:[u.jsx(tb,{path:C2,element:u.jsx(jO,{children:u.jsx(AO,{children:u.jsx(f5n,{})})})}),u.jsx(tb,{path:eL,element:u.jsx(jO,{children:u.jsx(AO,{children:u.jsx(J3n,{})})})}),u.jsx(tb,{path:tL,element:u.jsx(jO,{children:u.jsx(AO,{children:u.jsx(Y3n,{})})})}),u.jsx(tb,{path:nL,element:u.jsx(jO,{children:u.jsx(AO,{children:u.jsx(D3n,{})})})})]})})})}const iCe=document.getElementById("root");if(!iCe)throw new Error("Failed to find the root element");y$e.createRoot(iCe).render(u.jsx(emn,{}));const tmn={parse(e){try{return{error:!1,data:JSON.parse(e)}}catch(t){return{error:!0,message:t.message?String(t.message):"Unknown Error"}}}},nmn=["aria-pressed"],rmn={class:"sr-only"},omn={class:"size-4",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},amn={"clip-path":"url(#mask)"},smn=le({__name:"SidebarToggle",setup(e){const{isSidebarOpen:t,toggleSidebarOpen:n}=Ih();return(r,o)=>(C(),A("button",{"aria-pressed":O(t),class:"scalar-sidebar-toggle text-c-3 hover:bg-b-2 active:text-c-1 rounded-lg p-2",type:"button",onClick:o[0]||(o[0]=(...a)=>O(n)&&O(n)(...a))},[L("span",rmn,Te(O(t)?"Hide":"Show")+" sidebar",1),(C(),A("svg",omn,[o[1]||(o[1]=L("defs",null,[L("clipPath",{id:"mask"},[L("path",{"clip-rule":"evenodd",d:"M9 3.2H4c-1.7 0-3 1.3-3 3v11.5c0 1.7 1.3 3 3 3h5V3.2z"})])],-1)),L("g",amn,[L("path",{class:Ie(["transition-transform duration-300",O(t)?"translate-x-0":"-translate-x-1/2"]),d:"M1 3.2h8v17.5H1z",fill:"currentColor"},null,2)]),o[2]||(o[2]=L("path",{d:"M20 20.8H4c-1.7 0-3-1.3-3-3V6.2c0-1.7 1.3-3 3-3h16c1.7 0 3 1.3 3 3v11.5c0 1.7-1.3 3-3 3zM9 3.2v17.5",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},null,-1))]))],8,nmn))}});var Tr;(function(e){e.assertEqual=o=>o;function t(o){}e.assertIs=t;function n(o){throw new Error}e.assertNever=n,e.arrayToEnum=o=>{const a={};for(const s of o)a[s]=s;return a},e.getValidEnumValues=o=>{const a=e.objectKeys(o).filter(i=>typeof o[o[i]]!="number"),s={};for(const i of a)s[i]=o[i];return e.objectValues(s)},e.objectValues=o=>e.objectKeys(o).map(function(a){return o[a]}),e.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const a=[];for(const s in o)Object.prototype.hasOwnProperty.call(o,s)&&a.push(s);return a},e.find=(o,a)=>{for(const s of o)if(a(s))return s},e.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function r(o,a=" | "){return o.map(s=>typeof s=="string"?`'${s}'`:s).join(a)}e.joinValues=r,e.jsonStringifyReplacer=(o,a)=>typeof a=="bigint"?a.toString():a})(Tr||(Tr={}));var VF;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(VF||(VF={}));const Ft=Tr.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),d2=e=>{switch(typeof e){case"undefined":return Ft.undefined;case"string":return Ft.string;case"number":return isNaN(e)?Ft.nan:Ft.number;case"boolean":return Ft.boolean;case"function":return Ft.function;case"bigint":return Ft.bigint;case"symbol":return Ft.symbol;case"object":return Array.isArray(e)?Ft.array:e===null?Ft.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Ft.promise:typeof Map<"u"&&e instanceof Map?Ft.map:typeof Set<"u"&&e instanceof Set?Ft.set:typeof Date<"u"&&e instanceof Date?Ft.date:Ft.object;default:return Ft.unknown}},bt=Tr.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),imn=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class kc extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(a){return a.message},r={_errors:[]},o=a=>{for(const s of a.issues)if(s.code==="invalid_union")s.unionErrors.map(o);else if(s.code==="invalid_return_type")o(s.returnTypeError);else if(s.code==="invalid_arguments")o(s.argumentsError);else if(s.path.length===0)r._errors.push(n(s));else{let i=r,l=0;for(;l<s.path.length;){const c=s.path[l];l===s.path.length-1?(i[c]=i[c]||{_errors:[]},i[c]._errors.push(n(s))):i[c]=i[c]||{_errors:[]},i=i[c],l++}}};return o(this),r}static assert(t){if(!(t instanceof kc))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Tr.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const o of this.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(t(o))):r.push(t(o));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}kc.create=e=>new kc(e);const i7=(e,t)=>{let n;switch(e.code){case bt.invalid_type:e.received===Ft.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case bt.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Tr.jsonStringifyReplacer)}`;break;case bt.unrecognized_keys:n=`Unrecognized key(s) in object: ${Tr.joinValues(e.keys,", ")}`;break;case bt.invalid_union:n="Invalid input";break;case bt.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Tr.joinValues(e.options)}`;break;case bt.invalid_enum_value:n=`Invalid enum value. Expected ${Tr.joinValues(e.options)}, received '${e.received}'`;break;case bt.invalid_arguments:n="Invalid function arguments";break;case bt.invalid_return_type:n="Invalid function return type";break;case bt.invalid_date:n="Invalid date";break;case bt.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Tr.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case bt.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case bt.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case bt.custom:n="Invalid input";break;case bt.invalid_intersection_types:n="Intersection results could not be merged";break;case bt.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case bt.not_finite:n="Number must be finite";break;default:n=t.defaultError,Tr.assertNever(e)}return{message:n}};let lCe=i7;function lmn(e){lCe=e}function pT(){return lCe}const hT=e=>{const{data:t,path:n,errorMaps:r,issueData:o}=e,a=[...n,...o.path||[]],s={...o,path:a};if(o.message!==void 0)return{...o,path:a,message:o.message};let i="";const l=r.filter(c=>!!c).slice().reverse();for(const c of l)i=c(s,{data:t,defaultError:i}).message;return{...o,path:a,message:i}},cmn=[];function It(e,t){const n=pT(),r=hT({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===i7?void 0:i7].filter(o=>!!o)});e.common.issues.push(r)}class Si{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const o of n){if(o.status==="aborted")return jn;o.status==="dirty"&&t.dirty(),r.push(o.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const o of n){const a=await o.key,s=await o.value;r.push({key:a,value:s})}return Si.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const o of n){const{key:a,value:s}=o;if(a.status==="aborted"||s.status==="aborted")return jn;a.status==="dirty"&&t.dirty(),s.status==="dirty"&&t.dirty(),a.value!=="__proto__"&&(typeof s.value<"u"||o.alwaysSet)&&(r[a.value]=s.value)}return{status:t.value,value:r}}}const jn=Object.freeze({status:"aborted"}),x6=e=>({status:"dirty",value:e}),nl=e=>({status:"valid",value:e}),FF=e=>e.status==="aborted",UF=e=>e.status==="dirty",P3=e=>e.status==="valid",fx=e=>typeof Promise<"u"&&e instanceof Promise;function mT(e,t,n,r){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function cCe(e,t,n,r,o){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,n),n}var sn;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(sn||(sn={}));var Ub,zb;class Jd{constructor(t,n,r,o){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const f1e=(e,t)=>{if(P3(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new kc(e.common.issues);return this._error=n,this._error}}};function Xn(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:o}:{errorMap:(s,i)=>{var l,c;const{message:d}=e;return s.code==="invalid_enum_value"?{message:d??i.defaultError}:typeof i.data>"u"?{message:(l=d??r)!==null&&l!==void 0?l:i.defaultError}:s.code!=="invalid_type"?{message:i.defaultError}:{message:(c=d??n)!==null&&c!==void 0?c:i.defaultError}},description:o}}class or{get description(){return this._def.description}_getType(t){return d2(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:d2(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Si,ctx:{common:t.parent.common,data:t.data,parsedType:d2(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(fx(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const o={common:{issues:[],async:(r=n?.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:d2(t)},a=this._parseSync({data:t,path:o.path,parent:o});return f1e(o,a)}"~validate"(t){var n,r;const o={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:d2(t)};if(!this["~standard"].async)try{const a=this._parseSync({data:t,path:[],parent:o});return P3(a)?{value:a.value}:{issues:o.common.issues}}catch(a){!((r=(n=a?.message)===null||n===void 0?void 0:n.toLowerCase())===null||r===void 0)&&r.includes("encountered")&&(this["~standard"].async=!0),o.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:o}).then(a=>P3(a)?{value:a.value}:{issues:o.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:d2(t)},o=this._parse({data:t,path:r.path,parent:r}),a=await(fx(o)?o:Promise.resolve(o));return f1e(r,a)}refine(t,n){const r=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,a)=>{const s=t(o),i=()=>a.addIssue({code:bt.custom,...r(o)});return typeof Promise<"u"&&s instanceof Promise?s.then(l=>l?!0:(i(),!1)):s?!0:(i(),!1)})}refinement(t,n){return this._refinement((r,o)=>t(r)?!0:(o.addIssue(typeof n=="function"?n(r,o):n),!1))}_refinement(t){return new Iu({schema:this,typeName:_n.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return Dd.create(this,this._def)}nullable(){return gh.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ku.create(this)}promise(){return c7.create(this,this._def)}or(t){return gx.create([this,t],this._def)}and(t){return bx.create(this,t,this._def)}transform(t){return new Iu({...Xn(this._def),schema:this,typeName:_n.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new wx({...Xn(this._def),innerType:this,defaultValue:n,typeName:_n.ZodDefault})}brand(){return new Xq({typeName:_n.ZodBranded,type:this,...Xn(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new Ox({...Xn(this._def),innerType:this,catchValue:n,typeName:_n.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Gk.create(this,t)}readonly(){return Cx.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const umn=/^c[^\s-]{8,}$/i,dmn=/^[0-9a-z]+$/,fmn=/^[0-9A-HJKMNP-TV-Z]{26}$/i,pmn=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,hmn=/^[a-z0-9_-]{21}$/i,mmn=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,gmn=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,bmn=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,vmn="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let iD;const ymn=/^(?:(?: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])$/,xmn=/^(?:(?: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])\/(3[0-2]|[12]?[0-9])$/,kmn=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,wmn=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Omn=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Cmn=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,uCe="((\\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])))",_mn=new RegExp(`^${uCe}$`);function dCe(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function Smn(e){return new RegExp(`^${dCe(e)}$`)}function fCe(e){let t=`${uCe}T${dCe(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function Lmn(e,t){return!!((t==="v4"||!t)&&ymn.test(e)||(t==="v6"||!t)&&kmn.test(e))}function $mn(e,t){if(!mmn.test(e))return!1;try{const[n]=e.split("."),r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),o=JSON.parse(atob(r));return!(typeof o!="object"||o===null||!o.typ||!o.alg||t&&o.alg!==t)}catch{return!1}}function Tmn(e,t){return!!((t==="v4"||!t)&&xmn.test(e)||(t==="v6"||!t)&&wmn.test(e))}class fu extends or{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Ft.string){const a=this._getOrReturnCtx(t);return It(a,{code:bt.invalid_type,expected:Ft.string,received:a.parsedType}),jn}const r=new Si;let o;for(const a of this._def.checks)if(a.kind==="min")t.data.length<a.value&&(o=this._getOrReturnCtx(t,o),It(o,{code:bt.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="max")t.data.length>a.value&&(o=this._getOrReturnCtx(t,o),It(o,{code:bt.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="length"){const s=t.data.length>a.value,i=t.data.length<a.value;(s||i)&&(o=this._getOrReturnCtx(t,o),s?It(o,{code:bt.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):i&&It(o,{code:bt.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),r.dirty())}else if(a.kind==="email")bmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"email",code:bt.invalid_string,message:a.message}),r.dirty());else if(a.kind==="emoji")iD||(iD=new RegExp(vmn,"u")),iD.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"emoji",code:bt.invalid_string,message:a.message}),r.dirty());else if(a.kind==="uuid")pmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"uuid",code:bt.invalid_string,message:a.message}),r.dirty());else if(a.kind==="nanoid")hmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"nanoid",code:bt.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid")umn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"cuid",code:bt.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid2")dmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"cuid2",code:bt.invalid_string,message:a.message}),r.dirty());else if(a.kind==="ulid")fmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"ulid",code:bt.invalid_string,message:a.message}),r.dirty());else if(a.kind==="url")try{new URL(t.data)}catch{o=this._getOrReturnCtx(t,o),It(o,{validation:"url",code:bt.invalid_string,message:a.message}),r.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"regex",code:bt.invalid_string,message:a.message}),r.dirty())):a.kind==="trim"?t.data=t.data.trim():a.kind==="includes"?t.data.includes(a.value,a.position)||(o=this._getOrReturnCtx(t,o),It(o,{code:bt.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),r.dirty()):a.kind==="toLowerCase"?t.data=t.data.toLowerCase():a.kind==="toUpperCase"?t.data=t.data.toUpperCase():a.kind==="startsWith"?t.data.startsWith(a.value)||(o=this._getOrReturnCtx(t,o),It(o,{code:bt.invalid_string,validation:{startsWith:a.value},message:a.message}),r.dirty()):a.kind==="endsWith"?t.data.endsWith(a.value)||(o=this._getOrReturnCtx(t,o),It(o,{code:bt.invalid_string,validation:{endsWith:a.value},message:a.message}),r.dirty()):a.kind==="datetime"?fCe(a).test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{code:bt.invalid_string,validation:"datetime",message:a.message}),r.dirty()):a.kind==="date"?_mn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{code:bt.invalid_string,validation:"date",message:a.message}),r.dirty()):a.kind==="time"?Smn(a).test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{code:bt.invalid_string,validation:"time",message:a.message}),r.dirty()):a.kind==="duration"?gmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"duration",code:bt.invalid_string,message:a.message}),r.dirty()):a.kind==="ip"?Lmn(t.data,a.version)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"ip",code:bt.invalid_string,message:a.message}),r.dirty()):a.kind==="jwt"?$mn(t.data,a.alg)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"jwt",code:bt.invalid_string,message:a.message}),r.dirty()):a.kind==="cidr"?Tmn(t.data,a.version)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"cidr",code:bt.invalid_string,message:a.message}),r.dirty()):a.kind==="base64"?Omn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"base64",code:bt.invalid_string,message:a.message}),r.dirty()):a.kind==="base64url"?Cmn.test(t.data)||(o=this._getOrReturnCtx(t,o),It(o,{validation:"base64url",code:bt.invalid_string,message:a.message}),r.dirty()):Tr.assertNever(a);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(o=>t.test(o),{validation:n,code:bt.invalid_string,...sn.errToObj(r)})}_addCheck(t){return new fu({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...sn.errToObj(t)})}url(t){return this._addCheck({kind:"url",...sn.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...sn.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...sn.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...sn.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...sn.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...sn.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...sn.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...sn.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...sn.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...sn.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...sn.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...sn.errToObj(t)})}datetime(t){var n,r;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:(n=t?.offset)!==null&&n!==void 0?n:!1,local:(r=t?.local)!==null&&r!==void 0?r:!1,...sn.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...sn.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...sn.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...sn.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...sn.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...sn.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...sn.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...sn.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...sn.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...sn.errToObj(n)})}nonempty(t){return this.min(1,sn.errToObj(t))}trim(){return new fu({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new fu({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new fu({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}fu.create=e=>{var t;return new fu({checks:[],typeName:_n.ZodString,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...Xn(e)})};function Emn(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r,a=parseInt(e.toFixed(o).replace(".","")),s=parseInt(t.toFixed(o).replace(".",""));return a%s/Math.pow(10,o)}class ph extends or{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Ft.number){const a=this._getOrReturnCtx(t);return It(a,{code:bt.invalid_type,expected:Ft.number,received:a.parsedType}),jn}let r;const o=new Si;for(const a of this._def.checks)a.kind==="int"?Tr.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),It(r,{code:bt.invalid_type,expected:"integer",received:"float",message:a.message}),o.dirty()):a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(r=this._getOrReturnCtx(t,r),It(r,{code:bt.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),o.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),It(r,{code:bt.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),o.dirty()):a.kind==="multipleOf"?Emn(t.data,a.value)!==0&&(r=this._getOrReturnCtx(t,r),It(r,{code:bt.not_multiple_of,multipleOf:a.value,message:a.message}),o.dirty()):a.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),It(r,{code:bt.not_finite,message:a.message}),o.dirty()):Tr.assertNever(a);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,sn.toString(n))}gt(t,n){return this.setLimit("min",t,!1,sn.toString(n))}lte(t,n){return this.setLimit("max",t,!0,sn.toString(n))}lt(t,n){return this.setLimit("max",t,!1,sn.toString(n))}setLimit(t,n,r,o){return new ph({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:sn.toString(o)}]})}_addCheck(t){return new ph({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:sn.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:sn.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:sn.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:sn.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:sn.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:sn.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:sn.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:sn.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:sn.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Tr.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}ph.create=e=>new ph({checks:[],typeName:_n.ZodNumber,coerce:e?.coerce||!1,...Xn(e)});class hh extends or{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Ft.bigint)return this._getInvalidInput(t);let r;const o=new Si;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(r=this._getOrReturnCtx(t,r),It(r,{code:bt.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),o.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),It(r,{code:bt.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),o.dirty()):a.kind==="multipleOf"?t.data%a.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),It(r,{code:bt.not_multiple_of,multipleOf:a.value,message:a.message}),o.dirty()):Tr.assertNever(a);return{status:o.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return It(n,{code:bt.invalid_type,expected:Ft.bigint,received:n.parsedType}),jn}gte(t,n){return this.setLimit("min",t,!0,sn.toString(n))}gt(t,n){return this.setLimit("min",t,!1,sn.toString(n))}lte(t,n){return this.setLimit("max",t,!0,sn.toString(n))}lt(t,n){return this.setLimit("max",t,!1,sn.toString(n))}setLimit(t,n,r,o){return new hh({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:sn.toString(o)}]})}_addCheck(t){return new hh({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:sn.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:sn.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:sn.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:sn.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:sn.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}hh.create=e=>{var t;return new hh({checks:[],typeName:_n.ZodBigInt,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...Xn(e)})};class px extends or{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Ft.boolean){const r=this._getOrReturnCtx(t);return It(r,{code:bt.invalid_type,expected:Ft.boolean,received:r.parsedType}),jn}return nl(t.data)}}px.create=e=>new px({typeName:_n.ZodBoolean,coerce:e?.coerce||!1,...Xn(e)});class I3 extends or{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Ft.date){const a=this._getOrReturnCtx(t);return It(a,{code:bt.invalid_type,expected:Ft.date,received:a.parsedType}),jn}if(isNaN(t.data.getTime())){const a=this._getOrReturnCtx(t);return It(a,{code:bt.invalid_date}),jn}const r=new Si;let o;for(const a of this._def.checks)a.kind==="min"?t.data.getTime()<a.value&&(o=this._getOrReturnCtx(t,o),It(o,{code:bt.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),r.dirty()):a.kind==="max"?t.data.getTime()>a.value&&(o=this._getOrReturnCtx(t,o),It(o,{code:bt.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),r.dirty()):Tr.assertNever(a);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new I3({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:sn.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:sn.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}I3.create=e=>new I3({checks:[],coerce:e?.coerce||!1,typeName:_n.ZodDate,...Xn(e)});class gT extends or{_parse(t){if(this._getType(t)!==Ft.symbol){const r=this._getOrReturnCtx(t);return It(r,{code:bt.invalid_type,expected:Ft.symbol,received:r.parsedType}),jn}return nl(t.data)}}gT.create=e=>new gT({typeName:_n.ZodSymbol,...Xn(e)});class hx extends or{_parse(t){if(this._getType(t)!==Ft.undefined){const r=this._getOrReturnCtx(t);return It(r,{code:bt.invalid_type,expected:Ft.undefined,received:r.parsedType}),jn}return nl(t.data)}}hx.create=e=>new hx({typeName:_n.ZodUndefined,...Xn(e)});class mx extends or{_parse(t){if(this._getType(t)!==Ft.null){const r=this._getOrReturnCtx(t);return It(r,{code:bt.invalid_type,expected:Ft.null,received:r.parsedType}),jn}return nl(t.data)}}mx.create=e=>new mx({typeName:_n.ZodNull,...Xn(e)});class l7 extends or{constructor(){super(...arguments),this._any=!0}_parse(t){return nl(t.data)}}l7.create=e=>new l7({typeName:_n.ZodAny,...Xn(e)});class d3 extends or{constructor(){super(...arguments),this._unknown=!0}_parse(t){return nl(t.data)}}d3.create=e=>new d3({typeName:_n.ZodUnknown,...Xn(e)});class df extends or{_parse(t){const n=this._getOrReturnCtx(t);return It(n,{code:bt.invalid_type,expected:Ft.never,received:n.parsedType}),jn}}df.create=e=>new df({typeName:_n.ZodNever,...Xn(e)});class bT extends or{_parse(t){if(this._getType(t)!==Ft.undefined){const r=this._getOrReturnCtx(t);return It(r,{code:bt.invalid_type,expected:Ft.void,received:r.parsedType}),jn}return nl(t.data)}}bT.create=e=>new bT({typeName:_n.ZodVoid,...Xn(e)});class ku extends or{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),o=this._def;if(n.parsedType!==Ft.array)return It(n,{code:bt.invalid_type,expected:Ft.array,received:n.parsedType}),jn;if(o.exactLength!==null){const s=n.data.length>o.exactLength.value,i=n.data.length<o.exactLength.value;(s||i)&&(It(n,{code:s?bt.too_big:bt.too_small,minimum:i?o.exactLength.value:void 0,maximum:s?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),r.dirty())}if(o.minLength!==null&&n.data.length<o.minLength.value&&(It(n,{code:bt.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),r.dirty()),o.maxLength!==null&&n.data.length>o.maxLength.value&&(It(n,{code:bt.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((s,i)=>o.type._parseAsync(new Jd(n,s,n.path,i)))).then(s=>Si.mergeArray(r,s));const a=[...n.data].map((s,i)=>o.type._parseSync(new Jd(n,s,n.path,i)));return Si.mergeArray(r,a)}get element(){return this._def.type}min(t,n){return new ku({...this._def,minLength:{value:t,message:sn.toString(n)}})}max(t,n){return new ku({...this._def,maxLength:{value:t,message:sn.toString(n)}})}length(t,n){return new ku({...this._def,exactLength:{value:t,message:sn.toString(n)}})}nonempty(t){return this.min(1,t)}}ku.create=(e,t)=>new ku({type:e,minLength:null,maxLength:null,exactLength:null,typeName:_n.ZodArray,...Xn(t)});function V4(e){if(e instanceof ua){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Dd.create(V4(r))}return new ua({...e._def,shape:()=>t})}else return e instanceof ku?new ku({...e._def,type:V4(e.element)}):e instanceof Dd?Dd.create(V4(e.unwrap())):e instanceof gh?gh.create(V4(e.unwrap())):e instanceof e0?e0.create(e.items.map(t=>V4(t))):e}class ua extends or{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Tr.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==Ft.object){const c=this._getOrReturnCtx(t);return It(c,{code:bt.invalid_type,expected:Ft.object,received:c.parsedType}),jn}const{status:r,ctx:o}=this._processInputParams(t),{shape:a,keys:s}=this._getCached(),i=[];if(!(this._def.catchall instanceof df&&this._def.unknownKeys==="strip"))for(const c in o.data)s.includes(c)||i.push(c);const l=[];for(const c of s){const d=a[c],f=o.data[c];l.push({key:{status:"valid",value:c},value:d._parse(new Jd(o,f,o.path,c)),alwaysSet:c in o.data})}if(this._def.catchall instanceof df){const c=this._def.unknownKeys;if(c==="passthrough")for(const d of i)l.push({key:{status:"valid",value:d},value:{status:"valid",value:o.data[d]}});else if(c==="strict")i.length>0&&(It(o,{code:bt.unrecognized_keys,keys:i}),r.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const d of i){const f=o.data[d];l.push({key:{status:"valid",value:d},value:c._parse(new Jd(o,f,o.path,d)),alwaysSet:d in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const c=[];for(const d of l){const f=await d.key,h=await d.value;c.push({key:f,value:h,alwaysSet:d.alwaysSet})}return c}).then(c=>Si.mergeObjectSync(r,c)):Si.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(t){return sn.errToObj,new ua({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var o,a,s,i;const l=(s=(a=(o=this._def).errorMap)===null||a===void 0?void 0:a.call(o,n,r).message)!==null&&s!==void 0?s:r.defaultError;return n.code==="unrecognized_keys"?{message:(i=sn.errToObj(t).message)!==null&&i!==void 0?i:l}:{message:l}}}:{}})}strip(){return new ua({...this._def,unknownKeys:"strip"})}passthrough(){return new ua({...this._def,unknownKeys:"passthrough"})}extend(t){return new ua({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new ua({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:_n.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new ua({...this._def,catchall:t})}pick(t){const n={};return Tr.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new ua({...this._def,shape:()=>n})}omit(t){const n={};return Tr.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new ua({...this._def,shape:()=>n})}deepPartial(){return V4(this)}partial(t){const n={};return Tr.objectKeys(this.shape).forEach(r=>{const o=this.shape[r];t&&!t[r]?n[r]=o:n[r]=o.optional()}),new ua({...this._def,shape:()=>n})}required(t){const n={};return Tr.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let a=this.shape[r];for(;a instanceof Dd;)a=a._def.innerType;n[r]=a}}),new ua({...this._def,shape:()=>n})}keyof(){return pCe(Tr.objectKeys(this.shape))}}ua.create=(e,t)=>new ua({shape:()=>e,unknownKeys:"strip",catchall:df.create(),typeName:_n.ZodObject,...Xn(t)});ua.strictCreate=(e,t)=>new ua({shape:()=>e,unknownKeys:"strict",catchall:df.create(),typeName:_n.ZodObject,...Xn(t)});ua.lazycreate=(e,t)=>new ua({shape:e,unknownKeys:"strip",catchall:df.create(),typeName:_n.ZodObject,...Xn(t)});class gx extends or{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function o(a){for(const i of a)if(i.result.status==="valid")return i.result;for(const i of a)if(i.result.status==="dirty")return n.common.issues.push(...i.ctx.common.issues),i.result;const s=a.map(i=>new kc(i.ctx.common.issues));return It(n,{code:bt.invalid_union,unionErrors:s}),jn}if(n.common.async)return Promise.all(r.map(async a=>{const s={...n,common:{...n.common,issues:[]},parent:null};return{result:await a._parseAsync({data:n.data,path:n.path,parent:s}),ctx:s}})).then(o);{let a;const s=[];for(const l of r){const c={...n,common:{...n.common,issues:[]},parent:null},d=l._parseSync({data:n.data,path:n.path,parent:c});if(d.status==="valid")return d;d.status==="dirty"&&!a&&(a={result:d,ctx:c}),c.common.issues.length&&s.push(c.common.issues)}if(a)return n.common.issues.push(...a.ctx.common.issues),a.result;const i=s.map(l=>new kc(l));return It(n,{code:bt.invalid_union,unionErrors:i}),jn}}get options(){return this._def.options}}gx.create=(e,t)=>new gx({options:e,typeName:_n.ZodUnion,...Xn(t)});const n2=e=>e instanceof yx?n2(e.schema):e instanceof Iu?n2(e.innerType()):e instanceof xx?[e.value]:e instanceof mh?e.options:e instanceof kx?Tr.objectValues(e.enum):e instanceof wx?n2(e._def.innerType):e instanceof hx?[void 0]:e instanceof mx?[null]:e instanceof Dd?[void 0,...n2(e.unwrap())]:e instanceof gh?[null,...n2(e.unwrap())]:e instanceof Xq||e instanceof Cx?n2(e.unwrap()):e instanceof Ox?n2(e._def.innerType):[];class wM extends or{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Ft.object)return It(n,{code:bt.invalid_type,expected:Ft.object,received:n.parsedType}),jn;const r=this.discriminator,o=n.data[r],a=this.optionsMap.get(o);return a?n.common.async?a._parseAsync({data:n.data,path:n.path,parent:n}):a._parseSync({data:n.data,path:n.path,parent:n}):(It(n,{code:bt.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),jn)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){const o=new Map;for(const a of n){const s=n2(a.shape[t]);if(!s.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const i of s){if(o.has(i))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(i)}`);o.set(i,a)}}return new wM({typeName:_n.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:o,...Xn(r)})}}function zF(e,t){const n=d2(e),r=d2(t);if(e===t)return{valid:!0,data:e};if(n===Ft.object&&r===Ft.object){const o=Tr.objectKeys(t),a=Tr.objectKeys(e).filter(i=>o.indexOf(i)!==-1),s={...e,...t};for(const i of a){const l=zF(e[i],t[i]);if(!l.valid)return{valid:!1};s[i]=l.data}return{valid:!0,data:s}}else if(n===Ft.array&&r===Ft.array){if(e.length!==t.length)return{valid:!1};const o=[];for(let a=0;a<e.length;a++){const s=e[a],i=t[a],l=zF(s,i);if(!l.valid)return{valid:!1};o.push(l.data)}return{valid:!0,data:o}}else return n===Ft.date&&r===Ft.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class bx extends or{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),o=(a,s)=>{if(FF(a)||FF(s))return jn;const i=zF(a.value,s.value);return i.valid?((UF(a)||UF(s))&&n.dirty(),{status:n.value,value:i.data}):(It(r,{code:bt.invalid_intersection_types}),jn)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([a,s])=>o(a,s)):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}bx.create=(e,t,n)=>new bx({left:e,right:t,typeName:_n.ZodIntersection,...Xn(n)});class e0 extends or{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ft.array)return It(r,{code:bt.invalid_type,expected:Ft.array,received:r.parsedType}),jn;if(r.data.length<this._def.items.length)return It(r,{code:bt.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),jn;!this._def.rest&&r.data.length>this._def.items.length&&(It(r,{code:bt.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const a=[...r.data].map((s,i)=>{const l=this._def.items[i]||this._def.rest;return l?l._parse(new Jd(r,s,r.path,i)):null}).filter(s=>!!s);return r.common.async?Promise.all(a).then(s=>Si.mergeArray(n,s)):Si.mergeArray(n,a)}get items(){return this._def.items}rest(t){return new e0({...this._def,rest:t})}}e0.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new e0({items:e,typeName:_n.ZodTuple,rest:null,...Xn(t)})};class vx extends or{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ft.object)return It(r,{code:bt.invalid_type,expected:Ft.object,received:r.parsedType}),jn;const o=[],a=this._def.keyType,s=this._def.valueType;for(const i in r.data)o.push({key:a._parse(new Jd(r,i,r.path,i)),value:s._parse(new Jd(r,r.data[i],r.path,i)),alwaysSet:i in r.data});return r.common.async?Si.mergeObjectAsync(n,o):Si.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof or?new vx({keyType:t,valueType:n,typeName:_n.ZodRecord,...Xn(r)}):new vx({keyType:fu.create(),valueType:t,typeName:_n.ZodRecord,...Xn(n)})}}class vT extends or{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ft.map)return It(r,{code:bt.invalid_type,expected:Ft.map,received:r.parsedType}),jn;const o=this._def.keyType,a=this._def.valueType,s=[...r.data.entries()].map(([i,l],c)=>({key:o._parse(new Jd(r,i,r.path,[c,"key"])),value:a._parse(new Jd(r,l,r.path,[c,"value"]))}));if(r.common.async){const i=new Map;return Promise.resolve().then(async()=>{for(const l of s){const c=await l.key,d=await l.value;if(c.status==="aborted"||d.status==="aborted")return jn;(c.status==="dirty"||d.status==="dirty")&&n.dirty(),i.set(c.value,d.value)}return{status:n.value,value:i}})}else{const i=new Map;for(const l of s){const c=l.key,d=l.value;if(c.status==="aborted"||d.status==="aborted")return jn;(c.status==="dirty"||d.status==="dirty")&&n.dirty(),i.set(c.value,d.value)}return{status:n.value,value:i}}}}vT.create=(e,t,n)=>new vT({valueType:t,keyType:e,typeName:_n.ZodMap,...Xn(n)});class R3 extends or{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ft.set)return It(r,{code:bt.invalid_type,expected:Ft.set,received:r.parsedType}),jn;const o=this._def;o.minSize!==null&&r.data.size<o.minSize.value&&(It(r,{code:bt.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),n.dirty()),o.maxSize!==null&&r.data.size>o.maxSize.value&&(It(r,{code:bt.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const a=this._def.valueType;function s(l){const c=new Set;for(const d of l){if(d.status==="aborted")return jn;d.status==="dirty"&&n.dirty(),c.add(d.value)}return{status:n.value,value:c}}const i=[...r.data.values()].map((l,c)=>a._parse(new Jd(r,l,r.path,c)));return r.common.async?Promise.all(i).then(l=>s(l)):s(i)}min(t,n){return new R3({...this._def,minSize:{value:t,message:sn.toString(n)}})}max(t,n){return new R3({...this._def,maxSize:{value:t,message:sn.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}R3.create=(e,t)=>new R3({valueType:e,minSize:null,maxSize:null,typeName:_n.ZodSet,...Xn(t)});class J6 extends or{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Ft.function)return It(n,{code:bt.invalid_type,expected:Ft.function,received:n.parsedType}),jn;function r(i,l){return hT({data:i,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,pT(),i7].filter(c=>!!c),issueData:{code:bt.invalid_arguments,argumentsError:l}})}function o(i,l){return hT({data:i,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,pT(),i7].filter(c=>!!c),issueData:{code:bt.invalid_return_type,returnTypeError:l}})}const a={errorMap:n.common.contextualErrorMap},s=n.data;if(this._def.returns instanceof c7){const i=this;return nl(async function(...l){const c=new kc([]),d=await i._def.args.parseAsync(l,a).catch(m=>{throw c.addIssue(r(l,m)),c}),f=await Reflect.apply(s,this,d);return await i._def.returns._def.type.parseAsync(f,a).catch(m=>{throw c.addIssue(o(f,m)),c})})}else{const i=this;return nl(function(...l){const c=i._def.args.safeParse(l,a);if(!c.success)throw new kc([r(l,c.error)]);const d=Reflect.apply(s,this,c.data),f=i._def.returns.safeParse(d,a);if(!f.success)throw new kc([o(d,f.error)]);return f.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new J6({...this._def,args:e0.create(t).rest(d3.create())})}returns(t){return new J6({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new J6({args:t||e0.create([]).rest(d3.create()),returns:n||d3.create(),typeName:_n.ZodFunction,...Xn(r)})}}class yx extends or{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}yx.create=(e,t)=>new yx({getter:e,typeName:_n.ZodLazy,...Xn(t)});class xx extends or{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return It(n,{received:n.data,code:bt.invalid_literal,expected:this._def.value}),jn}return{status:"valid",value:t.data}}get value(){return this._def.value}}xx.create=(e,t)=>new xx({value:e,typeName:_n.ZodLiteral,...Xn(t)});function pCe(e,t){return new mh({values:e,typeName:_n.ZodEnum,...Xn(t)})}class mh extends or{constructor(){super(...arguments),Ub.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return It(n,{expected:Tr.joinValues(r),received:n.parsedType,code:bt.invalid_type}),jn}if(mT(this,Ub)||cCe(this,Ub,new Set(this._def.values)),!mT(this,Ub).has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return It(n,{received:n.data,code:bt.invalid_enum_value,options:r}),jn}return nl(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return mh.create(t,{...this._def,...n})}exclude(t,n=this._def){return mh.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}Ub=new WeakMap;mh.create=pCe;class kx extends or{constructor(){super(...arguments),zb.set(this,void 0)}_parse(t){const n=Tr.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Ft.string&&r.parsedType!==Ft.number){const o=Tr.objectValues(n);return It(r,{expected:Tr.joinValues(o),received:r.parsedType,code:bt.invalid_type}),jn}if(mT(this,zb)||cCe(this,zb,new Set(Tr.getValidEnumValues(this._def.values))),!mT(this,zb).has(t.data)){const o=Tr.objectValues(n);return It(r,{received:r.data,code:bt.invalid_enum_value,options:o}),jn}return nl(t.data)}get enum(){return this._def.values}}zb=new WeakMap;kx.create=(e,t)=>new kx({values:e,typeName:_n.ZodNativeEnum,...Xn(t)});class c7 extends or{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Ft.promise&&n.common.async===!1)return It(n,{code:bt.invalid_type,expected:Ft.promise,received:n.parsedType}),jn;const r=n.parsedType===Ft.promise?n.data:Promise.resolve(n.data);return nl(r.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}c7.create=(e,t)=>new c7({type:e,typeName:_n.ZodPromise,...Xn(t)});class Iu extends or{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===_n.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),o=this._def.effect||null,a={addIssue:s=>{It(r,s),s.fatal?n.abort():n.dirty()},get path(){return r.path}};if(a.addIssue=a.addIssue.bind(a),o.type==="preprocess"){const s=o.transform(r.data,a);if(r.common.async)return Promise.resolve(s).then(async i=>{if(n.value==="aborted")return jn;const l=await this._def.schema._parseAsync({data:i,path:r.path,parent:r});return l.status==="aborted"?jn:l.status==="dirty"||n.value==="dirty"?x6(l.value):l});{if(n.value==="aborted")return jn;const i=this._def.schema._parseSync({data:s,path:r.path,parent:r});return i.status==="aborted"?jn:i.status==="dirty"||n.value==="dirty"?x6(i.value):i}}if(o.type==="refinement"){const s=i=>{const l=o.refinement(i,a);if(r.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return i};if(r.common.async===!1){const i=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?jn:(i.status==="dirty"&&n.dirty(),s(i.value),{status:n.value,value:i.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(i=>i.status==="aborted"?jn:(i.status==="dirty"&&n.dirty(),s(i.value).then(()=>({status:n.value,value:i.value}))))}if(o.type==="transform")if(r.common.async===!1){const s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!P3(s))return s;const i=o.transform(s.value,a);if(i instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:i}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>P3(s)?Promise.resolve(o.transform(s.value,a)).then(i=>({status:n.value,value:i})):s);Tr.assertNever(o)}}Iu.create=(e,t,n)=>new Iu({schema:e,typeName:_n.ZodEffects,effect:t,...Xn(n)});Iu.createWithPreprocess=(e,t,n)=>new Iu({schema:t,effect:{type:"preprocess",transform:e},typeName:_n.ZodEffects,...Xn(n)});class Dd extends or{_parse(t){return this._getType(t)===Ft.undefined?nl(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Dd.create=(e,t)=>new Dd({innerType:e,typeName:_n.ZodOptional,...Xn(t)});class gh extends or{_parse(t){return this._getType(t)===Ft.null?nl(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}gh.create=(e,t)=>new gh({innerType:e,typeName:_n.ZodNullable,...Xn(t)});class wx extends or{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Ft.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}wx.create=(e,t)=>new wx({innerType:e,typeName:_n.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...Xn(t)});class Ox extends or{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return fx(o)?o.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new kc(r.common.issues)},input:r.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new kc(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Ox.create=(e,t)=>new Ox({innerType:e,typeName:_n.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...Xn(t)});class yT extends or{_parse(t){if(this._getType(t)!==Ft.nan){const r=this._getOrReturnCtx(t);return It(r,{code:bt.invalid_type,expected:Ft.nan,received:r.parsedType}),jn}return{status:"valid",value:t.data}}}yT.create=e=>new yT({typeName:_n.ZodNaN,...Xn(e)});const jmn=Symbol("zod_brand");class Xq extends or{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class Gk extends or{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?jn:a.status==="dirty"?(n.dirty(),x6(a.value)):this._def.out._parseAsync({data:a.value,path:r.path,parent:r})})();{const o=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?jn:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:r.path,parent:r})}}static create(t,n){return new Gk({in:t,out:n,typeName:_n.ZodPipeline})}}class Cx extends or{_parse(t){const n=this._def.innerType._parse(t),r=o=>(P3(o)&&(o.value=Object.freeze(o.value)),o);return fx(n)?n.then(o=>r(o)):r(n)}unwrap(){return this._def.innerType}}Cx.create=(e,t)=>new Cx({innerType:e,typeName:_n.ZodReadonly,...Xn(t)});function hCe(e,t={},n){return e?l7.create().superRefine((r,o)=>{var a,s;if(!e(r)){const i=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,l=(s=(a=i.fatal)!==null&&a!==void 0?a:n)!==null&&s!==void 0?s:!0,c=typeof i=="string"?{message:i}:i;o.addIssue({code:"custom",...c,fatal:l})}}):l7.create()}const Mmn={object:ua.lazycreate};var _n;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(_n||(_n={}));const Amn=(e,t={message:`Input not instance of ${e.name}`})=>hCe(n=>n instanceof e,t),mCe=fu.create,gCe=ph.create,Nmn=yT.create,Pmn=hh.create,bCe=px.create,Imn=I3.create,Rmn=gT.create,Dmn=hx.create,Bmn=mx.create,Hmn=l7.create,Vmn=d3.create,Fmn=df.create,Umn=bT.create,zmn=ku.create,Wmn=ua.create,Zmn=ua.strictCreate,Qmn=gx.create,qmn=wM.create,Xmn=bx.create,Ymn=e0.create,Gmn=vx.create,Kmn=vT.create,Jmn=R3.create,e4n=J6.create,t4n=yx.create,n4n=xx.create,r4n=mh.create,o4n=kx.create,a4n=c7.create,p1e=Iu.create,s4n=Dd.create,i4n=gh.create,l4n=Iu.createWithPreprocess,c4n=Gk.create,u4n=()=>mCe().optional(),d4n=()=>gCe().optional(),f4n=()=>bCe().optional(),p4n={string:(e=>fu.create({...e,coerce:!0})),number:(e=>ph.create({...e,coerce:!0})),boolean:(e=>px.create({...e,coerce:!0})),bigint:(e=>hh.create({...e,coerce:!0})),date:(e=>I3.create({...e,coerce:!0}))},h4n=jn;var Wb=Object.freeze({__proto__:null,defaultErrorMap:i7,setErrorMap:lmn,getErrorMap:pT,makeIssue:hT,EMPTY_PATH:cmn,addIssueToContext:It,ParseStatus:Si,INVALID:jn,DIRTY:x6,OK:nl,isAborted:FF,isDirty:UF,isValid:P3,isAsync:fx,get util(){return Tr},get objectUtil(){return VF},ZodParsedType:Ft,getParsedType:d2,ZodType:or,datetimeRegex:fCe,ZodString:fu,ZodNumber:ph,ZodBigInt:hh,ZodBoolean:px,ZodDate:I3,ZodSymbol:gT,ZodUndefined:hx,ZodNull:mx,ZodAny:l7,ZodUnknown:d3,ZodNever:df,ZodVoid:bT,ZodArray:ku,ZodObject:ua,ZodUnion:gx,ZodDiscriminatedUnion:wM,ZodIntersection:bx,ZodTuple:e0,ZodRecord:vx,ZodMap:vT,ZodSet:R3,ZodFunction:J6,ZodLazy:yx,ZodLiteral:xx,ZodEnum:mh,ZodNativeEnum:kx,ZodPromise:c7,ZodEffects:Iu,ZodTransformer:Iu,ZodOptional:Dd,ZodNullable:gh,ZodDefault:wx,ZodCatch:Ox,ZodNaN:yT,BRAND:jmn,ZodBranded:Xq,ZodPipeline:Gk,ZodReadonly:Cx,custom:hCe,Schema:or,ZodSchema:or,late:Mmn,get ZodFirstPartyTypeKind(){return _n},coerce:p4n,any:Hmn,array:zmn,bigint:Pmn,boolean:bCe,date:Imn,discriminatedUnion:qmn,effect:p1e,enum:r4n,function:e4n,instanceof:Amn,intersection:Xmn,lazy:t4n,literal:n4n,map:Kmn,nan:Nmn,nativeEnum:o4n,never:Fmn,null:Bmn,nullable:i4n,number:gCe,object:Wmn,oboolean:f4n,onumber:d4n,optional:s4n,ostring:u4n,pipeline:c4n,preprocess:l4n,promise:a4n,record:Gmn,set:Jmn,strictObject:Zmn,string:mCe,symbol:Rmn,transformer:p1e,tuple:Ymn,undefined:Dmn,union:Qmn,unknown:Vmn,void:Umn,NEVER:h4n,ZodIssueCode:bt,quotelessJson:imn,ZodError:kc});const m4n={"page-view":Wb.object({to:Wb.string(),from:Wb.string(),hostname:Wb.string()})},vCe=Object.keys(m4n);Wb.enum(vCe);const g4n=(e,t)=>{async function n(r,...[o]){if(!vCe.includes(r))throw new Error("[Analytics]: Invalid event submission");const a=t();await fetch(`${e}/analytics/send`,{method:"POST",headers:{"content-type":"application/json",...a?{authorization:`Bearer ${a}`}:{}},body:JSON.stringify({event:r,data:o})})}return{capture:n}},b4n=g4n("https://api.scalar.com",()=>null);function v4n(){const{layout:e}=Ti();if(!(!pOe().value.telemetry||e==="modal"))return b4n}const y4n=e=>{const t=new Set;return e&&["path","query","headers","cookies"].some(n=>e.parameters?.[n]?.some(r=>{r.required&&r.value===""&&t.add(r.key)})),t},x4n=5*1e3,k4n=60*1e3,w4n=()=>{const{toast:e}=F1(),t=$o(),n=Sn(),{activeCollection:r,activeWorkspace:o}=t,{collectionMutators:a}=n,s=d=>e(`[useOpenApiWatcher] Changes to the ${d} were not applied`,"error"),i=d=>{d.path[0]==="info"||d.path[0]==="security"?pfn(d,t,n)||s("collection"):d.path[0]==="components"&&d.path[1]==="securitySchemes"?FOe(d,t,n)||s("securitySchemes"):d.path[0]==="servers"?mfn(d,t,n)||s("servers"):d.path[0]==="tags"?gfn(d,t,n)||s("tags"):d.path[0]==="paths"&&(hfn(d,t,n)||s("requests"))},{pause:l,resume:c}=HHt(async()=>{const d=r.value?.documentUrl;if(!d)return;const f=jS[d];try{const h=await vZ(d,o.value?.proxyUrl,void 0,!1),m=t8e(h);if(a.edit(r.value.uid,"watchModeStatus","WATCHING"),f?.hash)if(f.hash&&f.hash!==m){const{schema:b}=await jF(h),v=dx(f.schema,b),x=VOe(v);try{x.forEach(i),jS[d]={hash:m,schema:b}}catch(k){console.error("[useOpenApiWatcher] Error:",k)}}else console.log("[useOpenApiWatcher] No changes detected yet…");else{const{schema:b}=await jF(h);b&&(jS[d]={hash:m,schema:b})}}catch(h){console.error("[useOpenApiWatcher] Error:",h),console.info("[useOpenApiWatcher] Pausing watcher for 60 seconds"),l(),a.edit(r.value.uid,"watchModeStatus","ERROR"),e("[useOpenApiWatcher] Unable to fetch the spec file, paused the watcher for 60 seconds","error"),setTimeout(()=>{console.info("[useOpenApiWatcher] Resuming watcher"),c()},k4n)}},x4n);pt([()=>r.value?.documentUrl,()=>r.value?.watchMode],([d,f])=>{d&&f?(console.info(`[useOpenApiWatcher] Watching ${d} …`),c()):r.value&&(l(),a.edit(r.value.uid,"watchModeStatus","IDLE"))},{immediate:!0})},O4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function yCe(e,t){return C(),A("svg",O4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m10.812 2.492-8.32 8.32a1.68 1.68 0 0 0 0 2.377l8.32 8.319a1.68 1.68 0 0 0 2.377 0l8.319-8.32a1.68 1.68 0 0 0 0-2.377l-8.32-8.319a1.68 1.68 0 0 0-2.377 0Z"},null,-1)]))}const C4n={render:yCe},_4n=Object.freeze(Object.defineProperty({__proto__:null,default:C4n,render:yCe},Symbol.toStringTag,{value:"Module"})),S4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function xCe(e,t){return C(),A("svg",S4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.711 16.963V7.044a1.37 1.37 0 0 0-.759-1.229l-7.338-3.67a1.37 1.37 0 0 0-1.227 0l-7.34 3.662a1.37 1.37 0 0 0-.758 1.23v9.919a1.37 1.37 0 0 0 .759 1.229l7.34 3.67a1.38 1.38 0 0 0 1.229 0l7.34-3.663a1.37 1.37 0 0 0 .754-1.23Z"},null,-1)]))}const L4n={render:xCe},$4n=Object.freeze(Object.defineProperty({__proto__:null,default:L4n,render:xCe},Symbol.toStringTag,{value:"Module"})),T4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function kCe(e,t){return C(),A("svg",T4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 12a10 10 0 1 0 20 0 10 10 0 0 0-20 0"},null,-1)]))}const E4n={render:kCe},j4n=Object.freeze(Object.defineProperty({__proto__:null,default:E4n,render:kCe},Symbol.toStringTag,{value:"Module"})),M4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function wCe(e,t){return C(),A("svg",M4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"},null,-1)]))}const A4n={render:wCe},N4n=Object.freeze(Object.defineProperty({__proto__:null,default:A4n,render:wCe},Symbol.toStringTag,{value:"Module"})),P4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function OCe(e,t){return C(),A("svg",P4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3.334 4.82v6.768a10.58 10.58 0 0 0 6.783 9.878l.926.356a2.67 2.67 0 0 0 1.914 0l.926-.356a10.58 10.58 0 0 0 6.783-9.878V4.821a1.32 1.32 0 0 0-.771-1.211A19.3 19.3 0 0 0 12 2a19.3 19.3 0 0 0-7.895 1.61 1.32 1.32 0 0 0-.771 1.21"},null,-1)]))}const I4n={render:OCe},R4n=Object.freeze(Object.defineProperty({__proto__:null,default:I4n,render:OCe},Symbol.toStringTag,{value:"Module"})),D4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function CCe(e,t){return C(),A("svg",D4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 20h18M5 4h14a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2"},null,-1)]))}const B4n={render:CCe},H4n=Object.freeze(Object.defineProperty({__proto__:null,default:B4n,render:CCe},Symbol.toStringTag,{value:"Module"})),V4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function _Ce(e,t){return C(),A("svg",V4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8m-5 4h5m6-7h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-6a2 2 0 0 1 2-2"},null,-1)]))}const F4n={render:_Ce},U4n=Object.freeze(Object.defineProperty({__proto__:null,default:F4n,render:_Ce},Symbol.toStringTag,{value:"Module"})),z4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function SCe(e,t){return C(),A("svg",z4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.522 14.167V6.64a2.13 2.13 0 0 0-2.13-2.13H5.608a2.13 2.13 0 0 0-2.13 2.13v7.526m17.044 0H3.478m17.044 0 1.364 4.778a1.066 1.066 0 0 1-.959 1.545H3.073a1.065 1.065 0 0 1-.959-1.545l1.364-4.778m6.855 3.333h3.334"},null,-1)]))}const W4n={render:SCe},Z4n=Object.freeze(Object.defineProperty({__proto__:null,default:W4n,render:SCe},Symbol.toStringTag,{value:"Module"})),Q4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function LCe(e,t){return C(),A("svg",Q4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.333 2h7.334s2.666 0 2.666 2.667v14.666s0 2.667-2.666 2.667H8.333s-2.666 0-2.666-2.667V4.667S5.667 2 8.333 2"},null,-1),L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M9.186 4.563h1.246s.889 0 .889.889V9.88s0 .889-.889.889H9.186s-.89 0-.89-.89V5.453s0-.89.89-.89"},null,-1)]))}const q4n={render:LCe},X4n=Object.freeze(Object.defineProperty({__proto__:null,default:q4n,render:LCe},Symbol.toStringTag,{value:"Module"})),Y4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function $Ce(e,t){return C(),A("svg",Y4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.667 2H8.333a2.667 2.667 0 0 0-2.666 2.667v14.666A2.667 2.667 0 0 0 8.333 22h7.334a2.667 2.667 0 0 0 2.666-2.667V4.667A2.667 2.667 0 0 0 15.667 2"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 5a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const G4n={render:$Ce},K4n=Object.freeze(Object.defineProperty({__proto__:null,default:G4n,render:$Ce},Symbol.toStringTag,{value:"Module"})),J4n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function TCe(e,t){return C(),A("svg",J4n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.667 2H8.333a2.667 2.667 0 0 0-2.666 2.667v14.666A2.667 2.667 0 0 0 8.333 22h7.334a2.667 2.667 0 0 0 2.666-2.667V4.667A2.667 2.667 0 0 0 15.667 2"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M8 5a1 1 0 1 1 2 0 1 1 0 0 1-2 0m3 2a1 1 0 1 1 2 0 1 1 0 0 1-2 0M8 9a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const e6n={render:TCe},t6n=Object.freeze(Object.defineProperty({__proto__:null,default:e6n,render:TCe},Symbol.toStringTag,{value:"Module"})),n6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ECe(e,t){return C(),A("svg",n6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.198 2h9.603s1.74 0 1.74 1.74v16.52s0 1.74-1.74 1.74H7.198s-1.74 0-1.74-1.74V3.74S5.459 2 7.199 2Z"},null,-1),L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M14.684 4.935H9.315a.94.94 0 0 1-.932-.8L8.067 2h7.865l-.315 2.133a.94.94 0 0 1-.933.802"},null,-1)]))}const r6n={render:ECe},o6n=Object.freeze(Object.defineProperty({__proto__:null,default:r6n,render:ECe},Symbol.toStringTag,{value:"Module"})),a6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function jCe(e,t){return C(),A("svg",a6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21 11V7a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h6m1.034-7.319a.499.499 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z"},null,-1)]))}const s6n={render:jCe},i6n=Object.freeze(Object.defineProperty({__proto__:null,default:s6n,render:jCe},Symbol.toStringTag,{value:"Module"})),l6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function MCe(e,t){return C(),A("svg",l6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.667 22H8.333a2.667 2.667 0 0 1-2.666-2.667V4.667A2.667 2.667 0 0 1 8.333 2h7.334a2.667 2.667 0 0 1 2.666 2.667v14.666A2.667 2.667 0 0 1 15.667 22"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 19a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const c6n={render:MCe},u6n=Object.freeze(Object.defineProperty({__proto__:null,default:c6n,render:MCe},Symbol.toStringTag,{value:"Module"})),d6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ACe(e,t){return C(),A("svg",d6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M10 7.5v2.813M14 7.5v2.813M14 7.5h2.5a1.125 1.125 0 0 1 1.125 1.125v5.062a1.125 1.125 0 0 1-1.125 1.125h-.543c-.373 0-.73.149-.994.412l-.864.864a1.4 1.4 0 0 1-.994.412h-2.21c-.373 0-.73-.148-.994-.412l-.864-.864a1.4 1.4 0 0 0-.994-.412H7.5a1.125 1.125 0 0 1-1.125-1.125V8.625A1.125 1.125 0 0 1 7.5 7.5zM4.2 3h15.6S21 3 21 4.2v15.6s0 1.2-1.2 1.2H4.2S3 21 3 19.8V4.2S3 3 4.2 3"},null,-1)]))}const f6n={render:ACe},p6n=Object.freeze(Object.defineProperty({__proto__:null,default:f6n,render:ACe},Symbol.toStringTag,{value:"Module"})),h6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function NCe(e,t){return C(),A("svg",h6n,t[0]||(t[0]=[L("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)]))}const m6n={render:NCe},g6n=Object.freeze(Object.defineProperty({__proto__:null,default:m6n,render:NCe},Symbol.toStringTag,{value:"Module"})),b6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function PCe(e,t){return C(),A("svg",b6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 8.82a15 15 0 0 1 20 0M5 12.859a10 10 0 0 1 14 0m-10.5 3.57a5 5 0 0 1 7 0"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const v6n={render:PCe},y6n=Object.freeze(Object.defineProperty({__proto__:null,default:v6n,render:PCe},Symbol.toStringTag,{value:"Module"})),x6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ICe(e,t){return C(),A("svg",x6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M14.7 10.2v3.6m2.556-6.147a3.6 3.6 0 0 0-5.094 0m7.632-2.547a7.2 7.2 0 0 0-10.179 0M4.8 13.8h14.4a1.8 1.8 0 0 1 1.8 1.8v3.6a1.8 1.8 0 0 1-1.8 1.8H4.8A1.8 1.8 0 0 1 3 19.2v-3.6a1.8 1.8 0 0 1 1.8-1.8"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M6 17.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0m4 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const k6n={render:ICe},w6n=Object.freeze(Object.defineProperty({__proto__:null,default:k6n,render:ICe},Symbol.toStringTag,{value:"Module"})),O6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function RCe(e,t){return C(),A("svg",O6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.5 2h7m-5.3 1v6.774a1.8 1.8 0 0 1-.19.807l-4.562 9.114A.9.9 0 0 0 6.258 21h11.484a.9.9 0 0 0 .81-1.305l-4.562-9.114a1.8 1.8 0 0 1-.19-.807V3M7.5 15.6h9"},null,-1)]))}const C6n={render:RCe},_6n=Object.freeze(Object.defineProperty({__proto__:null,default:C6n,render:RCe},Symbol.toStringTag,{value:"Module"})),S6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function DCe(e,t){return C(),A("svg",S6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.802 13.8a.899.899 0 0 1-.702-1.467l8.908-9.178a.45.45 0 0 1 .774.414l-1.728 5.417A.9.9 0 0 0 12.9 10.2h6.298a.899.899 0 0 1 .702 1.467l-8.908 9.178a.45.45 0 0 1-.774-.414l1.728-5.417A.9.9 0 0 0 11.1 13.8z"},null,-1)]))}const L6n={render:DCe},$6n=Object.freeze(Object.defineProperty({__proto__:null,default:L6n,render:DCe},Symbol.toStringTag,{value:"Module"})),T6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function BCe(e,t){return C(),A("svg",T6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9.286a2.5 2.5 0 1 1 2.5 2.5m-2.5-2.5a2.5 2.5 0 1 0-2.5 2.5m2.5-2.5v.833m2.5 1.667a2.5 2.5 0 1 1-2.5 2.5m2.5-2.5h-.833m-4.167 0a2.5 2.5 0 1 0 2.5 2.5m-2.5-2.5h.833M12 10.119c-.92 0-1.667.746-1.667 1.667M12 10.119c.92 0 1.667.746 1.667 1.667M12 14.286v-.834m0 .834V20.5m-1.667-8.714c0 .92.746 1.666 1.667 1.666m1.667-1.666c0 .92-.746 1.666-1.667 1.666M4.2 3h15.6S21 3 21 4.2v15.6s0 1.2-1.2 1.2H4.2S3 21 3 19.8V4.2S3 3 4.2 3"},null,-1)]))}const E6n={render:BCe},j6n=Object.freeze(Object.defineProperty({__proto__:null,default:E6n,render:BCe},Symbol.toStringTag,{value:"Module"})),M6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function HCe(e,t){return C(),A("svg",M6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m10.812 2.492-8.32 8.32a1.68 1.68 0 0 0 0 2.377l8.32 8.319a1.68 1.68 0 0 0 2.377 0l8.319-8.32a1.68 1.68 0 0 0 0-2.377l-8.32-8.319a1.68 1.68 0 0 0-2.377 0ZM12 8v4"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 16a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const A6n={render:HCe},N6n=Object.freeze(Object.defineProperty({__proto__:null,default:A6n,render:HCe},Symbol.toStringTag,{value:"Module"})),P6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function VCe(e,t){return C(),A("svg",P6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9.57v4.296m7.926 7.516H4.074c-.798 0-1.318-.84-.96-1.554L11.04 3.976a1.074 1.074 0 0 1 1.92 0l7.927 15.852a1.074 1.074 0 0 1-.96 1.554Z"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 18a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const I6n={render:VCe},R6n=Object.freeze(Object.defineProperty({__proto__:null,default:I6n,render:VCe},Symbol.toStringTag,{value:"Module"})),D6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function FCe(e,t){return C(),A("svg",D6n,t[0]||(t[0]=[L("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),L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":"10",d:"M12 17v-6 0a.5.5 0 0 0-.5-.5l-.5.001h-1M12 17h-2m2 0h2"},null,-1),L("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)]))}const B6n={render:FCe},H6n=Object.freeze(Object.defineProperty({__proto__:null,default:B6n,render:FCe},Symbol.toStringTag,{value:"Module"})),V6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function UCe(e,t){return C(),A("svg",V6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.999 21.002H19M11.56 3.264a.5.5 0 0 1 .877 0l2.953 5.605a1 1 0 0 0 1.516.294L21.185 5.5a.5.5 0 0 1 .798.519l-2.835 10.248a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.018 6.019a.5.5 0 0 1 .798-.52l4.277 3.665a1 1 0 0 0 1.516-.294l2.953-5.606Z"},null,-1)]))}const F6n={render:UCe},U6n=Object.freeze(Object.defineProperty({__proto__:null,default:F6n,render:UCe},Symbol.toStringTag,{value:"Module"})),z6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function zCe(e,t){return C(),A("svg",z6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.527 3.525a1.8 1.8 0 0 0-1.273-.527H5.798a1.8 1.8 0 0 0-1.8 1.8v6.456c0 .478.19.936.527 1.273l7.836 7.836a2.184 2.184 0 0 0 3.078 0l5.924-5.924a2.184 2.184 0 0 0 0-3.078z"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M8 8a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const W6n={render:zCe},Z6n=Object.freeze(Object.defineProperty({__proto__:null,default:W6n,render:zCe},Symbol.toStringTag,{value:"Module"})),Q6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function WCe(e,t){return C(),A("svg",Q6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"},null,-1)]))}const q6n={render:WCe},X6n=Object.freeze(Object.defineProperty({__proto__:null,default:q6n,render:WCe},Symbol.toStringTag,{value:"Module"})),Y6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ZCe(e,t){return C(),A("svg",Y6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11 14h1v4m4-16v4M3 10h18M8 2v4M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2"},null,-1)]))}const G6n={render:ZCe},K6n=Object.freeze(Object.defineProperty({__proto__:null,default:G6n,render:ZCe},Symbol.toStringTag,{value:"Module"})),J6n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function QCe(e,t){return C(),A("svg",J6n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M17.333 5.01c1.39-.224 2.796-.34 4.205-.346.121 0 .238.044.329.125.085.084.133.2.133.32v14a.453.453 0 0 1-.444.444C14.186 19.66 12 21.997 12 21.997m0 0V7.091m0 14.906s-2.187-2.337-9.556-2.444A.453.453 0 0 1 2 19.109v-14c0-.12.048-.236.133-.32a.5.5 0 0 1 .33-.125C9.822 4.762 12 7.091 12 7.091m0 0a5.5 5.5 0 0 1 1.458-3.05 6.9 6.9 0 0 1 3.235-2.017.53.53 0 0 1 .436.053.41.41 0 0 1 .204.356V16.31a7.27 7.27 0 0 0-3.875 2.186A5.33 5.33 0 0 0 12 21.562"},null,-1)]))}const e8n={render:QCe},t8n=Object.freeze(Object.defineProperty({__proto__:null,default:e8n,render:QCe},Symbol.toStringTag,{value:"Module"})),n8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function qCe(e,t){return C(),A("svg",n8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11 3v8l3-3 3 3V3M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2"},null,-1)]))}const r8n={render:qCe},o8n=Object.freeze(Object.defineProperty({__proto__:null,default:r8n,render:qCe},Symbol.toStringTag,{value:"Module"})),a8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function XCe(e,t){return C(),A("svg",a8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 3v4a2 2 0 0 0 2 2h4m-5-6H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8z"},null,-1)]))}const s8n={render:XCe},i8n=Object.freeze(Object.defineProperty({__proto__:null,default:s8n,render:XCe},Symbol.toStringTag,{value:"Module"})),l8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function YCe(e,t){return C(),A("svg",l8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13 6h6a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.93a2 2 0 0 1 1.67.9l.81 1.2a2 2 0 0 0 1.69.9"},null,-1)]))}const c8n={render:YCe},u8n=Object.freeze(Object.defineProperty({__proto__:null,default:c8n,render:YCe},Symbol.toStringTag,{value:"Module"})),d8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function GCe(e,t){return C(),A("svg",d8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2m1-2h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1"},null,-1)]))}const f8n={render:GCe},p8n=Object.freeze(Object.defineProperty({__proto__:null,default:f8n,render:GCe},Symbol.toStringTag,{value:"Module"})),h8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function KCe(e,t){return C(),A("svg",h8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m20.72 11.12-8.51 8.51a5.559 5.559 0 1 1-7.86-7.861l7.935-7.936a3.71 3.71 0 0 1 5.25 5.241L9.581 17.01a1.853 1.853 0 1 1-2.62-2.62l7.861-7.853"},null,-1)]))}const m8n={render:KCe},g8n=Object.freeze(Object.defineProperty({__proto__:null,default:m8n,render:KCe},Symbol.toStringTag,{value:"Module"})),b8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function JCe(e,t){return C(),A("svg",b8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M10.2 16.8a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0m0 0V5.7a2.1 2.1 0 0 0-4.125-.56L3.13 15.844m10.67.956a3.6 3.6 0 1 0 7.2 0 3.6 3.6 0 0 0-7.2 0m0 0V5.7a2.1 2.1 0 0 1 4.125-.56l2.945 10.7M10.2 9.6h3.6V12h-3.6z"},null,-1)]))}const v8n={render:JCe},y8n=Object.freeze(Object.defineProperty({__proto__:null,default:v8n,render:JCe},Symbol.toStringTag,{value:"Module"})),x8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function e_e(e,t){return C(),A("svg",x8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 6V4m2 2.983 1.414-1.415M18 9h2m-3 2 1.2 1.2M4 20 15 9m-1.8-1.8L12 6"},null,-1)]))}const k8n={render:e_e},w8n=Object.freeze(Object.defineProperty({__proto__:null,default:k8n,render:e_e},Symbol.toStringTag,{value:"Module"})),O8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function t_e(e,t){return C(),A("svg",O8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.8 15.6v-1.8A1.8 1.8 0 0 0 12 12H4.8A1.8 1.8 0 0 1 3 10.2V7.5a1.8 1.8 0 0 1 1.8-1.8h1.8M19.2 3H8.4a1.8 1.8 0 0 0-1.8 1.8v1.8a1.8 1.8 0 0 0 1.8 1.8h10.8A1.8 1.8 0 0 0 21 6.6V4.8A1.8 1.8 0 0 0 19.2 3m-4.5 12.6h-1.8a.9.9 0 0 0-.9.9v3.6a.9.9 0 0 0 .9.9h1.8a.9.9 0 0 0 .9-.9v-3.6a.9.9 0 0 0-.9-.9"},null,-1)]))}const C8n={render:t_e},_8n=Object.freeze(Object.defineProperty({__proto__:null,default:C8n,render:t_e},Symbol.toStringTag,{value:"Module"})),S8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function n_e(e,t){return C(),A("svg",S8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M16.494 3.913a2.56 2.56 0 0 1 1.855-.905 2.58 2.58 0 0 1 1.923.749 2.54 2.54 0 0 1 .741 1.915 2.53 2.53 0 0 1-.924 1.835l-12.13 12.13-4.943 1.348 1.348-4.942z"},null,-1)]))}const L8n={render:n_e},$8n=Object.freeze(Object.defineProperty({__proto__:null,default:L8n,render:n_e},Symbol.toStringTag,{value:"Module"})),T8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function r_e(e,t){return C(),A("svg",T8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526M18 8A6 6 0 1 1 6 8a6 6 0 0 1 12 0"},null,-1)]))}const E8n={render:r_e},j8n=Object.freeze(Object.defineProperty({__proto__:null,default:E8n,render:r_e},Symbol.toStringTag,{value:"Module"})),M8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function o_e(e,t){return C(),A("svg",M8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.8 14.7s.9-.9 3.6-.9 4.5 1.8 7.2 1.8 3.6-.9 3.6-.9V3.9s-.9.9-3.6.9S11.1 3 8.4 3s-3.6.9-3.6.9zm0 0V21"},null,-1)]))}const A8n={render:o_e},N8n=Object.freeze(Object.defineProperty({__proto__:null,default:A8n,render:o_e},Symbol.toStringTag,{value:"Module"})),P8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function a_e(e,t){return C(),A("svg",P8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7z"},null,-1)]))}const I8n={render:a_e},R8n=Object.freeze(Object.defineProperty({__proto__:null,default:I8n,render:a_e},Symbol.toStringTag,{value:"Module"})),D8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function s_e(e,t){return C(),A("svg",D8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z"},null,-1)]))}const B8n={render:s_e},H8n=Object.freeze(Object.defineProperty({__proto__:null,default:B8n,render:s_e},Symbol.toStringTag,{value:"Module"})),V8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function i_e(e,t){return C(),A("svg",V8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 3v4M2 5h4m14 12v2m-1-1h2m-6.937-2.5a2 2 0 0 1 1.437-1.437l6.135-1.582a.5.5 0 0 0 0-.962L15.5 9.936A2 2 0 0 1 14.063 8.5l-1.582-6.135a.5.5 0 0 0-.963 0L9.937 8.5A2 2 0 0 1 8.5 9.937l-6.135 1.581a.5.5 0 0 0 0 .964L8.5 14.063A2 2 0 0 1 9.937 15.5l1.582 6.135a.5.5 0 0 0 .963 0z"},null,-1)]))}const F8n={render:i_e},U8n=Object.freeze(Object.defineProperty({__proto__:null,default:F8n,render:i_e},Symbol.toStringTag,{value:"Module"})),z8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function l_e(e,t){return C(),A("svg",z8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7 11v4a2 2 0 0 0 2 2h4"},null,-1),L("circle",{cx:"7",cy:"7",r:"3.25",stroke:"currentColor"},null,-1),L("circle",{cx:"17",cy:"17",r:"3.25",stroke:"currentColor"},null,-1)]))}const W8n={render:l_e},Z8n=Object.freeze(Object.defineProperty({__proto__:null,default:W8n,render:l_e},Symbol.toStringTag,{value:"Module"})),Q8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function c_e(e,t){return C(),A("svg",Q8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 21v-6a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v6M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"},null,-1)]))}const q8n={render:c_e},X8n=Object.freeze(Object.defineProperty({__proto__:null,default:q8n,render:c_e},Symbol.toStringTag,{value:"Module"})),Y8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function u_e(e,t){return C(),A("svg",Y8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.414 17.657 12 19.07A5 5 0 0 1 4.929 12l1.414-1.414m4.243-4.243L12 4.93A5 5 0 0 1 19.071 12l-1.414 1.414m-8.485 1.414 5.656-5.656"},null,-1)]))}const G8n={render:u_e},K8n=Object.freeze(Object.defineProperty({__proto__:null,default:G8n,render:u_e},Symbol.toStringTag,{value:"Module"})),J8n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function d_e(e,t){return C(),A("svg",J8n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32 1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0"},null,-1)]))}const e7n={render:d_e},t7n=Object.freeze(Object.defineProperty({__proto__:null,default:e7n,render:d_e},Symbol.toStringTag,{value:"Module"})),n7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function f_e(e,t){return C(),A("svg",n7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",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),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 16a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const r7n={render:f_e},o7n=Object.freeze(Object.defineProperty({__proto__:null,default:r7n,render:f_e},Symbol.toStringTag,{value:"Module"})),a7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function p_e(e,t){return C(),A("svg",a7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",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),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 16a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const s7n={render:p_e},i7n=Object.freeze(Object.defineProperty({__proto__:null,default:s7n,render:p_e},Symbol.toStringTag,{value:"Module"})),l7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function h_e(e,t){return C(),A("svg",l7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.5 21a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11m3.9-9.4L19 4m-3.5 3.5 3 3M22 7l-3-3"},null,-1)]))}const c7n={render:h_e},u7n=Object.freeze(Object.defineProperty({__proto__:null,default:c7n,render:h_e},Symbol.toStringTag,{value:"Module"})),d7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function m_e(e,t){return C(),A("svg",d7n,t[0]||(t[0]=[L("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)]))}const f7n={render:m_e},p7n=Object.freeze(Object.defineProperty({__proto__:null,default:f7n,render:m_e},Symbol.toStringTag,{value:"Module"})),h7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function g_e(e,t){return C(),A("svg",h7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 11.78v.44a2 2 0 0 0 2 2h.18a2 2 0 0 1 1.73 1l.25.43a2 2 0 0 1 0 2l-.08.15a2 2 0 0 0 .73 2.73l.38.22a2 2 0 0 0 2.73-.73l.1-.15a2 2 0 0 1 1.72-1h.51a2 2 0 0 1 1.74 1l.09.15a2 2 0 0 0 2.73.73l.38-.22a2 2 0 0 0 .73-2.73l-.08-.15a2 2 0 0 1 0-2l.25-.43a2 2 0 0 1 1.73-1H20a2 2 0 0 0 2-2v-.44a2 2 0 0 0-2-2h-.18a2 2 0 0 1-1.73-1l-.25-.43a2 2 0 0 1 0-2l.08-.15a2 2 0 0 0-.73-2.73l-.39-.22a2 2 0 0 0-2.73.73l-.08.15a2 2 0 0 1-1.74 1h-.5a2 2 0 0 1-1.74-1l-.09-.15a2 2 0 0 0-2.73-.73l-.38.22a2 2 0 0 0-.73 2.73l.08.15a2 2 0 0 1 0 2l-.25.43a2 2 0 0 1-1.73 1H4a2 2 0 0 0-2 2"},null,-1),L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 0-6 0 3 3 0 0 0 6 0"},null,-1)]))}const m7n={render:g_e},g7n=Object.freeze(Object.defineProperty({__proto__:null,default:m7n,render:g_e},Symbol.toStringTag,{value:"Module"})),b7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function b_e(e,t){return C(),A("svg",b7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M16 9a5 5 0 0 1 0 6m3.364 3.364a9 9 0 0 0 0-12.728M11 4.702a.706.706 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z"},null,-1)]))}const v7n={render:b_e},y7n=Object.freeze(Object.defineProperty({__proto__:null,default:v7n,render:b_e},Symbol.toStringTag,{value:"Module"})),x7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function v_e(e,t){return C(),A("svg",x7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11.566 18.582v2.778s3.367-.611 4.445-2.222c.58-.87.599-2.196.465-3.334m-10.698-3.01H3s.611-3.367 2.222-4.445c.87-.58 2.196-.6 3.334-.465m-.82 8.883-1.571-1.571-.625-.625a20.2 20.2 0 0 1 1.837-4.667 10.76 10.76 0 0 1 5.199-4.825c2.26-1.003 4.914-1.314 7.712-.903.486 3.46.349 9.4-5.665 12.92a20.6 20.6 0 0 1-4.73 1.828l-.586-.585zm0 0L6.165 18.34"},null,-1)]))}const k7n={render:v_e},w7n=Object.freeze(Object.defineProperty({__proto__:null,default:k7n,render:v_e},Symbol.toStringTag,{value:"Module"})),O7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function y_e(e,t){return C(),A("svg",O7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m9 15 3-3m5 1a6 6 0 0 0-6-6m10 6A10 10 0 0 0 11 3m-7 7a7.31 7.31 0 0 0 10 10z"},null,-1)]))}const C7n={render:y_e},_7n=Object.freeze(Object.defineProperty({__proto__:null,default:C7n,render:y_e},Symbol.toStringTag,{value:"Module"})),S7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function x_e(e,t){return C(),A("svg",S7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 3v4M2 5h4m14 12v2m-1-1h2m-10.582-5.578L5.368 13.5a.763.763 0 0 1-.906-.574l-.439-1.757a.875.875 0 0 1 .565-1.034l11.036-3.629m-2.35 5.307 3.541-.755m-1.546 8.317L12.73 14.3M7.225 9.268l.91 3.642m.596 6.465 2.537-5.075m4.397-7.233a1.635 1.635 0 0 1 1.19-1.982l.89-.222a.817.817 0 0 1 .99.594l1.239 4.953a.82.82 0 0 1-.594.99l-.891.223a1.634 1.634 0 0 1-1.982-1.189zm-2.03 5.77a1.635 1.635 0 1 1-3.27 0 1.635 1.635 0 0 1 3.27 0"},null,-1)]))}const L7n={render:x_e},$7n=Object.freeze(Object.defineProperty({__proto__:null,default:L7n,render:x_e},Symbol.toStringTag,{value:"Module"})),T7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function k_e(e,t){return C(),A("svg",T7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m7.59 13.51 6.83 3.98m-.01-10.98-6.82 3.98M20 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0M8 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0m12 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0"},null,-1)]))}const E7n={render:k_e},j7n=Object.freeze(Object.defineProperty({__proto__:null,default:E7n,render:k_e},Symbol.toStringTag,{value:"Module"})),M7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function w_e(e,t){return C(),A("svg",M7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 12h-1.488a1.2 1.2 0 0 0-1.158.876l-1.41 5.016a.15.15 0 0 1-.288 0L10.344 6.108a.15.15 0 0 0-.288 0l-1.41 5.016A1.2 1.2 0 0 1 7.494 12H6"},null,-1),L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"},null,-1)]))}const A7n={render:w_e},N7n=Object.freeze(Object.defineProperty({__proto__:null,default:A7n,render:w_e},Symbol.toStringTag,{value:"Module"})),P7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function O_e(e,t){return C(),A("svg",P7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v6l4 2M2 12a10 10 0 1 0 20 0 10 10 0 0 0-20 0"},null,-1)]))}const I7n={render:O_e},R7n=Object.freeze(Object.defineProperty({__proto__:null,default:I7n,render:O_e},Symbol.toStringTag,{value:"Module"})),D7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function C_e(e,t){return C(),A("svg",D7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M17.263 5.71v.181c0 .558-.222 1.094-.617 1.489l-3.157 3.158a2.105 2.105 0 0 1-2.978 0L7.353 7.38a2.1 2.1 0 0 1-.616-1.489v-.18m10.526 0V3.605A2.105 2.105 0 0 0 15.158 1.5H8.842a2.105 2.105 0 0 0-2.105 2.105v2.106m10.526 0H6.737m0 15.789h10.526m-10.526 0 3.948-3.158a2.105 2.105 0 0 1 2.63 0l3.948 3.158m-10.526 0v-4.391c0-.559.222-1.094.616-1.489l3.158-3.158a2.105 2.105 0 0 1 2.978 0l3.157 3.158c.395.395.617.93.617 1.489V21.5"},null,-1)]))}const B7n={render:C_e},H7n=Object.freeze(Object.defineProperty({__proto__:null,default:B7n,render:C_e},Symbol.toStringTag,{value:"Module"})),V7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function __e(e,t){return C(),A("svg",V7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2m20 0v-2a4 4 0 0 0-3-3.87m-3-12a4 4 0 0 1 0 7.75M13 7a4 4 0 1 1-8 0 4 4 0 0 1 8 0"},null,-1)]))}const F7n={render:__e},U7n=Object.freeze(Object.defineProperty({__proto__:null,default:F7n,render:__e},Symbol.toStringTag,{value:"Module"})),z7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function S_e(e,t){return C(),A("svg",z7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 2a7.071 7.071 0 1 0 10 10M12 2a10 10 0 0 0-7.071 17.071M12 2a10 10 0 0 0-7.071 17.071M22 12a10 10 0 0 1-17.071 7.071M22 12a10 10 0 0 1-17.071 7.071"},null,-1)]))}const W7n={render:S_e},Z7n=Object.freeze(Object.defineProperty({__proto__:null,default:W7n,render:S_e},Symbol.toStringTag,{value:"Module"})),Q7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function L_e(e,t){return C(),A("svg",Q7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"},null,-1)]))}const q7n={render:L_e},X7n=Object.freeze(Object.defineProperty({__proto__:null,default:q7n,render:L_e},Symbol.toStringTag,{value:"Module"})),Y7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function $_e(e,t){return C(),A("svg",Y7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11.023 12.976a1.8 1.8 0 0 0-.603-.397L3.284 9.718a.45.45 0 0 1 .021-.843l17.098-5.85a.446.446 0 0 1 .572.572l-5.85 17.098a.45.45 0 0 1-.843.021l-2.861-7.138a1.8 1.8 0 0 0-.398-.601Zm0 0 9.845-9.843"},null,-1)]))}const G7n={render:$_e},K7n=Object.freeze(Object.defineProperty({__proto__:null,default:G7n,render:$_e},Symbol.toStringTag,{value:"Module"})),J7n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function T_e(e,t){return C(),A("svg",J7n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7m2-3h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2"},null,-1)]))}const egn={render:T_e},tgn=Object.freeze(Object.defineProperty({__proto__:null,default:egn,render:T_e},Symbol.toStringTag,{value:"Module"})),ngn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function E_e(e,t){return C(),A("svg",ngn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12h5M9 8h5m-9 9V5a2 2 0 0 1 2-2h13m0 0a2 2 0 0 0-2 2v14a2 2 0 0 1-2 2m4-18a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1h-3m-2 13H4a2 2 0 0 1-2-2v-1a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1a2 2 0 0 0 2 2"},null,-1)]))}const rgn={render:E_e},ogn=Object.freeze(Object.defineProperty({__proto__:null,default:rgn,render:E_e},Symbol.toStringTag,{value:"Module"})),agn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function j_e(e,t){return C(),A("svg",agn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 2v20m5-17H9.5a3.5 3.5 0 1 0 0 7h5a3.5 3.5 0 1 1 0 7H6"},null,-1)]))}const sgn={render:j_e},ign=Object.freeze(Object.defineProperty({__proto__:null,default:sgn,render:j_e},Symbol.toStringTag,{value:"Module"})),lgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function M_e(e,t){return C(),A("svg",lgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m22 7-8.5 8.5-5-5L2 17M22 7h-6m6 0v6"},null,-1)]))}const cgn={render:M_e},ugn=Object.freeze(Object.defineProperty({__proto__:null,default:cgn,render:M_e},Symbol.toStringTag,{value:"Module"})),dgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function A_e(e,t){return C(),A("svg",dgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8 17v-7m4 7v-4m4 4V8M5 21h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2"},null,-1)]))}const fgn={render:A_e},pgn=Object.freeze(Object.defineProperty({__proto__:null,default:fgn,render:A_e},Symbol.toStringTag,{value:"Module"})),hgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function N_e(e,t){return C(),A("svg",hgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3.011 20.99c1.124-.887 2.04-1.775 3.506-1.977 1.268 0 2.49.481 3.416 1.348a3.595 3.595 0 0 0 5.561-2.115 3.146 3.146 0 0 0 3.317-4.599 3.148 3.148 0 0 0 1.234-5.241 3.145 3.145 0 1 0-4.45-4.45 3.147 3.147 0 0 0-5.24 1.234 3.146 3.146 0 0 0-4.6 3.317 3.596 3.596 0 0 0-2.11 5.533c.714 1.035 1.532 2.197 1.344 3.444-.247 1.477-1.066 2.366-1.978 3.506m0 0L16.494 7.507"},null,-1)]))}const mgn={render:N_e},ggn=Object.freeze(Object.defineProperty({__proto__:null,default:mgn,render:N_e},Symbol.toStringTag,{value:"Module"})),bgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function P_e(e,t){return C(),A("svg",bgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21.038 16.44v2.71a1.81 1.81 0 0 1-1.97 1.807 17.9 17.9 0 0 1-7.794-2.773 17.6 17.6 0 0 1-5.42-5.42 17.9 17.9 0 0 1-2.773-7.83 1.806 1.806 0 0 1 1.798-1.97h2.71a1.806 1.806 0 0 1 1.806 1.554 11.6 11.6 0 0 0 .632 2.538 1.8 1.8 0 0 1-.406 1.906l-1.147 1.147a14.45 14.45 0 0 0 5.42 5.42l1.146-1.148a1.81 1.81 0 0 1 1.906-.406c.82.305 1.671.518 2.538.632a1.807 1.807 0 0 1 1.554 1.833"},null,-1)]))}const vgn={render:P_e},ygn=Object.freeze(Object.defineProperty({__proto__:null,default:vgn,render:P_e},Symbol.toStringTag,{value:"Module"})),xgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function I_e(e,t){return C(),A("svg",xgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m8.21 2.5 1.782 1.781m4.016 0L15.79 2.5M9.158 7.36v-.947a2.845 2.845 0 1 1 5.684 0v.947M12 19.553c-3.126 0-5.684-2.558-5.684-5.685v-2.842a3.79 3.79 0 0 1 3.79-3.79h3.789a3.79 3.79 0 0 1 3.79 3.79v2.842c0 3.127-2.559 5.685-5.685 5.685m0 0v-8.527M6.818 9.132c-1.829-.19-3.344-1.8-3.344-3.79m2.842 7.58h-3.79m.948 7.578c0-1.99 1.61-3.695 3.6-3.79M20.498 5.342c0 1.99-1.516 3.6-3.316 3.79m4.292 3.79h-3.79m-.758 3.788c1.99.095 3.6 1.8 3.6 3.79"},null,-1)]))}const kgn={render:I_e},wgn=Object.freeze(Object.defineProperty({__proto__:null,default:kgn,render:I_e},Symbol.toStringTag,{value:"Module"})),Ogn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function R_e(e,t){return C(),A("svg",Ogn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M17.662 18.661a4.33 4.33 0 1 0-2.455-7.891 6.662 6.662 0 1 0-6.537 7.89h8.993Z"},null,-1)]))}const Cgn={render:R_e},_gn=Object.freeze(Object.defineProperty({__proto__:null,default:Cgn,render:R_e},Symbol.toStringTag,{value:"Module"})),Sgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function D_e(e,t){return C(),A("svg",Sgn,t[0]||(t[0]=[L("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),L("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),L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6 8h4m-4 8h4"},null,-1)]))}const Lgn={render:D_e},$gn=Object.freeze(Object.defineProperty({__proto__:null,default:Lgn,render:D_e},Symbol.toStringTag,{value:"Module"})),Tgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function B_e(e,t){return C(),A("svg",Tgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 6.601c0 .955.948 1.87 2.636 2.546S9.613 10.2 12 10.2s4.676-.38 6.364-1.054C20.052 8.47 21 7.556 21 6.6m-18 0c0-.955.948-1.87 2.636-2.546C7.324 3.38 9.613 3.001 12 3.001s4.676.38 6.364 1.054C20.052 4.731 21 5.646 21 6.601m-18 0v5.4m18-5.4v5.4M3 12c0 1.987 4.03 3.6 9 3.6s9-1.612 9-3.6M3 12v5.4c0 1.987 4.03 3.6 9 3.6s9-1.613 9-3.6V12"},null,-1)]))}const Egn={render:B_e},jgn=Object.freeze(Object.defineProperty({__proto__:null,default:Egn,render:B_e},Symbol.toStringTag,{value:"Module"})),Mgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function H_e(e,t){return C(),A("svg",Mgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M9 3H4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1m11 0h-5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1m0 11h-5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1M9 14H4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1"},null,-1)]))}const Agn={render:H_e},Ngn=Object.freeze(Object.defineProperty({__proto__:null,default:Agn,render:H_e},Symbol.toStringTag,{value:"Module"})),Pgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function V_e(e,t){return C(),A("svg",Pgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 14h-5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1M9 14H4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1m5-11H9a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1"},null,-1)]))}const Ign={render:V_e},Rgn=Object.freeze(Object.defineProperty({__proto__:null,default:Ign,render:V_e},Symbol.toStringTag,{value:"Module"})),Dgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function F_e(e,t){return C(),A("svg",Dgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m3.3 7 8.7 5m0 0 8.7-5M12 12v10m9-14a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"},null,-1)]))}const Bgn={render:F_e},Hgn=Object.freeze(Object.defineProperty({__proto__:null,default:Bgn,render:F_e},Symbol.toStringTag,{value:"Module"})),Vgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function U_e(e,t){return C(),A("svg",Vgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m7 14 2.5-2.5L7 9m5 7.5h5M5 4h14c1.105 0 2 .796 2 1.778v12.444c0 .982-.895 1.778-2 1.778H5c-1.105 0-2-.796-2-1.778V5.778C3 4.796 3.895 4 5 4"},null,-1)]))}const Fgn={render:U_e},Ugn=Object.freeze(Object.defineProperty({__proto__:null,default:Fgn,render:U_e},Symbol.toStringTag,{value:"Module"})),zgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function z_e(e,t){return C(),A("svg",zgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.347",d:"M2.02 3.015h1.796l2.39 11.156a1.8 1.8 0 0 0 1.796 1.42h8.784a1.796 1.796 0 0 0 1.752-1.411l1.482-6.674H4.777"},null,-1),L("path",{fill:"currentColor","fill-rule":"evenodd",d:"M7 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0m9 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const Wgn={render:z_e},Zgn=Object.freeze(Object.defineProperty({__proto__:null,default:Wgn,render:z_e},Symbol.toStringTag,{value:"Module"})),Qgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function W_e(e,t){return C(),A("svg",Qgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 8v13m0-13c-.362-1.49-.985-2.765-1.787-3.657C9.41 3.451 8.465 2.983 7.5 3a2.5 2.5 0 1 0 0 5M12 8c.362-1.49.985-2.765 1.787-3.657.803-.892 1.748-1.36 2.713-1.343a2.5 2.5 0 0 1 0 5m2.5 4v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7M4 8h16a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1"},null,-1)]))}const qgn={render:W_e},Xgn=Object.freeze(Object.defineProperty({__proto__:null,default:qgn,render:W_e},Symbol.toStringTag,{value:"Module"})),Ygn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function Z_e(e,t){return C(),A("svg",Ygn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 9h18M3 9v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9M3 9l2.45-4.9A2 2 0 0 1 7.24 3h9.52a2 2 0 0 1 1.8 1.1L21 9m-9-6v6"},null,-1)]))}const Ggn={render:Z_e},Kgn=Object.freeze(Object.defineProperty({__proto__:null,default:Ggn,render:Z_e},Symbol.toStringTag,{value:"Module"})),Jgn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function Q_e(e,t){return C(),A("svg",Jgn,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.929 19.071a10 10 0 0 0 14.142 0m0-14.142a10 10 0 0 0-14.142 0M4 15.5v-7l2.8 7v-7m5.6 7H11a1.4 1.4 0 0 1-1.4-1.4V9.9A1.4 1.4 0 0 1 11 8.5h1.4m-2.8 4.2h2.8m2.8-4.2v1.883a8.4 8.4 0 0 0 .601 3.119L16.6 15.5l1.4-4.9 1.4 4.9.8-1.998a8.4 8.4 0 0 0 .6-3.12V8.5"},null,-1)]))}const e9n={render:Q_e},t9n=Object.freeze(Object.defineProperty({__proto__:null,default:e9n,render:Q_e},Symbol.toStringTag,{value:"Module"})),n9n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function q_e(e,t){return C(),A("svg",n9n,t[0]||(t[0]=[L("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7 20.5 8 14h1.08a1.48 1.48 0 0 0 1.18-.58 1.44 1.44 0 0 0 .27-1.28l-.75-3A1.49 1.49 0 0 0 8.33 8H3m16-3h-3.753a1.49 1.49 0 0 0-1.45 1.14l-.75 3a1.44 1.44 0 0 0 .28 1.28 1.48 1.48 0 0 0 1.18.58h1.58l.78 4.75a1.5 1.5 0 0 0 1.46 1.25h2M2 12a10 10 0 1 0 20 0 10 10 0 0 0-20 0"},null,-1)]))}const r9n={render:q_e},o9n=Object.freeze(Object.defineProperty({__proto__:null,default:r9n,render:q_e},Symbol.toStringTag,{value:"Module"})),a9n=Object.assign({"./icons/basic-shape-diamond.svg":_4n,"./icons/basic-shape-hexagon.svg":$4n,"./icons/basic-shape-primary-circle-ellipse-round.svg":j4n,"./icons/basic-shape-primary-square-rectangle.svg":N4n,"./icons/basic-shape-shield.svg":R4n,"./icons/computer-device-desktop-monitor.svg":H4n,"./icons/computer-device-desktop.svg":U4n,"./icons/computer-device-laptop.svg":Z4n,"./icons/computer-device-mobile-phone-android-samsung-back.svg":X4n,"./icons/computer-device-mobile-phone-android-samsung.svg":K4n,"./icons/computer-device-mobile-phone-iphone-x-back.svg":t6n,"./icons/computer-device-mobile-phone-iphone-x.svg":o6n,"./icons/computer-device-mobile-tablet-touch.svg":i6n,"./icons/computer-device-mobile-tablet.svg":u6n,"./icons/computer-device-network-ethernet-cat6.svg":p6n,"./icons/computer-device-network-lan-www.svg":g6n,"./icons/computer-device-network-wifi-connection.svg":y6n,"./icons/computer-device-network-wifi-router.svg":w6n,"./icons/ecology-science-erlenmeyer-flask.svg":_6n,"./icons/image-flash-lightning.svg":$6n,"./icons/image-picture-flower.svg":j6n,"./icons/interface-alert-exclamation-diamond.svg":N6n,"./icons/interface-alert-exclamation-triangle-warning.svg":R6n,"./icons/interface-alert-information-circle.svg":H6n,"./icons/interface-award-crown.svg":U6n,"./icons/interface-bookmark-tag.svg":Z6n,"./icons/interface-bookmark.svg":X6n,"./icons/interface-calendar-date-one.svg":K6n,"./icons/interface-content-book-open-pages.svg":t8n,"./icons/interface-content-book-page.svg":o8n,"./icons/interface-content-file.svg":i8n,"./icons/interface-content-folder.svg":u8n,"./icons/interface-copy-clipboard.svg":p8n,"./icons/interface-edit-attachment.svg":g8n,"./icons/interface-edit-binocular.svg":y8n,"./icons/interface-edit-magic-wand.svg":w8n,"./icons/interface-edit-tool-paint-roller.svg":_8n,"./icons/interface-edit-tool-pencil.svg":$8n,"./icons/interface-favorite-award.svg":j8n,"./icons/interface-favorite-flag.svg":N8n,"./icons/interface-favorite-heart.svg":R8n,"./icons/interface-favorite-star.svg":H8n,"./icons/interface-favorite-stars-sparkles.svg":U8n,"./icons/interface-hierarchy-flowchart.svg":Z8n,"./icons/interface-home-house.svg":X8n,"./icons/interface-hyperlink.svg":K8n,"./icons/interface-lighting-brightness.svg":t7n,"./icons/interface-lock-closed.svg":o7n,"./icons/interface-lock-open-unlock.svg":i7n,"./icons/interface-login-key.svg":u7n,"./icons/interface-search.svg":p7n,"./icons/interface-setting-cog.svg":g7n,"./icons/interface-share-megaphone-bullhorn.svg":y7n,"./icons/interface-share-rocket.svg":w7n,"./icons/interface-share-satellite.svg":_7n,"./icons/interface-share-space-ship.svg":$7n,"./icons/interface-share.svg":j7n,"./icons/interface-signal-square.svg":N7n,"./icons/interface-time-clock-circle.svg":R7n,"./icons/interface-time-hour-glass.svg":H7n,"./icons/interface-users-multiple.svg":U7n,"./icons/interface-weather-moon.svg":Z7n,"./icons/mail-chat-bubble-square.svg":X7n,"./icons/mail-send-email-paper-airplane.svg":K7n,"./icons/mail-send-envelope.svg":tgn,"./icons/money-cashier-receipt.svg":ogn,"./icons/money-currency-dollar-pay.svg":ign,"./icons/money-graph-arrow-increase.svg":ugn,"./icons/money-graph-bar-chart-increase.svg":pgn,"./icons/nature-ecology-leaf.svg":ggn,"./icons/phone-telephone.svg":ygn,"./icons/programming-bug.svg":wgn,"./icons/programming-cloud.svg":_gn,"./icons/programming-computer-database-server.svg":$gn,"./icons/programming-computer-database.svg":jgn,"./icons/programming-module-four-layout.svg":Ngn,"./icons/programming-module-three.svg":Rgn,"./icons/programming-module.svg":Hgn,"./icons/programming-script-code.svg":Ugn,"./icons/shopping-cart.svg":Zgn,"./icons/shopping-gift-present.svg":Xgn,"./icons/shopping-shipping-box-parcel-package.svg":Kgn,"./icons/tag-new-circle.svg":t9n,"./icons/travel-map-earth-globe.svg":o9n});function s9n(e){const t=Object.entries(e).map(([o,a])=>{const s=o.replace("./icons/","").replace(".svg","");return{icon:{src:s,title:s.replaceAll("-"," "),tags:[]},rawData:a}}),n=t.map(o=>o.icon),r=Object.fromEntries(t.map(o=>[o.icon.src,o.rawData]));return{iconDefinitionList:n,iconDataMap:r}}const X_e=s9n(a9n),i9n=X_e.iconDefinitionList,l9n=X_e.iconDataMap,c9n=e=>l9n[e],sg=le({__name:"LibraryIcon",props:{src:{}},setup(e){const t=e,n=Q(()=>c9n(t.src));return(r,o)=>n.value?(C(),Y(fo(n.value),{key:0})):te("",!0)}}),u9n=` ,\\
2913
2913
  \\\\\\,_
2914
2914
  \\\` ,\\
2915
2915
  __,.-" =__)
2916
2916
  ." )
2917
2917
  ,_/ , \\/\\_
2918
2918
  \\_| )_-\\ \\_-\`
2919
- \`-----\` \`--\``,c9n=` __
2919
+ \`-----\` \`--\``,d9n=` __
2920
2920
  // \\,_
2921
2921
  \\\` ,\\
2922
2922
  __,.-" =__)
2923
2923
  ." )
2924
2924
  ,_/ , \\/\\
2925
2925
  \\_| // / / /
2926
- / / `,u9n={class:"m-0 flex items-center gap-1.5 font-medium whitespace-nowrap"},d9n={class:"flex h-4 w-4 items-center justify-center"},f9n=le({__name:"EnvironmentSelector",setup(e){const{activeCollection:t,activeWorkspace:n,activeEnvironment:r}=$o(),{collectionMutators:o}=Sn(),{layout:a}=Ti(),s=sl(),i=m=>{t.value&&n.value&&(o.edit(t.value.uid,"x-scalar-active-environment",m),n.value.activeEnvironmentId=m)},l=()=>s.push({name:"environment.default",params:{[ln.Workspace]:n.value?.uid}}),c=Q(()=>{const{value:m}=r,{value:b}=t;return m?.name||b?.["x-scalar-active-environment"]||"No Environment"}),d=Q(()=>{const{value:m}=t,b=m?.["x-scalar-environments"];return b?Object.entries(b).map(([v,x])=>({...x,uid:v,name:v})):[]}),f=()=>{const m=d.value;if(m.length>0){const b=m[m.length-1];b?.uid&&i(b.uid)}};pt(d,(m,b)=>{m.length>b.length&&f()});const h=m=>{const b=m["x-scalar-active-environment"];b&&t.value&&n.value?(t.value["x-scalar-active-environment"]=b,n.value.activeEnvironmentId=b):n.value&&(n.value.activeEnvironmentId="")};return pt(t,m=>m&&h(m)),en(()=>{t.value&&h(t.value)}),(m,b)=>(C(),Y(O(x$),{teleport:""},{items:B(()=>[(C(!0),A(je,null,_t(d.value,v=>(C(),Y(O(T2),{key:v.uid,class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",onClick:Jt(x=>i(v.uid),["stop"])},{default:B(()=>[H(O(nh),{selected:O(t)?.["x-scalar-active-environment"]===v.uid},null,8,["selected"]),be(" "+Te(v.name),1)]),_:2},1032,["onClick"]))),128)),H(O(T2),{class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",onClick:b[0]||(b[0]=Jt(v=>i(""),["stop"]))},{default:B(()=>[H(O(nh),{selected:O(r)?.uid===""&&O(t)?.["x-scalar-active-environment"]===""||O(r)?.name==="No Environment"},null,8,["selected"]),b[1]||(b[1]=be(" No Environment "))]),_:1,__:[1]}),H(O(zj)),O(a)!=="modal"?(C(),Y(O(T2),{key:0,class:"flex items-center gap-1.5",onClick:l},{default:B(()=>[L("div",d9n,[H(O(Ct),{icon:"Brackets",size:"sm"})]),b[2]||(b[2]=L("span",{class:"leading-none"},"Manage Environments",-1))]),_:1,__:[2]})):te("",!0)]),default:B(()=>[H(O(At),{class:"text-c-1 hover:bg-b-2 line-clamp-1 h-auto w-fit justify-start px-1.5 py-1.5 font-normal",fullWidth:"",variant:"ghost"},{default:B(()=>[L("h2",u9n,Te(c.value),1)]),_:1})]),_:1}))}}),h1e=500,lD=100,p9n=le({__name:"ScalarAsciiArt",props:{art:{},animate:{type:Boolean}},setup(e){const t=e,n=Q(()=>t.art.split(`
2927
- `)),r=(o,a)=>({animationDuration:`${o*lD}ms, ${h1e}ms`,animationTimingFunction:`steps(${o}), step-end`,animationDelay:`${a*lD}ms, 0ms`,animationIterationCount:`1, ${((n.value?.length??0)+(n.value?.[n.value?.length-1]?.length??0)+5)*lD/h1e}`});return(o,a)=>(C(),A("div",{"aria-hidden":"true",class:Ie(["ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]",{"ascii-art-animate":o.animate}]),role:"presentation",inert:""},[(C(!0),A(je,null,_t(n.value,(s,i)=>(C(),A("span",{key:i,class:"inline-block",style:sr({width:`calc(${s.length+1}ch)`})},[L("span",{class:"inline-block whitespace-pre overflow-hidden",style:sr(r(s.length,i))},Te(s),5)],4))),128))],2))}}),_x=Dn(p9n,[["__scopeId","data-v-69ebd973"]]);function h9n(){const e=sl(),{activeWorkspace:t,activeWorkspaceRequests:n,activeWorkspaceCollections:r}=$o(),{requests:o,tags:a}=Sn(),s=me([]),i=me([]),l=me(0),c=me(""),d=me(null),f=me([]),h=new Ph(s.value,{keys:["title","description","body"]}),m=()=>{c.value="",l.value=0,i.value=[],d.value instanceof HTMLInputElement&&d.value.blur()},b=$=>{s.value=$.filter(M=>!n$(M)).filter(M=>!r.value?.find(P=>P.requests.includes(M.uid))?.tags.map(P=>a[P]).filter(Tn).filter(P=>M.tags?.includes(P.name)).filter(P=>n$(P)).length).map(M=>({id:M.uid,title:M.summary??M.method,description:M.description??"",httpVerb:M.method,path:M.path,link:e?.resolve({name:"request",params:{[ln.Request]:M.uid,[ln.Workspace]:t.value?.uid}})?.href})),h.setCollection(s.value)},v=()=>{l.value=0,i.value=h.search(c.value)};pt(c,$=>{$.length?v():i.value=[]});const x=$=>{const M=$==="up"?-1:1,P=T.value.length;l.value=(l.value+M+P)%P,In(()=>{const D=f.value[l.value];D instanceof HTMLElement&&D.scrollIntoView({behavior:"smooth",block:"center"})})},k=()=>{if(l.value>=0){const $=T.value[l.value];$&&S($)}},_=Q(()=>n.value.map($=>o[$]).filter(Tn));pt(n,()=>{b(_.value)},{immediate:!0});const S=$=>{e.push($.item.id),m()},T=Q(()=>c.value.length===0?s.value.map($=>({item:$})):i.value);return{searchText:c,searchResultsWithPlaceholderResults:T,selectedSearchResult:l,onSearchResultClick:S,fuseSearch:v,searchInputRef:d,searchResultRefs:f,navigateSearchResults:x,selectSearchResult:k,populateFuseDataArray:b}}const Yq=le({__name:"SidebarButton",props:{click:{type:Function},hotkey:{}},setup(e){const t=e,{layout:n}=Ti(),r=()=>{t.click()};return(o,a)=>(C(),Y(O(At),{class:"bg-b-1 text-c-1 hover:bg-b-2 group relative h-auto w-auto border px-2 py-1 md:w-full md:p-1.5",icon:"Plus",variant:"outlined",onClick:r},{default:B(()=>[we(o.$slots,"title"),o.hotkey&&O(n)==="desktop"?(C(),Y(O(wv),{key:0,class:"text-c-2 add-item-hotkey absolute right-2 hidden group-hover:opacity-80 md:flex",hotkey:o.hotkey},null,8,["hotkey"])):te("",!0)]),_:3}))}});function m9n(e,{collections:t,collectionMutators:n,tags:r,tagMutators:o,workspaceMutators:a}){const{layout:s}=Ti(),i=(l,c)=>{l.type==="collection"?n.edit(l.uid,"children",c):l.type==="tag"&&o.edit(l.uid,"children",c)};return{handleDragEnd:(l,c)=>{if(!l||!c)return;const{id:d,parentId:f}=l,{id:h,parentId:m,offset:b}=c;if(f?t[f]?n.edit(f,"children",t[f].children.filter(v=>v!==d)):r[f]&&o.edit(f,"children",r[f].children.filter(v=>v!==d)):a.edit(e.value?.uid,"collections",e.value?.collections.filter(v=>v!==d)??[]),b===2){const v=t[h]||r[h];v&&i(v,[...v.children??[],d])}else if(m){const v=t[m]||r[m];if(!v)return;const x=[...v.children??[]],k=x.findIndex(_=>h===_)??0;x.splice(k+b,0,d),i(v,x)}else{const v=[...e.value?.collections??[]],x=v.findIndex(k=>h===k)??0;v.splice(x+b,0,d),a.edit(e.value?.uid,"collections",v)}},isDroppable:(l,c)=>!(s==="modal"||!t[l.id]&&c.offset!==2||t[l.id]&&t[c.id]?.info?.title==="Drafts")}}const g9n={class:"flex justify-between gap-10"},b9n=le({__name:"SidebarListElementForm",props:{danger:{type:Boolean},label:{}},emits:["cancel","submit"],setup(e,{emit:t}){const n=t;return(r,o)=>(C(),A("form",{class:"flex flex-col gap-4 text-base",onSubmit:o[1]||(o[1]=Jt(a=>n("submit"),["prevent"]))},[we(r.$slots,"default",{},void 0,!0),L("div",g9n,[H(O(At),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-2.5 shadow-none focus:outline-none",type:"button",variant:"outlined",onClick:o[0]||(o[0]=a=>n("cancel"))},{default:B(()=>o[2]||(o[2]=[be(" Cancel ")])),_:1,__:[2]}),H(O(At),{class:"custom-scroll h-8 gap-1.5 px-2.5 font-medium whitespace-nowrap shadow-none focus:outline-none",type:"submit",variant:r.danger?"danger":"solid"},{default:B(()=>[be(Te(r.label??"Save"),1)]),_:1},8,["variant"])])],32))}}),OM=Dn(b9n,[["__scopeId","data-v-a93bfefe"]]),v9n={key:0,class:"text-c-2 text-sm leading-normal text-pretty"},D3=le({__name:"DeleteSidebarListElement",props:{variableName:{},warningMessage:{}},emits:["close","delete"],setup(e,{emit:t}){const n=e,r=t,o=Q(()=>n.variableName.length>18?n.variableName.slice(0,18)+"…":n.variableName);return(a,s)=>(C(),Y(OM,{danger:"",label:`Delete ${o.value}`,onCancel:s[0]||(s[0]=i=>r("close")),onSubmit:s[1]||(s[1]=i=>r("delete"))},{default:B(()=>[a.warningMessage?(C(),A("p",v9n,Te(a.warningMessage),1)):te("",!0)]),_:1},8,["label"]))}}),y9n={class:"flex text-sm"},x9n={class:"bg-b-1 custom-scroll grid w-dvw max-w-[420px] auto-rows-[32px] grid-cols-[repeat(auto-fill,minmax(32px,1fr))] content-between justify-between rounded border p-1"},Y_e=le({__name:"IconSelector",props:{modelValue:{},placement:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=Q({get:()=>n.modelValue,set:a=>r("update:modelValue",a)});return(a,s)=>(C(),Y(O(Wj),{class:"bg-b-2 rounded",focus:"",placement:a.placement??"bottom"},{popover:B(({close:i})=>[H(O(XEt),{modelValue:o.value,"onUpdate:modelValue":s[0]||(s[0]=l=>o.value=l),class:"flex flex-col"},{default:B(()=>[L("div",y9n,[H(O(aae),{class:"text-c-2 px-1 py-1"},{default:B(()=>[we(a.$slots,"title",{},()=>[s[1]||(s[1]=be("Select an icon"))])]),_:3})]),L("ul",x9n,[(C(!0),A(je,null,_t(O(a9n),l=>(C(),Y(O(GEt),{key:l.src,as:"li",class:"text-c-3 hover:text-c-2 hover:bg-b-2 ui-checked:bg-b-3 ui-active:bg-b-2 flex cursor-pointer items-center justify-center rounded p-2",value:l.src,onClick:i},{default:B(()=>[H(O(aae),{class:"sr-only"},{default:B(()=>[be(Te(l.src.replaceAll("-"," "))+" Icon ",1)]),_:2},1024),H(O(sg),{class:"stroke-[1.5]",src:l.src},null,8,["src"])]),_:2},1032,["value","onClick"]))),128))])]),_:2},1032,["modelValue"])]),default:B(()=>[we(a.$slots,"default")]),_:3},8,["placement"]))}}),k9n={class:"grid grid-cols-[auto_1fr] gap-2"},w9n={class:"flex aspect-square"},O9n=le({__name:"EditSidebarListCollection",props:{name:{},icon:{}},emits:["close","edit"],setup(e,{emit:t}){const n=e,r=t,o=me(n.name),a=me(n.icon);return(s,i)=>(C(),Y(OM,{onCancel:i[2]||(i[2]=l=>r("close")),onSubmit:i[3]||(i[3]=l=>r("edit",o.value,a.value))},{default:B(()=>[L("div",k9n,[L("div",w9n,[H(Y_e,{modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=l=>a.value=l),placement:"bottom-start"},{default:B(()=>[H(O(At),{class:"aspect-square h-auto px-0",variant:"outlined"},{default:B(()=>[H(O(sg),{class:"text-c-2 size-4",src:a.value},null,8,["src"])]),_:1})]),_:1},8,["modelValue"])]),H(O(JZ),{modelValue:o.value,"onUpdate:modelValue":i[1]||(i[1]=l=>o.value=l),autofocus:"",class:"flex-1"},null,8,["modelValue"])])]),_:1}))}}),CM=le({__name:"EditSidebarListElement",props:{name:{}},emits:["close","edit"],setup(e,{emit:t}){const n=e,r=t,o=me(n.name);return(a,s)=>(C(),Y(OM,{onCancel:s[1]||(s[1]=i=>r("close")),onSubmit:s[2]||(s[2]=i=>r("edit",o.value))},{default:B(()=>[H(O(JZ),{modelValue:o.value,"onUpdate:modelValue":s[0]||(s[0]=i=>o.value=i),autofocus:""},null,8,["modelValue"])]),_:1}))}}),C9n=le({__name:"RequestSidebarItemMenu",props:{menuItem:{}},emits:["closeMenu","toggleWatchMode","clearDrafts"],setup(e,{emit:t}){const n=e,r=t,{replace:o}=sl(),{activeRouterParams:a,activeWorkspaceCollections:s,activeWorkspaceRequests:i}=$o(),{events:l,requestMutators:c}=Sn(),d=ka(),f=ka(),h=ka(),m=()=>l.commandPalette.emit({commandName:"Add Example",metaData:{itemUid:n.menuItem.item?.entity.uid}}),b=($,M)=>{n.menuItem.item?.edit($,M),d.hide()},v=()=>{if(n.menuItem.item?.delete(),!i.value.length){const{request:$}=wq(),M=s.value.find(P=>P.info?.title==="Drafts");M&&(c.add($,M.uid),o({name:"request",params:{[ln.Request]:$.uid}}))}if(a.value[ln.Request]===n.menuItem.item?.entity.uid&&o({name:"request",params:{[ln.Request]:"default"}}),a.value[ln.Examples]===n.menuItem.item?.entity.uid&&o({name:"request",params:{[ln.Request]:"default"}}),s.value[0]){const $=s.value[0].requests[0];o({name:"request",params:{[ln.Request]:$}})}f.hide()},x=me(null);pt([()=>n.menuItem.open,x],async([$])=>{$&&x.value?.$parent?.$el&&x.value.$parent.$el.focus()});const k=()=>n.menuItem.open&&r("closeMenu");en(()=>window.addEventListener("click",k)),li(()=>window.removeEventListener("click",k));const _=()=>{r("toggleWatchMode",n.menuItem.item)},S=()=>{r("clearDrafts"),h.hide()},T=Q(()=>n.menuItem.item?.title==="Drafts");return($,M)=>(C(),A(je,null,[$.menuItem.targetRef&&$.menuItem.open?(C(),Y(O(X7),{key:0,placement:"right-start",target:$.menuItem.targetRef,teleport:""},{floating:B(()=>[H(O(N7e),{onKeydown:M[3]||(M[3]=cs(P=>$.$emit("closeMenu"),["escape"]))},{default:B(()=>[$.menuItem.item?.entity.type==="request"?(C(),Y(O(B4),{key:0,class:"flex items-center gap-2",onClick:m},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Example",size:"md",thickness:"1.5"}),M[8]||(M[8]=L("span",null,"Add Example",-1))]),_:1,__:[8]})):te("",!0),T.value?te("",!0):(C(),Y(O(B4),{key:1,ref_key:"menuRef",ref:x,class:"flex items-center gap-2",onClick:M[0]||(M[0]=P=>O(d).show())},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Edit",size:"md",thickness:"1.5"}),L("span",null,[$.menuItem.item?.entity.type==="collection"?(C(),A(je,{key:0},[be(" Edit ")],64)):(C(),A(je,{key:1},[be(" Rename ")],64))])]),_:1},512)),$.menuItem.item?.documentUrl?(C(),Y(O(B4),{key:2,ref_key:"menuRef",ref:x,class:"flex items-center gap-2",onClick:_},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:$.menuItem.item?.watchMode?"Unwatch":"Watch",size:"md",thickness:"1.5"},null,8,["icon"]),L("span",null,Te($.menuItem.item?.watchMode?"Disable Watch Mode":"Enable Watch Mode"),1)]),_:1},512)):te("",!0),T.value?te("",!0):(C(),Y(O(B4),{key:3,class:"flex items-center gap-2",onClick:M[1]||(M[1]=P=>O(f).show())},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Delete",size:"md",thickness:"1.5"}),M[9]||(M[9]=L("span",null,"Delete",-1))]),_:1,__:[9]})),T.value?(C(),Y(O(B4),{key:4,class:"flex items-center gap-2",onClick:M[2]||(M[2]=P=>O(h).show())},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Delete",size:"md",thickness:"1.5"}),M[10]||(M[10]=L("span",null,"Clear Drafts",-1))]),_:1,__:[10]})):te("",!0)]),_:1})]),_:1},8,["target"])):te("",!0),H(O(oi),{size:"xxs",state:O(f),title:`Delete ${$.menuItem.item?.resourceTitle}`},{default:B(()=>[H(D3,{variableName:$.menuItem.item?.title??"",warningMessage:$.menuItem.item?.warning,onClose:M[4]||(M[4]=P=>O(f).hide()),onDelete:v},null,8,["variableName","warningMessage"])]),_:1},8,["state","title"]),H(O(oi),{size:"xxs",state:O(d),title:`Edit ${$.menuItem.item?.resourceTitle}`},{default:B(()=>[$.menuItem.item?.resourceTitle==="Collection"?(C(),Y(O9n,{key:0,icon:$.menuItem.item?.icon||"interface-content-folder",name:$.menuItem.item?.title,onClose:M[5]||(M[5]=P=>O(d).hide()),onEdit:b},null,8,["icon","name"])):(C(),Y(CM,{key:1,name:$.menuItem.item?.title??"",onClose:M[6]||(M[6]=P=>O(d).hide()),onEdit:b},null,8,["name"]))]),_:1},8,["state","title"]),H(O(oi),{size:"xxs",state:O(h),title:"Clear Drafts"},{default:B(()=>[H(D3,{variableName:"All Drafts",warningMessage:"This action will clear all drafts. This cannot be undone.",onClose:M[7]||(M[7]=P=>O(h).hide()),onDelete:S})]),_:1},8,["state"])],64))}}),_9n=Dn(C9n,[["__scopeId","data-v-c405ab35"]]),S9n=(e,t,n)=>{const r=e.find(i=>i.info?.title==="Drafts"),o=t.length===1;if(!t[0])return!1;const a=r?.requests.includes(t[0]);if(!a)return!1;const s=n[r?.requests[0]??""]?.summary!=="My First Request";return o&&a&&!s},z0=me(null),hp=me(null),L9n=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},$9n=["draggable"],T9n=le({__name:"Draggable",props:{ceiling:{default:.8},floor:{default:.2},isDraggable:{type:Boolean,default:!0},isDroppable:{type:[Boolean,Function],default:!0},parentIds:{},id:{}},emits:["onDragEnd","onDragStart"],setup(e,{expose:t,emit:n}){const r=n,o=Q(()=>e.parentIds.at(-1)??null),a=f=>{!f.dataTransfer||!(f.target instanceof HTMLElement)||!e.isDraggable||(f.target.classList.add("dragging"),f.dataTransfer.dropEffect="move",f.dataTransfer.effectAllowed="move",z0.value={id:e.id,parentId:o.value},r("onDragStart",{id:e.id,parentId:o.value}))},s=f=>typeof e.isDroppable=="function"?e.isDroppable(z0.value,{id:e.id,parentId:o.value,offset:f}):e.isDroppable,i=L9n(f=>{var h,m;if(!z0.value||z0.value.id===e.id||e.parentIds.includes(((h=z0.value)==null?void 0:h.id)??""))return;const b=(m=hp.value)==null?void 0:m.offset,v=f.target.offsetHeight,x=e.floor*v,k=e.ceiling*v;let _=3;f.offsetY<=0&&b&&b!==3?_=b:f.offsetY<=x?_=0:f.offsetY>=k?_=1:f.offsetY>x&&f.offsetY<k&&(_=2),s(_)&&(hp.value={id:e.id,parentId:o.value,offset:_})},25),l=["above","below","asChild"],c=Q(()=>{var f;let h="sidebar-indent-nested";return e.id===((f=hp.value)==null?void 0:f.id)&&(h+=` dragover-${l[hp.value.offset]}`),h}),d=()=>{if(!hp.value||!z0.value)return;const f={...z0.value},h={...hp.value};z0.value=null,hp.value=null,document.querySelectorAll("div.dragging").forEach(m=>m.classList.remove("dragging")),f.id!==h.id&&r("onDragEnd",f,h)};return t({draggingItem:z0,hoveredItem:hp}),(f,h)=>(C(),A("div",{class:Ie(c.value),draggable:f.isDraggable,onDragend:d,onDragover:h[0]||(h[0]=Jt((...m)=>O(i)&&O(i)(...m),["prevent","stop"])),onDragstart:Jt(a,["stop"])},[we(f.$slots,"default",{},void 0,!0)],42,$9n))}}),E9n=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Gq=E9n(T9n,[["__scopeId","data-v-a89d6a6e"]]),j9n={class:"line-clamp-1 w-full pl-2 break-all"},M9n={class:"flex flex-row items-center gap-1"},A9n={class:"relative"},N9n={class:"flex items-start"},P9n={class:"flex flex-1 flex-row justify-between font-medium"},I9n={class:"line-clamp-1 w-full text-left break-all"},R9n={class:"relative flex h-fit justify-end"},D9n={class:"flex items-center justify-center",type:"button"},B9n=["aria-expanded"],H9n={class:"flex h-5 max-w-[14px] items-center justify-center"},V9n={class:"flex flex-1 flex-row justify-between"},F9n={class:"line-clamp-1 w-full text-left font-medium break-all"},U9n={class:"relative flex h-fit justify-end"},z9n={class:"flex items-center justify-center",type:"button"},W9n={key:3},cD="hover:bg-sidebar-b-active indent-padding-left",Z9n=le({__name:"RequestSidebarItem",props:{isDraggable:{type:Boolean,default:!1},isDroppable:{type:[Boolean,Function],default:!1},parentUids:{},uid:{},menuItem:{}},emits:["onDragEnd","newTab","openMenu"],setup(e,{emit:t}){z2e(G=>({eae2c57a:M.value,"7c91ad9b":P.value}));const n=t,{activeCollection:r,activeRequest:o,activeRouterParams:a,activeWorkspace:s}=$o(),{collections:i,tags:l,requests:c,requestExamples:d,collectionMutators:f,tagMutators:h,requestMutators:m,requestExampleMutators:b,events:v}=Sn(),x=sl(),{collapsedSidebarFolders:k,toggleSidebarFolder:_}=Ih(),{layout:S}=Ti(),T=Q(()=>{const G=i[e.uid],J=l[e.uid],X=c[e.uid],K=d[e.uid];return G?{title:G.info?.title||"Untitled Collection",entity:G,resourceTitle:"Collection",children:G.children,icon:G["x-scalar-icon"],documentUrl:G.documentUrl,watchMode:G.watchMode,to:G.uid&&G?.info?.title!=="Drafts"?{name:"collection",params:{[ln.Workspace]:s.value?.uid,[ln.Collection]:G.uid}}:void 0,warning:"This cannot be undone. You're about to delete the collection and all folders and requests inside it.",edit:(fe,re)=>{f.edit(G.uid,"info.title",fe),re&&f.edit(G.uid,"x-scalar-icon",re)},delete:()=>{s.value&&f.delete(G,s.value)}}:J?{title:J.name,entity:J,resourceTitle:"Tag",children:J.children,warning:"This cannot be undone. You're about to delete the tag and all requests inside it",edit:fe=>h.edit(J.uid,"name",fe),delete:()=>e.parentUids[0]&&h.delete(J,e.parentUids[0])}:X?{title:X.summary??X.path,to:{name:"request",params:{workspace:s.value?.uid,request:X.uid}},method:X.method,entity:X,resourceTitle:"Request",warning:"This cannot be undone. You're about to delete the request.",children:X.examples.slice(1),edit:fe=>m.edit(X.uid,"summary",fe),delete:()=>e.parentUids[0]&&m.delete(X,e.parentUids[0])}:K?.requestUid?{title:K.name,to:{name:"request.examples",params:{workspace:s.value?.uid,request:K.requestUid,examples:K.uid}},method:c[K.requestUid]?.method,entity:K,resourceTitle:"Example",warning:"This cannot be undone. You're about to delete the example from the request.",children:[],edit:fe=>b.edit(K.uid,"name",fe),delete:()=>b.delete(K)}:{title:"Unknown",entity:{uid:"",type:"unknown"},resourceTitle:"Unknown",children:[],edit:()=>null,delete:()=>null}}),$=Q(()=>T.value.entity.type==="collection"&&T.value.title==="Drafts"),M=Q(()=>e.parentUids.length?S==="modal"?`${(e.parentUids.length-1)*12}px`:`${e.parentUids.length*12}px`:"12px"),P=Q(()=>e.parentUids.length?S==="modal"?`${(e.parentUids.length-1)*12}px`:`${e.parentUids.length*12}px`:"0px"),D=Q(()=>k[e.uid]||o.value?.uid===e.uid&&T.value.entity.examples.length>1),U=Q(()=>typeof x.currentRoute.value.name=="string"&&x.currentRoute.value.name.startsWith("request")&&a.value[ln.Request]==="default"&&o.value?.uid===e.uid),Z=me(null),V=Q(()=>{let G=.5,J=.5;if(!Z.value)return{ceiling:G,floor:J};const{draggingItem:X}=Z.value;return!i[X?.id]&&T.value.entity.type==="collection"?(G=1,J=0):T.value.entity.type==="tag"&&(G=.8,J=.2),{ceiling:G,floor:J}}),F=(G,J)=>!(S==="modal"||d[J.id]||i[G.id]),ne=(G,J)=>{G&&(dOe(["default"]).some(X=>G[X])?n("newTab",J.title||"",J.entity.uid):J.to&&x.push(J.to),In(()=>v.focusAddressBar.emit()))};function ae(G){const J=e.parentUids[0]?i[e.parentUids[0]]?.uid||"":G,X=e.parentUids[0]&&l[G]?.name?{tags:[l[G].name]}:{},K=m.add(X,J);K&&(x.push({name:"request",params:{workspace:s.value?.uid,request:K.uid}}),v.hotKeys.emit({focusAddressBar:new KeyboardEvent("keydown",{key:"l"})}))}const oe=Q(()=>{const{uid:G,watchModeStatus:J}=r.value||{};return G!==T.value.entity.uid?"text-c-3":J==="WATCHING"?"text-c-1":J==="ERROR"?"text-red":"text-c-3"}),z=Q(()=>T.value.title==="Drafts"&&S!=="modal"&&T.value.children.length>0),se=Q(()=>{const G=c[e.uid];if(G)return!n$(G);const J=l[e.uid];return J?!n$(J):!0});return(G,J)=>{const X=WU("RequestSidebarItem",!0);return se.value?(C(),A("li",{key:0,class:Ie(["relative flex flex-row",[O(S)==="modal"&&G.parentUids.length>1||O(S)!=="modal"&&G.parentUids.length?"before:bg-border indent-border-line-offset mb-[.5px] before:pointer-events-none before:absolute before:top-0 before:left-[calc(.75rem_+_.5px)] before:z-1 before:h-[calc(100%_+_.5px)] before:w-[.5px] last:mb-0 last:before:h-full":""]])},[H(O(Gq),{id:T.value.entity.uid,ref_key:"draggableRef",ref:Z,ceiling:V.value.ceiling,class:"gap-1/2 flex flex-1 flex-col text-base",floor:V.value.floor,isDraggable:G.isDraggable,isDroppable:G.isDroppable,parentIds:G.parentUids,onOnDragEnd:J[12]||(J[12]=(...K)=>G.$emit("onDragEnd",...K))},{default:B(()=>[(T.value.entity.type==="request"||T.value.entity.type==="requestExample")&&T.value.to?(C(),Y(O(rx),{key:0,class:"group no-underline",to:T.value.to,onClick:J[1]||(J[1]=Jt(K=>ne(K,T.value),["prevent"]))},{default:B(({isExactActive:K})=>[L("div",{class:Ie(["relative flex min-h-8 w-full cursor-pointer flex-row items-start justify-between gap-0.5 rounded py-1.5 pr-2",[cD,K||U.value?"bg-sidebar-b-active text-sidebar-c-active font-medium transition-none":"text-sidebar-c-2"]])},[L("span",j9n,Te(T.value.title||"Untitled"),1),L("div",M9n,[L("div",A9n,[O(S)!=="modal"?(C(),Y(O(At),{key:0,class:Ie(["hover:bg-b-3 hidden aspect-square h-fit px-0.5 py-0 opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",{flex:G.menuItem?.item?.entity.uid===T.value.entity.uid&&G.menuItem.open}]),size:"sm",type:"button",variant:"ghost",onClick:J[0]||(J[0]=Jt(fe=>G.$emit("openMenu",{item:T.value,parentUids:G.parentUids,targetRef:fe.currentTarget,open:!G.menuItem.open}),["stop","prevent"]))},{default:B(()=>[H(O(Ct),{icon:"Ellipses",size:"md"})]),_:1},8,["class"])):te("",!0)]),L("span",N9n,[J[13]||(J[13]=be("   ")),J[14]||(J[14]=L("span",{class:"sr-only"},"HTTP Method:",-1)),T.value.method?(C(),Y(O(aM),{key:0,class:"font-bold",method:T.value.method},null,8,["method"])):te("",!0)])])],2)]),_:1},8,["to"])):(O(S)!=="modal"||G.parentUids.length)&&T.value.entity.type==="collection"&&T.value.to?(C(),Y(O(rx),{key:1,"aria-expanded":!!O(k)[T.value.entity.uid],class:Ie(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 no-underline focus-visible:z-10",[cD,{"bg-sidebar-b-active text-sidebar-c-active transition-none":typeof O(x).currentRoute.value.name=="string"&&O(x).currentRoute.value.name.startsWith("collection")&&O(x).currentRoute.value.params[O(ln).Collection]===T.value.entity.uid,"text-c-2":T.value.title==="Untitled Collection"}]]),to:T.value.to},{default:B(()=>[L("span",{class:"flex h-5 max-w-[14px] cursor-pointer items-center justify-center",onClick:J[2]||(J[2]=Jt(K=>O(_)(T.value.entity.uid),["stop","prevent"]))},[we(G.$slots,"leftIcon",{},()=>[H(O(qH),{class:"text-c-3 shrink-0",open:!!O(k)[T.value.entity.uid]},null,8,["open"])],!0),J[15]||(J[15]=be("   "))]),L("div",P9n,[L("span",I9n,Te(T.value.title),1),L("div",R9n,[L("div",{class:Ie(["items-center gap-px opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",{flex:G.menuItem.open,hidden:!G.menuItem.open||G.menuItem.item?.entity.uid!==T.value.entity.uid}])},[O(S)!=="modal"&&!$.value||$.value&&z.value?(C(),Y(O(At),{key:0,class:"hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",size:"sm",variant:"ghost",onClick:J[3]||(J[3]=Jt(K=>G.$emit("openMenu",{item:T.value,parentUids:G.parentUids,targetRef:K.currentTarget.parentNode,open:!0}),["stop","prevent"]))},{default:B(()=>[H(O(Ct),{icon:"Ellipses",size:"md"})]),_:1})):te("",!0),O(S)!=="modal"?(C(),Y(O(At),{key:1,class:"hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",size:"sm",variant:"ghost",onClick:J[4]||(J[4]=Jt(K=>ae(T.value.entity.uid),["stop","prevent"]))},{default:B(()=>[H(O(Ct),{icon:"Add",size:"md",thickness:"2"})]),_:1})):te("",!0)],2),T.value.watchMode?(C(),Y(O(Uy),{key:0,placement:"right",offset:12,content:`Watching: ${T.value.documentUrl}`},{default:B(()=>[L("button",D9n,[H(O(Ct),{class:Ie(["ml-0.5 text-sm",oe.value]),icon:"Watch",size:"md",thickness:"2"},null,8,["class"])])]),_:1},8,["content"])):te("",!0),J[16]||(J[16]=L("span",null," ",-1))])])]),_:3},8,["aria-expanded","class","to"])):O(S)!=="modal"||G.parentUids.length?(C(),A("button",{key:2,"aria-expanded":!!O(k)[T.value.entity.uid],class:Ie(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 focus-visible:z-10",[cD]]),type:"button",onClick:J[7]||(J[7]=K=>O(_)(T.value.entity.uid))},[L("span",H9n,[we(G.$slots,"leftIcon",{},()=>[H(O(qH),{class:"text-c-3 hover:text-c-1 shrink-0",open:!!O(k)[T.value.entity.uid]},null,8,["open"])],!0),J[17]||(J[17]=be("   "))]),L("div",V9n,[L("span",F9n,Te(T.value.title),1),L("div",U9n,[L("div",{class:Ie(["items-center gap-px opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",{flex:G.menuItem.open,hidden:!G.menuItem.open||G.menuItem.item?.entity.uid!==T.value.entity.uid}])},[O(S)!=="modal"&&!$.value||$.value&&z.value?(C(),Y(O(At),{key:0,class:"hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",size:"sm",variant:"ghost",onClick:J[5]||(J[5]=Jt(K=>G.$emit("openMenu",{item:T.value,parentUids:G.parentUids,targetRef:K.currentTarget.parentNode,open:!0}),["stop","prevent"]))},{default:B(()=>[H(O(Ct),{icon:"Ellipses",size:"md"})]),_:1})):te("",!0),O(S)!=="modal"?(C(),Y(O(At),{key:1,class:"hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",size:"sm",variant:"ghost",onClick:J[6]||(J[6]=Jt(K=>ae(T.value.entity.uid),["stop","prevent"]))},{default:B(()=>[H(O(Ct),{icon:"Add",size:"md",thickness:"2"})]),_:1})):te("",!0)],2),T.value.watchMode?(C(),Y(O(Uy),{key:0,content:"Watching: {{ item.documentUrl }}",placement:"right",offset:12},{default:B(()=>[L("button",z9n,[H(O(Ct),{class:Ie(["ml-0.5 text-sm",oe.value]),icon:"Watch",size:"md",thickness:"2"},null,8,["class"])])]),_:1})):te("",!0),J[18]||(J[18]=L("span",null," ",-1))])])],10,B9n)):te("",!0),D.value?(C(),A("ul",W9n,[(C(!0),A(je,null,_t(T.value.children,K=>(C(),Y(X,{key:K,isDraggable:!O(d)[K],isDroppable:F,menuItem:G.menuItem,parentUids:[...G.parentUids,G.uid],uid:K,onNewTab:J[8]||(J[8]=(fe,re)=>G.$emit("newTab",fe,re)),onOnDragEnd:J[9]||(J[9]=(...fe)=>G.$emit("onDragEnd",...fe)),onOpenMenu:J[10]||(J[10]=fe=>G.$emit("openMenu",fe))},null,8,["isDraggable","menuItem","parentUids","uid"]))),128)),T.value.children.length===0?(C(),Y(O(At),{key:0,class:Ie(["text-c-1 hover:bg-b-2 flex h-8 w-full justify-start gap-1.5 py-0 text-xs",G.parentUids.length?"pl-9":""]),variant:"ghost",onClick:J[11]||(J[11]=K=>ae(T.value.entity.uid))},{default:B(()=>[H(O(Ct),{icon:"Add",size:"sm"}),J[19]||(J[19]=L("span",null,"Add Request",-1))]),_:1,__:[19]},8,["class"])):te("",!0)])):te("",!0)]),_:3},8,["id","ceiling","floor","isDraggable","isDroppable","parentIds"])],2)):te("",!0)}}}),Q9n=Dn(Z9n,[["__scopeId","data-v-4dedda07"]]),q9n={class:"flex w-[inherit] items-center text-base"},X9n={class:"m-0 flex items-center gap-1.5 font-bold"},Y9n={class:"line-clamp-1 text-left"},G9n={class:"overflow-hidden text-ellipsis"},K9n={class:"flex h-4 w-4 items-center justify-center"},J9n=le({__name:"WorkspaceDropdown",setup(e){const{activeWorkspace:t}=$o(),{workspaces:n,workspaceMutators:r,events:o}=Sn(),{push:a}=sl(),s=k=>{k!==t.value?.uid&&a({name:"workspace",params:{workspace:k}})},i=Q(()=>Object.keys(n).length===1),l=()=>o.commandPalette.emit({commandName:"Create Workspace"}),c=me(""),d=me(""),f=ka(),h=ka(),m=k=>{const _=n[k];_&&(c.value=_.name,d.value=k,f.show())},b=k=>{k.trim()&&(r.edit(d.value,"name",k.trim()),f.hide())},v=k=>{const _=n[k];_&&(c.value=_.name,d.value=k,h.show())},x=async()=>{if(!i.value){const k=t.value?.uid===d.value,_={...n};if(delete _[d.value],r.delete(d.value),k){const S=Object.keys(_)[0];await a({name:"workspace",params:{workspace:S}})}}h.hide()};return(k,_)=>(C(),A("div",null,[L("div",q9n,[H(O(x$),null,{items:B(()=>[(C(!0),A(je,null,_t(O(n),(S,T)=>(C(),Y(O(T2),{key:T,class:"group/item flex w-full items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",onClick:Jt($=>s(S.uid),["stop"])},{default:B(()=>[H(O(nh),{selected:O(t)?.uid===T},null,8,["selected"]),L("span",G9n,Te(S.name),1),H(O(x$),{placement:"right-start",teleport:""},{items:B(()=>[H(O(T2),{class:"flex gap-2",onMousedown:$=>m(S.uid),onTouchend:Jt($=>m(S.uid),["prevent"])},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Edit",size:"md",thickness:"1.5"}),_[2]||(_[2]=L("span",null,"Rename",-1))]),_:2,__:[2]},1032,["onMousedown","onTouchend"]),i.value?te("",!0):(C(),Y(O(T2),{key:0,class:"flex gap-2",onMousedown:Jt($=>v(S.uid),["prevent"]),onTouchend:Jt($=>v(S.uid),["prevent"])},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Delete",size:"md",thickness:"1.5"}),_[3]||(_[3]=L("span",null,"Delete",-1))]),_:2,__:[3]},1032,["onMousedown","onTouchend"]))]),default:B(()=>[H(O(At),{class:"hover:bg-b-3 -mr-1 ml-auto aspect-square h-fit px-0.5 py-0 group-hover/item:flex",size:"sm",type:"button",variant:"ghost"},{default:B(()=>[H(O(Ct),{icon:"Ellipses",size:"sm"})]),_:1})]),_:2},1024)]),_:2},1032,["onClick"]))),128)),H(O(zj)),H(O(T2),{class:"flex items-center gap-1.5",onClick:l},{default:B(()=>[L("div",K9n,[H(O(Ct),{icon:"Add",size:"sm"})]),_[4]||(_[4]=L("span",null,"Create Workspace",-1))]),_:1,__:[4]})]),default:B(()=>[H(O(At),{class:"text-c-1 hover:bg-b-2 line-clamp-1 h-full w-fit justify-start px-1.5 py-1.5 font-normal",fullWidth:"",variant:"ghost"},{default:B(()=>[L("div",X9n,[L("h2",Y9n,Te(O(t)?.name),1)])]),_:1})]),_:1})]),H(O(oi),{size:"xxs",state:O(h),title:"Delete workspace"},{default:B(()=>[H(D3,{variableName:c.value,warningMessage:"This cannot be undone. You're about to delete the workspace and everything inside it.",onClose:_[0]||(_[0]=S=>O(h).hide()),onDelete:x},null,8,["variableName"])]),_:1},8,["state"]),H(O(oi),{size:"xxs",state:O(f),title:"Rename Workspace"},{default:B(()=>[H(CM,{name:c.value,onClose:_[1]||(_[1]=S=>O(f).hide()),onEdit:b},null,8,["name"])]),_:1},8,["state"])]))}}),ebn={class:"bg-b-1 sticky top-0 z-20 flex h-12 items-center px-3"},tbn={key:1,class:"text-c-3"},nbn=["aria-pressed"],rbn={class:"sr-only"},obn={key:0,class:"search-button-fade sticky top-12 z-10 px-3 py-2.5 pt-0 focus-within:z-20",role:"search"},abn={key:1,class:"contents"},sbn={key:0,class:"empty-sidebar-item-content px-2.5 py-2.5"},ibn={class:"rabbit-ascii relative m-auto mt-2 h-[68px] w-[60px]"},lbn=le({__name:"RequestSidebar",emits:["newTab","clearDrafts"],setup(e,{emit:t}){const n=t,{collapsedSidebarFolders:r,isSidebarOpen:o,setCollapsedSidebarFolder:a,toggleSidebarOpen:s}=Ih(),{layout:i}=Ti(),l=Sn(),{activeCollection:c,activeWorkspaceCollections:d,activeRequest:f,activeWorkspaceRequests:h,activeWorkspace:m}=$o(),{findRequestParents:b,events:v,requestMutators:x,requests:k}=l,{handleDragEnd:_,isDroppable:S}=m9n(m,l),{replace:T}=sl(),$=()=>{v.commandPalette.emit({commandName:"Import from OpenAPI/Swagger/Postman/cURL"})},M=Rr(),{toast:P}=F1(),D=Ir({open:!1}),U=me(!1);pt(f,de=>{de&&b(de).forEach(Ce=>a(Ce,!0))},{immediate:!0});const{searchText:Z,searchResultsWithPlaceholderResults:V,selectedSearchResult:F,onSearchResultClick:ne,fuseSearch:ae,searchInputRef:oe,searchResultRefs:z,navigateSearchResults:se,selectSearchResult:G}=h9n(),J=me(),X=de=>{de&&(de.toggleSidebar&&s(),de.focusRequestSearch&&oe.value?.focus())};en(()=>v.hotKeys.on(X)),li(()=>{v.hotKeys.off(X)});const K=de=>{if(de?.documentUrl){de.watchMode=!de.watchMode;const Ce=d.value.find(pe=>pe.uid===de.entity.uid);Ce&&(Ce.watchMode=de.watchMode)}};pt(()=>d.value.map(de=>de.watchMode),(de,Ce)=>{de.forEach((pe,ke)=>{if(i!=="modal"&&pe!==Ce[ke]&&d.value[ke]?.info?.title!=="Drafts"&&d.value[ke]){const Re=d.value[ke];if(!Re)return;const ee=`${Re.info?.title}: Watch Mode ${pe?"enabled":"disabled"}`;P(ee,"info")}})});const fe=Q(()=>{const de=V.value;if(!de.length)return"No results found";const Ce=de[F.value]?.item;if(!Ce)return"No result selected";const pe=Z.value.length?`${de.length} result${de.length===1?"":"s"} found, `:"",ke=`, HTTP Method ${Ce.httpVerb}, Path ${Ce.path}`,Re=`${Ce.title} ${ke}`;return`${pe}Selected: ${Re}`}),re=()=>{const de=d.value.find(Ce=>Ce.info?.title==="Drafts");if(de&&de.requests.forEach(Ce=>{k[Ce]&&x.delete(k[Ce],de.uid)}),h.value.length){const Ce=d.value[0]?.requests[0];Ce&&T({name:"request",params:{[ln.Request]:Ce}})}else{const{request:Ce}=wq();de&&(x.add(Ce,de.uid),T({name:"request",params:{[ln.Request]:Ce.uid}}))}};pt(U,de=>{de||(Z.value="")});const Ae=Q(()=>S9n(d.value,h.value,k)),ue=Q(()=>i==="modal"&&c.value?[c.value]:d.value);function Se(de){!Z.value&&de.relatedTarget!==J.value&&(U.value=!1)}return(de,Ce)=>(C(),A(je,null,[Po(H(O(Sq),{class:Ie([O(o)?"sidebar-active-width":""])},xs({content:B(()=>[L("div",ebn,[L("div",{class:Ie(["size-8",{"xl:hidden":O(i)!=="modal"}])},null,2),O(i)!=="modal"?(C(),Y(O(J9n),{key:0})):te("",!0),O(i)!=="modal"?(C(),A("span",tbn," / ")):te("",!0),O(i)!=="modal"?(C(),Y(f9n,{key:2})):te("",!0),L("button",{ref_key:"searchToggleRef",ref:J,"aria-pressed":U.value,class:"ml-auto",type:"button",onClick:Ce[0]||(Ce[0]=pe=>U.value=!U.value)},[L("span",rbn,Te(U.value?"Hide":"Show")+" search ",1),H(O(Ct),{class:"text-c-3 hover:bg-b-2 max-h-8 max-w-8 rounded-lg p-1.75 text-sm",icon:"Search"})],8,nbn)]),U.value?(C(),A("div",obn,[H(O(pVt),{ref_key:"searchInputRef",ref:oe,modelValue:O(Z),"onUpdate:modelValue":Ce[1]||(Ce[1]=pe=>_o(Z)?Z.value=pe:null),autofocus:"","aria-controls":O(M),label:fe.value,onInput:O(ae),onKeydown:[Ce[2]||(Ce[2]=cs(Jt(pe=>O(se)("down"),["stop"]),["down"])),Ce[3]||(Ce[3]=cs(Jt(pe=>O(G)(),["stop"]),["enter"])),Ce[4]||(Ce[4]=cs(Jt(pe=>O(se)("up"),["stop"]),["up"]))],onBlur:Se},null,8,["modelValue","aria-controls","label","onInput"])])):te("",!0),L("div",{class:Ie(["gap-1/2 flex flex-1 flex-col overflow-visible overflow-y-auto px-3 pt-0 pb-3",[{"pb-14":O(i)!=="modal"},{"h-[calc(100%-273.5px)]":Ae.value}]]),onDragenter:Ce[7]||(Ce[7]=Jt(()=>{},["prevent"])),onDragover:Ce[8]||(Ce[8]=Jt(()=>{},["prevent"]))},[O(Z)?(C(),Y(O(vbe),{key:0,id:O(M),"aria-label":"Search Results",class:"gap-px",noResults:!O(V).length},{default:B(()=>[(C(!0),A(je,null,_t(O(V),(pe,ke)=>(C(),Y(O(ybe),{id:`#search-input-${pe.item.id}`,key:pe.refIndex,ref_for:!0,ref:Re=>O(z)[ke]=Re,selected:O(F)===ke,class:"px-2",href:pe.item.link,onClick:Jt(Re=>O(ne)(pe),["prevent"]),onFocus:Re=>F.value=ke},{addon:B(()=>[Ce[10]||(Ce[10]=L("span",{class:"sr-only"},"HTTP Method:",-1)),H(aM,{class:"font-bold",method:pe.item.httpVerb??"get"},null,8,["method"])]),default:B(()=>[be(Te(pe.item.title)+" ",1)]),_:2},1032,["id","selected","href","onClick","onFocus"]))),128))]),_:1},8,["id","noResults"])):(C(),A("nav",abn,[(C(!0),A(je,null,_t(ue.value,pe=>(C(),Y(Q9n,{key:pe.uid,isDraggable:O(i)!=="modal"&&pe.info?.title!=="Drafts",isDroppable:O(S),menuItem:D,parentUids:[],uid:pe.uid,onNewTab:Ce[5]||(Ce[5]=(ke,Re)=>n("newTab",{name:ke,uid:Re})),onOnDragEnd:O(_),onOpenMenu:Ce[6]||(Ce[6]=ke=>Object.assign(D,ke))},{leftIcon:B(()=>[pe.info?.title==="Drafts"?(C(),Y(O(Ct),{key:0,class:"text-sidebar-c-2 group-hover:hidden",icon:"Scribble",thickness:"2.25"})):(C(),Y(O(sg),{key:1,class:"text-sidebar-c-2 size-3.5 min-w-3.5 stroke-2 group-hover:hidden",src:pe["x-scalar-icon"]||"interface-content-folder"},null,8,["src"])),L("div",{class:Ie({"rotate-90":O(r)[pe.uid]})},[H(O(Ct),{class:"text-c-3 hover:text-c-1 hidden text-sm group-hover:block",icon:"ChevronRight",size:"md"})],2)]),_:2},1032,["isDraggable","isDroppable","menuItem","uid","onOnDragEnd"]))),128))]))],34)]),button:B(()=>[L("div",{class:Ie({"empty-sidebar-item":Ae.value})},[Ae.value?(C(),A("div",sbn,[L("div",ibn,[H(_x,{art:O(l9n),class:"rabbitsit font-bold"},null,8,["art"]),H(_x,{art:O(c9n),class:"rabbitjump absolute top-0 left-0 font-bold"},null,8,["art"])]),Ce[11]||(Ce[11]=L("div",{class:"mt-2 mb-2 text-center text-sm text-balance"},[L("b",{class:"font-medium"},"Let's Get Started"),L("p",{class:"mt-2"}," Create request, folder, collection or import from OpenAPI/Postman ")],-1))])):te("",!0),O(i)!=="modal"?(C(),Y(O(At),{key:1,class:Ie(["mb-1.5 hidden h-fit w-full p-1.5 opacity-0",{"flex opacity-100":Ae.value}]),onClick:$},{default:B(()=>Ce[12]||(Ce[12]=[be(" Import Collection ")])),_:1,__:[12]},8,["class"])):te("",!0),O(i)!=="modal"?(C(),Y(Yq,{key:2,click:O(v).commandPalette.emit,hotkey:"K"},{title:B(()=>Ce[13]||(Ce[13]=[be(" Add Item ")])),_:1},8,["click"])):te("",!0)],2)]),_:2},[O(i)!=="modal"?{name:"header",fn:B(()=>[]),key:"0"}:void 0]),1032,["class"]),[[yi,O(o)]]),O(i)!=="modal"&&D?(C(),Y(_9n,{key:0,menuItem:D,onClearDrafts:re,onCloseMenu:Ce[9]||(Ce[9]=pe=>D.open=!1),onToggleWatchMode:K},null,8,["menuItem"])):te("",!0)],64))}}),cbn=Dn(lbn,[["__scopeId","data-v-bca9c474"]]),ubn=(e,t=!1)=>{const n=Object.fromEntries(e);t&&["Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers"].map(a=>a.toLowerCase()).forEach(a=>delete n[a]);const r=Object.keys(n).find(a=>a.toLowerCase()==="x-scalar-modified-headers"),o=r?n[r]?.toString().split(", ")?.map(a=>a.toLowerCase())??[]:[];return Object.keys(n).forEach(a=>{o.includes(a.toLowerCase())&&delete n[a]}),r&&delete n[r],Object.keys(n).forEach(a=>{const s=/^x-scalar-original-/i;if(s.test(a)){const i=a.replace(s,"");n[a]&&(n[i]=n[a],delete n[a])}}),Object.keys(n).forEach(a=>{const s=dbn(a);a!==s&&n[a]&&(n[s]=n[a],delete n[a])}),Object.fromEntries(Object.entries(n).sort(([a],[s])=>a.localeCompare(s)))},dbn=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.toLowerCase().slice(1)).join("-");function fbn(e,t,n){if(!kv(e))return{body:void 0,contentType:void 0};if(t.body.activeBody==="formData"&&t.body.formData){const r=t.body.formData.encoding==="form-data"?"multipart/form-data":"application/x-www-form-urlencoded",o=t.body.formData.encoding==="form-data"?new FormData:new URLSearchParams;return t.body.formData.value.forEach(a=>{!a.enabled||!a.key||(a.file&&o instanceof FormData?o.append(a.key,a.file,a.file.name):a.value!==void 0&&o.append(a.key,vo(a.value,n)))}),{body:o,contentType:r}}return t.body.activeBody==="raw"?{body:vo(t.body.raw?.value??"",n),contentType:t.body.raw?.encoding}:t.body.activeBody==="binary"?{body:t.body.binary,contentType:t.body.binary?.type}:{body:void 0,contentType:void 0}}function pbn(e,t){const n={};return e.parameters.headers.forEach(r=>{const o=r.key.trim().toLowerCase();r.enabled&&(o!=="content-type"||r.value!=="multipart/form-data")&&(n[o]=vo(r.value,t))}),n}function hbn(e,t,n){const r=new URLSearchParams,o=(n?.parameters??[]).reduce((a,s)=>(s.in==="query"&&(a[s.name]=s),a),{});return e.parameters.query.forEach(a=>{if(!a.enabled)return;const s=o[a.key];switch(a.type){case"array":{const i=vo(a.value??"",t).split(/,\ ?/);if(s?.explode===!1){const l=i.join(",");r.append(a.key,l)}else i.forEach(l=>{r.append(a.key,l.trim())});break}default:{const i=vo(a.value??"",t);r.append(a.key,i.trim());break}}}),r}const G_e={"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"},"application/ld+json":{extension:".jsonld",raw:!0,language:"json"},"application/problem+json":{extension:".json",raw:!0,language:"json"},"application/vnd.api+json":{extension:".json",raw:!0,language:"json"},"application/dns-json":{extension:".json",raw:!0,language:"json"},"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/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"}};Object.entries(G_e).filter(([,e])=>e?.raw).map(([e])=>e);function Kq(e){const t=G_e[e];if(t)return t;if(e.endsWith("+json"))return{extension:".json",raw:!0,language:"json"}}function mbn(e){return!!Kq(e)?.raw}function gbn(e,t){const n=new Jwe(t);return mbn(n.essence)?new TextDecoder(n.parameters.get("charset")).decode(e):new Blob([e],{type:n.essence})}const m1e=()=>typeof window<"u"&&"electron"in window,bbn=({environment:e,example:t,globalCookies:n,proxyUrl:r,request:o,securitySchemes:a,selectedSecuritySchemeUids:s=[],server:i,status:l,pluginManager:c})=>{try{const d=e??{},f=new AbortController,h=t.parameters.path.reduce((F,ne)=>(ne.enabled&&(F[ne.key]=vo(ne.value,d)),F),{}),m=vo(i?.url??"",d),b=vo(vo(o.path,d),h);let v=m||b;if(!v)throw u3.URL_EMPTY;Object.entries(i?.variables??{}).forEach(([F,ne])=>{v=vo(v,{[F]:h[F]||ne.default})});const x=hbn(t,d,o),k=pbn(t,d),{body:_}=fbn(o.method,t,d),{cookieParams:S}=dcn({example:t,env:d,globalCookies:n,serverUrl:v,proxyUrl:r}),T=s.flat().map(F=>a[F]).filter(Tn),$=SOe(T,d),M={...Object.entries($.headers).reduce((F,[ne,ae])=>(F[ne.toLowerCase()]=ae,F),{}),...k},P=[...S,...$.cookies],D=new URLSearchParams([...x,...$.urlParams]);m1e()&&M["user-agent"]&&(M["X-Scalar-User-Agent"]=M["user-agent"]),v=WL(v,b,D);const U=vo(pcn(P,M.Cookie),d);U&&(m1e()||ky(r,v)?(console.warn("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."),M["X-Scalar-Cookie"]=U):(console.warn(`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:
2926
+ / / `,f9n={class:"m-0 flex items-center gap-1.5 font-medium whitespace-nowrap"},p9n={class:"flex h-4 w-4 items-center justify-center"},h9n=le({__name:"EnvironmentSelector",setup(e){const{activeCollection:t,activeWorkspace:n,activeEnvironment:r}=$o(),{collectionMutators:o}=Sn(),{layout:a}=Ti(),s=sl(),i=m=>{t.value&&n.value&&(o.edit(t.value.uid,"x-scalar-active-environment",m),n.value.activeEnvironmentId=m)},l=()=>s.push({name:"environment.default",params:{[ln.Workspace]:n.value?.uid}}),c=Q(()=>{const{value:m}=r,{value:b}=t;return m?.name||b?.["x-scalar-active-environment"]||"No Environment"}),d=Q(()=>{const{value:m}=t,b=m?.["x-scalar-environments"];return b?Object.entries(b).map(([v,x])=>({...x,uid:v,name:v})):[]}),f=()=>{const m=d.value;if(m.length>0){const b=m[m.length-1];b?.uid&&i(b.uid)}};pt(d,(m,b)=>{m.length>b.length&&f()});const h=m=>{const b=m["x-scalar-active-environment"];b&&t.value&&n.value?(t.value["x-scalar-active-environment"]=b,n.value.activeEnvironmentId=b):n.value&&(n.value.activeEnvironmentId="")};return pt(t,m=>m&&h(m)),en(()=>{t.value&&h(t.value)}),(m,b)=>(C(),Y(O(x$),{teleport:""},{items:B(()=>[(C(!0),A(je,null,_t(d.value,v=>(C(),Y(O(T2),{key:v.uid,class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",onClick:Jt(x=>i(v.uid),["stop"])},{default:B(()=>[H(O(nh),{selected:O(t)?.["x-scalar-active-environment"]===v.uid},null,8,["selected"]),be(" "+Te(v.name),1)]),_:2},1032,["onClick"]))),128)),H(O(T2),{class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",onClick:b[0]||(b[0]=Jt(v=>i(""),["stop"]))},{default:B(()=>[H(O(nh),{selected:O(r)?.uid===""&&O(t)?.["x-scalar-active-environment"]===""||O(r)?.name==="No Environment"},null,8,["selected"]),b[1]||(b[1]=be(" No Environment "))]),_:1,__:[1]}),H(O(zj)),O(a)!=="modal"?(C(),Y(O(T2),{key:0,class:"flex items-center gap-1.5",onClick:l},{default:B(()=>[L("div",p9n,[H(O(Ct),{icon:"Brackets",size:"sm"})]),b[2]||(b[2]=L("span",{class:"leading-none"},"Manage Environments",-1))]),_:1,__:[2]})):te("",!0)]),default:B(()=>[H(O(At),{class:"text-c-1 hover:bg-b-2 line-clamp-1 h-auto w-fit justify-start px-1.5 py-1.5 font-normal",fullWidth:"",variant:"ghost"},{default:B(()=>[L("h2",f9n,Te(c.value),1)]),_:1})]),_:1}))}}),h1e=500,lD=100,m9n=le({__name:"ScalarAsciiArt",props:{art:{},animate:{type:Boolean}},setup(e){const t=e,n=Q(()=>t.art.split(`
2927
+ `)),r=(o,a)=>({animationDuration:`${o*lD}ms, ${h1e}ms`,animationTimingFunction:`steps(${o}), step-end`,animationDelay:`${a*lD}ms, 0ms`,animationIterationCount:`1, ${((n.value?.length??0)+(n.value?.[n.value?.length-1]?.length??0)+5)*lD/h1e}`});return(o,a)=>(C(),A("div",{"aria-hidden":"true",class:Ie(["ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]",{"ascii-art-animate":o.animate}]),role:"presentation",inert:""},[(C(!0),A(je,null,_t(n.value,(s,i)=>(C(),A("span",{key:i,class:"inline-block",style:sr({width:`calc(${s.length+1}ch)`})},[L("span",{class:"inline-block whitespace-pre overflow-hidden",style:sr(r(s.length,i))},Te(s),5)],4))),128))],2))}}),_x=Dn(m9n,[["__scopeId","data-v-69ebd973"]]);function g9n(){const e=sl(),{activeWorkspace:t,activeWorkspaceRequests:n,activeWorkspaceCollections:r}=$o(),{requests:o,tags:a}=Sn(),s=me([]),i=me([]),l=me(0),c=me(""),d=me(null),f=me([]),h=new Ph(s.value,{keys:["title","description","body"]}),m=()=>{c.value="",l.value=0,i.value=[],d.value instanceof HTMLInputElement&&d.value.blur()},b=$=>{s.value=$.filter(M=>!n$(M)).filter(M=>!r.value?.find(P=>P.requests.includes(M.uid))?.tags.map(P=>a[P]).filter(Tn).filter(P=>M.tags?.includes(P.name)).filter(P=>n$(P)).length).map(M=>({id:M.uid,title:M.summary??M.method,description:M.description??"",httpVerb:M.method,path:M.path,link:e?.resolve({name:"request",params:{[ln.Request]:M.uid,[ln.Workspace]:t.value?.uid}})?.href})),h.setCollection(s.value)},v=()=>{l.value=0,i.value=h.search(c.value)};pt(c,$=>{$.length?v():i.value=[]});const x=$=>{const M=$==="up"?-1:1,P=T.value.length;l.value=(l.value+M+P)%P,In(()=>{const D=f.value[l.value];D instanceof HTMLElement&&D.scrollIntoView({behavior:"smooth",block:"center"})})},k=()=>{if(l.value>=0){const $=T.value[l.value];$&&S($)}},_=Q(()=>n.value.map($=>o[$]).filter(Tn));pt(n,()=>{b(_.value)},{immediate:!0});const S=$=>{e.push($.item.id),m()},T=Q(()=>c.value.length===0?s.value.map($=>({item:$})):i.value);return{searchText:c,searchResultsWithPlaceholderResults:T,selectedSearchResult:l,onSearchResultClick:S,fuseSearch:v,searchInputRef:d,searchResultRefs:f,navigateSearchResults:x,selectSearchResult:k,populateFuseDataArray:b}}const Yq=le({__name:"SidebarButton",props:{click:{type:Function},hotkey:{}},setup(e){const t=e,{layout:n}=Ti(),r=()=>{t.click()};return(o,a)=>(C(),Y(O(At),{class:"bg-b-1 text-c-1 hover:bg-b-2 group relative h-auto w-auto border px-2 py-1 md:w-full md:p-1.5",icon:"Plus",variant:"outlined",onClick:r},{default:B(()=>[we(o.$slots,"title"),o.hotkey&&O(n)==="desktop"?(C(),Y(O(wv),{key:0,class:"text-c-2 add-item-hotkey absolute right-2 hidden group-hover:opacity-80 md:flex",hotkey:o.hotkey},null,8,["hotkey"])):te("",!0)]),_:3}))}});function b9n(e,{collections:t,collectionMutators:n,tags:r,tagMutators:o,workspaceMutators:a}){const{layout:s}=Ti(),i=(l,c)=>{l.type==="collection"?n.edit(l.uid,"children",c):l.type==="tag"&&o.edit(l.uid,"children",c)};return{handleDragEnd:(l,c)=>{if(!l||!c)return;const{id:d,parentId:f}=l,{id:h,parentId:m,offset:b}=c;if(f?t[f]?n.edit(f,"children",t[f].children.filter(v=>v!==d)):r[f]&&o.edit(f,"children",r[f].children.filter(v=>v!==d)):a.edit(e.value?.uid,"collections",e.value?.collections.filter(v=>v!==d)??[]),b===2){const v=t[h]||r[h];v&&i(v,[...v.children??[],d])}else if(m){const v=t[m]||r[m];if(!v)return;const x=[...v.children??[]],k=x.findIndex(_=>h===_)??0;x.splice(k+b,0,d),i(v,x)}else{const v=[...e.value?.collections??[]],x=v.findIndex(k=>h===k)??0;v.splice(x+b,0,d),a.edit(e.value?.uid,"collections",v)}},isDroppable:(l,c)=>!(s==="modal"||!t[l.id]&&c.offset!==2||t[l.id]&&t[c.id]?.info?.title==="Drafts")}}const v9n={class:"flex justify-between gap-10"},y9n=le({__name:"SidebarListElementForm",props:{danger:{type:Boolean},label:{}},emits:["cancel","submit"],setup(e,{emit:t}){const n=t;return(r,o)=>(C(),A("form",{class:"flex flex-col gap-4 text-base",onSubmit:o[1]||(o[1]=Jt(a=>n("submit"),["prevent"]))},[we(r.$slots,"default",{},void 0,!0),L("div",v9n,[H(O(At),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-2.5 shadow-none focus:outline-none",type:"button",variant:"outlined",onClick:o[0]||(o[0]=a=>n("cancel"))},{default:B(()=>o[2]||(o[2]=[be(" Cancel ")])),_:1,__:[2]}),H(O(At),{class:"custom-scroll h-8 gap-1.5 px-2.5 font-medium whitespace-nowrap shadow-none focus:outline-none",type:"submit",variant:r.danger?"danger":"solid"},{default:B(()=>[be(Te(r.label??"Save"),1)]),_:1},8,["variant"])])],32))}}),OM=Dn(y9n,[["__scopeId","data-v-a93bfefe"]]),x9n={key:0,class:"text-c-2 text-sm leading-normal text-pretty"},D3=le({__name:"DeleteSidebarListElement",props:{variableName:{},warningMessage:{}},emits:["close","delete"],setup(e,{emit:t}){const n=e,r=t,o=Q(()=>n.variableName.length>18?n.variableName.slice(0,18)+"…":n.variableName);return(a,s)=>(C(),Y(OM,{danger:"",label:`Delete ${o.value}`,onCancel:s[0]||(s[0]=i=>r("close")),onSubmit:s[1]||(s[1]=i=>r("delete"))},{default:B(()=>[a.warningMessage?(C(),A("p",x9n,Te(a.warningMessage),1)):te("",!0)]),_:1},8,["label"]))}}),k9n={class:"flex text-sm"},w9n={class:"bg-b-1 custom-scroll grid w-dvw max-w-[420px] auto-rows-[32px] grid-cols-[repeat(auto-fill,minmax(32px,1fr))] content-between justify-between rounded border p-1"},Y_e=le({__name:"IconSelector",props:{modelValue:{},placement:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=Q({get:()=>n.modelValue,set:a=>r("update:modelValue",a)});return(a,s)=>(C(),Y(O(Wj),{class:"bg-b-2 rounded",focus:"",placement:a.placement??"bottom"},{popover:B(({close:i})=>[H(O(XEt),{modelValue:o.value,"onUpdate:modelValue":s[0]||(s[0]=l=>o.value=l),class:"flex flex-col"},{default:B(()=>[L("div",k9n,[H(O(aae),{class:"text-c-2 px-1 py-1"},{default:B(()=>[we(a.$slots,"title",{},()=>[s[1]||(s[1]=be("Select an icon"))])]),_:3})]),L("ul",w9n,[(C(!0),A(je,null,_t(O(i9n),l=>(C(),Y(O(GEt),{key:l.src,as:"li",class:"text-c-3 hover:text-c-2 hover:bg-b-2 ui-checked:bg-b-3 ui-active:bg-b-2 flex cursor-pointer items-center justify-center rounded p-2",value:l.src,onClick:i},{default:B(()=>[H(O(aae),{class:"sr-only"},{default:B(()=>[be(Te(l.src.replaceAll("-"," "))+" Icon ",1)]),_:2},1024),H(O(sg),{class:"stroke-[1.5]",src:l.src},null,8,["src"])]),_:2},1032,["value","onClick"]))),128))])]),_:2},1032,["modelValue"])]),default:B(()=>[we(a.$slots,"default")]),_:3},8,["placement"]))}}),O9n={class:"grid grid-cols-[auto_1fr] gap-2"},C9n={class:"flex aspect-square"},_9n=le({__name:"EditSidebarListCollection",props:{name:{},icon:{}},emits:["close","edit"],setup(e,{emit:t}){const n=e,r=t,o=me(n.name),a=me(n.icon);return(s,i)=>(C(),Y(OM,{onCancel:i[2]||(i[2]=l=>r("close")),onSubmit:i[3]||(i[3]=l=>r("edit",o.value,a.value))},{default:B(()=>[L("div",O9n,[L("div",C9n,[H(Y_e,{modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=l=>a.value=l),placement:"bottom-start"},{default:B(()=>[H(O(At),{class:"aspect-square h-auto px-0",variant:"outlined"},{default:B(()=>[H(O(sg),{class:"text-c-2 size-4",src:a.value},null,8,["src"])]),_:1})]),_:1},8,["modelValue"])]),H(O(JZ),{modelValue:o.value,"onUpdate:modelValue":i[1]||(i[1]=l=>o.value=l),autofocus:"",class:"flex-1"},null,8,["modelValue"])])]),_:1}))}}),CM=le({__name:"EditSidebarListElement",props:{name:{}},emits:["close","edit"],setup(e,{emit:t}){const n=e,r=t,o=me(n.name);return(a,s)=>(C(),Y(OM,{onCancel:s[1]||(s[1]=i=>r("close")),onSubmit:s[2]||(s[2]=i=>r("edit",o.value))},{default:B(()=>[H(O(JZ),{modelValue:o.value,"onUpdate:modelValue":s[0]||(s[0]=i=>o.value=i),autofocus:""},null,8,["modelValue"])]),_:1}))}}),S9n=le({__name:"RequestSidebarItemMenu",props:{menuItem:{}},emits:["closeMenu","toggleWatchMode","clearDrafts"],setup(e,{emit:t}){const n=e,r=t,{replace:o}=sl(),{activeRouterParams:a,activeWorkspaceCollections:s,activeWorkspaceRequests:i}=$o(),{events:l,requestMutators:c}=Sn(),d=ka(),f=ka(),h=ka(),m=()=>l.commandPalette.emit({commandName:"Add Example",metaData:{itemUid:n.menuItem.item?.entity.uid}}),b=($,M)=>{n.menuItem.item?.edit($,M),d.hide()},v=()=>{if(n.menuItem.item?.delete(),!i.value.length){const{request:$}=wq(),M=s.value.find(P=>P.info?.title==="Drafts");M&&(c.add($,M.uid),o({name:"request",params:{[ln.Request]:$.uid}}))}if(a.value[ln.Request]===n.menuItem.item?.entity.uid&&o({name:"request",params:{[ln.Request]:"default"}}),a.value[ln.Examples]===n.menuItem.item?.entity.uid&&o({name:"request",params:{[ln.Request]:"default"}}),s.value[0]){const $=s.value[0].requests[0];o({name:"request",params:{[ln.Request]:$}})}f.hide()},x=me(null);pt([()=>n.menuItem.open,x],async([$])=>{$&&x.value?.$parent?.$el&&x.value.$parent.$el.focus()});const k=()=>n.menuItem.open&&r("closeMenu");en(()=>window.addEventListener("click",k)),li(()=>window.removeEventListener("click",k));const _=()=>{r("toggleWatchMode",n.menuItem.item)},S=()=>{r("clearDrafts"),h.hide()},T=Q(()=>n.menuItem.item?.title==="Drafts");return($,M)=>(C(),A(je,null,[$.menuItem.targetRef&&$.menuItem.open?(C(),Y(O(X7),{key:0,placement:"right-start",target:$.menuItem.targetRef,teleport:""},{floating:B(()=>[H(O(N7e),{onKeydown:M[3]||(M[3]=cs(P=>$.$emit("closeMenu"),["escape"]))},{default:B(()=>[$.menuItem.item?.entity.type==="request"?(C(),Y(O(B4),{key:0,class:"flex items-center gap-2",onClick:m},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Example",size:"md",thickness:"1.5"}),M[8]||(M[8]=L("span",null,"Add Example",-1))]),_:1,__:[8]})):te("",!0),T.value?te("",!0):(C(),Y(O(B4),{key:1,ref_key:"menuRef",ref:x,class:"flex items-center gap-2",onClick:M[0]||(M[0]=P=>O(d).show())},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Edit",size:"md",thickness:"1.5"}),L("span",null,[$.menuItem.item?.entity.type==="collection"?(C(),A(je,{key:0},[be(" Edit ")],64)):(C(),A(je,{key:1},[be(" Rename ")],64))])]),_:1},512)),$.menuItem.item?.documentUrl?(C(),Y(O(B4),{key:2,ref_key:"menuRef",ref:x,class:"flex items-center gap-2",onClick:_},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:$.menuItem.item?.watchMode?"Unwatch":"Watch",size:"md",thickness:"1.5"},null,8,["icon"]),L("span",null,Te($.menuItem.item?.watchMode?"Disable Watch Mode":"Enable Watch Mode"),1)]),_:1},512)):te("",!0),T.value?te("",!0):(C(),Y(O(B4),{key:3,class:"flex items-center gap-2",onClick:M[1]||(M[1]=P=>O(f).show())},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Delete",size:"md",thickness:"1.5"}),M[9]||(M[9]=L("span",null,"Delete",-1))]),_:1,__:[9]})),T.value?(C(),Y(O(B4),{key:4,class:"flex items-center gap-2",onClick:M[2]||(M[2]=P=>O(h).show())},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Delete",size:"md",thickness:"1.5"}),M[10]||(M[10]=L("span",null,"Clear Drafts",-1))]),_:1,__:[10]})):te("",!0)]),_:1})]),_:1},8,["target"])):te("",!0),H(O(oi),{size:"xxs",state:O(f),title:`Delete ${$.menuItem.item?.resourceTitle}`},{default:B(()=>[H(D3,{variableName:$.menuItem.item?.title??"",warningMessage:$.menuItem.item?.warning,onClose:M[4]||(M[4]=P=>O(f).hide()),onDelete:v},null,8,["variableName","warningMessage"])]),_:1},8,["state","title"]),H(O(oi),{size:"xxs",state:O(d),title:`Edit ${$.menuItem.item?.resourceTitle}`},{default:B(()=>[$.menuItem.item?.resourceTitle==="Collection"?(C(),Y(_9n,{key:0,icon:$.menuItem.item?.icon||"interface-content-folder",name:$.menuItem.item?.title,onClose:M[5]||(M[5]=P=>O(d).hide()),onEdit:b},null,8,["icon","name"])):(C(),Y(CM,{key:1,name:$.menuItem.item?.title??"",onClose:M[6]||(M[6]=P=>O(d).hide()),onEdit:b},null,8,["name"]))]),_:1},8,["state","title"]),H(O(oi),{size:"xxs",state:O(h),title:"Clear Drafts"},{default:B(()=>[H(D3,{variableName:"All Drafts",warningMessage:"This action will clear all drafts. This cannot be undone.",onClose:M[7]||(M[7]=P=>O(h).hide()),onDelete:S})]),_:1},8,["state"])],64))}}),L9n=Dn(S9n,[["__scopeId","data-v-c405ab35"]]),$9n=(e,t,n)=>{const r=e.find(i=>i.info?.title==="Drafts"),o=t.length===1;if(!t[0])return!1;const a=r?.requests.includes(t[0]);if(!a)return!1;const s=n[r?.requests[0]??""]?.summary!=="My First Request";return o&&a&&!s},z0=me(null),hp=me(null),T9n=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},E9n=["draggable"],j9n=le({__name:"Draggable",props:{ceiling:{default:.8},floor:{default:.2},isDraggable:{type:Boolean,default:!0},isDroppable:{type:[Boolean,Function],default:!0},parentIds:{},id:{}},emits:["onDragEnd","onDragStart"],setup(e,{expose:t,emit:n}){const r=n,o=Q(()=>e.parentIds.at(-1)??null),a=f=>{!f.dataTransfer||!(f.target instanceof HTMLElement)||!e.isDraggable||(f.target.classList.add("dragging"),f.dataTransfer.dropEffect="move",f.dataTransfer.effectAllowed="move",z0.value={id:e.id,parentId:o.value},r("onDragStart",{id:e.id,parentId:o.value}))},s=f=>typeof e.isDroppable=="function"?e.isDroppable(z0.value,{id:e.id,parentId:o.value,offset:f}):e.isDroppable,i=T9n(f=>{var h,m;if(!z0.value||z0.value.id===e.id||e.parentIds.includes(((h=z0.value)==null?void 0:h.id)??""))return;const b=(m=hp.value)==null?void 0:m.offset,v=f.target.offsetHeight,x=e.floor*v,k=e.ceiling*v;let _=3;f.offsetY<=0&&b&&b!==3?_=b:f.offsetY<=x?_=0:f.offsetY>=k?_=1:f.offsetY>x&&f.offsetY<k&&(_=2),s(_)&&(hp.value={id:e.id,parentId:o.value,offset:_})},25),l=["above","below","asChild"],c=Q(()=>{var f;let h="sidebar-indent-nested";return e.id===((f=hp.value)==null?void 0:f.id)&&(h+=` dragover-${l[hp.value.offset]}`),h}),d=()=>{if(!hp.value||!z0.value)return;const f={...z0.value},h={...hp.value};z0.value=null,hp.value=null,document.querySelectorAll("div.dragging").forEach(m=>m.classList.remove("dragging")),f.id!==h.id&&r("onDragEnd",f,h)};return t({draggingItem:z0,hoveredItem:hp}),(f,h)=>(C(),A("div",{class:Ie(c.value),draggable:f.isDraggable,onDragend:d,onDragover:h[0]||(h[0]=Jt((...m)=>O(i)&&O(i)(...m),["prevent","stop"])),onDragstart:Jt(a,["stop"])},[we(f.$slots,"default",{},void 0,!0)],42,E9n))}}),M9n=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Gq=M9n(j9n,[["__scopeId","data-v-a89d6a6e"]]),A9n={class:"line-clamp-1 w-full pl-2 break-all"},N9n={class:"flex flex-row items-center gap-1"},P9n={class:"relative"},I9n={class:"flex items-start"},R9n={class:"flex flex-1 flex-row justify-between font-medium"},D9n={class:"line-clamp-1 w-full text-left break-all"},B9n={class:"relative flex h-fit justify-end"},H9n={class:"flex items-center justify-center",type:"button"},V9n=["aria-expanded"],F9n={class:"flex h-5 max-w-[14px] items-center justify-center"},U9n={class:"flex flex-1 flex-row justify-between"},z9n={class:"line-clamp-1 w-full text-left font-medium break-all"},W9n={class:"relative flex h-fit justify-end"},Z9n={class:"flex items-center justify-center",type:"button"},Q9n={key:3},cD="hover:bg-sidebar-b-active indent-padding-left",q9n=le({__name:"RequestSidebarItem",props:{isDraggable:{type:Boolean,default:!1},isDroppable:{type:[Boolean,Function],default:!1},parentUids:{},uid:{},menuItem:{}},emits:["onDragEnd","newTab","openMenu"],setup(e,{emit:t}){z2e(G=>({eae2c57a:M.value,"7c91ad9b":P.value}));const n=t,{activeCollection:r,activeRequest:o,activeRouterParams:a,activeWorkspace:s}=$o(),{collections:i,tags:l,requests:c,requestExamples:d,collectionMutators:f,tagMutators:h,requestMutators:m,requestExampleMutators:b,events:v}=Sn(),x=sl(),{collapsedSidebarFolders:k,toggleSidebarFolder:_}=Ih(),{layout:S}=Ti(),T=Q(()=>{const G=i[e.uid],J=l[e.uid],X=c[e.uid],K=d[e.uid];return G?{title:G.info?.title||"Untitled Collection",entity:G,resourceTitle:"Collection",children:G.children,icon:G["x-scalar-icon"],documentUrl:G.documentUrl,watchMode:G.watchMode,to:G.uid&&G?.info?.title!=="Drafts"?{name:"collection",params:{[ln.Workspace]:s.value?.uid,[ln.Collection]:G.uid}}:void 0,warning:"This cannot be undone. You're about to delete the collection and all folders and requests inside it.",edit:(fe,re)=>{f.edit(G.uid,"info.title",fe),re&&f.edit(G.uid,"x-scalar-icon",re)},delete:()=>{s.value&&f.delete(G,s.value)}}:J?{title:J.name,entity:J,resourceTitle:"Tag",children:J.children,warning:"This cannot be undone. You're about to delete the tag and all requests inside it",edit:fe=>h.edit(J.uid,"name",fe),delete:()=>e.parentUids[0]&&h.delete(J,e.parentUids[0])}:X?{title:X.summary??X.path,to:{name:"request",params:{workspace:s.value?.uid,request:X.uid}},method:X.method,entity:X,resourceTitle:"Request",warning:"This cannot be undone. You're about to delete the request.",children:X.examples.slice(1),edit:fe=>m.edit(X.uid,"summary",fe),delete:()=>e.parentUids[0]&&m.delete(X,e.parentUids[0])}:K?.requestUid?{title:K.name,to:{name:"request.examples",params:{workspace:s.value?.uid,request:K.requestUid,examples:K.uid}},method:c[K.requestUid]?.method,entity:K,resourceTitle:"Example",warning:"This cannot be undone. You're about to delete the example from the request.",children:[],edit:fe=>b.edit(K.uid,"name",fe),delete:()=>b.delete(K)}:{title:"Unknown",entity:{uid:"",type:"unknown"},resourceTitle:"Unknown",children:[],edit:()=>null,delete:()=>null}}),$=Q(()=>T.value.entity.type==="collection"&&T.value.title==="Drafts"),M=Q(()=>e.parentUids.length?S==="modal"?`${(e.parentUids.length-1)*12}px`:`${e.parentUids.length*12}px`:"12px"),P=Q(()=>e.parentUids.length?S==="modal"?`${(e.parentUids.length-1)*12}px`:`${e.parentUids.length*12}px`:"0px"),D=Q(()=>k[e.uid]||o.value?.uid===e.uid&&T.value.entity.examples.length>1),U=Q(()=>typeof x.currentRoute.value.name=="string"&&x.currentRoute.value.name.startsWith("request")&&a.value[ln.Request]==="default"&&o.value?.uid===e.uid),Z=me(null),V=Q(()=>{let G=.5,J=.5;if(!Z.value)return{ceiling:G,floor:J};const{draggingItem:X}=Z.value;return!i[X?.id]&&T.value.entity.type==="collection"?(G=1,J=0):T.value.entity.type==="tag"&&(G=.8,J=.2),{ceiling:G,floor:J}}),F=(G,J)=>!(S==="modal"||d[J.id]||i[G.id]),ne=(G,J)=>{G&&(dOe(["default"]).some(X=>G[X])?n("newTab",J.title||"",J.entity.uid):J.to&&x.push(J.to),In(()=>v.focusAddressBar.emit()))};function ae(G){const J=e.parentUids[0]?i[e.parentUids[0]]?.uid||"":G,X=e.parentUids[0]&&l[G]?.name?{tags:[l[G].name]}:{},K=m.add(X,J);K&&(x.push({name:"request",params:{workspace:s.value?.uid,request:K.uid}}),v.hotKeys.emit({focusAddressBar:new KeyboardEvent("keydown",{key:"l"})}))}const oe=Q(()=>{const{uid:G,watchModeStatus:J}=r.value||{};return G!==T.value.entity.uid?"text-c-3":J==="WATCHING"?"text-c-1":J==="ERROR"?"text-red":"text-c-3"}),z=Q(()=>T.value.title==="Drafts"&&S!=="modal"&&T.value.children.length>0),se=Q(()=>{const G=c[e.uid];if(G)return!n$(G);const J=l[e.uid];return J?!n$(J):!0});return(G,J)=>{const X=WU("RequestSidebarItem",!0);return se.value?(C(),A("li",{key:0,class:Ie(["relative flex flex-row",[O(S)==="modal"&&G.parentUids.length>1||O(S)!=="modal"&&G.parentUids.length?"before:bg-border indent-border-line-offset mb-[.5px] before:pointer-events-none before:absolute before:top-0 before:left-[calc(.75rem_+_.5px)] before:z-1 before:h-[calc(100%_+_.5px)] before:w-[.5px] last:mb-0 last:before:h-full":""]])},[H(O(Gq),{id:T.value.entity.uid,ref_key:"draggableRef",ref:Z,ceiling:V.value.ceiling,class:"gap-1/2 flex flex-1 flex-col text-base",floor:V.value.floor,isDraggable:G.isDraggable,isDroppable:G.isDroppable,parentIds:G.parentUids,onOnDragEnd:J[12]||(J[12]=(...K)=>G.$emit("onDragEnd",...K))},{default:B(()=>[(T.value.entity.type==="request"||T.value.entity.type==="requestExample")&&T.value.to?(C(),Y(O(rx),{key:0,class:"group no-underline",to:T.value.to,onClick:J[1]||(J[1]=Jt(K=>ne(K,T.value),["prevent"]))},{default:B(({isExactActive:K})=>[L("div",{class:Ie(["relative flex min-h-8 w-full cursor-pointer flex-row items-start justify-between gap-0.5 rounded py-1.5 pr-2",[cD,K||U.value?"bg-sidebar-b-active text-sidebar-c-active font-medium transition-none":"text-sidebar-c-2"]])},[L("span",A9n,Te(T.value.title||"Untitled"),1),L("div",N9n,[L("div",P9n,[O(S)!=="modal"?(C(),Y(O(At),{key:0,class:Ie(["hover:bg-b-3 hidden aspect-square h-fit px-0.5 py-0 opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",{flex:G.menuItem?.item?.entity.uid===T.value.entity.uid&&G.menuItem.open}]),size:"sm",type:"button",variant:"ghost",onClick:J[0]||(J[0]=Jt(fe=>G.$emit("openMenu",{item:T.value,parentUids:G.parentUids,targetRef:fe.currentTarget,open:!G.menuItem.open}),["stop","prevent"]))},{default:B(()=>[H(O(Ct),{icon:"Ellipses",size:"md"})]),_:1},8,["class"])):te("",!0)]),L("span",I9n,[J[13]||(J[13]=be("   ")),J[14]||(J[14]=L("span",{class:"sr-only"},"HTTP Method:",-1)),T.value.method?(C(),Y(O(aM),{key:0,class:"font-bold",method:T.value.method},null,8,["method"])):te("",!0)])])],2)]),_:1},8,["to"])):(O(S)!=="modal"||G.parentUids.length)&&T.value.entity.type==="collection"&&T.value.to?(C(),Y(O(rx),{key:1,"aria-expanded":!!O(k)[T.value.entity.uid],class:Ie(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 no-underline focus-visible:z-10",[cD,{"bg-sidebar-b-active text-sidebar-c-active transition-none":typeof O(x).currentRoute.value.name=="string"&&O(x).currentRoute.value.name.startsWith("collection")&&O(x).currentRoute.value.params[O(ln).Collection]===T.value.entity.uid,"text-c-2":T.value.title==="Untitled Collection"}]]),to:T.value.to},{default:B(()=>[L("span",{class:"flex h-5 max-w-[14px] cursor-pointer items-center justify-center",onClick:J[2]||(J[2]=Jt(K=>O(_)(T.value.entity.uid),["stop","prevent"]))},[we(G.$slots,"leftIcon",{},()=>[H(O(qH),{class:"text-c-3 shrink-0",open:!!O(k)[T.value.entity.uid]},null,8,["open"])],!0),J[15]||(J[15]=be("   "))]),L("div",R9n,[L("span",D9n,Te(T.value.title),1),L("div",B9n,[L("div",{class:Ie(["items-center gap-px opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",{flex:G.menuItem.open,hidden:!G.menuItem.open||G.menuItem.item?.entity.uid!==T.value.entity.uid}])},[O(S)!=="modal"&&!$.value||$.value&&z.value?(C(),Y(O(At),{key:0,class:"hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",size:"sm",variant:"ghost",onClick:J[3]||(J[3]=Jt(K=>G.$emit("openMenu",{item:T.value,parentUids:G.parentUids,targetRef:K.currentTarget.parentNode,open:!0}),["stop","prevent"]))},{default:B(()=>[H(O(Ct),{icon:"Ellipses",size:"md"})]),_:1})):te("",!0),O(S)!=="modal"?(C(),Y(O(At),{key:1,class:"hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",size:"sm",variant:"ghost",onClick:J[4]||(J[4]=Jt(K=>ae(T.value.entity.uid),["stop","prevent"]))},{default:B(()=>[H(O(Ct),{icon:"Add",size:"md",thickness:"2"})]),_:1})):te("",!0)],2),T.value.watchMode?(C(),Y(O(Uy),{key:0,placement:"right",offset:12,content:`Watching: ${T.value.documentUrl}`},{default:B(()=>[L("button",H9n,[H(O(Ct),{class:Ie(["ml-0.5 text-sm",oe.value]),icon:"Watch",size:"md",thickness:"2"},null,8,["class"])])]),_:1},8,["content"])):te("",!0),J[16]||(J[16]=L("span",null," ",-1))])])]),_:3},8,["aria-expanded","class","to"])):O(S)!=="modal"||G.parentUids.length?(C(),A("button",{key:2,"aria-expanded":!!O(k)[T.value.entity.uid],class:Ie(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 focus-visible:z-10",[cD]]),type:"button",onClick:J[7]||(J[7]=K=>O(_)(T.value.entity.uid))},[L("span",F9n,[we(G.$slots,"leftIcon",{},()=>[H(O(qH),{class:"text-c-3 hover:text-c-1 shrink-0",open:!!O(k)[T.value.entity.uid]},null,8,["open"])],!0),J[17]||(J[17]=be("   "))]),L("div",U9n,[L("span",z9n,Te(T.value.title),1),L("div",W9n,[L("div",{class:Ie(["items-center gap-px opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",{flex:G.menuItem.open,hidden:!G.menuItem.open||G.menuItem.item?.entity.uid!==T.value.entity.uid}])},[O(S)!=="modal"&&!$.value||$.value&&z.value?(C(),Y(O(At),{key:0,class:"hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",size:"sm",variant:"ghost",onClick:J[5]||(J[5]=Jt(K=>G.$emit("openMenu",{item:T.value,parentUids:G.parentUids,targetRef:K.currentTarget.parentNode,open:!0}),["stop","prevent"]))},{default:B(()=>[H(O(Ct),{icon:"Ellipses",size:"md"})]),_:1})):te("",!0),O(S)!=="modal"?(C(),Y(O(At),{key:1,class:"hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",size:"sm",variant:"ghost",onClick:J[6]||(J[6]=Jt(K=>ae(T.value.entity.uid),["stop","prevent"]))},{default:B(()=>[H(O(Ct),{icon:"Add",size:"md",thickness:"2"})]),_:1})):te("",!0)],2),T.value.watchMode?(C(),Y(O(Uy),{key:0,content:"Watching: {{ item.documentUrl }}",placement:"right",offset:12},{default:B(()=>[L("button",Z9n,[H(O(Ct),{class:Ie(["ml-0.5 text-sm",oe.value]),icon:"Watch",size:"md",thickness:"2"},null,8,["class"])])]),_:1})):te("",!0),J[18]||(J[18]=L("span",null," ",-1))])])],10,V9n)):te("",!0),D.value?(C(),A("ul",Q9n,[(C(!0),A(je,null,_t(T.value.children,K=>(C(),Y(X,{key:K,isDraggable:!O(d)[K],isDroppable:F,menuItem:G.menuItem,parentUids:[...G.parentUids,G.uid],uid:K,onNewTab:J[8]||(J[8]=(fe,re)=>G.$emit("newTab",fe,re)),onOnDragEnd:J[9]||(J[9]=(...fe)=>G.$emit("onDragEnd",...fe)),onOpenMenu:J[10]||(J[10]=fe=>G.$emit("openMenu",fe))},null,8,["isDraggable","menuItem","parentUids","uid"]))),128)),T.value.children.length===0?(C(),Y(O(At),{key:0,class:Ie(["text-c-1 hover:bg-b-2 flex h-8 w-full justify-start gap-1.5 py-0 text-xs",G.parentUids.length?"pl-9":""]),variant:"ghost",onClick:J[11]||(J[11]=K=>ae(T.value.entity.uid))},{default:B(()=>[H(O(Ct),{icon:"Add",size:"sm"}),J[19]||(J[19]=L("span",null,"Add Request",-1))]),_:1,__:[19]},8,["class"])):te("",!0)])):te("",!0)]),_:3},8,["id","ceiling","floor","isDraggable","isDroppable","parentIds"])],2)):te("",!0)}}}),X9n=Dn(q9n,[["__scopeId","data-v-4dedda07"]]),Y9n={class:"flex w-[inherit] items-center text-base"},G9n={class:"m-0 flex items-center gap-1.5 font-bold"},K9n={class:"line-clamp-1 text-left"},J9n={class:"overflow-hidden text-ellipsis"},ebn={class:"flex h-4 w-4 items-center justify-center"},tbn=le({__name:"WorkspaceDropdown",setup(e){const{activeWorkspace:t}=$o(),{workspaces:n,workspaceMutators:r,events:o}=Sn(),{push:a}=sl(),s=k=>{k!==t.value?.uid&&a({name:"workspace",params:{workspace:k}})},i=Q(()=>Object.keys(n).length===1),l=()=>o.commandPalette.emit({commandName:"Create Workspace"}),c=me(""),d=me(""),f=ka(),h=ka(),m=k=>{const _=n[k];_&&(c.value=_.name,d.value=k,f.show())},b=k=>{k.trim()&&(r.edit(d.value,"name",k.trim()),f.hide())},v=k=>{const _=n[k];_&&(c.value=_.name,d.value=k,h.show())},x=async()=>{if(!i.value){const k=t.value?.uid===d.value,_={...n};if(delete _[d.value],r.delete(d.value),k){const S=Object.keys(_)[0];await a({name:"workspace",params:{workspace:S}})}}h.hide()};return(k,_)=>(C(),A("div",null,[L("div",Y9n,[H(O(x$),null,{items:B(()=>[(C(!0),A(je,null,_t(O(n),(S,T)=>(C(),Y(O(T2),{key:T,class:"group/item flex w-full items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",onClick:Jt($=>s(S.uid),["stop"])},{default:B(()=>[H(O(nh),{selected:O(t)?.uid===T},null,8,["selected"]),L("span",J9n,Te(S.name),1),H(O(x$),{placement:"right-start",teleport:""},{items:B(()=>[H(O(T2),{class:"flex gap-2",onMousedown:$=>m(S.uid),onTouchend:Jt($=>m(S.uid),["prevent"])},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Edit",size:"md",thickness:"1.5"}),_[2]||(_[2]=L("span",null,"Rename",-1))]),_:2,__:[2]},1032,["onMousedown","onTouchend"]),i.value?te("",!0):(C(),Y(O(T2),{key:0,class:"flex gap-2",onMousedown:Jt($=>v(S.uid),["prevent"]),onTouchend:Jt($=>v(S.uid),["prevent"])},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Delete",size:"md",thickness:"1.5"}),_[3]||(_[3]=L("span",null,"Delete",-1))]),_:2,__:[3]},1032,["onMousedown","onTouchend"]))]),default:B(()=>[H(O(At),{class:"hover:bg-b-3 -mr-1 ml-auto aspect-square h-fit px-0.5 py-0 group-hover/item:flex",size:"sm",type:"button",variant:"ghost"},{default:B(()=>[H(O(Ct),{icon:"Ellipses",size:"sm"})]),_:1})]),_:2},1024)]),_:2},1032,["onClick"]))),128)),H(O(zj)),H(O(T2),{class:"flex items-center gap-1.5",onClick:l},{default:B(()=>[L("div",ebn,[H(O(Ct),{icon:"Add",size:"sm"})]),_[4]||(_[4]=L("span",null,"Create Workspace",-1))]),_:1,__:[4]})]),default:B(()=>[H(O(At),{class:"text-c-1 hover:bg-b-2 line-clamp-1 h-full w-fit justify-start px-1.5 py-1.5 font-normal",fullWidth:"",variant:"ghost"},{default:B(()=>[L("div",G9n,[L("h2",K9n,Te(O(t)?.name),1)])]),_:1})]),_:1})]),H(O(oi),{size:"xxs",state:O(h),title:"Delete workspace"},{default:B(()=>[H(D3,{variableName:c.value,warningMessage:"This cannot be undone. You're about to delete the workspace and everything inside it.",onClose:_[0]||(_[0]=S=>O(h).hide()),onDelete:x},null,8,["variableName"])]),_:1},8,["state"]),H(O(oi),{size:"xxs",state:O(f),title:"Rename Workspace"},{default:B(()=>[H(CM,{name:c.value,onClose:_[1]||(_[1]=S=>O(f).hide()),onEdit:b},null,8,["name"])]),_:1},8,["state"])]))}}),nbn={class:"bg-b-1 sticky top-0 z-20 flex h-12 items-center px-3"},rbn={key:1,class:"text-c-3"},obn=["aria-pressed"],abn={class:"sr-only"},sbn={key:0,class:"search-button-fade sticky top-12 z-10 px-3 py-2.5 pt-0 focus-within:z-20",role:"search"},ibn={key:1,class:"contents"},lbn={key:0,class:"empty-sidebar-item-content px-2.5 py-2.5"},cbn={class:"rabbit-ascii relative m-auto mt-2 h-[68px] w-[60px]"},ubn=le({__name:"RequestSidebar",emits:["newTab","clearDrafts"],setup(e,{emit:t}){const n=t,{collapsedSidebarFolders:r,isSidebarOpen:o,setCollapsedSidebarFolder:a,toggleSidebarOpen:s}=Ih(),{layout:i}=Ti(),l=Sn(),{activeCollection:c,activeWorkspaceCollections:d,activeRequest:f,activeWorkspaceRequests:h,activeWorkspace:m}=$o(),{findRequestParents:b,events:v,requestMutators:x,requests:k}=l,{handleDragEnd:_,isDroppable:S}=b9n(m,l),{replace:T}=sl(),$=()=>{v.commandPalette.emit({commandName:"Import from OpenAPI/Swagger/Postman/cURL"})},M=Rr(),{toast:P}=F1(),D=Ir({open:!1}),U=me(!1);pt(f,de=>{de&&b(de).forEach(Ce=>a(Ce,!0))},{immediate:!0});const{searchText:Z,searchResultsWithPlaceholderResults:V,selectedSearchResult:F,onSearchResultClick:ne,fuseSearch:ae,searchInputRef:oe,searchResultRefs:z,navigateSearchResults:se,selectSearchResult:G}=g9n(),J=me(),X=de=>{de&&(de.toggleSidebar&&s(),de.focusRequestSearch&&oe.value?.focus())};en(()=>v.hotKeys.on(X)),li(()=>{v.hotKeys.off(X)});const K=de=>{if(de?.documentUrl){de.watchMode=!de.watchMode;const Ce=d.value.find(pe=>pe.uid===de.entity.uid);Ce&&(Ce.watchMode=de.watchMode)}};pt(()=>d.value.map(de=>de.watchMode),(de,Ce)=>{de.forEach((pe,ke)=>{if(i!=="modal"&&pe!==Ce[ke]&&d.value[ke]?.info?.title!=="Drafts"&&d.value[ke]){const Re=d.value[ke];if(!Re)return;const ee=`${Re.info?.title}: Watch Mode ${pe?"enabled":"disabled"}`;P(ee,"info")}})});const fe=Q(()=>{const de=V.value;if(!de.length)return"No results found";const Ce=de[F.value]?.item;if(!Ce)return"No result selected";const pe=Z.value.length?`${de.length} result${de.length===1?"":"s"} found, `:"",ke=`, HTTP Method ${Ce.httpVerb}, Path ${Ce.path}`,Re=`${Ce.title} ${ke}`;return`${pe}Selected: ${Re}`}),re=()=>{const de=d.value.find(Ce=>Ce.info?.title==="Drafts");if(de&&de.requests.forEach(Ce=>{k[Ce]&&x.delete(k[Ce],de.uid)}),h.value.length){const Ce=d.value[0]?.requests[0];Ce&&T({name:"request",params:{[ln.Request]:Ce}})}else{const{request:Ce}=wq();de&&(x.add(Ce,de.uid),T({name:"request",params:{[ln.Request]:Ce.uid}}))}};pt(U,de=>{de||(Z.value="")});const Ae=Q(()=>$9n(d.value,h.value,k)),ue=Q(()=>i==="modal"&&c.value?[c.value]:d.value);function Se(de){!Z.value&&de.relatedTarget!==J.value&&(U.value=!1)}return(de,Ce)=>(C(),A(je,null,[Po(H(O(Sq),{class:Ie([O(o)?"sidebar-active-width":""])},xs({content:B(()=>[L("div",nbn,[L("div",{class:Ie(["size-8",{"xl:hidden":O(i)!=="modal"}])},null,2),O(i)!=="modal"?(C(),Y(O(tbn),{key:0})):te("",!0),O(i)!=="modal"?(C(),A("span",rbn," / ")):te("",!0),O(i)!=="modal"?(C(),Y(h9n,{key:2})):te("",!0),L("button",{ref_key:"searchToggleRef",ref:J,"aria-pressed":U.value,class:"ml-auto",type:"button",onClick:Ce[0]||(Ce[0]=pe=>U.value=!U.value)},[L("span",abn,Te(U.value?"Hide":"Show")+" search ",1),H(O(Ct),{class:"text-c-3 hover:bg-b-2 max-h-8 max-w-8 rounded-lg p-1.75 text-sm",icon:"Search"})],8,obn)]),U.value?(C(),A("div",sbn,[H(O(pVt),{ref_key:"searchInputRef",ref:oe,modelValue:O(Z),"onUpdate:modelValue":Ce[1]||(Ce[1]=pe=>_o(Z)?Z.value=pe:null),autofocus:"","aria-controls":O(M),label:fe.value,onInput:O(ae),onKeydown:[Ce[2]||(Ce[2]=cs(Jt(pe=>O(se)("down"),["stop"]),["down"])),Ce[3]||(Ce[3]=cs(Jt(pe=>O(G)(),["stop"]),["enter"])),Ce[4]||(Ce[4]=cs(Jt(pe=>O(se)("up"),["stop"]),["up"]))],onBlur:Se},null,8,["modelValue","aria-controls","label","onInput"])])):te("",!0),L("div",{class:Ie(["gap-1/2 flex flex-1 flex-col overflow-visible overflow-y-auto px-3 pt-0 pb-3",[{"pb-14":O(i)!=="modal"},{"h-[calc(100%-273.5px)]":Ae.value}]]),onDragenter:Ce[7]||(Ce[7]=Jt(()=>{},["prevent"])),onDragover:Ce[8]||(Ce[8]=Jt(()=>{},["prevent"]))},[O(Z)?(C(),Y(O(vbe),{key:0,id:O(M),"aria-label":"Search Results",class:"gap-px",noResults:!O(V).length},{default:B(()=>[(C(!0),A(je,null,_t(O(V),(pe,ke)=>(C(),Y(O(ybe),{id:`#search-input-${pe.item.id}`,key:pe.refIndex,ref_for:!0,ref:Re=>O(z)[ke]=Re,selected:O(F)===ke,class:"px-2",href:pe.item.link,onClick:Jt(Re=>O(ne)(pe),["prevent"]),onFocus:Re=>F.value=ke},{addon:B(()=>[Ce[10]||(Ce[10]=L("span",{class:"sr-only"},"HTTP Method:",-1)),H(aM,{class:"font-bold",method:pe.item.httpVerb??"get"},null,8,["method"])]),default:B(()=>[be(Te(pe.item.title)+" ",1)]),_:2},1032,["id","selected","href","onClick","onFocus"]))),128))]),_:1},8,["id","noResults"])):(C(),A("nav",ibn,[(C(!0),A(je,null,_t(ue.value,pe=>(C(),Y(X9n,{key:pe.uid,isDraggable:O(i)!=="modal"&&pe.info?.title!=="Drafts",isDroppable:O(S),menuItem:D,parentUids:[],uid:pe.uid,onNewTab:Ce[5]||(Ce[5]=(ke,Re)=>n("newTab",{name:ke,uid:Re})),onOnDragEnd:O(_),onOpenMenu:Ce[6]||(Ce[6]=ke=>Object.assign(D,ke))},{leftIcon:B(()=>[pe.info?.title==="Drafts"?(C(),Y(O(Ct),{key:0,class:"text-sidebar-c-2 group-hover:hidden",icon:"Scribble",thickness:"2.25"})):(C(),Y(O(sg),{key:1,class:"text-sidebar-c-2 size-3.5 min-w-3.5 stroke-2 group-hover:hidden",src:pe["x-scalar-icon"]||"interface-content-folder"},null,8,["src"])),L("div",{class:Ie({"rotate-90":O(r)[pe.uid]})},[H(O(Ct),{class:"text-c-3 hover:text-c-1 hidden text-sm group-hover:block",icon:"ChevronRight",size:"md"})],2)]),_:2},1032,["isDraggable","isDroppable","menuItem","uid","onOnDragEnd"]))),128))]))],34)]),button:B(()=>[L("div",{class:Ie({"empty-sidebar-item":Ae.value})},[Ae.value?(C(),A("div",lbn,[L("div",cbn,[H(_x,{art:O(u9n),class:"rabbitsit font-bold"},null,8,["art"]),H(_x,{art:O(d9n),class:"rabbitjump absolute top-0 left-0 font-bold"},null,8,["art"])]),Ce[11]||(Ce[11]=L("div",{class:"mt-2 mb-2 text-center text-sm text-balance"},[L("b",{class:"font-medium"},"Let's Get Started"),L("p",{class:"mt-2"}," Create request, folder, collection or import from OpenAPI/Postman ")],-1))])):te("",!0),O(i)!=="modal"?(C(),Y(O(At),{key:1,class:Ie(["mb-1.5 hidden h-fit w-full p-1.5 opacity-0",{"flex opacity-100":Ae.value}]),onClick:$},{default:B(()=>Ce[12]||(Ce[12]=[be(" Import Collection ")])),_:1,__:[12]},8,["class"])):te("",!0),O(i)!=="modal"?(C(),Y(Yq,{key:2,click:O(v).commandPalette.emit,hotkey:"K"},{title:B(()=>Ce[13]||(Ce[13]=[be(" Add Item ")])),_:1},8,["click"])):te("",!0)],2)]),_:2},[O(i)!=="modal"?{name:"header",fn:B(()=>[]),key:"0"}:void 0]),1032,["class"]),[[yi,O(o)]]),O(i)!=="modal"&&D?(C(),Y(L9n,{key:0,menuItem:D,onClearDrafts:re,onCloseMenu:Ce[9]||(Ce[9]=pe=>D.open=!1),onToggleWatchMode:K},null,8,["menuItem"])):te("",!0)],64))}}),dbn=Dn(ubn,[["__scopeId","data-v-bca9c474"]]),fbn=(e,t=!1)=>{const n=Object.fromEntries(e);t&&["Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers"].map(a=>a.toLowerCase()).forEach(a=>delete n[a]);const r=Object.keys(n).find(a=>a.toLowerCase()==="x-scalar-modified-headers"),o=r?n[r]?.toString().split(", ")?.map(a=>a.toLowerCase())??[]:[];return Object.keys(n).forEach(a=>{o.includes(a.toLowerCase())&&delete n[a]}),r&&delete n[r],Object.keys(n).forEach(a=>{const s=/^x-scalar-original-/i;if(s.test(a)){const i=a.replace(s,"");n[a]&&(n[i]=n[a],delete n[a])}}),Object.keys(n).forEach(a=>{const s=pbn(a);a!==s&&n[a]&&(n[s]=n[a],delete n[a])}),Object.fromEntries(Object.entries(n).sort(([a],[s])=>a.localeCompare(s)))},pbn=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.toLowerCase().slice(1)).join("-");function hbn(e,t,n){if(!kv(e))return{body:void 0,contentType:void 0};if(t.body.activeBody==="formData"&&t.body.formData){const r=t.body.formData.encoding==="form-data"?"multipart/form-data":"application/x-www-form-urlencoded",o=t.body.formData.encoding==="form-data"?new FormData:new URLSearchParams;return t.body.formData.value.forEach(a=>{!a.enabled||!a.key||(a.file&&o instanceof FormData?o.append(a.key,a.file,a.file.name):a.value!==void 0&&o.append(a.key,vo(a.value,n)))}),{body:o,contentType:r}}return t.body.activeBody==="raw"?{body:vo(t.body.raw?.value??"",n),contentType:t.body.raw?.encoding}:t.body.activeBody==="binary"?{body:t.body.binary,contentType:t.body.binary?.type}:{body:void 0,contentType:void 0}}function mbn(e,t){const n={};return e.parameters.headers.forEach(r=>{const o=r.key.trim().toLowerCase();r.enabled&&(o!=="content-type"||r.value!=="multipart/form-data")&&(n[o]=vo(r.value,t))}),n}function gbn(e,t,n){const r=new URLSearchParams,o=(n?.parameters??[]).reduce((a,s)=>(s.in==="query"&&(a[s.name]=s),a),{});return e.parameters.query.forEach(a=>{if(!a.enabled)return;const s=o[a.key];switch(a.type){case"array":{const i=vo(a.value??"",t).split(/,\ ?/);if(s?.explode===!1){const l=i.join(",");r.append(a.key,l)}else i.forEach(l=>{r.append(a.key,l.trim())});break}default:{const i=vo(a.value??"",t);r.append(a.key,i.trim());break}}}),r}const G_e={"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"},"application/ld+json":{extension:".jsonld",raw:!0,language:"json"},"application/problem+json":{extension:".json",raw:!0,language:"json"},"application/vnd.api+json":{extension:".json",raw:!0,language:"json"},"application/dns-json":{extension:".json",raw:!0,language:"json"},"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/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"}};Object.entries(G_e).filter(([,e])=>e?.raw).map(([e])=>e);function Kq(e){const t=G_e[e];if(t)return t;if(e.endsWith("+json"))return{extension:".json",raw:!0,language:"json"}}function bbn(e){return!!Kq(e)?.raw}function vbn(e,t){const n=new Jwe(t);return bbn(n.essence)?new TextDecoder(n.parameters.get("charset")).decode(e):new Blob([e],{type:n.essence})}const m1e=()=>typeof window<"u"&&"electron"in window,ybn=({environment:e,example:t,globalCookies:n,proxyUrl:r,request:o,securitySchemes:a,selectedSecuritySchemeUids:s=[],server:i,status:l,pluginManager:c})=>{try{const d=e??{},f=new AbortController,h=t.parameters.path.reduce((F,ne)=>(ne.enabled&&(F[ne.key]=vo(ne.value,d)),F),{}),m=vo(i?.url??"",d),b=vo(vo(o.path,d),h);let v=m||b;if(!v)throw u3.URL_EMPTY;Object.entries(i?.variables??{}).forEach(([F,ne])=>{v=vo(v,{[F]:h[F]||ne.default})});const x=gbn(t,d,o),k=mbn(t,d),{body:_}=hbn(o.method,t,d),{cookieParams:S}=dcn({example:t,env:d,globalCookies:n,serverUrl:v,proxyUrl:r}),T=s.flat().map(F=>a[F]).filter(Tn),$=SOe(T,d),M={...Object.entries($.headers).reduce((F,[ne,ae])=>(F[ne.toLowerCase()]=ae,F),{}),...k},P=[...S,...$.cookies],D=new URLSearchParams([...x,...$.urlParams]);m1e()&&M["user-agent"]&&(M["X-Scalar-User-Agent"]=M["user-agent"]),v=WL(v,b,D);const U=vo(pcn(P,M.Cookie),d);U&&(m1e()||ky(r,v)?(console.warn("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."),M["X-Scalar-Cookie"]=U):(console.warn(`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:
2928
2928
 
2929
2929
  - The browser URL must be on the same domain as the server URL.
2930
2930
  - The connection must be made over HTTPS.
2931
- `),M.Cookie=U));const Z=Cj(r,v),V=new Request(Z,{method:o.method.toUpperCase(),body:_??null,headers:M});return[null,{request:V,sendRequest:async()=>{l?.emit("start"),c&&c.executeHook("onBeforeRequest",{request:V});const F=Date.now();try{const ne=await fetch(V,{signal:f.signal}),ae=ne.headers.get("content-type")?.startsWith("text/event-stream");l?.emit("stop");const oe=Date.now()-F,z=ne.clone(),se=ubn(ne.headers,ky(r,v)),G=ne.headers.get("content-type")??"text/plain;charset=UTF-8",J=await z.arrayBuffer(),X=gbn(J,G),K=ne.clone(),fe=K.statusText||LZ[K.status]?.name||"",re=[204,205,304].includes(K.status),Ae=new Response(re?null:K.body,{status:K.status,statusText:fe,headers:K.headers});c&&c.executeHook("onResponseReceived",{response:Ae,operation:o});const ue="getSetCookie"in Ae.headers&&typeof Ae.headers.getSetCookie=="function"?Ae.headers.getSetCookie():[];return ae&&ne.body?[null,{timestamp:Date.now(),request:t,response:{...Ae,headers:se,cookieHeaderKeys:ue,reader:ne.body?.getReader(),duration:oe,method:o.method,path:b}}]:[null,{timestamp:Date.now(),request:t,response:{...ne,headers:se,cookieHeaderKeys:ue,data:X,size:J.byteLength,duration:Date.now()-F,method:o.method,status:ne.status,path:b}}]}catch(ne){return l?.emit("abort"),[MF(ne,u3.REQUEST_FAILED),null]}},controller:f}]}catch(d){return console.error(d),l?.emit("abort"),[MF(d),null]}},vbn={class:"flex h-full"},ybn={class:"flex h-full flex-1 flex-col"},xbn=le({__name:"RequestRoot",emits:["newTab"],setup(e){const t=Sn(),{toast:n}=F1(),{layout:r}=Ti(),o=pOe(),{isSidebarOpen:a}=Ih(),s=g4n(),{activeCollection:i,activeExample:l,activeEnvironment:c,activeRequest:d,activeWorkspace:f,activeServer:h}=$o(),{cookies:m,requestHistory:b,showSidebar:v,securitySchemes:x,events:k}=t,_=$q(),S=me(),T=me(),$=me(new Set),M=me(null),P=Q(()=>(i.value?.useCollectionSecurity?i.value?.selectedSecuritySchemeUids:d.value?.selectedSecuritySchemeUids)??[]),D=async()=>{if(!d.value||!l.value||!i.value)return;$.value=b4n(l.value);const F=typeof c.value=="object"?c.value.value:"{}",ne=J3n.parse(F);ne.error&&console.error("INVALID ENVIRONMENT!");const ae=ne.error||typeof ne.data!="object"?{}:ne.data??{},oe=f.value?.cookies.map(K=>m[K]).filter(Tn)??[],z=i.value?.info?.title==="Drafts"?void 0:h.value,[se,G]=bbn({request:d.value,example:l.value,selectedSecuritySchemeUids:P.value,proxyUrl:f.value?.proxyUrl??"",environment:ae,globalCookies:oe,status:k.requestStatus,securitySchemes:x,server:z,pluginManager:_});if(o.value?.onRequestSent?.(d.value.path??""),se){n(se.message,"error");return}T.value=G.controller;const[J,X]=await G.sendRequest();M.value=X,J?n(J.message,"error"):b.push(V(X))},U=async()=>T.value?.abort(u3.REQUEST_ABORTED);function Z(){s?.capture("client-send-request")}en(()=>{k.executeRequest.on(D),k.executeRequest.on(Z),k.cancelRequest.on(U)}),x4n(),li(()=>{k.executeRequest.off(D),k.executeRequest.off(Z)}),pt(()=>l.value?.parameters,()=>{$.value.clear()},{deep:!0});const V=F=>{try{return structuredClone(F)}catch{const ne={...F};return F.response?.data&&(F.response.data instanceof Blob||F.response.data instanceof ArrayBuffer?ne.response.data=F.response.data:ne.response.data=JSON.parse(JSON.stringify(F.response.data))),ne}};return(F,ne)=>(C(),A("div",{ref_key:"element",ref:S,class:Ie(["bg-b-1 relative z-0 flex h-full flex-1 flex-col overflow-hidden pt-0",{"!mr-0 !mb-0 !border-0":O(r)==="modal"}])},[O(v)?(C(),Y(omn,{key:0,modelValue:O(a),"onUpdate:modelValue":ne[0]||(ne[0]=ae=>_o(a)?a.value=ae:null),class:Ie(["absolute top-2 left-3 z-50",[{hidden:O(a)},{"xl:!flex":!O(a)},{"!flex":O(r)==="modal"}]])},null,8,["modelValue","class"])):te("",!0),L("div",vbn,[O(v)?(C(),Y(cbn,{key:0,onNewTab:ne[1]||(ne[1]=ae=>F.$emit("newTab",ae))})):te("",!0),L("div",ybn,[H(O(oM),{invalidParams:$.value,requestResult:M.value,selectedSecuritySchemeUids:P.value},null,8,["invalidParams","requestResult","selectedSecuritySchemeUids"])])])],2))}}),kbn=Dn(xbn,[["__scopeId","data-v-c648cff4"]]),wbn=Object.freeze(Object.defineProperty({__proto__:null,default:kbn},Symbol.toStringTag,{value:"Module"})),g1e=` .:=+++++=================-
2931
+ `),M.Cookie=U));const Z=Cj(r,v),V=new Request(Z,{method:o.method.toUpperCase(),body:_??null,headers:M});return[null,{request:V,sendRequest:async()=>{l?.emit("start"),c&&c.executeHook("onBeforeRequest",{request:V});const F=Date.now();try{const ne=await fetch(V,{signal:f.signal}),ae=ne.headers.get("content-type")?.startsWith("text/event-stream");l?.emit("stop");const oe=Date.now()-F,z=ne.clone(),se=fbn(ne.headers,ky(r,v)),G=ne.headers.get("content-type")??"text/plain;charset=UTF-8",J=await z.arrayBuffer(),X=vbn(J,G),K=ne.clone(),fe=K.statusText||LZ[K.status]?.name||"",re=[204,205,304].includes(K.status),Ae=new Response(re?null:K.body,{status:K.status,statusText:fe,headers:K.headers});c&&c.executeHook("onResponseReceived",{response:Ae,operation:o});const ue="getSetCookie"in Ae.headers&&typeof Ae.headers.getSetCookie=="function"?Ae.headers.getSetCookie():[];return ae&&ne.body?[null,{timestamp:Date.now(),request:t,response:{...Ae,headers:se,cookieHeaderKeys:ue,reader:ne.body?.getReader(),duration:oe,method:o.method,path:b}}]:[null,{timestamp:Date.now(),request:t,response:{...ne,headers:se,cookieHeaderKeys:ue,data:X,size:J.byteLength,duration:Date.now()-F,method:o.method,status:ne.status,path:b}}]}catch(ne){return l?.emit("abort"),[MF(ne,u3.REQUEST_FAILED),null]}},controller:f}]}catch(d){return console.error(d),l?.emit("abort"),[MF(d),null]}},xbn={class:"flex h-full"},kbn={class:"flex h-full flex-1 flex-col"},wbn=le({__name:"RequestRoot",emits:["newTab"],setup(e){const t=Sn(),{toast:n}=F1(),{layout:r}=Ti(),o=pOe(),{isSidebarOpen:a}=Ih(),s=v4n(),{activeCollection:i,activeExample:l,activeEnvironment:c,activeRequest:d,activeWorkspace:f,activeServer:h}=$o(),{cookies:m,requestHistory:b,showSidebar:v,securitySchemes:x,events:k}=t,_=$q(),S=me(),T=me(),$=me(new Set),M=me(null),P=Q(()=>(i.value?.useCollectionSecurity?i.value?.selectedSecuritySchemeUids:d.value?.selectedSecuritySchemeUids)??[]),D=async()=>{if(!d.value||!l.value||!i.value)return;$.value=y4n(l.value);const F=typeof c.value=="object"?c.value.value:"{}",ne=tmn.parse(F);ne.error&&console.error("INVALID ENVIRONMENT!");const ae=ne.error||typeof ne.data!="object"?{}:ne.data??{},oe=f.value?.cookies.map(K=>m[K]).filter(Tn)??[],z=i.value?.info?.title==="Drafts"?void 0:h.value,[se,G]=ybn({request:d.value,example:l.value,selectedSecuritySchemeUids:P.value,proxyUrl:f.value?.proxyUrl??"",environment:ae,globalCookies:oe,status:k.requestStatus,securitySchemes:x,server:z,pluginManager:_});if(o.value?.onRequestSent?.(d.value.path??""),se){n(se.message,"error");return}T.value=G.controller;const[J,X]=await G.sendRequest();M.value=X,J?n(J.message,"error"):b.push(V(X))},U=async()=>T.value?.abort(u3.REQUEST_ABORTED);function Z(){s?.capture("client-send-request")}en(()=>{k.executeRequest.on(D),k.executeRequest.on(Z),k.cancelRequest.on(U)}),w4n(),li(()=>{k.executeRequest.off(D),k.executeRequest.off(Z)}),pt(()=>l.value?.parameters,()=>{$.value.clear()},{deep:!0});const V=F=>{try{return structuredClone(F)}catch{const ne={...F};return F.response?.data&&(F.response.data instanceof Blob||F.response.data instanceof ArrayBuffer?ne.response.data=F.response.data:ne.response.data=JSON.parse(JSON.stringify(F.response.data))),ne}};return(F,ne)=>(C(),A("div",{ref_key:"element",ref:S,class:Ie(["bg-b-1 relative z-0 flex h-full flex-1 flex-col overflow-hidden pt-0",{"!mr-0 !mb-0 !border-0":O(r)==="modal"}])},[O(v)?(C(),Y(smn,{key:0,modelValue:O(a),"onUpdate:modelValue":ne[0]||(ne[0]=ae=>_o(a)?a.value=ae:null),class:Ie(["absolute top-2 left-3 z-50",[{hidden:O(a)},{"xl:!flex":!O(a)},{"!flex":O(r)==="modal"}]])},null,8,["modelValue","class"])):te("",!0),L("div",xbn,[O(v)?(C(),Y(dbn,{key:0,onNewTab:ne[1]||(ne[1]=ae=>F.$emit("newTab",ae))})):te("",!0),L("div",kbn,[H(O(oM),{invalidParams:$.value,requestResult:M.value,selectedSecuritySchemeUids:P.value},null,8,["invalidParams","requestResult","selectedSecuritySchemeUids"])])])],2))}}),Obn=Dn(wbn,[["__scopeId","data-v-c648cff4"]]),Cbn=Object.freeze(Object.defineProperty({__proto__:null,default:Obn},Symbol.toStringTag,{value:"Module"})),g1e=` .:=+++++=================-
2932
2932
  .--#* :.
2933
2933
  .-:-** -.
2934
2934
  .:-::-+* =:
@@ -2949,7 +2949,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2949
2949
  .----+*+=----------================.
2950
2950
  .:=-+*+=----------=-==============-
2951
2951
  .-+*+=----------------===========.
2952
- .-+=------------------====-====:.`,Obn={class:"flex-center flex w-full scale-75"},Cbn={class:"relative"},_bn={class:"relative -ml-12"},Sbn=le({__name:"EmptyState",setup(e){return(t,n)=>(C(),A("div",Obn,[L("div",Cbn,[H(O(wv),{class:"keycap-hotkey right-14 border-transparent py-0 text-xl",hotkey:""}),H(_x,{art:O(g1e),class:"text-c-3 !leading-[6px]"},null,8,["art"])]),L("div",_bn,[n[0]||(n[0]=L("div",{class:"keycap-hotkey right-16 text-xl"},"K",-1)),H(_x,{art:O(g1e),class:"keycap-n !leading-[6px]"},null,8,["art"])])]))}}),xT=Dn(Sbn,[["__scopeId","data-v-45a9fc44"]]),Kk=le({__name:"ViewLayout",setup(e){const{cx:t}=tr();return(n,r)=>(C(),A("div",er(xr(O(t)("flex flex-col min-h-0 flex-1 *:border-t first:*:border-t-0 md:*:border-t-0 xl:overflow-hidden md:flex-row leading-3"))),[we(n.$slots,"default")],16))}}),Lbn={},$bn={class:"custom-scroll flex flex-col pr-0 *:border-t *:first:border-t-0 xl:flex-row *:xl:border-t-0 *:xl:border-l *:first:xl:border-l-0"};function Tbn(e,t){return C(),A("div",$bn,[we(e.$slots,"default")])}const _M=Dn(Lbn,[["render",Tbn]]);var f_={},uD,b1e;function Ebn(){return b1e||(b1e=1,uD=function(t){return t.map(function(n){return n===""?"''":n&&typeof n=="object"?n.op.replace(/(.)/g,"\\$1"):/["\s\\]/.test(n)&&!/'/.test(n)?"'"+n.replace(/(['])/g,"\\$1")+"'":/["'\s]/.test(n)?'"'+n.replace(/(["\\$`!])/g,"\\$1")+'"':String(n).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,"$1\\$2")}).join(" ")}),uD}var dD,v1e;function jbn(){if(v1e)return dD;v1e=1;for(var e="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",t=new RegExp("^"+e+"$"),n="|&;()<> \\t",r='"((\\\\"|[^"])*?)"',o="'((\\\\'|[^'])*?)'",a=/^#$/,s="'",i='"',l="$",c="",d=4294967296,f=0;f<4;f++)c+=(d*Math.random()).toString(16);var h=new RegExp("^"+c);function m(x,k){for(var _=k.lastIndex,S=[],T;T=k.exec(x);)S.push(T),k.lastIndex===T.index&&(k.lastIndex+=1);return k.lastIndex=_,S}function b(x,k,_){var S=typeof x=="function"?x(_):x[_];return typeof S>"u"&&_!=""?S="":typeof S>"u"&&(S="$"),typeof S=="object"?k+c+JSON.stringify(S)+c:k+S}function v(x,k,_){_||(_={});var S=_.escape||"\\",T="(\\"+S+`['"`+n+`]|[^\\s'"`+n+"])+",$=new RegExp(["("+e+")","("+T+"|"+r+"|"+o+")+"].join("|"),"g"),M=m(x,$);if(M.length===0)return[];k||(k={});var P=!1;return M.map(function(D){var U=D[0];if(!U||P)return;if(t.test(U))return{op:U};var Z=!1,V=!1,F="",ne=!1,ae;function oe(){ae+=1;var G,J,X=U.charAt(ae);if(X==="{"){if(ae+=1,U.charAt(ae)==="}")throw new Error("Bad substitution: "+U.slice(ae-2,ae+1));if(G=U.indexOf("}",ae),G<0)throw new Error("Bad substitution: "+U.slice(ae));J=U.slice(ae,G),ae=G}else if(/[*@#?$!_-]/.test(X))J=X,ae+=1;else{var K=U.slice(ae);G=K.match(/[^\w\d_]/),G?(J=K.slice(0,G.index),ae+=G.index-1):(J=K,ae=U.length)}return b(k,"",J)}for(ae=0;ae<U.length;ae++){var z=U.charAt(ae);if(ne=ne||!Z&&(z==="*"||z==="?"),V)F+=z,V=!1;else if(Z)z===Z?Z=!1:Z==s?F+=z:z===S?(ae+=1,z=U.charAt(ae),z===i||z===S||z===l?F+=z:F+=S+z):z===l?F+=oe():F+=z;else if(z===i||z===s)Z=z;else{if(t.test(z))return{op:U};if(a.test(z)){P=!0;var se={comment:x.slice(D.index+ae+1)};return F.length?[F,se]:[se]}else z===S?V=!0:z===l?F+=oe():F+=z}}return ne?{op:"glob",pattern:F}:F}).reduce(function(D,U){return typeof U>"u"?D:D.concat(U)},[])}return dD=function(k,_,S){var T=v(k,_,S);return typeof _!="function"?T:T.reduce(function($,M){if(typeof M=="object")return $.concat(M);var P=M.split(RegExp("("+c+".*?"+c+")","g"));return P.length===1?$.concat(P[0]):$.concat(P.filter(Boolean).map(function(D){return h.test(D)?JSON.parse(D.split(c)[1]):D}))},[])},dD}var y1e;function Mbn(){return y1e||(y1e=1,f_.quote=Ebn(),f_.parse=jbn()),f_}var Abn=Mbn();function Nbn(e){const t=Abn.parse(e).map(a=>typeof a=="object"&&"op"in a&&a.op==="glob"?a.pattern.trim():typeof a=="string"?a.trim():a).filter(a=>a!==""),n={url:""},r=t[Symbol.iterator]();let o=r.next().value;for(;o;)o==="-X"||o==="--request"?Pbn(r,n):o==="--url"?x1e(r,n):o==="-H"||o==="--header"?Ibn(r,n):o==="--data"||o==="-d"||o==="--data-raw"||o==="--data-urlencode"||o==="--data-binary"||o==="--data-ascii"?Vbn(r,n,e):typeof o=="string"&&!n.url&&(o.startsWith("http")||o.startsWith("www."))?x1e([o][Symbol.iterator](),n):o==="-P"?Rbn(r,n):typeof o=="string"&&o.toLowerCase().includes("content-type")?Dbn(o,n):o==="-u"||o==="--user"?Bbn(r,n):(o==="-b"||o==="--cookie")&&Hbn(r,n),o=r.next().value;return n}function Pbn(e,t){t.method=e.next().value.toLowerCase()}function x1e(e,t){const n=new URL(e.next().value.replace(/['"]/g,""));t.servers=[n.origin],t.path=n.pathname!=="/"?n.pathname:"",t.url=t.servers[0]+t.path;const r=K_e(n.search);t.queryParameters=t.queryParameters?[...t.queryParameters,...r]:r}function Ibn(e,t){const n=e.next().value.split(/:(.*)/);t.headers=t.headers||{},n[1]!==void 0?t.headers[n[0].trim()]=n[1].trim():t.headers[n[0].trim()]=""}function Rbn(e,t){const n=e.next().value.replace(/['"]/g,"").split("=");t.pathVariables=t.pathVariables||{},n[1]!==void 0?t.pathVariables[n[0].trim()]=n[1].trim():t.pathVariables[n[0].trim()]=""}function K_e(e){const t=[];return new URL(e,"http://example.com").searchParams.forEach((n,r)=>{t.push({key:r,value:n})}),t}function Dbn(e,t){const n=e.replace(/['"]/g,"").split(/:(.+)/);t.headers=t.headers||{},n[0]&&(n[1]!==void 0?t.headers[n[0].trim()]=n[1].trim():t.headers[n[0].trim()]="")}function Bbn(e,t){const n=e.next().value;try{const r=Y7(n);t.headers=t.headers||{},t.headers.Authorization=`Basic ${r}`}catch(r){console.warn("Could not base64 encode these HTTP basic auth credentials:",n,r)}}function Hbn(e,t){const n=e.next().value;t.headers=t.headers||{},t.headers.Cookie?t.headers.Cookie+=`; ${n}`:t.headers.Cookie=n.replace(/;$/,"")}function Vbn(e,t,n){const r=e.next().value;if(typeof r=="string"&&(r.startsWith("@")?t.body="":t.body=r,!t.url||n.includes("-G"))){const o=K_e(`?${t.body}`);t.queryParameters=t.queryParameters?[...t.queryParameters,...o]:o}}function Fbn(e){try{return JSON.parse(e)}catch{const t={};return e.split("&").forEach(n=>{const[r,o]=n.split("=");r&&o&&(t[decodeURIComponent(r)]=decodeURIComponent(o))}),t}}function Ubn(e){const t=Nbn(e),{method:n="get",url:r,body:o="",headers:a={},servers:s,queryParameters:i=[]}=t,l=new URL(r).pathname,c=o?.includes("=")&&!o.startsWith("{")?"application/x-www-form-urlencoded":a["Content-Type"]||"",d=o?Fbn(o):{},f=[...Array.isArray(i)?i.map(({key:h,value:m})=>({name:h,in:"query",schema:{type:typeof m,examples:[m]}})):[],...Object.entries(a||{}).map(([h,m])=>({name:h,in:"header",schema:{type:typeof m},example:m}))];return{method:n,url:r,path:l,headers:a,servers:s??[],...Object.keys(d).length>0&&{requestBody:{content:{[c]:{schema:{type:"object",properties:Object.fromEntries(Object.entries(d).map(([h,m])=>[h,{type:typeof m}]))},example:d}}}},parameters:f}}const zbn={class:"lg:min-h-header t-app__top-container flex w-full flex-wrap items-center justify-center border-b p-2 pt-2 lg:p-1 lg:pt-1"},Wbn={class:"mb-2 flex w-1/2 flex-row items-center gap-1 lg:mb-0 lg:flex-1 lg:px-1"},Zbn={class:"mb-2 flex w-1/2 flex-row items-center justify-end gap-1 lg:mb-0 lg:flex-1 lg:px-2.5"},Qbn=le({__name:"RequestSubpageHeader",props:{collection:{},operation:{},server:{},environment:{},envVariables:{},workspace:{}},emits:["hideModal","importCurl"],setup(e){const{hideClientButton:t,showSidebar:n,integration:r}=Sn(),{isSidebarOpen:o}=Ih(),{layout:a}=Ti(),{currentRoute:s}=sl();return(i,l)=>(C(),A("div",zbn,[L("div",Wbn,[O(n)?(C(),A("div",{key:0,class:Ie(["size-8",{hidden:O(a)==="modal"&&!O(o)}])},null,2)):te("",!0)]),H(Lsn,{collection:i.collection,envVariables:i.envVariables,environment:i.environment,operation:i.operation,server:i.server,workspace:i.workspace,onImportCurl:l[0]||(l[0]=c=>i.$emit("importCurl",c))},null,8,["collection","envVariables","environment","operation","server","workspace"]),L("div",Zbn,[O(a)==="modal"&&i.collection.documentUrl&&!O(t)?(C(),Y(O(tve),{key:0,buttonSource:"modal",class:"!w-fit lg:-mr-1",integration:O(r)??i.collection.integration??null,source:O(s).query.source==="gitbook"?"gitbook":"api-reference",url:i.collection.documentUrl},null,8,["integration","source","url"])):te("",!0),O(a)==="modal"?(C(),A("button",{key:1,class:"app-exit-button gitbook-hidden zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2",type:"button",onClick:l[1]||(l[1]=c=>i.$emit("hideModal"))},[H(O(Ct),{icon:"Close",size:"lg",thickness:"2"}),l[3]||(l[3]=L("span",{class:"sr-only"},"Close Client",-1))])):te("",!0),O(a)==="modal"?(C(),A("button",{key:2,class:"text-c-1 hover:bg-b-2 active:text-c-1 gitbook-show -mr-1.5 rounded p-2",type:"button",onClick:l[2]||(l[2]=c=>i.$emit("hideModal"))},[H(O(Ct),{icon:"Close",size:"md",thickness:"1.75"}),l[4]||(l[4]=L("span",{class:"sr-only"},"Close Client",-1))])):te("",!0)])]))}}),qbn=Dn(Qbn,[["__scopeId","data-v-c8df97c6"]]),Xbn=["href"],Jq=le({__name:"HelpfulLink",props:{href:{}},setup(e){return(t,n)=>(C(),A("a",{class:"decoration-c-3 cursor-help underline underline-offset-2",href:t.href,rel:"noopener noreferrer",target:"_blank"},[we(t.$slots,"default")],8,Xbn))}}),J_e=[{name:"Accept",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept"},{name:"Accept-CH",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH"},{name:"Accept-CH-Lifetime",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH-Lifetime"},{name:"Accept-Charset",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Charset"},{name:"Accept-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding"},{name:"Accept-Language",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language"},{name:"Accept-Patch",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Patch"},{name:"Accept-Post",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Post"},{name:"Accept-Ranges",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Ranges"},{name:"Access-Control-Allow-Credentials",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials"},{name:"Access-Control-Allow-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers"},{name:"Access-Control-Allow-Methods",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods"},{name:"Access-Control-Allow-Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin"},{name:"Access-Control-Expose-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers"},{name:"Access-Control-Max-Age",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age"},{name:"Access-Control-Request-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers"},{name:"Access-Control-Request-Method",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method"},{name:"Age",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Age"},{name:"Allow",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Allow"},{name:"Alt-Svc",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Svc"},{name:"Alt-Used",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Used"},{name:"Authorization",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization"},{name:"Cache-Control",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control"},{name:"Clear-Site-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data"},{name:"Connection",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection"},{name:"Content-Disposition",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition"},{name:"Content-DPR",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-DPR"},{name:"Content-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding"},{name:"Content-Language",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language"},{name:"Content-Length",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length"},{name:"Content-Location",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Location"},{name:"Content-Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range"},{name:"Content-Security-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy"},{name:"Content-Security-Policy-Report-Only",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only"},{name:"Content-Type",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type"},{name:"Cookie",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie"},{name:"Critical-CH",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Critical-CH"},{name:"Cross-Origin-Embedder-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy"},{name:"Cross-Origin-Opener-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy"},{name:"Cross-Origin-Resource-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy"},{name:"Date",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date"},{name:"Device-Memory",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Device-Memory"},{name:"Digest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Digest"},{name:"DNT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DNT"},{name:"Downlink",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Downlink"},{name:"DPR",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DPR"},{name:"Early-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Early-Data"},{name:"ECT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ECT"},{name:"ETag",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag"},{name:"Expect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect"},{name:"Expect-CT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect-CT"},{name:"Expires",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires"},{name:"Forwarded",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded"},{name:"From",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/From"},{name:"Host",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Host"},{name:"If-Match",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Match"},{name:"If-Modified-Since",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since"},{name:"If-None-Match",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-None-Match"},{name:"If-Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Range"},{name:"If-Unmodified-Since",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Unmodified-Since"},{name:"Keep-Alive",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive"},{name:"Large-Allocation",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Large-Allocation"},{name:"Last-Modified",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Last-Modified"},{name:"Link",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link"},{name:"Location",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location"},{name:"Max-Forwards",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Max-Forwards"},{name:"NEL",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/NEL"},{name:"Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin"},{name:"Permissions-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy"},{name:"Pragma",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Pragma"},{name:"Proxy-Authenticate",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authenticate"},{name:"Proxy-Authorization",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization"},{name:"Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range"},{name:"Referer",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer"},{name:"Referrer-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy"},{name:"Retry-After",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After"},{name:"RTT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/RTT"},{name:"Save-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Save-Data"},{name:"Sec-CH-Prefers-Reduced-Motion",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Motion"},{name:"Sec-CH-Prefers-Reduced-Transparency",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Transparency"},{name:"Sec-CH-UA",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA"},{name:"Sec-CH-UA-Arch",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Arch"},{name:"Sec-CH-UA-Bitness",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Bitness"},{name:"Sec-CH-UA-Full-Version",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version"},{name:"Sec-CH-UA-Full-Version-List",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version-List"},{name:"Sec-CH-UA-Mobile",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Mobile"},{name:"Sec-CH-UA-Model",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Model"},{name:"Sec-CH-UA-Platform",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform"},{name:"Sec-CH-UA-Platform-Version",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform-Version"},{name:"Sec-Fetch-Dest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest"},{name:"Sec-Fetch-Mode",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Mode"},{name:"Sec-Fetch-Site",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Site"},{name:"Sec-Fetch-User",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-User"},{name:"Sec-GPC",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-GPC"},{name:"Sec-Purpose",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Purpose"},{name:"Sec-WebSocket-Accept",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Accept"},{name:"Server",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server"},{name:"Server-Timing",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing"},{name:"Service-Worker-Navigation-Preload",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Service-Worker-Navigation-Preload"},{name:"Set-Cookie",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie"},{name:"SourceMap",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap"},{name:"Strict-Transport-Security",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security"},{name:"TE",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/TE"},{name:"Timing-Allow-Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Timing-Allow-Origin"},{name:"Tk",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Tk"},{name:"Trailer",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Trailer"},{name:"Transfer-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding"},{name:"Upgrade",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade"},{name:"Upgrade-Insecure-Requests",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade-Insecure-Requests"},{name:"User-Agent",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent"},{name:"Vary",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary"},{name:"Via",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via"},{name:"Viewport-Width",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Viewport-Width"},{name:"Want-Digest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Want-Digest"},{name:"Warning",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Warning"},{name:"Width",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Width"},{name:"WWW-Authenticate",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate"},{name:"X-Content-Type-Options",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options"},{name:"X-DNS-Prefetch-Control",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control"},{name:"Non-standard",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{name:"X-Forwarded-For",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For"},{name:"Non-standard",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{name:"X-Forwarded-Host",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host"},{name:"Non-standard",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{name:"X-Forwarded-Proto",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto"},{name:"Non-standard",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{name:"X-Frame-Options",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options"},{name:"X-XSS-Protection",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection"},{name:"Cf-Cache-Status",url:"https://developers.cloudflare.com/cache/concepts/default-cache-behavior/#cloudflare-cache-responses"},{name:"Cf-Ray",url:"https://developers.cloudflare.com/fundamentals/get-started/reference/http-request-headers/#cf-ray"},{name:"Report-To",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to"},{name:"X-Cloud-Trace-Context",url:"https://cloud.google.com/trace/docs/trace-context#legacy-http-header"},{name:"Speculation-Rules",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Speculation-Rules"}],Ybn={key:0,class:"max-h-[calc(100%-32px)] overflow-y-auto"},Gbn={key:1,class:"text-c-3 bg-b-1 flex min-h-12 items-center justify-center rounded border px-4 text-base"},Kbn=le({__name:"RequestHeaders",props:{headers:{}},setup(e){const t=n=>J_e.find(r=>r.name.toLowerCase()===n.toLowerCase());return(n,r)=>(C(),Y(z1,{class:"overflow-auto",defaultOpen:!1,itemCount:n.headers.length},{title:B(()=>r[0]||(r[0]=[be("Request Headers")])),default:B(()=>[n.headers.length?(C(),A("div",Ybn,[H(d0,{columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:B(()=>[H(gn,{class:"sr-only !block"},{default:B(()=>[H(O(Id),null,{default:B(()=>r[1]||(r[1]=[be("Header Key")])),_:1,__:[1]}),H(O(Id),null,{default:B(()=>r[2]||(r[2]=[be("Header Value")])),_:1,__:[2]})]),_:1}),(C(!0),A(je,null,_t(n.headers,o=>(C(),Y(gn,{key:o.name,class:"group/row text-c-1"},{default:B(()=>[H(s7,{class:"bg-b-1 sticky left-0 z-1 max-w-full group-first/row:border-t-0"},{default:B(()=>[typeof t(o.name)?.url=="string"?(C(),Y(Jq,{key:0,class:"decoration-c-3",href:t(o.name).url},{default:B(()=>[be(Te(o.name),1)]),_:2},1032,["href"])):(C(),A(je,{key:1},[be(Te(o.name),1)],64))]),_:2},1024),H(s7,{class:"z-0 group-first/row:border-t-0",text:o.value},null,8,["text"])]),_:2},1024))),128))]),_:1})])):(C(),A("div",Gbn," No Headers "))]),_:1},8,["itemCount"]))}}),Jbn=["download","href"],eSe=le({__name:"ResponseBodyDownload",props:{href:{},type:{},filename:{}},setup(e){const t=e,n=Q(()=>{const r=Kq(t.type??"")?.extension??".unknown";return t.filename?t.filename:`response${r}`});return(r,o)=>(C(),A("a",{class:"text-c-3 text-xxs hover:bg-b-3 flex items-center gap-1 rounded px-1.5 py-0.5 no-underline",download:`${n.value}`,href:r.href,onClick:o[0]||(o[0]=Jt(()=>{},["stop"]))},[H(O(Ct),{icon:"Download",size:"xs"}),o[1]||(o[1]=L("span",null,[L("span",null,"Download"),L("span",{class:"sr-only"},"Response Body")],-1))],8,Jbn))}}),evn={},tvn={class:"flex justify-center px-2 py-3"},nvn={class:"text-c-3 p-2 text-sm"};function rvn(e,t){return C(),A("div",tvn,[L("div",nvn,[we(e.$slots,"default")])])}const tSe=Dn(evn,[["render",rvn]]),ovn=["src"],avn=["src","type"],svn=["src","type"],ivn=["data","type"],lvn=le({__name:"ResponseBodyPreview",props:{src:{},type:{},mode:{},alpha:{type:Boolean,default:!1}},setup(e){const t=me(!1);return pt(()=>e.src,()=>t.value=!1),(n,r)=>!t.value&&n.src?(C(),A("div",{key:0,class:Ie(["flex justify-center overflow-auto rounded-b",{"bg-preview p-2":n.alpha}])},[n.mode==="image"?(C(),A("img",{key:0,class:Ie(["h-full max-w-full",{rounded:n.alpha}]),src:n.src,onError:r[0]||(r[0]=o=>t.value=!0)},null,42,ovn)):n.mode==="video"?(C(),A("video",{key:1,autoplay:"",controls:"",width:"100%",onError:r[1]||(r[1]=o=>t.value=!0)},[L("source",{src:n.src,type:n.type},null,8,avn)],32)):n.mode==="audio"?(C(),A("audio",{key:2,class:"my-12",controls:"",onError:r[2]||(r[2]=o=>t.value=!0)},[L("source",{src:n.src,type:n.type},null,8,svn)],32)):(C(),A("object",{key:3,class:"aspect-[4/3] w-full",data:n.src,type:n.type,onError:r[3]||(r[3]=o=>t.value=!0)},null,40,ivn))],2)):(C(),Y(tSe,{key:1},{default:B(()=>r[4]||(r[4]=[be("Preview unavailable")])),_:1,__:[4]}))}}),cvn=Dn(lvn,[["__scopeId","data-v-0956ad2d"]]),uvn={class:"scalar-code-block group/code-block body-raw grid min-h-0 overflow-hidden p-px outline-none has-[:focus-visible]:outline"},dvn={class:"body-raw-scroller custom-scroll relative pr-1",tabindex:"0"},fvn=le({__name:"ResponseBodyRaw",props:{content:{},language:{}},setup(e){const t=e,n=me(null),r=Rr(),{codeMirror:o}=lke({codeMirrorRef:n,readOnly:!0,lineNumbers:!0,content:Ys(()=>K2(t.content)),language:Ys(()=>t.language),forceFoldGutter:!0}),a=()=>o.value?.state.doc.toString()||"";return(s,i)=>(C(),A("div",uvn,[a()?(C(),Y(O(r8e),{key:0,content:a(),controls:O(r),class:"z-context top-2 mr-2"},null,8,["content","controls"])):te("",!0),L("div",dvn,[L("div",{ref_key:"codeMirrorRef",ref:n},null,512)])]))}}),pvn=Dn(fvn,[["__scopeId","data-v-85d2902e"]]),hvn={class:"text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5"},mvn=le({__name:"ResponseBodyToggle",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e){return(t,n)=>(C(),A("div",hvn,[L("button",{class:Ie(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":t.modelValue}]),type:"button",onClick:n[0]||(n[0]=Jt(r=>t.$emit("update:modelValue",!0),["stop"]))}," Preview ",2),L("button",{class:Ie(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":!t.modelValue}]),type:"button",onClick:n[1]||(n[1]=Jt(r=>t.$emit("update:modelValue",!1),["stop"]))}," Raw ",2)]))}}),gvn={key:0,class:"bg-b-1 flex max-h-[calc(100%-32px)] flex-col overflow-hidden"},bvn={class:"box-content flex min-h-8 items-center justify-between border-y px-3"},vvn={class:"text-xxs font-code leading-3"},yvn=le({__name:"ResponseBody",props:{title:{},layout:{},data:{},headers:{}},setup(e){const t=e,n=me(!0),r=Q(()=>!!(c.value?.raw&&c.value.preview)),o=Q(()=>n.value||!r.value),a=Q(()=>!n.value||!r.value),{mimeType:s,attachmentFilename:i,dataUrl:l}=eOe({data:Ys(t,"data"),headers:Ys(t,"headers")}),c=Q(()=>Kq(s.value.essence));return(d,f)=>(C(),Y(z1,{class:"max-h-content overflow-y-hidden",layout:d.layout},xs({title:B(()=>[be(Te(d.title),1)]),default:B(()=>[d.data?(C(),A("div",gvn,[L("div",bvn,[L("span",vvn,Te(O(s).essence),1),r.value?(C(),Y(mvn,{key:0,modelValue:n.value,"onUpdate:modelValue":f[0]||(f[0]=h=>n.value=h)},null,8,["modelValue"])):te("",!0)]),c.value?.raw&&a.value?(C(),Y(pvn,{key:O(l),content:d.data,language:c.value.language},null,8,["content","language"])):te("",!0),c.value?.preview&&o.value?(C(),Y(cvn,{key:O(l),alpha:c.value.alpha,mode:c.value.preview,src:O(l),type:O(s).essence},null,8,["alpha","mode","src","type"])):te("",!0),!c.value?.raw&&!c.value?.preview?(C(),Y(tSe,{key:2},{default:B(()=>f[1]||(f[1]=[be(" Binary file ")])),_:1,__:[1]})):te("",!0)])):te("",!0)]),_:2},[d.data&&O(l)?{name:"actions",fn:B(()=>[H(eSe,{filename:O(i),href:O(l),type:O(s).essence},null,8,["filename","href","type"])]),key:"0"}:void 0]),1032,["layout"]))}}),xvn=Dn(yvn,[["__scopeId","data-v-17966bf4"]]),kvn={class:"flex w-full items-center justify-between"},wvn={key:0,class:"mr-2 flex items-center gap-2"},Ovn={key:0,class:"text-red bg-b-danger sticky top-0 border-b p-2"},Cvn={key:1,class:"p-2"},_vn=le({__name:"ResponseBodyStreaming",props:{reader:{}},setup(e){const t=F7(),n=me(""),r=me(null),o=new TextDecoder,a=me(null),s=()=>{a.value&&(a.value.scrollTop=a.value.scrollHeight)};pt(n,()=>{In(s)});async function i(){try{for(;t.isLoading;){const{done:l,value:c}=await e.reader.read();if(l){t.stopLoading();break}c&&(n.value+=o.decode(c,{stream:!0}))}}catch(l){console.error("Error reading stream:",l),t.stopLoading(),r.value=l}finally{n.value+=o.decode()}}return en(()=>{t.startLoading(),i(),r.value=null}),li(()=>{e.reader.cancel(),t.stopLoading()}),(l,c)=>(C(),Y(z1,{class:"max-h-content overflow-y-hidden"},{title:B(()=>[L("div",kvn,[c[1]||(c[1]=L("div",null,"Body",-1)),O(t).isLoading?(C(),A("div",wvn,[H(O(vk),{loadingState:O(t),size:"xs"},null,8,["loadingState"]),c[0]||(c[0]=L("span",{class:"text-c-2"}," Listening… ",-1))])):te("",!0)])]),default:B(()=>[L("div",{ref_key:"contentContainer",ref:a,class:"text-xxs font-code h-full overflow-auto leading-2 whitespace-pre-wrap"},[r.value?(C(),A("div",Ovn,Te(r.value.message),1)):te("",!0),n.value?(C(),A("div",Cvn,Te(n.value),1)):te("",!0)],512)]),_:1}))}}),Svn=le({__name:"ResponseBodyVirtual",props:{content:{},data:{},headers:{}},setup(e){const t=e,n=Q(()=>b6e(t.content)),{mimeType:r,attachmentFilename:o,dataUrl:a}=eOe({data:Ys(t,"data"),headers:Ys(t,"headers")});return(s,i)=>(C(),Y(z1,{class:"!max-h-100% response-body-virtual overflow-x-auto"},xs({title:B(()=>[i[0]||(i[0]=be("Body"))]),default:B(()=>[i[1]||(i[1]=L("div",{class:"font-code text-xxs rounded-t border border-b-0 px-2.5 py-1.5"}," This response body is massive! Syntax highlighting won't work here. ",-1)),H(O(tQ),{containerClass:"custom-scroll scalar-code-block border rounded-b flex flex-1 max-h-screen",contentClass:"language-plaintext whitespace-pre font-code text-base",lineHeight:20,text:n.value},null,8,["text"])]),_:2},[O(a)?{name:"actions",fn:B(()=>[H(eSe,{filename:O(o),href:O(a),type:O(r).essence},null,8,["filename","href","type"])]),key:"0"}:void 0]),1024))}}),Lvn={key:1,class:"text-c-3 bg-b-1 flex min-h-[65px] items-center justify-center border-t px-4 text-sm"},$vn=le({__name:"ResponseCookies",props:{cookies:{}},setup(e){return(t,n)=>(C(),Y(z1,{defaultOpen:!1},{title:B(()=>n[0]||(n[0]=[be("Cookies")])),default:B(()=>[(C(),A(je,{key:0},[t.cookies.length?(C(),Y(d0,{key:0,class:"flex-1",columns:["",""]},{default:B(()=>[(C(!0),A(je,null,_t(t.cookies,r=>(C(),Y(gn,{key:r.name},{default:B(()=>[H(s7,{text:r.name},null,8,["text"]),H(s7,{text:r.value},null,8,["text"])]),_:2},1024))),128))]),_:1})):(C(),A("div",Lvn," No cookies "))],64))]),_:1}))}}),Tvn=` .,,uod8B8bou,,.
2952
+ .-+=------------------====-====:.`,_bn={class:"flex-center flex w-full scale-75"},Sbn={class:"relative"},Lbn={class:"relative -ml-12"},$bn=le({__name:"EmptyState",setup(e){return(t,n)=>(C(),A("div",_bn,[L("div",Sbn,[H(O(wv),{class:"keycap-hotkey right-14 border-transparent py-0 text-xl",hotkey:""}),H(_x,{art:O(g1e),class:"text-c-3 !leading-[6px]"},null,8,["art"])]),L("div",Lbn,[n[0]||(n[0]=L("div",{class:"keycap-hotkey right-16 text-xl"},"K",-1)),H(_x,{art:O(g1e),class:"keycap-n !leading-[6px]"},null,8,["art"])])]))}}),xT=Dn($bn,[["__scopeId","data-v-45a9fc44"]]),Kk=le({__name:"ViewLayout",setup(e){const{cx:t}=tr();return(n,r)=>(C(),A("div",er(xr(O(t)("flex flex-col min-h-0 flex-1 *:border-t first:*:border-t-0 md:*:border-t-0 xl:overflow-hidden md:flex-row leading-3"))),[we(n.$slots,"default")],16))}}),Tbn={},Ebn={class:"custom-scroll flex flex-col pr-0 *:border-t *:first:border-t-0 xl:flex-row *:xl:border-t-0 *:xl:border-l *:first:xl:border-l-0"};function jbn(e,t){return C(),A("div",Ebn,[we(e.$slots,"default")])}const _M=Dn(Tbn,[["render",jbn]]);var f_={},uD,b1e;function Mbn(){return b1e||(b1e=1,uD=function(t){return t.map(function(n){return n===""?"''":n&&typeof n=="object"?n.op.replace(/(.)/g,"\\$1"):/["\s\\]/.test(n)&&!/'/.test(n)?"'"+n.replace(/(['])/g,"\\$1")+"'":/["'\s]/.test(n)?'"'+n.replace(/(["\\$`!])/g,"\\$1")+'"':String(n).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,"$1\\$2")}).join(" ")}),uD}var dD,v1e;function Abn(){if(v1e)return dD;v1e=1;for(var e="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",t=new RegExp("^"+e+"$"),n="|&;()<> \\t",r='"((\\\\"|[^"])*?)"',o="'((\\\\'|[^'])*?)'",a=/^#$/,s="'",i='"',l="$",c="",d=4294967296,f=0;f<4;f++)c+=(d*Math.random()).toString(16);var h=new RegExp("^"+c);function m(x,k){for(var _=k.lastIndex,S=[],T;T=k.exec(x);)S.push(T),k.lastIndex===T.index&&(k.lastIndex+=1);return k.lastIndex=_,S}function b(x,k,_){var S=typeof x=="function"?x(_):x[_];return typeof S>"u"&&_!=""?S="":typeof S>"u"&&(S="$"),typeof S=="object"?k+c+JSON.stringify(S)+c:k+S}function v(x,k,_){_||(_={});var S=_.escape||"\\",T="(\\"+S+`['"`+n+`]|[^\\s'"`+n+"])+",$=new RegExp(["("+e+")","("+T+"|"+r+"|"+o+")+"].join("|"),"g"),M=m(x,$);if(M.length===0)return[];k||(k={});var P=!1;return M.map(function(D){var U=D[0];if(!U||P)return;if(t.test(U))return{op:U};var Z=!1,V=!1,F="",ne=!1,ae;function oe(){ae+=1;var G,J,X=U.charAt(ae);if(X==="{"){if(ae+=1,U.charAt(ae)==="}")throw new Error("Bad substitution: "+U.slice(ae-2,ae+1));if(G=U.indexOf("}",ae),G<0)throw new Error("Bad substitution: "+U.slice(ae));J=U.slice(ae,G),ae=G}else if(/[*@#?$!_-]/.test(X))J=X,ae+=1;else{var K=U.slice(ae);G=K.match(/[^\w\d_]/),G?(J=K.slice(0,G.index),ae+=G.index-1):(J=K,ae=U.length)}return b(k,"",J)}for(ae=0;ae<U.length;ae++){var z=U.charAt(ae);if(ne=ne||!Z&&(z==="*"||z==="?"),V)F+=z,V=!1;else if(Z)z===Z?Z=!1:Z==s?F+=z:z===S?(ae+=1,z=U.charAt(ae),z===i||z===S||z===l?F+=z:F+=S+z):z===l?F+=oe():F+=z;else if(z===i||z===s)Z=z;else{if(t.test(z))return{op:U};if(a.test(z)){P=!0;var se={comment:x.slice(D.index+ae+1)};return F.length?[F,se]:[se]}else z===S?V=!0:z===l?F+=oe():F+=z}}return ne?{op:"glob",pattern:F}:F}).reduce(function(D,U){return typeof U>"u"?D:D.concat(U)},[])}return dD=function(k,_,S){var T=v(k,_,S);return typeof _!="function"?T:T.reduce(function($,M){if(typeof M=="object")return $.concat(M);var P=M.split(RegExp("("+c+".*?"+c+")","g"));return P.length===1?$.concat(P[0]):$.concat(P.filter(Boolean).map(function(D){return h.test(D)?JSON.parse(D.split(c)[1]):D}))},[])},dD}var y1e;function Nbn(){return y1e||(y1e=1,f_.quote=Mbn(),f_.parse=Abn()),f_}var Pbn=Nbn();function Ibn(e){const t=Pbn.parse(e).map(a=>typeof a=="object"&&"op"in a&&a.op==="glob"?a.pattern.trim():typeof a=="string"?a.trim():a).filter(a=>a!==""),n={url:""},r=t[Symbol.iterator]();let o=r.next().value;for(;o;)o==="-X"||o==="--request"?Rbn(r,n):o==="--url"?x1e(r,n):o==="-H"||o==="--header"?Dbn(r,n):o==="--data"||o==="-d"||o==="--data-raw"||o==="--data-urlencode"||o==="--data-binary"||o==="--data-ascii"?Ubn(r,n,e):typeof o=="string"&&!n.url&&(o.startsWith("http")||o.startsWith("www."))?x1e([o][Symbol.iterator](),n):o==="-P"?Bbn(r,n):typeof o=="string"&&o.toLowerCase().includes("content-type")?Hbn(o,n):o==="-u"||o==="--user"?Vbn(r,n):(o==="-b"||o==="--cookie")&&Fbn(r,n),o=r.next().value;return n}function Rbn(e,t){t.method=e.next().value.toLowerCase()}function x1e(e,t){const n=new URL(e.next().value.replace(/['"]/g,""));t.servers=[n.origin],t.path=n.pathname!=="/"?n.pathname:"",t.url=t.servers[0]+t.path;const r=K_e(n.search);t.queryParameters=t.queryParameters?[...t.queryParameters,...r]:r}function Dbn(e,t){const n=e.next().value.split(/:(.*)/);t.headers=t.headers||{},n[1]!==void 0?t.headers[n[0].trim()]=n[1].trim():t.headers[n[0].trim()]=""}function Bbn(e,t){const n=e.next().value.replace(/['"]/g,"").split("=");t.pathVariables=t.pathVariables||{},n[1]!==void 0?t.pathVariables[n[0].trim()]=n[1].trim():t.pathVariables[n[0].trim()]=""}function K_e(e){const t=[];return new URL(e,"http://example.com").searchParams.forEach((n,r)=>{t.push({key:r,value:n})}),t}function Hbn(e,t){const n=e.replace(/['"]/g,"").split(/:(.+)/);t.headers=t.headers||{},n[0]&&(n[1]!==void 0?t.headers[n[0].trim()]=n[1].trim():t.headers[n[0].trim()]="")}function Vbn(e,t){const n=e.next().value;try{const r=Y7(n);t.headers=t.headers||{},t.headers.Authorization=`Basic ${r}`}catch(r){console.warn("Could not base64 encode these HTTP basic auth credentials:",n,r)}}function Fbn(e,t){const n=e.next().value;t.headers=t.headers||{},t.headers.Cookie?t.headers.Cookie+=`; ${n}`:t.headers.Cookie=n.replace(/;$/,"")}function Ubn(e,t,n){const r=e.next().value;if(typeof r=="string"&&(r.startsWith("@")?t.body="":t.body=r,!t.url||n.includes("-G"))){const o=K_e(`?${t.body}`);t.queryParameters=t.queryParameters?[...t.queryParameters,...o]:o}}function zbn(e){try{return JSON.parse(e)}catch{const t={};return e.split("&").forEach(n=>{const[r,o]=n.split("=");r&&o&&(t[decodeURIComponent(r)]=decodeURIComponent(o))}),t}}function Wbn(e){const t=Ibn(e),{method:n="get",url:r,body:o="",headers:a={},servers:s,queryParameters:i=[]}=t,l=new URL(r).pathname,c=o?.includes("=")&&!o.startsWith("{")?"application/x-www-form-urlencoded":a["Content-Type"]||"",d=o?zbn(o):{},f=[...Array.isArray(i)?i.map(({key:h,value:m})=>({name:h,in:"query",schema:{type:typeof m,examples:[m]}})):[],...Object.entries(a||{}).map(([h,m])=>({name:h,in:"header",schema:{type:typeof m},example:m}))];return{method:n,url:r,path:l,headers:a,servers:s??[],...Object.keys(d).length>0&&{requestBody:{content:{[c]:{schema:{type:"object",properties:Object.fromEntries(Object.entries(d).map(([h,m])=>[h,{type:typeof m}]))},example:d}}}},parameters:f}}const Zbn={class:"lg:min-h-header t-app__top-container flex w-full flex-wrap items-center justify-center border-b p-2 pt-2 lg:p-1 lg:pt-1"},Qbn={class:"mb-2 flex w-1/2 flex-row items-center gap-1 lg:mb-0 lg:flex-1 lg:px-1"},qbn={class:"mb-2 flex w-1/2 flex-row items-center justify-end gap-1 lg:mb-0 lg:flex-1 lg:px-2.5"},Xbn=le({__name:"RequestSubpageHeader",props:{collection:{},operation:{},server:{},environment:{},envVariables:{},workspace:{}},emits:["hideModal","importCurl"],setup(e){const{hideClientButton:t,showSidebar:n,integration:r}=Sn(),{isSidebarOpen:o}=Ih(),{layout:a}=Ti(),{currentRoute:s}=sl();return(i,l)=>(C(),A("div",Zbn,[L("div",Qbn,[O(n)?(C(),A("div",{key:0,class:Ie(["size-8",{hidden:O(a)==="modal"&&!O(o)}])},null,2)):te("",!0)]),H(Lsn,{collection:i.collection,envVariables:i.envVariables,environment:i.environment,operation:i.operation,server:i.server,workspace:i.workspace,onImportCurl:l[0]||(l[0]=c=>i.$emit("importCurl",c))},null,8,["collection","envVariables","environment","operation","server","workspace"]),L("div",qbn,[O(a)==="modal"&&i.collection.documentUrl&&!O(t)?(C(),Y(O(tve),{key:0,buttonSource:"modal",class:"!w-fit lg:-mr-1",integration:O(r)??i.collection.integration??null,source:O(s).query.source==="gitbook"?"gitbook":"api-reference",url:i.collection.documentUrl},null,8,["integration","source","url"])):te("",!0),O(a)==="modal"?(C(),A("button",{key:1,class:"app-exit-button gitbook-hidden zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2",type:"button",onClick:l[1]||(l[1]=c=>i.$emit("hideModal"))},[H(O(Ct),{icon:"Close",size:"lg",thickness:"2"}),l[3]||(l[3]=L("span",{class:"sr-only"},"Close Client",-1))])):te("",!0),O(a)==="modal"?(C(),A("button",{key:2,class:"text-c-1 hover:bg-b-2 active:text-c-1 gitbook-show -mr-1.5 rounded p-2",type:"button",onClick:l[2]||(l[2]=c=>i.$emit("hideModal"))},[H(O(Ct),{icon:"Close",size:"md",thickness:"1.75"}),l[4]||(l[4]=L("span",{class:"sr-only"},"Close Client",-1))])):te("",!0)])]))}}),Ybn=Dn(Xbn,[["__scopeId","data-v-c8df97c6"]]),Gbn=["href"],Jq=le({__name:"HelpfulLink",props:{href:{}},setup(e){return(t,n)=>(C(),A("a",{class:"decoration-c-3 cursor-help underline underline-offset-2",href:t.href,rel:"noopener noreferrer",target:"_blank"},[we(t.$slots,"default")],8,Gbn))}}),J_e=[{name:"Accept",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept"},{name:"Accept-CH",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH"},{name:"Accept-CH-Lifetime",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH-Lifetime"},{name:"Accept-Charset",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Charset"},{name:"Accept-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding"},{name:"Accept-Language",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language"},{name:"Accept-Patch",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Patch"},{name:"Accept-Post",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Post"},{name:"Accept-Ranges",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Ranges"},{name:"Access-Control-Allow-Credentials",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials"},{name:"Access-Control-Allow-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers"},{name:"Access-Control-Allow-Methods",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods"},{name:"Access-Control-Allow-Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin"},{name:"Access-Control-Expose-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers"},{name:"Access-Control-Max-Age",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age"},{name:"Access-Control-Request-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers"},{name:"Access-Control-Request-Method",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method"},{name:"Age",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Age"},{name:"Allow",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Allow"},{name:"Alt-Svc",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Svc"},{name:"Alt-Used",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Used"},{name:"Authorization",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization"},{name:"Cache-Control",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control"},{name:"Clear-Site-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data"},{name:"Connection",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection"},{name:"Content-Disposition",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition"},{name:"Content-DPR",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-DPR"},{name:"Content-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding"},{name:"Content-Language",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language"},{name:"Content-Length",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length"},{name:"Content-Location",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Location"},{name:"Content-Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range"},{name:"Content-Security-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy"},{name:"Content-Security-Policy-Report-Only",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only"},{name:"Content-Type",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type"},{name:"Cookie",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie"},{name:"Critical-CH",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Critical-CH"},{name:"Cross-Origin-Embedder-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy"},{name:"Cross-Origin-Opener-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy"},{name:"Cross-Origin-Resource-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy"},{name:"Date",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date"},{name:"Device-Memory",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Device-Memory"},{name:"Digest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Digest"},{name:"DNT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DNT"},{name:"Downlink",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Downlink"},{name:"DPR",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DPR"},{name:"Early-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Early-Data"},{name:"ECT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ECT"},{name:"ETag",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag"},{name:"Expect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect"},{name:"Expect-CT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect-CT"},{name:"Expires",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires"},{name:"Forwarded",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded"},{name:"From",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/From"},{name:"Host",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Host"},{name:"If-Match",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Match"},{name:"If-Modified-Since",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since"},{name:"If-None-Match",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-None-Match"},{name:"If-Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Range"},{name:"If-Unmodified-Since",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Unmodified-Since"},{name:"Keep-Alive",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive"},{name:"Large-Allocation",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Large-Allocation"},{name:"Last-Modified",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Last-Modified"},{name:"Link",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link"},{name:"Location",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location"},{name:"Max-Forwards",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Max-Forwards"},{name:"NEL",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/NEL"},{name:"Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin"},{name:"Permissions-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy"},{name:"Pragma",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Pragma"},{name:"Proxy-Authenticate",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authenticate"},{name:"Proxy-Authorization",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization"},{name:"Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range"},{name:"Referer",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer"},{name:"Referrer-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy"},{name:"Retry-After",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After"},{name:"RTT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/RTT"},{name:"Save-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Save-Data"},{name:"Sec-CH-Prefers-Reduced-Motion",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Motion"},{name:"Sec-CH-Prefers-Reduced-Transparency",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Transparency"},{name:"Sec-CH-UA",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA"},{name:"Sec-CH-UA-Arch",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Arch"},{name:"Sec-CH-UA-Bitness",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Bitness"},{name:"Sec-CH-UA-Full-Version",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version"},{name:"Sec-CH-UA-Full-Version-List",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version-List"},{name:"Sec-CH-UA-Mobile",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Mobile"},{name:"Sec-CH-UA-Model",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Model"},{name:"Sec-CH-UA-Platform",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform"},{name:"Sec-CH-UA-Platform-Version",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform-Version"},{name:"Sec-Fetch-Dest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest"},{name:"Sec-Fetch-Mode",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Mode"},{name:"Sec-Fetch-Site",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Site"},{name:"Sec-Fetch-User",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-User"},{name:"Sec-GPC",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-GPC"},{name:"Sec-Purpose",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Purpose"},{name:"Sec-WebSocket-Accept",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Accept"},{name:"Server",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server"},{name:"Server-Timing",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing"},{name:"Service-Worker-Navigation-Preload",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Service-Worker-Navigation-Preload"},{name:"Set-Cookie",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie"},{name:"SourceMap",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap"},{name:"Strict-Transport-Security",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security"},{name:"TE",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/TE"},{name:"Timing-Allow-Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Timing-Allow-Origin"},{name:"Tk",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Tk"},{name:"Trailer",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Trailer"},{name:"Transfer-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding"},{name:"Upgrade",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade"},{name:"Upgrade-Insecure-Requests",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade-Insecure-Requests"},{name:"User-Agent",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent"},{name:"Vary",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary"},{name:"Via",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via"},{name:"Viewport-Width",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Viewport-Width"},{name:"Want-Digest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Want-Digest"},{name:"Warning",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Warning"},{name:"Width",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Width"},{name:"WWW-Authenticate",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate"},{name:"X-Content-Type-Options",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options"},{name:"X-DNS-Prefetch-Control",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control"},{name:"Non-standard",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{name:"X-Forwarded-For",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For"},{name:"Non-standard",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{name:"X-Forwarded-Host",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host"},{name:"Non-standard",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{name:"X-Forwarded-Proto",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto"},{name:"Non-standard",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{name:"X-Frame-Options",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options"},{name:"X-XSS-Protection",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection"},{name:"Cf-Cache-Status",url:"https://developers.cloudflare.com/cache/concepts/default-cache-behavior/#cloudflare-cache-responses"},{name:"Cf-Ray",url:"https://developers.cloudflare.com/fundamentals/get-started/reference/http-request-headers/#cf-ray"},{name:"Report-To",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to"},{name:"X-Cloud-Trace-Context",url:"https://cloud.google.com/trace/docs/trace-context#legacy-http-header"},{name:"Speculation-Rules",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Speculation-Rules"}],Kbn={key:0,class:"max-h-[calc(100%-32px)] overflow-y-auto"},Jbn={key:1,class:"text-c-3 bg-b-1 flex min-h-12 items-center justify-center rounded border px-4 text-base"},evn=le({__name:"RequestHeaders",props:{headers:{}},setup(e){const t=n=>J_e.find(r=>r.name.toLowerCase()===n.toLowerCase());return(n,r)=>(C(),Y(z1,{class:"overflow-auto",defaultOpen:!1,itemCount:n.headers.length},{title:B(()=>r[0]||(r[0]=[be("Request Headers")])),default:B(()=>[n.headers.length?(C(),A("div",Kbn,[H(d0,{columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:B(()=>[H(gn,{class:"sr-only !block"},{default:B(()=>[H(O(Id),null,{default:B(()=>r[1]||(r[1]=[be("Header Key")])),_:1,__:[1]}),H(O(Id),null,{default:B(()=>r[2]||(r[2]=[be("Header Value")])),_:1,__:[2]})]),_:1}),(C(!0),A(je,null,_t(n.headers,o=>(C(),Y(gn,{key:o.name,class:"group/row text-c-1"},{default:B(()=>[H(s7,{class:"bg-b-1 sticky left-0 z-1 max-w-full group-first/row:border-t-0"},{default:B(()=>[typeof t(o.name)?.url=="string"?(C(),Y(Jq,{key:0,class:"decoration-c-3",href:t(o.name).url},{default:B(()=>[be(Te(o.name),1)]),_:2},1032,["href"])):(C(),A(je,{key:1},[be(Te(o.name),1)],64))]),_:2},1024),H(s7,{class:"z-0 group-first/row:border-t-0",text:o.value},null,8,["text"])]),_:2},1024))),128))]),_:1})])):(C(),A("div",Jbn," No Headers "))]),_:1},8,["itemCount"]))}}),tvn=["download","href"],eSe=le({__name:"ResponseBodyDownload",props:{href:{},type:{},filename:{}},setup(e){const t=e,n=Q(()=>{const r=Kq(t.type??"")?.extension??".unknown";return t.filename?t.filename:`response${r}`});return(r,o)=>(C(),A("a",{class:"text-c-3 text-xxs hover:bg-b-3 flex items-center gap-1 rounded px-1.5 py-0.5 no-underline",download:`${n.value}`,href:r.href,onClick:o[0]||(o[0]=Jt(()=>{},["stop"]))},[H(O(Ct),{icon:"Download",size:"xs"}),o[1]||(o[1]=L("span",null,[L("span",null,"Download"),L("span",{class:"sr-only"},"Response Body")],-1))],8,tvn))}}),nvn={},rvn={class:"flex justify-center px-2 py-3"},ovn={class:"text-c-3 p-2 text-sm"};function avn(e,t){return C(),A("div",rvn,[L("div",ovn,[we(e.$slots,"default")])])}const tSe=Dn(nvn,[["render",avn]]),svn=["src"],ivn=["src","type"],lvn=["src","type"],cvn=["data","type"],uvn=le({__name:"ResponseBodyPreview",props:{src:{},type:{},mode:{},alpha:{type:Boolean,default:!1}},setup(e){const t=me(!1);return pt(()=>e.src,()=>t.value=!1),(n,r)=>!t.value&&n.src?(C(),A("div",{key:0,class:Ie(["flex justify-center overflow-auto rounded-b",{"bg-preview p-2":n.alpha}])},[n.mode==="image"?(C(),A("img",{key:0,class:Ie(["h-full max-w-full",{rounded:n.alpha}]),src:n.src,onError:r[0]||(r[0]=o=>t.value=!0)},null,42,svn)):n.mode==="video"?(C(),A("video",{key:1,autoplay:"",controls:"",width:"100%",onError:r[1]||(r[1]=o=>t.value=!0)},[L("source",{src:n.src,type:n.type},null,8,ivn)],32)):n.mode==="audio"?(C(),A("audio",{key:2,class:"my-12",controls:"",onError:r[2]||(r[2]=o=>t.value=!0)},[L("source",{src:n.src,type:n.type},null,8,lvn)],32)):(C(),A("object",{key:3,class:"aspect-[4/3] w-full",data:n.src,type:n.type,onError:r[3]||(r[3]=o=>t.value=!0)},null,40,cvn))],2)):(C(),Y(tSe,{key:1},{default:B(()=>r[4]||(r[4]=[be("Preview unavailable")])),_:1,__:[4]}))}}),dvn=Dn(uvn,[["__scopeId","data-v-0956ad2d"]]),fvn={class:"scalar-code-block group/code-block body-raw grid min-h-0 overflow-hidden p-px outline-none has-[:focus-visible]:outline"},pvn={class:"body-raw-scroller custom-scroll relative pr-1",tabindex:"0"},hvn=le({__name:"ResponseBodyRaw",props:{content:{},language:{}},setup(e){const t=e,n=me(null),r=Rr(),{codeMirror:o}=lke({codeMirrorRef:n,readOnly:!0,lineNumbers:!0,content:Ys(()=>K2(t.content)),language:Ys(()=>t.language),forceFoldGutter:!0}),a=()=>o.value?.state.doc.toString()||"";return(s,i)=>(C(),A("div",fvn,[a()?(C(),Y(O(r8e),{key:0,content:a(),controls:O(r),class:"z-context top-2 mr-2"},null,8,["content","controls"])):te("",!0),L("div",pvn,[L("div",{ref_key:"codeMirrorRef",ref:n},null,512)])]))}}),mvn=Dn(hvn,[["__scopeId","data-v-85d2902e"]]),gvn={class:"text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5"},bvn=le({__name:"ResponseBodyToggle",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e){return(t,n)=>(C(),A("div",gvn,[L("button",{class:Ie(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":t.modelValue}]),type:"button",onClick:n[0]||(n[0]=Jt(r=>t.$emit("update:modelValue",!0),["stop"]))}," Preview ",2),L("button",{class:Ie(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":!t.modelValue}]),type:"button",onClick:n[1]||(n[1]=Jt(r=>t.$emit("update:modelValue",!1),["stop"]))}," Raw ",2)]))}}),vvn={key:0,class:"bg-b-1 flex max-h-[calc(100%-32px)] flex-col overflow-hidden"},yvn={class:"box-content flex min-h-8 items-center justify-between border-y px-3"},xvn={class:"text-xxs font-code leading-3"},kvn=le({__name:"ResponseBody",props:{title:{},layout:{},data:{},headers:{}},setup(e){const t=e,n=me(!0),r=Q(()=>!!(c.value?.raw&&c.value.preview)),o=Q(()=>n.value||!r.value),a=Q(()=>!n.value||!r.value),{mimeType:s,attachmentFilename:i,dataUrl:l}=eOe({data:Ys(t,"data"),headers:Ys(t,"headers")}),c=Q(()=>Kq(s.value.essence));return(d,f)=>(C(),Y(z1,{class:"max-h-content overflow-y-hidden",layout:d.layout},xs({title:B(()=>[be(Te(d.title),1)]),default:B(()=>[d.data?(C(),A("div",vvn,[L("div",yvn,[L("span",xvn,Te(O(s).essence),1),r.value?(C(),Y(bvn,{key:0,modelValue:n.value,"onUpdate:modelValue":f[0]||(f[0]=h=>n.value=h)},null,8,["modelValue"])):te("",!0)]),c.value?.raw&&a.value?(C(),Y(mvn,{key:O(l),content:d.data,language:c.value.language},null,8,["content","language"])):te("",!0),c.value?.preview&&o.value?(C(),Y(dvn,{key:O(l),alpha:c.value.alpha,mode:c.value.preview,src:O(l),type:O(s).essence},null,8,["alpha","mode","src","type"])):te("",!0),!c.value?.raw&&!c.value?.preview?(C(),Y(tSe,{key:2},{default:B(()=>f[1]||(f[1]=[be(" Binary file ")])),_:1,__:[1]})):te("",!0)])):te("",!0)]),_:2},[d.data&&O(l)?{name:"actions",fn:B(()=>[H(eSe,{filename:O(i),href:O(l),type:O(s).essence},null,8,["filename","href","type"])]),key:"0"}:void 0]),1032,["layout"]))}}),wvn=Dn(kvn,[["__scopeId","data-v-17966bf4"]]),Ovn={class:"flex w-full items-center justify-between"},Cvn={key:0,class:"mr-2 flex items-center gap-2"},_vn={key:0,class:"text-red bg-b-danger sticky top-0 border-b p-2"},Svn={key:1,class:"p-2"},Lvn=le({__name:"ResponseBodyStreaming",props:{reader:{}},setup(e){const t=F7(),n=me(""),r=me(null),o=new TextDecoder,a=me(null),s=()=>{a.value&&(a.value.scrollTop=a.value.scrollHeight)};pt(n,()=>{In(s)});async function i(){try{for(;t.isLoading;){const{done:l,value:c}=await e.reader.read();if(l){t.stopLoading();break}c&&(n.value+=o.decode(c,{stream:!0}))}}catch(l){console.error("Error reading stream:",l),t.stopLoading(),r.value=l}finally{n.value+=o.decode()}}return en(()=>{t.startLoading(),i(),r.value=null}),li(()=>{e.reader.cancel(),t.stopLoading()}),(l,c)=>(C(),Y(z1,{class:"max-h-content overflow-y-hidden"},{title:B(()=>[L("div",Ovn,[c[1]||(c[1]=L("div",null,"Body",-1)),O(t).isLoading?(C(),A("div",Cvn,[H(O(vk),{loadingState:O(t),size:"xs"},null,8,["loadingState"]),c[0]||(c[0]=L("span",{class:"text-c-2"}," Listening… ",-1))])):te("",!0)])]),default:B(()=>[L("div",{ref_key:"contentContainer",ref:a,class:"text-xxs font-code h-full overflow-auto leading-2 whitespace-pre-wrap"},[r.value?(C(),A("div",_vn,Te(r.value.message),1)):te("",!0),n.value?(C(),A("div",Svn,Te(n.value),1)):te("",!0)],512)]),_:1}))}}),$vn=le({__name:"ResponseBodyVirtual",props:{content:{},data:{},headers:{}},setup(e){const t=e,n=Q(()=>b6e(t.content)),{mimeType:r,attachmentFilename:o,dataUrl:a}=eOe({data:Ys(t,"data"),headers:Ys(t,"headers")});return(s,i)=>(C(),Y(z1,{class:"!max-h-100% response-body-virtual overflow-x-auto"},xs({title:B(()=>[i[0]||(i[0]=be("Body"))]),default:B(()=>[i[1]||(i[1]=L("div",{class:"font-code text-xxs rounded-t border border-b-0 px-2.5 py-1.5"}," This response body is massive! Syntax highlighting won't work here. ",-1)),H(O(tQ),{containerClass:"custom-scroll scalar-code-block border rounded-b flex flex-1 max-h-screen",contentClass:"language-plaintext whitespace-pre font-code text-base",lineHeight:20,text:n.value},null,8,["text"])]),_:2},[O(a)?{name:"actions",fn:B(()=>[H(eSe,{filename:O(o),href:O(a),type:O(r).essence},null,8,["filename","href","type"])]),key:"0"}:void 0]),1024))}}),Tvn={key:1,class:"text-c-3 bg-b-1 flex min-h-[65px] items-center justify-center border-t px-4 text-sm"},Evn=le({__name:"ResponseCookies",props:{cookies:{}},setup(e){return(t,n)=>(C(),Y(z1,{defaultOpen:!1},{title:B(()=>n[0]||(n[0]=[be("Cookies")])),default:B(()=>[(C(),A(je,{key:0},[t.cookies.length?(C(),Y(d0,{key:0,class:"flex-1",columns:["",""]},{default:B(()=>[(C(!0),A(je,null,_t(t.cookies,r=>(C(),Y(gn,{key:r.name},{default:B(()=>[H(s7,{text:r.name},null,8,["text"]),H(s7,{text:r.value},null,8,["text"])]),_:2},1024))),128))]),_:1})):(C(),A("div",Tvn," No cookies "))],64))]),_:1}))}}),jvn=` .,,uod8B8bou,,.
2953
2953
  ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.
2954
2954
  ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,
2955
2955
  |||| '""^^!!||||||||||TFPRBBBVT!:...!
@@ -2979,8 +2979,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2979
2979
  '"^!|Tf998888888889!\` WBBBBbo.
2980
2980
  '"^!|Tf9989!\` YBBBP^'
2981
2981
  '"^!\` \`
2982
- `,Evn={class:"flex-center relative flex flex-1 flex-col gap-6 p-2 capitalize"},jvn={key:0,class:"scalar-version-number"},Mvn={class:"text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm"},Avn=le({__name:"ResponseEmpty",props:{collection:{},operation:{},workspace:{},numWorkspaceRequests:{}},setup(e){const{events:t,requestMutators:n}=Sn(),r=YQ(),o=sl(),{layout:a}=Ti(),s=()=>{const c=e.operation.tags?.length?{tags:e.operation.tags[0]?[e.operation.tags[0]]:[]}:{},d=n.add(c,e.collection.uid);d&&(o.push({name:"request",params:{workspace:e.workspace.uid,request:d.uid}}),In(()=>{t.hotKeys.emit({focusAddressBar:new KeyboardEvent("keydown",{key:"l"})})}))},i=c=>{c?.createNew&&r.name==="request"&&s()},l="2.7.0";return en(()=>t.hotKeys.on(i)),li(()=>t.hotKeys.off(i)),(c,d)=>(C(),A("div",Evn,[L("div",{class:Ie(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center",{"hidden opacity-0":c.numWorkspaceRequests<=1&&O(a)!=="modal"}])},[O(a)!=="modal"?(C(),A("div",jvn,[be(" Scalar App V"+Te(O(l))+" Beta ",1),d[3]||(d[3]=L("div",{class:"mt-2"},[L("a",{href:"https://github.com/scalar/scalar/issues/2669",target:"_blank"}," Roadmap ")],-1))])):te("",!0),d[4]||(d[4]=L("a",{class:"gitbook-show scalar-version-number",href:"https://www.scalar.com",target:"_blank"}," Powered By Scalar.com ",-1)),H(_x,{art:O(Tvn),class:"text-c-3"},null,8,["art"])],2),O(a)!=="modal"?(C(),A("div",{key:0,class:Ie(["hidden h-[calc(100%_-_50px)] items-center justify-center pb-5",{"!flex opacity-100":c.numWorkspaceRequests==1}])},[H(xT)],2)):te("",!0),L("div",Mvn,[O(a)!=="modal"?(C(),A("button",{key:0,class:"flex items-center gap-1.5",type:"button",onClick:d[0]||(d[0]=f=>O(t).commandPalette.emit())},[d[5]||(d[5]=be(" Get Started ")),H(O(wv),{hotkey:"k"})])):te("",!0),O(a)==="desktop"?(C(),A("button",{key:1,class:"flex items-center gap-1.5",type:"button",onClick:d[1]||(d[1]=f=>s())},[d[6]||(d[6]=be(" New Request ")),H(O(wv),{hotkey:"N"})])):te("",!0),L("button",{class:"flex items-center gap-1.5",type:"button",onClick:d[2]||(d[2]=f=>O(t).executeRequest.emit())},[d[7]||(d[7]=be(" Send Request ")),H(O(wv),{hotkey:"↵"})])])]))}}),Nvn=Dn(Avn,[["__scopeId","data-v-6d2bdb61"]]),Pvn={key:0,class:"max-h-[calc(100%-32px)] overflow-y-auto"},Ivn={key:1,class:"text-c-3 bg-b-1 flex min-h-12 items-center justify-center rounded border px-4 text-base"},Rvn=le({__name:"ResponseHeaders",props:{headers:{}},setup(e){const t=n=>J_e.find(r=>r.name.toLowerCase()===n.toLowerCase());return(n,r)=>(C(),Y(z1,{class:"overflow-auto",defaultOpen:!1,itemCount:n.headers.length},{title:B(()=>r[0]||(r[0]=[be("Response Headers")])),default:B(()=>[n.headers.length?(C(),A("div",Pvn,[H(d0,{columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:B(()=>[H(gn,{class:"sr-only !block"},{default:B(()=>[H(O(Id),null,{default:B(()=>r[1]||(r[1]=[be("Header Key")])),_:1,__:[1]}),H(O(Id),null,{default:B(()=>r[2]||(r[2]=[be("Header Value")])),_:1,__:[2]})]),_:1}),(C(!0),A(je,null,_t(n.headers,o=>(C(),Y(gn,{key:o.name,class:"group/row text-c-1"},{default:B(()=>[H(s7,{class:"bg-b-1 sticky left-0 z-1 max-w-full group-first/row:border-t-0"},{default:B(()=>[typeof t(o.name)?.url=="string"?(C(),Y(Jq,{key:0,class:"decoration-c-3",href:t(o.name).url},{default:B(()=>[be(Te(o.name),1)]),_:2},1032,["href"])):(C(),A(je,{key:1},[be(Te(o.name),1)],64))]),_:2},1024),H(s7,{class:"z-0 group-first/row:border-t-0",text:o.value},null,8,["text"])]),_:2},1024))),128))]),_:1})])):(C(),A("div",Ivn," No Headers "))]),_:1},8,["itemCount"]))}}),Dvn={key:0,class:"bg-b-1 z-overlay absolute inset-0 flex flex-col items-center justify-center gap-6"},Bvn=le({__name:"ResponseLoadingOverlay",setup(e){const{events:t}=Sn(),n=F7(),r=me();return t.requestStatus.on(o=>{o==="start"?r.value=setTimeout(()=>n.startLoading(),1e3):(clearTimeout(r.value),r.value=void 0,n.stopLoading())}),(o,a)=>(C(),Y(DGe,null,{default:B(()=>[O(n).isLoading?(C(),A("div",Dvn,[H(O(vk),{class:"text-c-3",loadingState:O(n),size:"3xl"},null,8,["loadingState"]),H(O(At),{variant:"ghost",onClick:a[0]||(a[0]=s=>O(t).cancelRequest.emit())},{default:B(()=>a[1]||(a[1]=[be(" Cancel ")])),_:1,__:[1]})])):te("",!0)]),_:1}))}}),Hvn=Dn(Bvn,[["__scopeId","data-v-5d3b84e1"]]);function Vvn(e){if(typeof e!="number")throw new TypeError("Expected a number");const t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(e*1e3)%1e3,nanoseconds:t(e*1e6)%1e3}}const Fvn=(e,t)=>t===1?e:`${e}s`,Uvn=1e-7;function k1e(e,t={}){if(!Number.isFinite(e))throw new TypeError("Expected a finite number");t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);const n=[],r=(s,i)=>{const l=Math.floor(s*10**i+Uvn);return(Math.round(l)/10**i).toFixed(i)},o=(s,i,l,c)=>{if((n.length===0||!t.colonNotation)&&s===0&&!(t.colonNotation&&l==="m"))return;c=(c||s||"0").toString();let d,f;if(t.colonNotation){d=n.length>0?":":"",f="";const h=c.includes(".")?c.split(".")[0].length:c.length,m=n.length>0?2:1;c="0".repeat(Math.max(0,m-h))+c}else d="",f=t.verbose?" "+Fvn(i,s):l;n.push(d+c+f)},a=Vvn(e);if(o(Math.trunc(a.days/365),"year","y"),o(a.days%365,"day","d"),o(a.hours,"hour","h"),o(a.minutes,"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(o(a.seconds,"second","s"),t.formatSubMilliseconds)o(a.milliseconds,"millisecond","ms"),o(a.microseconds,"microsecond","µs"),o(a.nanoseconds,"nanosecond","ns");else{const s=a.milliseconds+a.microseconds/1e3+a.nanoseconds/1e6,i=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,l=s>=1?Math.round(s):Math.ceil(s),c=i?s.toFixed(i):l;o(Number.parseFloat(c),"millisecond","ms",c)}else{const s=e/1e3%60,i=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,l=r(s,i),c=t.keepDecimalsOnWholeSeconds?l:l.replace(/\.0+$/,"");o(Number.parseFloat(c),"second","s",c)}if(n.length===0)return"0"+(t.verbose?" milliseconds":"ms");if(t.compact)return n[0];if(typeof t.unitCount=="number"){const s=t.colonNotation?"":" ";return n.slice(0,Math.max(t.unitCount,1)).join(s)}return t.colonNotation?n.join(""):n.join(" ")}const zvn={class:"text-c-1 flex gap-1.5"},Wvn={key:0},Zvn={key:0},Qvn={key:1},qvn=le({__name:"ResponseMetaInformation",props:{response:{}},setup(e){const t=e,{events:n}=Sn(),r=me(),o=me(0);n.requestStatus.on(i=>{i==="start"?r.value=setInterval(()=>o.value+=1e3,1e3):(clearInterval(r.value),r.value=void 0,o.value=0)});const a=i=>{const l=Number.parseInt(i.headers?.["Content-Length"]||i.headers?.["content-length"]||"0",10);return l?dMt(l):void 0},s=Q(()=>{const i=t.response.status;if(i)return LZ[i]??void 0});return(i,l)=>(C(),A("div",zvn,[r.value&&o.value?(C(),A("span",Wvn,Te(O(k1e)(o.value)),1)):(C(),A(je,{key:1},[L("span",null,[l[0]||(l[0]=L("span",{class:"sr-only"},"Response Information, Duration:",-1)),be(" "+Te(O(k1e)(i.response.duration)),1)]),a(i.response)?(C(),A("span",Zvn,[l[1]||(l[1]=L("span",{class:"sr-only"},", Size:",-1)),be(" "+Te(a(i.response)),1)])):te("",!0),s.value?(C(),A(je,{key:1},[l[2]||(l[2]=L("span",{class:"sr-only"},", Status:",-1)),s.value.url?(C(),Y(Jq,{key:0,class:"flex items-center gap-1.5",href:s.value.url},{default:B(()=>[be(Te(i.response.status)+" "+Te(s.value.name)+" ",1),L("span",{class:"block h-1.5 w-1.5 rounded-full",style:sr({backgroundColor:s.value.color})},null,4)]),_:1},8,["href"])):(C(),A("span",Qvn,[be(Te(i.response.status)+" "+Te(s.value.name)+" ",1),L("span",{class:"block h-1.5 w-1.5 rounded-full",style:sr({backgroundColor:s.value.color})},null,4)]))],64)):te("",!0)],64))]))}}),Xvn={class:"flex h-8 flex-1 items-center"},Yvn=["id","role"],w1e=2e5,Gvn=le({__name:"ResponseSection",props:{collection:{},operation:{},workspace:{},numWorkspaceRequests:{},response:{},requestResult:{}},setup(e){const t=$q().getViewComponents("response.section"),n=Q(()=>{const d=e.response?.headers;return d?Object.keys(d).map(f=>({name:f,value:d[f]??"",required:!1})):[]}),r=Q(()=>e.response?.cookieHeaderKeys.flatMap(d=>{const f=e.response?.headers?.[d];return f?{name:d,value:f,required:!1}:[]})??[]),o=["Cookies","Headers","Body"],a=me("All"),s=Q(()=>["All",...o]),i=Q(()=>Object.fromEntries(s.value.map(d=>[d,Rr()]))),l=Q(()=>{if(!e.response||!("size"in e.response))return!1;const d=e.response.headers?.["content-type"]||e.response.headers?.["Content-Type"];return!d||(e.response.size??0)<=w1e||d.includes("text/html")?!1:["text/","application/json","application/ld+json","application/problem+json","application/vnd.api+json","application/xml","application/atom+xml","application/rss+xml","application/problem+xml","application/javascript","application/ecmascript","application/x-yaml","application/yaml","application/x-httpd-php","application/x-sh","application/x-perl","application/x-python","application/x-ruby","application/x-java-source","application/x-www-form-urlencoded"].some(f=>d.includes(f))&&(e.response.size??0)>w1e}),c=Q(()=>e.requestResult?.request.parameters.headers.filter(d=>d.enabled).map(d=>({name:d.key,value:d.value,required:!0}))??[]);return(d,f)=>(C(),Y(Zu,{"aria-label":"Response"},{title:B(()=>[L("div",Xvn,[L("div",{"aria-live":"polite",class:Ie(["flex items-center",{"animate-response-heading":d.response}])},[f[1]||(f[1]=L("span",{class:"response-heading pointer-events-none absolute"}," Response ",-1)),d.response?(C(),Y(qvn,{key:0,class:"animate-response-children",response:d.response},null,8,["response"])):te("",!0)],2),H(vOe,{modelValue:a.value,"onUpdate:modelValue":f[0]||(f[0]=h=>a.value=h),filterIds:i.value,filters:s.value},null,8,["modelValue","filterIds","filters"])])]),default:B(()=>[L("div",{id:i.value.All,class:Ie(["custom-scroll response-section-content relative grid h-full justify-stretch",{"content-start":d.response}]),role:a.value==="All"&&d.response?"tabpanel":"none"},[d.response?(C(),A(je,{key:1},[a.value==="All"||a.value==="Cookies"?(C(),Y($vn,{key:0,class:"response-section-content-cookies",id:i.value.Cookies,cookies:r.value,role:a.value==="All"?"none":"tabpanel"},null,8,["id","cookies","role"])):te("",!0),a.value==="All"||a.value==="Headers"?(C(),Y(Kbn,{key:1,class:"response-section-content-headers",id:i.value.Headers,headers:c.value,role:a.value==="All"?"none":"tabpanel"},null,8,["id","headers","role"])):te("",!0),a.value==="All"||a.value==="Headers"?(C(),Y(Rvn,{key:2,class:"response-section-content-headers",id:i.value.Headers,headers:n.value,role:a.value==="All"?"none":"tabpanel"},null,8,["id","headers","role"])):te("",!0),(C(!0),A(je,null,_t(O(t),h=>(C(),Y(O(xc),{key:h.component},{default:B(()=>[Po((C(),Y(fo(h.component),lt({ref_for:!0},h.props??{}),null,16)),[[yi,a.value==="All"||a.value===h.title]])]),_:2},1024))),128)),a.value==="All"||a.value==="Body"?(C(),A(je,{key:3},["reader"in d.response?(C(),Y(_vn,{key:0,class:"response-section-content-body",id:i.value.Body,reader:d.response.reader},null,8,["id","reader"])):l.value&&typeof d.response?.data=="string"?(C(),Y(Svn,{key:1,id:i.value.Body,content:d.response.data,data:d.response?.data,headers:n.value,role:a.value==="All"?"none":"tabpanel"},null,8,["id","content","data","headers","role"])):(C(),Y(xvn,{key:2,class:"response-section-content-body",id:i.value.Body,layout:"client",active:!0,data:d.response?.data,headers:n.value,role:a.value==="All"?"none":"tabpanel",title:"Body"},null,8,["id","data","headers","role"]))],64)):te("",!0)],64)):(C(),Y(Nvn,{key:0,collection:d.collection,operation:d.operation,workspace:d.workspace,numWorkspaceRequests:d.numWorkspaceRequests},null,8,["collection","operation","workspace","numWorkspaceRequests"])),H(Hvn)],10,Yvn)]),_:1}))}}),Kvn=Dn(Gvn,[["__scopeId","data-v-7138ed84"]]),Jvn={class:"flex h-full"},eyn={key:0,class:"flex h-full flex-1 flex-col"},tyn=le({__name:"Request",props:{invalidParams:{},selectedSecuritySchemeUids:{},requestResult:{}},emits:["newTab"],setup(e){const{events:t}=Sn(),{isSidebarOpen:n}=Ih(),r=Sn(),{layout:o}=Ti(),{activeCollection:a,activeExample:s,activeRequest:i,activeWorkspace:l,activeServer:c,activeEnvVariables:d,activeEnvironment:f,activeWorkspaceRequests:h}=$o(),{modalState:m,requestHistory:b}=r,v=Q(()=>[...b].reverse().find(k=>k.request.uid===s.value?.uid));function x(k){t.commandPalette.emit({commandName:"Import from cURL",metaData:{parsedCurl:Ubn(k),collectionUid:a.value?.uid}})}return(k,_)=>O(a)&&O(l)?(C(),A("div",{key:0,class:Ie(["bg-b-1 relative z-0 flex h-full flex-1 flex-col overflow-hidden pt-0",{"!mr-0 !mb-0 !border-0":O(o)==="modal"}])},[L("div",Jvn,[O(i)?(C(),A("div",eyn,[H(qbn,{modelValue:O(n),"onUpdate:modelValue":_[0]||(_[0]=S=>_o(n)?n.value=S:null),collection:O(a),envVariables:O(d),environment:O(f),operation:O(i),server:O(c),workspace:O(l),onHideModal:_[1]||(_[1]=()=>O(m).hide()),onImportCurl:x},null,8,["modelValue","collection","envVariables","environment","operation","server","workspace"]),H(Kk,null,{default:B(()=>[O(s)?(C(),Y(_M,{key:0,class:Ie(["flex-1",[O(n)?"sidebar-active-hide-layout":""]])},{default:B(()=>[H(K1n,{collection:O(a),envVariables:O(d),environment:O(f),example:O(s),invalidParams:k.invalidParams,operation:O(i),selectedSecuritySchemeUids:k.selectedSecuritySchemeUids,server:O(c),workspace:O(l)},null,8,["collection","envVariables","environment","example","invalidParams","operation","selectedSecuritySchemeUids","server","workspace"]),H(Kvn,{collection:O(a),numWorkspaceRequests:O(h).length,operation:O(i),requestResult:k.requestResult,response:v.value?.response,workspace:O(l)},null,8,["collection","numWorkspaceRequests","operation","requestResult","response","workspace"])]),_:1},8,["class"])):te("",!0)]),_:1})])):(C(),Y(xT,{key:1}))])],2)):(C(),Y(xT,{key:1}))}}),nyn=Dn(tyn,[["__scopeId","data-v-57ae0d10"]]),O1e=Object.freeze(Object.defineProperty({__proto__:null,default:nyn},Symbol.toStringTag,{value:"Module"})),ryn=["for"],oyn=["id","placeholder","value"],ayn=le({__name:"LabelInput",props:{inputId:{},placeholder:{},value:{},layout:{}},emits:["updateValue"],setup(e,{emit:t}){const n=t,{cx:r}=tr(),o=a=>{const s=a.target;n("updateValue",s.value)};return(a,s)=>(C(),A("div",er(xr(O(r)("flex-1 flex gap-1 items-center pointer-events-none group"))),[a.layout!=="modal"?(C(),A(je,{key:0},[L("label",lt(O(r)("absolute w-full h-full top-0 left-0 pointer-events-auto opacity-0 cursor-text"),{for:a.inputId}),null,16,ryn),L("input",lt(O(r)("flex-1 text-c-1 rounded pointer-events-auto relative w-full pl-1.25 -ml-0.5 md:-ml-1.25 h-8 group-hover-input has-[:focus-visible]:outline z-10"),{id:a.inputId,placeholder:a.placeholder,value:a.value,onInput:o}),null,16,oyn)],64)):(C(),A("span",er(lt({key:1},O(r)("flex items-center text-c-1 h-8"))),Te(a.value),17))],16))}}),syn=Dn(ayn,[["__scopeId","data-v-fced736a"]]),iyn=["aria-label"],lyn={class:"group relative ml-1.25"},cyn=le({__name:"CollectionInfoForm",setup(e){const{activeCollection:t}=$o(),{collectionMutators:n}=Sn(),r=Q(()=>t?.value?.["x-scalar-icon"]||"interface-content-folder"),o=i=>{t?.value?.uid&&n.edit(t?.value?.uid,"x-scalar-icon",i)},a=i=>{t.value&&n.edit(t.value.uid,"info.title",i)},s=Q(()=>({icon:t?.value?.["x-scalar-icon"],title:t?.value?.info?.title,description:t?.value?.info?.description,version:t?.value?.info?.version}));return(i,l)=>(C(),A("div",{"aria-label":`Collection: ${s.value.title}`,class:"mx-auto flex h-fit w-full flex-col gap-2 pt-6 pb-3 md:mx-auto md:max-w-[720px]"},[H(Y_e,{modelValue:r.value,placement:"bottom-start","onUpdate:modelValue":l[0]||(l[0]=c=>o(c))},{default:B(()=>[H(O(At),{class:"hover:bg-b-2 aspect-square h-7 w-7 cursor-pointer rounded border border-transparent p-0 hover:border-inherit",variant:"ghost"},{default:B(()=>[H(O(sg),{class:"text-c-2 size-5",src:r.value,"stroke-width":"2"},null,8,["src"])]),_:1})]),_:1},8,["modelValue"]),L("div",lyn,[H(syn,{class:"text-xl font-bold",inputId:"collectionName",placeholder:"Untitled Collection",value:s.value.title,onUpdateValue:a},null,8,["value"])])],8,iyn))}}),uyn=Dn(cyn,[["__scopeId","data-v-68d5218e"]]),dyn={class:"bg-b-1 sticky -top-[104px] z-10 mx-auto w-full"},fyn={key:0,class:"flex max-w-40 items-center"},pyn={class:"text-c-1 mr-[6.25px] hidden overflow-hidden px-2 font-medium text-ellipsis whitespace-nowrap md:block"},hyn=le({__name:"CollectionNavigation",props:{isSticky:{type:Boolean}},setup(e){const{currentRoute:t}=sl(),{activeCollection:n}=$o(),r=Q(()=>[{displayName:"Overview",to:{name:"collection.overview",params:{[ln.Collection]:n.value?.uid}}},{displayName:"Servers",to:{name:"collection.servers",params:{[ln.Collection]:n.value?.uid}}},{displayName:"Authentication",to:{name:"collection.authentication",params:{[ln.Collection]:n.value?.uid}}},{displayName:"Environment",to:{name:"collection.environment",params:{[ln.Collection]:n.value?.uid}}},{displayName:"Settings",to:{name:"collection.settings"}}]);return(o,a)=>(C(),A("div",dyn,[H(uyn),L("div",{class:Ie(["items-center text-sm font-medium",o.isSticky?"h-fit border-b md:grid md:grid-cols-[1fr_720px_1fr] md:px-4":"flex md:mx-auto md:max-w-[720px]"])},[o.isSticky?(C(),A("div",fyn,[H(O(sg),{class:"text-c-2 hidden size-3.5 md:block",src:O(n)?.["x-scalar-icon"]||"interface-content-folder","stroke-width":"2"},null,8,["src"]),L("span",pyn,Te(O(n)?.info?.title),1)])):te("",!0),L("div",{class:Ie(["flex w-full max-w-[720px] gap-2 pl-1.5 md:ml-1.5 md:pl-0",!o.isSticky&&"border-b"])},[(C(!0),A(je,null,_t(r.value,({to:s,displayName:i},l)=>(C(),Y(O(rx),{key:l,class:"-ml-2 flex h-10 cursor-pointer items-center px-2 text-center text-sm font-medium whitespace-nowrap no-underline -outline-offset-1 has-[:focus-visible]:outline",to:s},{default:B(()=>[L("span",{class:Ie(["flex-center h-full w-full border-b",typeof s.name=="string"&&typeof O(t).name=="string"&&O(t).name?.startsWith(s.name)?"text-c-1 border-c-1":"text-c-2 hover:text-c-1 border-transparent"])},Te(i),3)]),_:2},1032,["to"]))),128))],2)],2)]))}}),myn={class:"w-full md:mx-auto md:max-w-[720px]"},gyn=le({__name:"Collection",setup(e){const{activeCollection:t}=$o(),n=sl(),r=me(null),{y:o}=BHt(r),a=Q(()=>o.value>104);return pt(t,s=>{if(s?.info?.title==="Drafts"){const i=s.requests[0];n.push({name:"request",params:{[ln.Request]:i}})}},{immediate:!0}),(s,i)=>(C(),Y(Kk,{ref_key:"el",ref:r,class:"h-fit overflow-auto pb-6 xl:overflow-auto"},{default:B(()=>[H(Zu,{class:"xl:h-fit"},{default:B(()=>[H(hyn,{isSticky:a.value},null,8,["isSticky"]),L("div",myn,[H(O(oM))])]),_:1})]),_:1},512))}}),byn=Object.freeze(Object.defineProperty({__proto__:null,default:gyn},Symbol.toStringTag,{value:"Module"})),vyn={class:"flex h-full w-full flex-col gap-2 pt-8"},yyn={class:"flex min-h-8 items-center justify-between gap-2 pl-1.5"},xyn={class:"has-[:focus-visible]:bg-b-1 group relative z-1 flex flex-col rounded-lg"},kyn={class:"flex h-full min-h-[calc(1rem*4)] flex-col"},wyn={key:1,class:"text-c-3 flex h-full items-center justify-center rounded-lg border p-4"},Oyn=le({__name:"MarkdownInput",props:{modelValue:{},environment:{},envVariables:{},workspace:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,r=me("preview"),o=me(null);pt(r,s=>{s==="edit"&&In(()=>{o.value?.focus()})});const a=()=>{requestAnimationFrame(()=>{r.value="preview"})};return(s,i)=>(C(),A("div",vyn,[L("div",yyn,[i[5]||(i[5]=L("h3",{class:"font-bold"},"Description",-1)),r.value==="preview"?(C(),Y(O(At),{key:0,class:"text-c-2 hover:text-c-1 flex items-center gap-2",size:"sm",type:"button",variant:"outlined",onClick:i[0]||(i[0]=l=>r.value="edit")},{default:B(()=>[H(O(Ct),{icon:"Pencil",size:"sm",thickness:"1.5"}),i[4]||(i[4]=L("span",null,"Edit",-1))]),_:1,__:[4]})):te("",!0)]),L("div",xyn,[L("div",kyn,[r.value==="preview"?(C(),A(je,{key:0},[s.modelValue&&s.modelValue.trim().length?(C(),A(je,{key:0},[s.modelValue?(C(),Y(O(ws),{key:0,class:"h-full flex-1 rounded border border-transparent p-1.5 hover:border-(--scalar-background-3)",value:s.modelValue,withImages:"",onDblclick:i[1]||(i[1]=l=>r.value="edit")},null,8,["value"])):te("",!0),i[6]||(i[6]=L("div",{class:"brightness-lifted bg-b-1 absolute inset-0 -z-1 hidden rounded group-hover:block group-has-[:focus-visible]:hidden"},null,-1))],64)):(C(),A("div",wyn,[H(O(At),{class:"hover:bg-b-2 hover:text-c-1 text-c-2 flex items-center gap-2",size:"sm",variant:"ghost",onClick:i[2]||(i[2]=l=>r.value="edit")},{default:B(()=>[H(O(Ct),{icon:"Pencil",size:"sm",thickness:"1.5"}),i[7]||(i[7]=L("span",null,"Write a description",-1))]),_:1,__:[7]})]))],64)):te("",!0),r.value==="edit"?(C(),Y(uf,{key:1,ref_key:"codeInputRef",ref:o,class:"h-full flex-1 border px-0.5 py-0",envVariables:s.envVariables,environment:s.environment,modelValue:s.modelValue,workspace:s.workspace,onBlur:a,"onUpdate:modelValue":i[3]||(i[3]=l=>n("update:modelValue",l))},null,8,["envVariables","environment","modelValue","workspace"])):te("",!0)])])]))}}),Cyn=Dn(Oyn,[["__scopeId","data-v-5997a667"]]),_yn=le({__name:"CollectionOverview",setup(e){const{activeCollection:t,activeEnvironment:n,activeEnvVariables:r,activeWorkspace:o}=$o(),{collectionMutators:a}=Sn(),s=i=>{t.value&&a.edit(t.value.uid,"info.description",i)};return(i,l)=>(C(),Y(Zu,null,{default:B(()=>[O(n)&&O(o)?(C(),Y(Cyn,{key:0,envVariables:O(r),environment:O(n),modelValue:O(t)?.info?.description??"",workspace:O(o),"onUpdate:modelValue":s},null,8,["envVariables","environment","modelValue","workspace"])):te("",!0)]),_:1}))}}),Syn=Object.freeze(Object.defineProperty({__proto__:null,default:_yn},Symbol.toStringTag,{value:"Module"})),Lyn={key:0},$yn={class:"flex flex-1 flex-col gap-1.5"},Tyn=["for"],Eyn={class:"centered-y bg-b-2 flex-center absolute right-1 z-1 rounded px-1 py-0.5"},nSe=le({__name:"Form",props:{title:{},options:{},data:{},onUpdate:{type:Function}},setup(e){const{activeEnvVariables:t,activeEnvironment:n,activeWorkspace:r}=$o(),o=Rr();return(a,s)=>(C(),Y(Zu,{class:"last:rounded-b-lg"},xs({default:B(()=>[L("div",$yn,[Object.keys(a.data).length>0&&O(r)?(C(),Y(d0,{key:0,columns:[""],class:"rounded-b-lg"},{default:B(()=>[(C(!0),A(je,null,_t(a.options,(i,l)=>(C(),Y(gn,{key:l,class:Ie({"border-t":l===0})},{default:B(()=>[H(jq,{class:"pr-9",lineWrapping:"",id:O(o),envVariables:O(t),environment:O(n),modelValue:a.data[i.key]??"",placeholder:i.placeholder,workspace:O(r),"onUpdate:modelValue":c=>a.onUpdate(i.key,c)},xs({default:B(()=>[L("label",{for:O(o)},Te(i.label),9,Tyn)]),_:2},[i.key==="description"?{name:"icon",fn:B(()=>[L("div",Eyn,[H(O(Ct),{icon:"Markdown",size:"lg"})])]),key:"0"}:void 0]),1032,["id","envVariables","environment","modelValue","placeholder","workspace","onUpdate:modelValue"])]),_:2},1032,["class"]))),128))]),_:1})):te("",!0)])]),_:2},[a.title||a.$slots.title?{name:"title",fn:B(()=>[a.title?(C(),A("span",Lyn,Te(a.title),1)):we(a.$slots,"title",{key:1})]),key:"0"}:void 0]),1024))}}),jyn=le({__name:"CollectionServerForm",props:{collectionId:{default:""},serverUid:{default:""}},setup(e){const t=e,{activeWorkspaceCollections:n}=$o(),{servers:r,serverMutators:o}=Sn(),a=[{label:"URL",key:"url",placeholder:"https://void.scalar.com",type:"text"},{label:"Description",key:"description",placeholder:"Production",type:"text"}],s=Q(()=>{const f=n.value.find(h=>h.uid===t.collectionId);return r[f&&typeof t.serverUid=="string"&&t.serverUid==="default"?f.servers[0]??"":f?.servers.find(h=>h===t.serverUid)??""]}),i=Q(()=>s.value?.url?s.value.url.match(ca.PATH)?.map(f=>f.slice(1,-1))??[]:[]);pt(i,f=>{if(!s.value)return;const h=s.value.variables?{...s.value.variables}:{};Object.keys(h).forEach(m=>{f.includes(m)||delete h[m]}),f.forEach(m=>{h[m]||(h[m]={default:""})}),o.edit(s.value.uid,"variables",h),Fa(d.value,"store-update-selected-server-properties",{key:"variables",value:h,options:{disableOldStoreUpdate:!0}})},{immediate:!0});const l=(f,h)=>{!n.value||!s.value||(o.edit(s.value.uid,f,h),(f==="url"||f==="description")&&Fa(d.value,"store-update-selected-server-properties",{key:f,value:h,options:{disableOldStoreUpdate:!0}}))},c=(f,h)=>{if(!s.value)return;const m=s.value.variables||{};m[f]={...m[f],default:h},o.edit(s.value.uid,"variables",m),Fa(d.value,"store-update-selected-server-properties",{key:"variables",value:m,options:{disableOldStoreUpdate:!0}})},d=Pc("wrapper-ref");return(f,h)=>(C(),A("div",{ref:"wrapper-ref",class:Ie(["divide-0.5 flex w-full flex-col divide-y rounded-b-lg text-sm",s.value?.variables&&"bg-b-1"])},[s.value?(C(),A(je,{key:0},[H(nSe,{data:s.value,onUpdate:l,options:a},null,8,["data"]),s.value.variables?(C(),Y(_q,{key:0,variables:s.value.variables,"onUpdate:variable":c},null,8,["variables"])):te("",!0)],64)):te("",!0)],2))}}),Myn={ref:"wrapper-ref",class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},Ayn={class:"flex flex-col gap-4"},Nyn={class:"rounded-lg border"},Pyn={class:"bg-b-2 flex items-start justify-between rounded-t-lg py-1 pr-1 pl-3 text-sm"},Iyn={key:1,class:"self-center"},Ryn={class:"text-c-3 flex h-full items-center justify-center rounded-lg border p-4"},Dyn=le({__name:"CollectionServers",setup(e){const{activeCollection:t}=$o(),{servers:n,events:r,serverMutators:o}=Sn(),a=ka(),s=me(null),i=Q(()=>!n||!t.value?.servers?[]:Object.values(n).filter(h=>t.value?.servers.includes(h.uid))),l=()=>r.commandPalette.emit({commandName:"Add Server"}),c=()=>{!t.value?.uid||!s.value||(o.delete(s.value,t.value.uid),Fa(f.value,"scalar-delete-server",{url:n[s.value]?.url??""}),a.hide())},d=h=>{s.value=h,a.show()},f=Pc("wrapper-ref");return(h,m)=>(C(),A("div",Myn,[L("div",Ayn,[m[2]||(m[2]=mu('<div class="flex items-start justify-between gap-2"><div class="flex flex-col gap-2"><div class="flex h-8 items-center"><h3 class="font-bold">Servers</h3></div><p class="text-sm"> Add different base URLs for your API. You can use <code class="font-code text-c-2">{variables}</code> for dynamic parts. </p></div></div>',1)),(C(!0),A(je,null,_t(i.value,(b,v)=>(C(),A("div",{key:b.uid},[L("div",Nyn,[L("div",Pyn,[b.description?(C(),Y(O(ws),{key:0,class:"self-center",value:b.description},null,8,["value"])):(C(),A("span",Iyn,"Server "+Te(v+1),1)),H(O(At),{class:"hover:bg-b-3 hover:text-c-1 h-fit p-1.25",variant:"ghost",onClick:x=>d(b.uid)},{default:B(()=>[H(O(z7),{class:"size-3.5"})]),_:2},1032,["onClick"])]),O(t)?(C(),Y(jyn,{key:0,collectionId:O(t).uid,serverUid:b.uid},null,8,["collectionId","serverUid"])):te("",!0)])]))),128)),L("div",Ryn,[H(O(At),{class:"hover:bg-b-2 hover:text-c-1 flex items-center gap-2",size:"sm",variant:"ghost",onClick:l},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Add",size:"sm",thickness:"1.5"}),m[1]||(m[1]=L("span",null,"Add Server",-1))]),_:1,__:[1]})])]),H(O(oi),{size:"xxs",state:O(a),title:`Delete ${s.value?O(n)[s.value]?.url:"Server"}`},{default:B(()=>[H(D3,{variableName:"Server",warningMessage:"Are you sure you want to delete this server? This action cannot be undone.",onClose:m[0]||(m[0]=b=>O(a).hide()),onDelete:c})]),_:1},8,["state","title"])],512))}}),C1e=Object.freeze(Object.defineProperty({__proto__:null,default:Dyn},Symbol.toStringTag,{value:"Module"})),Byn=["onClick"],Hyn=["placeholder"],rSe=le({__name:"EnvironmentColors",props:{activeColor:{},selector:{type:Boolean,default:!1}},emits:["select"],setup(e,{emit:t}){const n=e,r=t,o=me(""),a=me(null),s=me(!1),i=me(!1),l=[{color:"#FFFFFF"},{color:"#EF0006"},{color:"#EDBE20"},{color:"#069061"},{color:"#FB892C"},{color:"#0082D0"},{color:"#5203D1"},{color:"#FFC0CB"}],c=Q(()=>n.activeColor&&!l.some(m=>m.color===n.activeColor)||o.value?`background-color: ${n.activeColor||o.value};`:"background: linear-gradient(to right, rgb(235, 87, 87), rgb(242, 201, 76), rgb(76, 183, 130), rgb(78, 167, 252), rgb(250, 96, 122));"),d=()=>{s.value=!s.value,n.selector&&(i.value=!1),In(()=>{a.value&&a.value.focus()})};pt(o,m=>{m&&!m.startsWith("#")&&(o.value=`#${m}`),s.value=!0});const f=()=>{n.selector&&(i.value=!i.value)},h=m=>{r("select",m),n.selector&&(i.value=!1)};return(m,b)=>(C(),A("div",null,[s.value?te("",!0):(C(),A(je,{key:0},[n.selector&&!i.value?(C(),A("div",{key:0,class:Ie(["flex cursor-pointer items-center justify-center rounded-full",n.selector?"h-4 w-4":"h-5 w-5"]),style:sr({backgroundColor:m.activeColor}),onClick:f},[m.activeColor?(C(),Y(O(Ct),{key:0,class:Ie(["text-c-btn",n.selector&&"p-0.5"]),icon:"Checkmark",size:"xs"},null,8,["class"])):te("",!0)],6)):te("",!0),i.value||!n.selector?(C(),A("div",{key:1,class:Ie(["color-selector flex flex-row items-center justify-between gap-1.5 space-x-1",n.selector?"h-4":"min-h-10 min-w-[296px]"])},[(C(),A(je,null,_t(l,v=>L("div",{key:v.color,class:Ie(["flex cursor-pointer items-center justify-center rounded-full",n.selector?"h-4 w-4":"h-5 w-5"]),style:sr({backgroundColor:v.color}),onClick:x=>h(v.color)},[m.activeColor===v.color&&!o.value?(C(),Y(O(Ct),{key:0,class:Ie(["text-c-btn",n.selector&&"p-0.5"]),icon:"Checkmark",size:"xs"},null,8,["class"])):te("",!0)],14,Byn)),64)),b[2]||(b[2]=L("hr",{class:"border-ghost h-5 w-0.5 border-l"},null,-1)),L("label",{class:Ie(["z-10 flex cursor-pointer flex-row items-center justify-center gap-2 rounded-full",n.selector?"h-4 w-4":"h-5 w-5"]),style:sr(c.value),onClick:d},[!s.value&&(m.activeColor===o.value||m.activeColor&&!l.some(v=>v.color===m.activeColor))?(C(),Y(O(Ct),{key:0,class:"text-c-btn",icon:"Checkmark",size:"xs"})):te("",!0)],6)],2)):te("",!0)],64)),s.value?(C(),A("div",{key:1,class:Ie(["color-selector flex flex-1 items-center gap-2 rounded",n.selector?"h-4":"min-h-10"])},[L("span",{class:Ie(["absolute rounded-full border border-dashed",n.selector?"h-4 w-4":"h-5 w-5"])},null,2),L("span",{class:Ie(["z-[1] rounded-full",n.selector?"h-4 w-4":"h-5 w-5"]),style:sr(c.value)},null,6),Po(L("input",{ref_key:"customColorInputRef",ref:a,"onUpdate:modelValue":b[0]||(b[0]=v=>o.value=v),class:"w-full flex-1 border-transparent text-sm outline-none",placeholder:m.activeColor||"#000000",type:"text",onInput:b[1]||(b[1]=v=>h(o.value))},null,40,Hyn),[[Y2,o.value]]),L("button",{class:"text-c-3 hover:bg-b-2 rounded-lg p-1.5",type:"button",onClick:d},[H(O(Ct),{icon:"Checkmark",size:"xs"})])],2)):te("",!0)]))}}),Vyn={class:"flex flex-col gap-4"},oSe=le({__name:"EnvironmentColorModal",props:{state:{},selectedColor:{}},emits:["cancel","submit"],setup(e,{emit:t}){const n=e,r=t,o=me(""),a=i=>{o.value=i},s=()=>{r("submit",o.value),o.value=""};return(i,l)=>(C(),Y(O(oi),{size:"xxs",state:i.state,title:"Edit Environment Color"},{default:B(()=>[L("div",Vyn,[H(rSe,{activeColor:o.value||n.selectedColor,class:"w-full p-1",onSelect:a},null,8,["activeColor"]),H(OM,{onCancel:l[0]||(l[0]=c=>r("cancel")),onSubmit:s})])]),_:1},8,["state"]))}}),Fyn={class:"flex gap-2"},Uyn={class:"flex max-h-8 flex-1"},aSe=le({__name:"CommandActionForm",props:{loading:{},disabled:{type:Boolean,default:!1}},emits:["submit","cancel","back"],setup(e){const{cx:t}=tr();return(n,r)=>(C(),A("form",{class:"flex w-full flex-col gap-3",onKeydown:r[0]||(r[0]=cs(Jt(()=>{},["stop"]),["enter"])),onSubmit:r[1]||(r[1]=Jt(o=>n.$emit("submit"),["prevent","stop"]))},[L("div",er(xr(O(t)("relative flex min-h-20 flex-col rounded"))),[we(n.$slots,"default")],16),L("div",Fyn,[L("div",Uyn,[we(n.$slots,"options")]),H(O(At),{class:"max-h-8 p-0 px-3 text-xs",disabled:n.disabled,loading:n.loading,type:"submit"},{default:B(()=>[we(n.$slots,"submit",{},()=>[r[2]||(r[2]=be("Continue"))])]),_:3},8,["disabled","loading"])])],32))}}),zyn=["placeholder"],AS=le({inheritAttrs:!1,__name:"CommandActionInput",props:{modelValue:{},placeholder:{},autofocus:{type:Boolean}},emits:["update:modelValue","onDelete"],setup(e,{emit:t}){const n=e,r=t,o=me(null);en(()=>In(()=>{n.autofocus||o.value?.focus()}));const a=Q({get:()=>n.modelValue??"",set:l=>r("update:modelValue",l)});function s(l){if(l.shiftKey||!l.target)return;l.preventDefault();const c=l.target,d=new Event("submit",{cancelable:!0});c.form?.dispatchEvent(d)}function i(l){a.value===""&&(l.preventDefault(),l.stopPropagation(),r("onDelete",l))}return(l,c)=>Po((C(),A("textarea",lt({id:"command-action-input",ref_key:"input",ref:o,"onUpdate:modelValue":c[0]||(c[0]=d=>a.value=d),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:n.placeholder??"",wrap:"hard"},l.$attrs,{onKeydown:[c[1]||(c[1]=cs(d=>i(d),["delete"])),c[2]||(c[2]=cs(d=>s(d),["enter"]))]}),null,16,zyn)),[[Y2,a.value]])}}),Wyn={class:"flex items-start gap-2"},sSe=le({__name:"EnvironmentModal",props:{state:{},activeWorkspaceCollections:{},collectionId:{}},emits:["cancel","submit"],setup(e,{emit:t}){const n=e,r=t,{events:o}=Sn(),a=me(""),s=me("#FFFFFF"),i=Q(()=>[...n.activeWorkspaceCollections.filter(m=>m.info?.title!=="Drafts").map(m=>({id:m.uid,label:m.info?.title??"Untitled Collection"}))]),l=me(i.value.find(m=>m.id===n.collectionId)),{toast:c}=F1(),d=m=>{s.value=m};pt(()=>n.state.open,m=>{m&&(a.value="",s.value="#FFFFFF",n.collectionId?l.value=i.value.find(b=>b.id===n.collectionId):l.value=void 0)});const f=()=>{if(!a.value.trim()){c("Please enter a name before adding an environment.","error");return}if(!l.value?.id){c("Please select a collection before adding an environment.","error");return}r("submit",{name:a.value,color:s.value,type:l.value?.id==="global"?"global":"collection",collectionId:l.value?.id!=="global"?l.value?.id:void 0})},h=()=>{n.state.hide(),o.commandPalette.emit({commandName:"Create Collection"})};return(m,b)=>(C(),Y(O(oi),{bodyClass:"border-t-0 rounded-t-lg",size:"xs",state:m.state},{default:B(()=>[H(aSe,{disabled:!l.value||!a.value.trim(),onCancel:b[2]||(b[2]=v=>r("cancel")),onSubmit:f},{options:B(()=>[H(O(qd),{modelValue:l.value,"onUpdate:modelValue":b[1]||(b[1]=v=>l.value=v),options:i.value,placeholder:"Select Type"},{default:B(()=>[i.value.length>0?(C(),Y(O(At),{key:0,class:"hover:bg-b-2 max-h-8 w-fit justify-between gap-1 p-2 text-xs",variant:"outlined"},{default:B(()=>[L("span",{class:Ie(l.value?"text-c-1":"text-c-3")},Te(l.value?l.value.label:"Select Collection"),3),H(O(Ct),{class:"text-c-3",icon:"ChevronDown",size:"xs"})]),_:1})):(C(),Y(O(At),{key:1,class:"hover:bg-b-2 max-h-8 justify-between gap-1 p-2 text-xs",variant:"outlined",onClick:h},{default:B(()=>b[3]||(b[3]=[L("span",{class:"text-c-1"},"Create Collection",-1)])),_:1,__:[3]}))]),_:1},8,["modelValue","options"])]),submit:B(()=>b[4]||(b[4]=[be(" Add Environment ")])),default:B(()=>[L("div",Wyn,[H(rSe,{activeColor:s.value,class:"peer",selector:"",onSelect:d},null,8,["activeColor"]),H(AS,{modelValue:a.value,"onUpdate:modelValue":b[0]||(b[0]=v=>a.value=v),class:"-mt-[.5px] !p-0 peer-has-[.color-selector]:hidden",placeholder:"Environment name"},null,8,["modelValue"])])]),_:1},8,["disabled"])]),_:1},8,["state"]))}}),Zyn=le({__name:"EnvironmentForm",props:{collection:{},environment:{},workspace:{},envVariables:{}},setup(e){const{collectionMutators:t}=Sn(),n=me([]),r=me(new Set),o=me(new Map),a=me(!1),s=Q(()=>{if(!e.environment?.value)return[{key:"",value:""}];try{const m=JSON.parse(e.environment.value),b=Object.entries(m).map(([v,x])=>({key:v,value:String(x)}));return b.length===0?[{key:"",value:""}]:b}catch{return[{key:"",value:""}]}}),i=Q(()=>{const m=n.value[n.value.length-1];return m?m.key||m.value?[...n.value,{key:"",value:""}]:n.value:[{key:"",value:""}]}),l=Q(()=>{const m=new Map;return n.value.forEach((b,v)=>{if(b.key){const x=m.get(b.key)||[];x.push(v),m.set(b.key,x)}}),o.value.forEach((b,v)=>{if(b){const x=m.get(b)||[];x.push(v),m.set(b,x)}}),Array.from(m.values()).filter(b=>b.length>1).flat()});pt(s,m=>{n.value=[...m],r.value=new Set(m.map(b=>b.key).filter(Boolean))},{immediate:!0});const c=async(m,b,v)=>{if(!a.value){if(b==="key"){o.value.set(m,v);const x=new Set(r.value),k=n.value[m];if(k&&x.delete(k.key),x.has(v))return}a.value=!0;try{const x=[...n.value],k=x[m];if(!k)return;x[m]={key:b==="key"?v:k.key,value:b==="value"?v:k.value},!x[m].key&&!x[m].value&&m!==x.length-1&&x.splice(m,1);const _=x.reduce((S,{key:T,value:$})=>((T||$)&&(S[T]=$),S),{});if(e.collection){const S={...e.collection["x-scalar-environments"],[e.environment.name]:{...e.collection["x-scalar-environments"]?.[e.environment.name],variables:_}};await t.edit(e.collection.uid,"x-scalar-environments",S)}if(m===n.value.length-1){const S=x[x.length-1];S&&(S.key||S.value)&&await d()}await In(),n.value=x,b==="key"&&(r.value=new Set(x.map(S=>S.key).filter(Boolean)),o.value.delete(m))}finally{a.value=!1}}},d=async()=>{if(!a.value){a.value=!0;try{const m=[...n.value,{key:"",value:""}],b=m.reduce((v,{key:x,value:k})=>((x||k)&&(v[x]=k),v),{});if(e.collection){const v={...e.collection["x-scalar-environments"],[e.environment.name]:{...e.collection["x-scalar-environments"]?.[e.environment.name],variables:b}};await t.edit(e.collection.uid,"x-scalar-environments",v)}await In(),n.value=m}finally{a.value=!1}}},f=async m=>{if(!a.value){a.value=!0;try{const b=[...n.value];b.splice(m,1);const v=b.reduce((x,{key:k,value:_})=>((k||_)&&(x[k]=_),x),{});if(e.collection){const x={...e.collection["x-scalar-environments"],[e.environment.name]:{...e.collection["x-scalar-environments"]?.[e.environment.name],variables:v}};await t.edit(e.collection.uid,"x-scalar-environments",x)}await In(),n.value=b}finally{a.value=!1}}},h=async()=>{if(n.value.length===0)await d();else if(n.value.length>=1){const m=n.value[n.value.length-1];m&&(m.key||m.value)&&await d()}};return en(()=>{h()}),pt(()=>n.value,()=>{h()}),(m,b)=>(C(),Y(d0,{class:"group/table flex-1",columns:["",""]},{default:B(()=>[H(gn,{class:"sr-only !block"},{default:B(()=>[H(Id,null,{default:B(()=>b[0]||(b[0]=[be("Key")])),_:1,__:[0]}),H(Id,null,{default:B(()=>b[1]||(b[1]=[be("Value")])),_:1,__:[1]})]),_:1}),(C(!0),A(je,null,_t(i.value,(v,x)=>(C(),Y(gn,{key:x,class:Ie({error:l.value.includes(x)})},{default:B(()=>[H(ai,null,{default:B(()=>[H(uf,{disableCloseBrackets:"",disableEnter:"",disableTabIndent:"",lineWrapping:"",environment:m.environment,envVariables:m.envVariables,modelValue:v.key,placeholder:"Key",workspace:m.workspace,"onUpdate:modelValue":k=>c(x,"key",k)},xs({_:2},[l.value.includes(x)?{name:"icon",fn:B(()=>[H(O(O4e),{class:"text-red mr-0.75 size-3.5 brightness-[.9]"})]),key:"0"}:void 0]),1032,["environment","envVariables","modelValue","workspace","onUpdate:modelValue"])]),_:2},1024),H(ai,null,{default:B(()=>[H(uf,{class:"pr-6 group-hover:pr-10 group-has-[.cm-focused]:pr-10",disableCloseBrackets:"",disableEnter:"",disableTabIndent:"",lineWrapping:"",environment:m.environment,envVariables:m.envVariables,modelValue:v.value,placeholder:"Value",workspace:m.workspace,"onUpdate:modelValue":k=>c(x,"value",k)},{icon:B(()=>[v.key||v.value?(C(),Y(O(At),{key:0,class:"text-c-2 hover:text-c-1 hover:bg-b-2 z-context hidden h-fit rounded p-1 group-hover:flex group-has-[.cm-focused]:flex",size:"sm",variant:"ghost",onClick:Jt(k=>f(x),["stop"])},{default:B(()=>[H(O(z7),{class:"size-3.5"})]),_:2},1032,["onClick"])):te("",!0)]),_:2},1032,["environment","envVariables","modelValue","workspace","onUpdate:modelValue"])]),_:2},1024)]),_:2},1032,["class"]))),128))]),_:1}))}}),Qyn=Dn(Zyn,[["__scopeId","data-v-83bfcc8a"]]),qyn={class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},Xyn={class:"flex flex-col gap-4"},Yyn={class:"rounded-lg border"},Gyn={class:"bg-b-2 flex cursor-grab items-center justify-between rounded-t-lg px-1 py-1 text-sm"},Kyn={class:"flex items-center"},Jyn=["onClick"],exn={class:"text-c-3 flex h-full items-center justify-center rounded-lg border p-4"},txn=le({__name:"CollectionEnvironment",setup(e){const{activeCollection:t,activeWorkspace:n,activeEnvVariables:r}=$o(),{collectionMutators:o}=Sn(),a=ka(),s=ka(),i=ka(),l=ka(),c=me(""),d=me(null),f=me(void 0),h=Q(()=>t.value?.["x-scalar-environments"]?Object.entries(t.value["x-scalar-environments"]).map(([M,P])=>({uid:M,name:M,value:JSON.stringify(P.variables||{}),color:P.color||"#FFFFFF"})):[]),m=()=>{!t.value?.uid||!d.value||(o.removeEnvironment(d.value,t.value.uid),s.hide())},b=M=>{d.value=M,s.show()},v=M=>{t.value?.uid&&(o.addEnvironment(M.name,{variables:{},color:M.color},t.value.uid),i.hide())},x=M=>{d.value=M.name,c.value=M.color||"#FFFFFF",a.show()},k=M=>{if(!t.value?.uid||!d.value)return;const P={...t.value["x-scalar-environments"],[d.value]:{variables:t.value["x-scalar-environments"]?.[d.value]?.variables||{},color:M}};o.edit(t.value.uid,"x-scalar-environments",P),a.hide()},_=M=>{d.value=M,f.value=M,l.show()},S=()=>{d.value=null,f.value=void 0,l.hide()},T=M=>{if(!t.value?.uid||!d.value)return;const P={...t.value["x-scalar-environments"]};if(!P[d.value])return;const D={},U=Object.entries(P),Z=U.findIndex(([V])=>V===d.value);U.forEach(([V,F],ne)=>{ne===Z?D[M]=F:D[V]=F}),o.edit(t.value.uid,"x-scalar-environments",D),d.value=null,f.value=void 0,l.hide()},$=(M,P)=>{if(!t.value?.uid)return;const D={...t.value["x-scalar-environments"]},U={},Z=Object.entries(D),V=Z.findIndex(([ae])=>ae===M.id),F=Z.findIndex(([ae])=>ae===P.id);if(V===-1||F===-1)return;const ne=Z[V];ne&&(Z.splice(V,1),Z.splice(F,0,ne),Z.forEach(([ae,oe])=>{U[ae]=oe}),o.edit(t.value.uid,"x-scalar-environments",U))};return(M,P)=>(C(),Y(Zu,null,{default:B(()=>[L("div",qyn,[L("div",Xyn,[P[5]||(P[5]=L("div",{class:"flex items-start justify-between gap-2"},[L("div",{class:"flex flex-col gap-2"},[L("div",{class:"flex h-8 items-center"},[L("h3",{class:"font-bold"},"Environment Variables")]),L("p",{class:"text-sm"},[be(" Set environment variables at your collection level. Use "),L("code",{class:"font-code text-c-2"},"{{ variable }}"),be(" to add / search among the selected environment's variables in your request inputs. ")])])],-1)),(C(!0),A(je,null,_t(h.value,D=>(C(),Y(O(Gq),{key:D.name,id:D.name,isDraggable:!0,isDroppable:!0,parentIds:[],onOnDragEnd:$},{default:B(()=>[L("div",Yyn,[L("div",Gyn,[L("div",Kyn,[H(O(At),{class:"hover:bg-b-3 flex h-6 w-6 p-1",onClick:U=>x(D),variant:"ghost"},{default:B(()=>[L("span",{style:sr({backgroundColor:D.color||"#FFFFFF"}),class:"h-2.5 w-2.5 rounded-full"},null,4)]),_:2},1032,["onClick"]),L("button",{class:"hover:bg-b-3 rounded px-1 py-0.5 text-sm",onClick:U=>_(D.name)},Te(D.name),9,Jyn)]),H(O(At),{class:"hover:bg-b-3 hover:text-c-1 h-fit p-1.25",variant:"ghost",onClick:U=>b(D.name)},{default:B(()=>[H(O(z7),{class:"size-3.5"})]),_:2},1032,["onClick"])]),O(t)&&O(n)?(C(),Y(Qyn,{key:0,collection:O(t),environment:D,envVariables:O(r),workspace:O(n)},null,8,["collection","environment","envVariables","workspace"])):te("",!0)])]),_:2},1032,["id"]))),128)),L("div",exn,[H(O(At),{class:"hover:bg-b-2 hover:text-c-1 flex items-center gap-2",size:"sm",variant:"ghost",onClick:P[0]||(P[0]=D=>O(i).show())},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Add",size:"sm",thickness:"1.5"}),P[4]||(P[4]=L("span",null,"Add Environment",-1))]),_:1,__:[4]})])]),H(O(oi),{size:"xxs",state:O(s),title:`Delete ${d.value||"Environment"}`},{default:B(()=>[H(D3,{variableName:"Environment",warningMessage:"Are you sure you want to delete this environment? This action cannot be undone.",onClose:P[1]||(P[1]=D=>O(s).hide()),onDelete:m})]),_:1},8,["state","title"]),H(sSe,{activeWorkspaceCollections:O(t)?[O(t)]:[],collectionId:O(t)?.uid,state:O(i),onCancel:P[2]||(P[2]=D=>O(i).hide()),onSubmit:v},null,8,["activeWorkspaceCollections","collectionId","state"]),H(oSe,{selectedColor:c.value,state:O(a),onCancel:P[3]||(P[3]=D=>O(a).hide()),onSubmit:k},null,8,["selectedColor","state"]),H(O(oi),{size:"xxs",state:O(l),title:`Edit ${d.value}`},{default:B(()=>[H(CM,{name:f.value??"",onClose:S,onEdit:T},null,8,["name"])]),_:1},8,["state","title"])])]),_:1}))}}),nxn=Object.freeze(Object.defineProperty({__proto__:null,default:txn},Symbol.toStringTag,{value:"Module"})),rxn={class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},oxn={class:"flex flex-col gap-4"},axn={class:"flex flex-col gap-2"},sxn={class:"flex h-8 items-center justify-between"},ixn=le({__name:"CollectionAuthentication",setup(e){const{activeCollection:t,activeEnvVariables:n,activeEnvironment:r,activeServer:o,activeWorkspace:a}=$o(),{collectionMutators:s}=Sn(),i=()=>{t.value?.uid&&s.edit(t.value.uid,"useCollectionSecurity",!t.value.useCollectionSecurity)};return(l,c)=>(C(),A("div",rxn,[L("div",oxn,[L("div",axn,[L("div",sxn,[c[0]||(c[0]=L("h3",{class:"font-bold"},"Authentication",-1)),H(O(eQ),{class:"w-4",modelValue:O(t)?.useCollectionSecurity??!1,"onUpdate:modelValue":i},null,8,["modelValue"])]),c[1]||(c[1]=L("p",{class:"pr-6 text-sm"}," Added authentication will apply to all requests under this collection. You can override this by specifying another one in the request. ",-1))]),O(t)&&O(a)?(C(),Y(O(_Oe),{key:0,class:Ie(["scalar-collection-auth",!O(t)?.useCollectionSecurity&&"pointer-events-none opacity-50 mix-blend-luminosity"]),collection:O(t),envVariables:O(n),environment:O(r),layout:"client",selectedSecuritySchemeUids:O(t)?.selectedSecuritySchemeUids??[],server:O(o),title:"Authentication",workspace:O(a)},null,8,["class","collection","envVariables","environment","selectedSecuritySchemeUids","server","workspace"])):te("",!0)])]))}}),lxn=Dn(ixn,[["__scopeId","data-v-cc87292e"]]),cxn=Object.freeze(Object.defineProperty({__proto__:null,default:lxn},Symbol.toStringTag,{value:"Module"})),uxn=le({__name:"CollectionCookies",setup(e){return(t,n)=>(C(),Y(Zu,null,{title:B(()=>n[0]||(n[0]=[be("Cookies")])),_:1}))}}),dxn=Object.freeze(Object.defineProperty({__proto__:null,default:uxn},Symbol.toStringTag,{value:"Module"})),fxn=le({__name:"CollectionScripts",setup(e){return(t,n)=>(C(),Y(Zu,null,{title:B(()=>n[0]||(n[0]=[be("Scripts")])),_:1}))}}),pxn=Object.freeze(Object.defineProperty({__proto__:null,default:fxn},Symbol.toStringTag,{value:"Module"})),hxn=le({__name:"CollectionSync",setup(e){return(t,n)=>(C(),Y(Zu,null,{title:B(()=>n[0]||(n[0]=[be("Sync")])),_:1}))}}),mxn=Object.freeze(Object.defineProperty({__proto__:null,default:hxn},Symbol.toStringTag,{value:"Module"})),gxn={class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},bxn={class:"flex flex-col gap-2"},vxn={class:"bg-b-2 rounded-lg border text-sm"},yxn={class:"bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3"},xxn={class:"text-c-1 flex items-center overflow-x-auto border-t py-1.5 whitespace-nowrap"},kxn={class:"flex items-center"},wxn=["href"],Oxn={class:"flex flex-col gap-4"},Cxn={class:"flex items-center justify-between rounded-lg border p-3 text-sm"},_xn=le({__name:"CollectionSettings",setup(e){const{activeCollection:t,activeWorkspace:n,activeWorkspaceCollections:r}=$o(),{collectionMutators:o}=Sn(),{replace:a}=sl(),s=ka();function i(){t.value&&t.value?.documentUrl&&o.edit(t.value.uid,"watchMode",!t.value?.watchMode)}function l(){if(!t.value||!n.value)return;o.delete(t.value,n.value);const c=r.value[0];c&&a({name:"collection",params:{[ln.Workspace]:n.value.uid,[ln.Collection]:c.uid}}),s.hide()}return(c,d)=>(C(),A(je,null,[L("div",gxn,[L("div",bxn,[d[5]||(d[5]=L("div",{class:"flex h-8 items-center"},[L("h3",{class:"font-bold"},"Features")],-1)),L("div",vxn,[L("div",yxn,[d[2]||(d[2]=L("div",null,[L("h4",null,"Watch Mode"),L("p",{class:"text-c-2 mt-1"}," When enabled, the OpenAPI document will be polled for changes. The collection will be updated automatically. ")],-1)),H(O(eQ),{class:"w-4",disabled:!O(t)?.documentUrl,modelValue:O(t)?.watchMode??!1,"onUpdate:modelValue":i},null,8,["disabled","modelValue"])]),L("div",xxn,[L("div",kxn,[O(t)?.documentUrl?(C(),A(je,{key:0},[d[3]||(d[3]=L("span",{class:"bg-b-2 sticky left-0 pr-2 pl-3"},"Source",-1)),L("a",{class:"text-c-2 group rounded pr-3 no-underline hover:underline",href:O(t).documentUrl,target:"_blank"},[be(Te(O(t).documentUrl)+" ",1),H(O(Ct),{class:"ml-1 hidden w-2.5 group-hover:inline",icon:"ExternalLink"})],8,wxn)],64)):(C(),A(je,{key:1},[H(O(Ct),{class:"text-c-2 mr-2 ml-3 w-4",icon:"NotAllowed",size:"sm"}),d[4]||(d[4]=L("span",{class:"text-c-2 pr-3"}," No URL configured. Try importing an OpenAPI document from an URL. ",-1))],64))])])])]),L("div",Oxn,[d[8]||(d[8]=L("h3",{class:"font-bold"},"Danger Zone",-1)),L("div",Cxn,[d[7]||(d[7]=L("div",null,[L("h4",null,"Delete Collection"),L("p",{class:"text-c-2 mt-1"}," Be careful, my friend. Once deleted, there is no way to recover the collection. ")],-1)),H(O(At),{class:"custom-scroll h-8 gap-1.5 px-2.5 font-medium whitespace-nowrap shadow-none focus:outline-none",variant:"danger",onClick:d[0]||(d[0]=f=>O(s).show())},{default:B(()=>d[6]||(d[6]=[be(" Delete Collection ")])),_:1,__:[6]})])])]),H(O(oi),{size:"xxs",state:O(s),title:`Delete ${O(t)?.info?.title}`},{default:B(()=>[H(D3,{variableName:O(t)?.info?.title??"",warningMessage:"This action cannot be undone.",onClose:d[1]||(d[1]=f=>O(s).hide()),onDelete:l},null,8,["variableName"])]),_:1},8,["state","title"])],64))}}),Sxn=Dn(_xn,[["__scopeId","data-v-5170f3be"]]),Lxn=Object.freeze(Object.defineProperty({__proto__:null,default:Sxn},Symbol.toStringTag,{value:"Module"})),$xn={},Txn={class:"gap-1/2 flex flex-col px-3 pb-[75px]"};function Exn(e,t){return C(),A("ul",Txn,[we(e.$slots,"default")])}const iSe=Dn($xn,[["render",Exn]]),jxn={class:"absolute right-1 flex opacity-0 group-hover:opacity-100"},Mxn=le({__name:"SidebarListElementActions",props:{variable:{},warningMessage:{},isCopyable:{type:Boolean},isDeletable:{type:Boolean},isRenameable:{type:Boolean}},emits:["delete","rename"],setup(e,{emit:t}){const n=t,r=me({action:"None",name:""}),o=ka(),{copyToClipboard:a}=Sf();function s(c){r.value={action:c,name:e.variable.name},o.show()}function i(){o.hide(),r.value={action:"None",name:""}}function l(c){n("delete",c),i()}return(c,d)=>(C(),A(je,null,[L("div",jxn,[c.isCopyable?(C(),A("button",{key:0,class:"text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-[5px]",type:"button",onClick:d[0]||(d[0]=f=>O(a)(c.variable.name))},[H(O(Ct),{class:"h-3 w-3",icon:"Clipboard"})])):te("",!0),c.isRenameable?(C(),A("button",{key:1,class:"text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-[5px]",type:"button",onClick:d[1]||(d[1]=f=>n("rename",c.variable.uid))},[H(O(Ct),{class:"h-3 w-3",icon:"Edit"})])):te("",!0),!c.variable.isDefault&&c.isDeletable?(C(),A("button",{key:2,class:"text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-1",type:"button",onClick:d[2]||(d[2]=Jt(f=>s("Delete"),["prevent"]))},[H(O(Ct),{class:"h-3.5 w-3.5",icon:"Close"})])):te("",!0)]),H(O(oi),{size:"sm",state:O(o),title:`${r.value.action} ${r.value.name}`},{default:B(()=>[r.value.action==="Delete"?(C(),Y(D3,{key:0,variableName:r.value.name,warningMessage:c.warningMessage,onClose:i,onDelete:d[3]||(d[3]=f=>l(c.variable.uid))},null,8,["variableName","warningMessage"])):te("",!0)]),_:1},8,["state","title"])],64))}}),Axn={class:"empty-variable-name line-clamp-1 text-sm break-all group-hover:pr-5"},Nxn=le({__name:"SidebarListElement",props:{variable:{},warningMessage:{},to:{},isDeletable:{type:Boolean},isCopyable:{type:Boolean},isRenameable:{type:Boolean},isDraggable:{type:Boolean,default:!1},isDroppable:{type:[Boolean,Function],default:!1},collectionId:{}},emits:["delete","colorModal","rename","onDragEnd"],setup(e,{emit:t}){const n=t,r=sl(),o=d=>{d.metaKey?window.open(r.resolve(e.to).href,"_blank"):r.push(e.to)},a=d=>{n("delete",d)},s=d=>{n("colorModal",d)},i=d=>{n("rename",d)},l=me(null),c=Q(()=>({ceiling:.5,floor:.5}));return(d,f)=>{const h=WU("router-link");return C(),A("li",null,[H(O(Gq),{id:d.variable.uid,ref_key:"draggableRef",ref:l,ceiling:c.value.ceiling,floor:c.value.floor,isDraggable:d.isDraggable,isDroppable:d.isDroppable,parentIds:d.collectionId?[d.collectionId]:[],onOnDragEnd:f[2]||(f[2]=(...m)=>d.$emit("onDragEnd",...m))},{default:B(()=>[H(h,{class:Ie(["text-c-2 hover:bg-b-2 group relative flex h-8 items-center gap-1.5 rounded py-1 pr-1.5 font-medium no-underline",[d.variable.color?"pl-5":"pl-1.5"]]),exactActiveClass:"bg-b-2 !text-c-1",role:"button",to:d.to,onClick:f[1]||(f[1]=Jt(m=>o(m),["prevent"]))},{default:B(()=>[d.variable.color?(C(),A("button",{key:0,class:"hover:bg-b-3 rounded p-1.5",type:"button",onClick:f[0]||(f[0]=m=>s(d.variable.uid))},[L("div",{class:"h-2.5 w-2.5 rounded-xl",style:sr({backgroundColor:d.variable.color})},null,4)])):te("",!0),d.variable.icon?(C(),Y(O(Ct),{key:1,class:"text-sidebar-c-2 size-3.5 stroke-[2.25]",icon:d.variable.icon},null,8,["icon"])):te("",!0),L("span",Axn,Te(d.variable.name),1),H(Mxn,{isCopyable:!!d.isCopyable,isDeletable:!!d.isDeletable,isRenameable:!!d.isRenameable,variable:{...d.variable,isDefault:d.variable.isDefault??!1},warningMessage:d.warningMessage,onDelete:a,onRename:i},null,8,["isCopyable","isDeletable","isRenameable","variable","warningMessage"])]),_:1},8,["class","to"])]),_:1},8,["id","ceiling","floor","isDraggable","isDroppable","parentIds"])])}}}),WF=Dn(Nxn,[["__scopeId","data-v-0b6c70e4"]]);function Pxn(e,t){return{handleDragEnd:(n,r)=>{if(!n||!r)return;const{id:o,parentId:a}=n,{id:s,parentId:i,offset:l}=r;if(a!==i)return;const c=e.value.find(v=>v.uid===a);if(!c||!c["x-scalar-environments"])return;const d=c["x-scalar-environments"],f=Object.keys(d);({...d});const h=f.findIndex(v=>v===o);f.splice(h,1);const m=f.findIndex(v=>v===s)+(l===1?1:0);f.splice(m,0,o);const b=f.reduce((v,x)=>{const k=d[x];return k&&(v[x]=k),v},{});c["x-scalar-environments"]=b,t.edit(c.uid,"x-scalar-environments",c["x-scalar-environments"])},isDroppable:(n,r)=>n.parentId===r.parentId}}const Ixn={class:"flex-1"},Rxn=["onClick"],Dxn={class:"flex h-5 max-w-[14px] items-center justify-center"},Bxn=le({__name:"Environment",setup(e){const t=sl(),n=YQ(),{activeWorkspace:r,activeEnvironment:o,activeWorkspaceCollections:a,activeEnvVariables:s}=$o(),{events:i,workspaceMutators:l,collectionMutators:c}=Sn(),{collapsedSidebarFolders:d,toggleSidebarFolder:f}=Ih(),h=ka(),m=ka(),b=ka(),v=me(null),x=me("default"),k=me(""),_=me(void 0),S=me(void 0),T=me(void 0),{toast:$}=F1(),M=ue=>JSON.parse(ue);function P(ue,Se,de){ue&&(Se.uid===de?$(`Environment name already used in ${Se.info?.title}`,"error"):$("Environment name already used in another collection","error"))}const D=Q(()=>a.value.filter(ue=>ue.info?.title!=="Drafts"));function U(ue){D.value.some(Se=>{const de=Object.keys(Se["x-scalar-environments"]||{}).includes(ue.name);return P(de,Se,ue.collectionId),de})||(ue.collectionId&&(c.addEnvironment(ue.name,{variables:{},color:ue.color},ue.collectionId),d[ue.collectionId]||f(ue.collectionId),t.push({name:"environment.collection",params:{[ln.Collection]:ue.collectionId,[ln.Environment]:ue.name}})),m.hide())}function Z(ue){if(!o)return;const Se=M(ue);if(x.value==="default")l.edit(r.value?.uid,"environments",Se);else{const de=a.value.find(Ce=>Ce["x-scalar-environments"]?.[x.value??""]);if(de?.["x-scalar-environments"]?.[x.value??""]){const Ce=de["x-scalar-environments"][x.value??""];Ce&&(Ce.variables=Se,c.edit(de.uid,"x-scalar-environments",de["x-scalar-environments"]))}}}const V=ue=>{_.value=ue,m.show()},F=(ue,Se)=>{S.value=ue,_.value=Se,T.value=ue,b.show()},ne=ue=>{v.value=ue,k.value=a.value.find(Se=>Se["x-scalar-environments"]?.[ue])?.["x-scalar-environments"]?.[ue]?.color??"",h.show()},ae=ue=>{const Se=v.value;typeof Se=="string"&&(a.value.some(de=>de["x-scalar-environments"]?.[Se])&&a.value.forEach(de=>{de["x-scalar-environments"]?.[Se]&&(de["x-scalar-environments"][Se].color=ue,c.edit(de.uid,"x-scalar-environments",de["x-scalar-environments"]))}),h.hide())};function oe(ue){D.value.forEach(de=>{c.removeEnvironment(ue,de.uid)});const Se=D.value.flatMap(de=>Object.keys(de["x-scalar-environments"]||{}));if(Se.length>0){const de=Se[Se.length-1];if(!de)return;const Ce=a.value.find(pe=>Object.keys(pe["x-scalar-environments"]||{}).includes(de));x.value=de,t.push({name:"environment.collection",params:{[ln.Collection]:Ce?.uid,[ln.Environment]:de}}),Ce&&!d[Ce.uid]&&f(Ce.uid)}else x.value="default",t.push({name:"environment.default",params:{[ln.Workspace]:r.value?.uid}})}const z=()=>x.value==="default"?"Global Environment":x.value,se=()=>x.value==="default"?JSON.stringify(r.value?.environments,null,2):JSON.stringify(a.value.find(ue=>ue["x-scalar-environments"]?.[x.value??""])?.["x-scalar-environments"]?.[x.value??""]?.variables,null,2),G=ue=>d[ue],J=ue=>{ue?.createNew&&n.name==="environment"&&V()};pt(()=>[n.params[ln.Collection],n.params[ln.Environment]],([ue,Se])=>{ue?x.value=Se:x.value="default"}),en(()=>{x.value=n.params[ln.Environment]||"default",i.hotKeys.on(J);const ue=n.params[ln.Collection];ue&&!d[ue]&&f(ue)}),li(()=>i.hotKeys.off(J));const X=(ue,Se,de)=>{const Ce=de?{name:"environment.collection",params:{[ln.Workspace]:r.value?.uid,[ln.Collection]:de,[ln.Environment]:Se}}:{name:"environment.default",params:{[ln.Workspace]:r.value?.uid,[ln.Environment]:Se}};ue.metaKey?window.open(t.resolve(Ce).href,"_blank"):t.push(Ce)};function K(){S.value=void 0,_.value=void 0,T.value=void 0,b.hide()}function fe(ue){D.value.some(Se=>{const de=Object.keys(Se["x-scalar-environments"]||{}).includes(ue);return P(de,Se,_.value),de})||(ue&&S.value!=="default"&&a.value.forEach(Se=>{if(Se["x-scalar-environments"]?.[S.value??""]){const de=Se["x-scalar-environments"],Ce={};Object.keys(de).forEach(pe=>{const ke=de[pe];ke&&(pe===S.value?Ce[ue]=ke:Ce[pe]=ke)}),Se["x-scalar-environments"]=Ce,c.edit(Se.uid,"x-scalar-environments",Se["x-scalar-environments"])}}),ue&&x.value===S.value&&(x.value=ue),S.value=void 0,_.value=void 0,T.value=void 0,b.hide())}const{handleDragEnd:re,isDroppable:Ae}=Pxn(a,c);return pt(()=>n.query.openEnvironmentModal,ue=>{ue==="true"&&V()},{immediate:!0}),(ue,Se)=>(C(),Y(Kk,null,{default:B(()=>[H(Sq,{title:"Collections"},{content:B(()=>[L("div",Ixn,[H(iSe,null,{default:B(()=>[(C(),Y(WF,{key:"default",class:"text-xs",isCopyable:!1,to:{name:"environment",params:{[O(ln).Environment]:"default"}},type:"environment",variable:{name:"Global Environment",uid:"default",icon:"Globe",isDefault:!0}},null,8,["to"])),(C(!0),A(je,null,_t(D.value,de=>(C(),A("li",{key:de.uid,class:"gap-1/2 flex flex-col"},[L("button",{class:"hover:bg-b-2 group flex w-full items-center gap-1.5 rounded p-1.5 text-left text-sm font-medium break-words",type:"button",onClick:Ce=>O(f)(de.uid)},[L("span",Dxn,[H(O(sg),{class:"text-sidebar-c-2 size-3.5 min-w-3.5 stroke-2 group-hover:hidden",src:de["x-scalar-icon"]||"interface-content-folder"},null,8,["src"]),L("div",{class:Ie({"rotate-90":O(d)[de.uid]})},[H(O(Ct),{class:"text-c-3 hover:text-c-1 hidden text-sm group-hover:block",icon:"ChevronRight",size:"md"})],2)]),be(" "+Te(de.info?.title??""),1)],8,Rxn),Po(L("div",{class:Ie({"before:bg-border relative mb-[.5px] before:pointer-events-none before:absolute before:top-0 before:left-3 before:z-1 before:h-[calc(100%_+_.5px)] before:w-[.5px] last:mb-0 last:before:h-full":Object.keys(de["x-scalar-environments"]||{}).length>0})},[(C(!0),A(je,null,_t(de["x-scalar-environments"],(Ce,pe)=>(C(),Y(WF,{key:pe,class:"text-xs",collectionId:de.uid,isCopyable:!1,isDeletable:!0,isRenameable:!0,isDraggable:!0,isDroppable:O(Ae),to:{name:"environment.collection",params:{[O(ln).Collection]:de.uid,[O(ln).Environment]:pe}},type:"environment",variable:{name:pe,uid:pe,color:Ce.color??"#FFFFFF",isDefault:!1},warningMessage:"Are you sure you want to delete this environment?",onClick:Jt(ke=>X(ke,pe,de.uid),["prevent"]),onColorModal:ke=>ne(pe),onDelete:ke=>oe(pe),onRename:ke=>F(pe,de.uid),onOnDragEnd:O(re)},null,8,["collectionId","isDroppable","to","variable","onClick","onColorModal","onDelete","onRename","onOnDragEnd"]))),128)),Object.keys(de["x-scalar-environments"]||{}).length===0?(C(),Y(O(At),{key:0,class:"text-c-1 hover:bg-b-2 flex h-8 w-full justify-start gap-1.5 py-0 pl-6 text-xs",variant:"ghost",onClick:Ce=>V(de.uid)},{default:B(()=>[H(O(Ct),{icon:"Add",size:"sm"}),Se[2]||(Se[2]=L("span",null,"Add Environment",-1))]),_:2,__:[2]},1032,["onClick"])):te("",!0)],2),[[yi,G(de.uid)]])]))),128))]),_:1})])]),button:B(()=>[H(Yq,{click:V,hotkey:"N"},{title:B(()=>Se[3]||(Se[3]=[be(" Add Environment ")])),_:1})]),_:1}),H(_M,{class:"flex-1"},{default:B(()=>[H(Zu,null,xs({default:B(()=>[x.value&&O(r)?(C(),Y(uf,{key:0,class:"py-2 pr-2 pl-px md:px-4",envVariables:O(s),environment:O(o),language:"json",lineNumbers:"",lint:"",modelValue:se(),workspace:O(r),"onUpdate:modelValue":Z},null,8,["envVariables","environment","modelValue","workspace"])):te("",!0)]),_:2},[x.value?{name:"title",fn:B(()=>[L("span",null,Te(z()),1)]),key:"0"}:void 0]),1024)]),_:1}),H(oSe,{selectedColor:k.value,state:O(h),onCancel:Se[0]||(Se[0]=de=>O(h).hide()),onSubmit:ae},null,8,["selectedColor","state"]),H(sSe,{activeWorkspaceCollections:D.value,collectionId:_.value,state:O(m),onCancel:Se[1]||(Se[1]=de=>O(m).hide()),onSubmit:U},null,8,["activeWorkspaceCollections","collectionId","state"]),H(O(oi),{size:"xxs",state:O(b),title:`Edit ${S.value}`},{default:B(()=>[H(CM,{name:T.value??"",onClose:K,onEdit:fe},null,8,["name"])]),_:1},8,["state","title"])]),_:1}))}}),_1e=Object.freeze(Object.defineProperty({__proto__:null,default:Bxn},Symbol.toStringTag,{value:"Module"})),Hxn=le({__name:"CookieForm",setup(e){const{activeCookieId:t}=$o(),{cookies:n,cookieMutators:r}=Sn(),o=[{label:"Name",key:"name",placeholder:"session_id"},{label:"Value",key:"value",placeholder:"my-cookie-session-id"},{label:"Domain",key:"domain",placeholder:"example.com"}],a=Q(()=>n[t.value]||o7.parse({name:"",value:"",domain:"",path:""})),s=(i,l)=>{r.edit(t.value,i,l)};return(i,l)=>(C(),Y(nSe,{data:a.value,onUpdate:s,options:o},null,8,["data"]))}}),Vxn={class:"flex h-8 items-start gap-2 text-sm"},Fxn={class:"flex h-8 items-start gap-2 text-sm"},Uxn={class:"flex h-8 items-start gap-2 text-sm"},zxn=le({__name:"CookieModal",props:{state:{}},emits:["cancel","submit"],setup(e,{emit:t}){const n=e,r=t,o=me({name:"",value:"",domain:""}),{toast:a}=F1(),s=()=>{if(!o.value.name||!o.value.value){a("Please fill in all fields before adding a cookie.","error");return}r("submit",o.value),n.state.hide()};return pt(()=>n.state.open,i=>{i&&(o.value={name:"",value:"",domain:""})}),(i,l)=>(C(),Y(O(oi),{size:"xs",state:i.state,title:"Add Cookie"},{default:B(()=>[H(aSe,{disabled:!o.value.name||!o.value.value,onCancel:l[3]||(l[3]=c=>r("cancel")),onSubmit:s},{submit:B(()=>l[7]||(l[7]=[be("Add Cookie")])),default:B(()=>[L("div",Vxn,[l[4]||(l[4]=be(" Name: ")),H(AS,{modelValue:o.value.name,"onUpdate:modelValue":l[0]||(l[0]=c=>o.value.name=c),autofocus:"",class:"!p-0",placeholder:"session_id"},null,8,["modelValue"])]),L("div",Fxn,[l[5]||(l[5]=be(" Value: ")),H(AS,{modelValue:o.value.value,"onUpdate:modelValue":l[1]||(l[1]=c=>o.value.value=c),autofocus:"",class:"!p-0",placeholder:"my-cookie-session-id"},null,8,["modelValue"])]),L("div",Uxn,[l[6]||(l[6]=be(" Domain: ")),H(AS,{modelValue:o.value.domain,"onUpdate:modelValue":l[2]||(l[2]=c=>o.value.domain=c),autofocus:"",class:"!p-0",placeholder:"example.com"},null,8,["modelValue"])])]),_:1},8,["disabled"])]),_:1},8,["state"]))}}),Wxn=Dn(zxn,[["__scopeId","data-v-694018d6"]]),Zxn={class:"flex-1"},Qxn={class:"relative mb-[.5px] last:mb-0"},qxn=le({__name:"Cookies",setup(e){const{cookies:t,cookieMutators:n,events:r,workspaceMutators:o}=Sn(),{activeWorkspace:a,activeCookieId:s}=$o(),i=sl(),l=YQ(),c=ka(),d=k=>{const _=o7.parse({name:k.name,value:k.value,domain:k.domain,path:"/"});n.add(_),o.edit(a.value?.uid,"cookies",[...a.value?.cookies??[],_.uid]),i.push({name:"cookies",params:{cookies:_.uid}})},f=k=>{n.delete(k),o.edit(a.value?.uid,"cookies",[...(a.value?.cookies??[]).filter(S=>S!==k)]);const _=Object.values(t).filter(S=>S.uid!==k);if(_.length>0){const S=_[_.length-1];S&&i.push(S.uid)}else i.push({name:"cookies",params:{[ln.Cookies]:"default"}})},h=()=>{c.show()},m=k=>{k?.createNew&&l.name==="cookies"&&h()},b=(k,_)=>{const S={name:"cookies",params:{workspace:a.value?.uid??"default",cookies:_}};if(k.metaKey){const T=i.resolve(S).href;window.open(T,"_blank");return}i.push(S)};en(()=>r.hotKeys.on(m)),li(()=>r.hotKeys.off(m));const v=Q(()=>t[s.value]),x=Q(()=>Object.keys(t).length>0&&v.value);return pt(()=>l.query.openCookieModal,k=>{k==="true"&&h()},{immediate:!0}),(k,_)=>(C(),Y(Kk,null,{default:B(()=>[H(O(Sq),{title:"Cookies"},{content:B(()=>[L("div",Zxn,[H(iSe,null,{default:B(()=>[(C(!0),A(je,null,_t(Object.values(O(t)),S=>(C(),A("li",{key:S.uid,class:"gap-1/2 flex flex-col"},[L("div",Qxn,[(C(),Y(WF,{key:S.uid,class:"text-xs",isDeletable:"",to:{name:"cookies",params:{[O(ln).Cookies]:S.uid}},type:"cookies",variable:{name:S.name,uid:S.uid},warningMessage:"Are you sure you want to delete this cookie?",onClick:Jt(T=>b(T,S.uid),["prevent"]),onDelete:T=>f(S.uid)},null,8,["to","variable","onClick","onDelete"]))])]))),128))]),_:1})])]),button:B(()=>[H(Yq,{click:h,hotkey:"N"},{title:B(()=>_[1]||(_[1]=[be(" Add Cookie ")])),_:1})]),_:1}),H(_M,{class:"flex-1"},{default:B(()=>[x.value?(C(),Y(Zu,{key:0,class:"*:border-b-0"},{title:B(()=>_[2]||(_[2]=[be("Edit Cookie")])),default:B(()=>[H(Hxn)]),_:1})):(C(),Y(xT,{key:1}))]),_:1}),H(Wxn,{state:O(c),onCancel:_[0]||(_[0]=S=>O(c).hide()),onSubmit:d},null,8,["state"])]),_:1}))}}),Xxn=Object.freeze(Object.defineProperty({__proto__:null,default:qxn},Symbol.toStringTag,{value:"Module"})),Yxn=le({__name:"IntegrationLogo",props:{integration:{}},setup(e){const t=e,n=["adonisjs","dotnet","elysiajs","express","fastapi","fastify","go","hono","laravel","litestar","nestjs","nextjs","nitro","nuxt","platformatic","react","rust","svelte"],r=Q(()=>{const o="Openapi",a=t.integration?.toLocaleLowerCase();if(!a)return o;const s=a.charAt(0).toUpperCase()+a.slice(1);return n.includes(a)?s:o});return(o,a)=>(C(),Y(O(Ct),{class:"h-full w-full rounded-lg",logo:r.value},null,8,["logo"]))}}),Gxn={class:"flex flex-col gap-2"},Kxn=le({__name:"SettingsAppearance",setup(e){const{colorMode:t,setColorMode:n}=MZ(),r=ks({base:"w-full shadow-none text-c-1 justify-start pl-2 gap-2 border",variants:{active:{true:"bg-primary text-c-1 hover:bg-inherit",false:"bg-b-1 hover:bg-b-2"}}});return(o,a)=>(C(),A("div",Gxn,[H(O(At),{class:Ie(O(is)(O(r)({active:O(t)==="system"}))),onClick:a[0]||(a[0]=s=>O(n)("system"))},{default:B(()=>[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":O(t)==="system"}])},[O(t)==="system"?(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):te("",!0)],2),a[3]||(a[3]=be(" System Preference (default) "))]),_:1,__:[3]},8,["class"]),H(O(At),{class:Ie(O(is)(O(r)({active:O(t)==="light"}))),onClick:a[1]||(a[1]=s=>O(n)("light"))},{default:B(()=>[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":O(t)==="light"}])},[O(t)==="light"?(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):te("",!0)],2),a[4]||(a[4]=be(" Light Mode Always "))]),_:1,__:[4]},8,["class"]),H(O(At),{class:Ie(O(is)(O(r)({active:O(t)==="dark"}))),onClick:a[2]||(a[2]=s=>O(n)("dark"))},{default:B(()=>[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":O(t)==="dark"}])},[O(t)==="dark"?(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):te("",!0)],2),a[5]||(a[5]=be(" Dark Mode Always "))]),_:1,__:[5]},8,["class"])]))}}),Jxn={class:"flex flex-col gap-2"},ekn={key:0,class:"font-bold"},tkn={key:1,class:"text-c-2 mb-4 leading-[21px]"},p_=le({__name:"SettingsSection",setup(e){return(t,n)=>(C(),A("div",Jxn,[t.$slots.title?(C(),A("h3",ekn,[we(t.$slots,"title")])):te("",!0),t.$slots.description?(C(),A("p",tkn,[we(t.$slots,"description")])):te("",!0),we(t.$slots,"default")]))}}),nkn={class:"bg-b-1 h-full w-full overflow-auto"},rkn={class:"mr-auto ml-auto w-full max-w-[720px] px-5 py-5"},okn={class:"flex flex-col gap-8"},akn={class:"flex flex-col gap-2"},skn={class:"flex flex-col gap-2"},ikn={class:"grid grid-cols-2 gap-2"},lkn={class:"flex items-center gap-2"},ckn={class:"flex items-center gap-1"},ukn={class:"grid grid-cols-2 gap-2"},dkn={class:"flex items-center gap-2"},fkn={class:"flex items-center gap-1"},pkn={class:"size-7 rounded-xl"},eb="https://proxy.scalar.com",hkn=le({__name:"SettingsGeneral",setup(e){const{activeWorkspace:t}=$o(),{proxyUrl:n,workspaceMutators:r}=Sn(),o=["default","alternate","purple","solarized","saturn","kepler"],a=["elysiajs","fastify"],s=d=>({default:{light:"#fff",dark:"#0f0f0f",accent:"#0099ff"},alternate:{light:"#f9f9f9",dark:"#131313",accent:"#e7e7e7"},moon:{light:"#ccc9b3",dark:"#313332",accent:"#645b0f"},purple:{light:"#f5f6f8",dark:"#22252b",accent:"#5469d4"},solarized:{light:"#fdf6e3",dark:"#00212b",accent:"#007acc"},bluePlanet:{light:"#f0f2f5",dark:"#000e23",accent:"#e0e2e6"},saturn:{light:"#e4e4df",dark:"#2c2c30",accent:"#1763a6"},kepler:{light:"#f6f6f6",dark:"#0d0f1e",accent:"#7070ff"},mars:{light:"#f2efe8",dark:"#321116",accent:"#c75549"},deepSpace:{light:"#f4f4f5",dark:"#09090b",accent:"#8ab4f8"},laserwave:{light:"#f4f2f7",dark:"#27212e",accent:"#ed78c2"},none:{light:"#ffffff",dark:"#000000",accent:"#3b82f6"}})[d]||{light:"#ffffff",dark:"#000000",accent:"#3b82f6"},i=d=>r.edit(t.value?.uid,"themeId",d),l=ks({base:"w-full shadow-none text-c-1 justify-start pl-2 gap-2 border",variants:{active:{true:"bg-primary text-c-1 hover:bg-inherit",false:"bg-b-1 hover:bg-b-2"}}}),c=d=>r.edit(t.value?.uid,"proxyUrl",d);return(d,f)=>(C(),A("div",nkn,[L("div",rkn,[L("div",okn,[f[13]||(f[13]=L("div",null,[L("h2",{class:"mt-10 text-xl font-bold"},"Settings")],-1)),H(p_,null,{title:B(()=>f[3]||(f[3]=[be(" CORS Proxy ")])),description:B(()=>f[4]||(f[4]=[be(" Browsers block cross-origin requests for security. We provide a public proxy to "),L("a",{class:"hover:text-c-1 underline-offset-2",href:"https://en.wikipedia.org/wiki/Cross-origin_resource_sharing",target:"_blank"}," bypass CORS issues ",-1),be(" . Check the "),L("a",{class:"hover:text-c-1 underline-offset-2",href:"https://github.com/scalar/scalar/tree/main/examples/proxy-server",target:"_blank"}," source code on GitHub ",-1),be(" . ")])),default:B(()=>[L("div",akn,[H(O(At),{class:Ie(O(is)(O(l)({active:O(t)?.proxyUrl===eb}))),onClick:f[0]||(f[0]=h=>c(eb))},{default:B(()=>[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":O(t)?.proxyUrl===eb}])},[O(t)?.proxyUrl===eb?(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):te("",!0)],2),f[5]||(f[5]=be(" Use proxy.scalar.com (default) "))]),_:1,__:[5]},8,["class"]),O(n)&&O(n)!==eb?(C(),Y(O(At),{key:0,class:Ie(O(is)(O(l)({active:O(t)?.proxyUrl===O(n)}))),onClick:f[1]||(f[1]=h=>c(O(n)))},{default:B(()=>[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":O(t)?.proxyUrl===O(n)}])},[O(t)?.proxyUrl===O(n)?(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):te("",!0)],2),be(" Use custom proxy ("+Te(O(n))+") ",1)]),_:1},8,["class"])):te("",!0),H(O(At),{class:Ie(O(is)(O(l)({active:!O(t)?.proxyUrl}))),onClick:f[2]||(f[2]=h=>c(void 0))},{default:B(()=>[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",!O(t)?.proxyUrl&&"bg-c-accent text-b-1 border-transparent"])},[O(t)?.proxyUrl?te("",!0):(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"}))],2),f[6]||(f[6]=be(" Skip the proxy "))]),_:1,__:[6]},8,["class"])])]),_:1}),H(p_,null,{title:B(()=>f[7]||(f[7]=[be(" Themes ")])),description:B(()=>f[8]||(f[8]=[be(" We've got a whole rainbow of themes for you to play with: ")])),default:B(()=>[L("div",skn,[L("div",ikn,[(C(),A(je,null,_t(o,h=>H(O(At),{key:h,class:Ie(O(is)(O(l)({active:O(t)?.themeId===h}))),onClick:m=>i(h)},{default:B(()=>[L("div",lkn,[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":O(t)?.themeId===h}])},[O(t)?.themeId===h?(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):te("",!0)],2),be(" "+Te(O(lx)[h]),1)]),L("div",ckn,[L("span",{class:"border-c-3 -mr-3 inline-block h-5 w-5 rounded-full",style:sr({backgroundColor:s(h).light})},null,4),L("span",{class:"border-c-3 -mr-3 inline-block h-5 w-5 rounded-full",style:sr({backgroundColor:s(h).dark})},null,4),L("span",{class:"border-c-3 inline-block h-5 w-5 rounded-full",style:sr({backgroundColor:s(h).accent})},null,4)])]),_:2},1032,["class","onClick"])),64))])])]),_:1}),H(p_,null,{title:B(()=>f[9]||(f[9]=[be(" Framework Themes ")])),description:B(()=>f[10]||(f[10]=[be(" Are you a real fan? Show your support by using your favorite framework's theme! ")])),default:B(()=>[L("div",ukn,[(C(),A(je,null,_t(a,h=>H(O(At),{key:h,class:Ie(O(is)(O(l)({active:O(t)?.themeId===h}))),onClick:m=>i(h)},{default:B(()=>[L("div",dkn,[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":O(t)?.themeId===h}])},[O(t)?.themeId===h?(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):te("",!0)],2),be(" "+Te(O(lx)[h]),1)]),L("div",fkn,[L("div",pkn,[H(Yxn,{integration:h},null,8,["integration"])])])]),_:2},1032,["class","onClick"])),64))])]),_:1}),H(p_,null,{title:B(()=>f[11]||(f[11]=[be(" Appearance ")])),description:B(()=>f[12]||(f[12]=[be(" Choose between light, dark, or system-based appearance for your workspace. ")])),default:B(()=>[H(Kxn)]),_:1})])])]))}}),mkn=le({__name:"Settings",setup(e){const t={general:{component:hkn,title:"general"}},n=me("general");return(r,o)=>(C(),Y(Kk,null,{default:B(()=>[H(_M,{class:"flex-1"},{default:B(()=>[t[n.value]?(C(),Y(fo(t[n.value].component),{key:0})):te("",!0)]),_:1})]),_:1}))}}),gkn=Object.freeze(Object.defineProperty({__proto__:null,default:mkn},Symbol.toStringTag,{value:"Module"}));</script>
2983
- <style rel="stylesheet" crossorigin>html,body{--tw-bg-opacity: 1 !important;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))!important;box-sizing:border-box;overflow-y:auto}body{margin-left:auto;margin-right:auto;padding:2.5rem 7.5rem;min-height:100vh;overflow-x:hidden}#root{width:100%;font-family:Inter;height:100%;box-sizing:border-box;min-height:calc(100Vh - 5rem)}.flexible{display:flex;align-items:center}@font-face{font-family:Inter;src:url(./fonts/Inter/Inter-VariableFont_wght.ttf) format("truetype");font-weight:100 200 300 400 500 600 700 800 900}@font-face{font-family:Roboto_Mono;src:url(./fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf) format("truetype");font-weight:100 200 300 400 500 600 700 800 900}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}::-webkit-scrollbar{width:.625rem;height:.625rem}::-webkit-scrollbar-track{background:#ffffff26;border-radius:.313rem}::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:.313rem;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background:#ffffffb3}._header_1y6yq_1{display:flex;max-height:47px;min-height:47px;align-items:center;justify-content:space-between;padding:.875rem 1.5rem;box-sizing:border-box}._container_1y6yq_5{display:flex;width:100%;flex-direction:column;row-gap:0px}._buttonContainer_1y6yq_8{display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;-moz-column-gap:.5rem;column-gap:.5rem}._miniFlexBlock_nr6ew_1{display:flex;flex-direction:column;align-items:flex-start;row-gap:.25rem}._tinyFlexRow_nr6ew_4{display:flex;flex-direction:row;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem}._tinyFlexResponsiveRow_nr6ew_7{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem}@media (min-width: 1240px){._tinyFlexResponsiveRow_nr6ew_7{flex-direction:row;align-items:center}}._tinyFlexBlock_nr6ew_10{display:flex;flex-direction:column;align-items:flex-start;row-gap:.5rem}._smallFlexRow_nr6ew_13{display:flex;flex-direction:row;align-items:center;-moz-column-gap:1rem;column-gap:1rem}._smallFlexBlock_nr6ew_16{display:flex;flex-direction:column;align-items:flex-start;row-gap:1rem}._smallFlexResponsiveRow_nr6ew_19{display:flex;flex-direction:column;align-items:flex-start;gap:1rem}@media (min-width: 744px){._smallFlexResponsiveRow_nr6ew_19{flex-direction:row;align-items:center}}._mediumFlexRow_nr6ew_22{display:flex;width:100%;flex-direction:row;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem}@media (min-width: 744px){._mediumFlexRow_nr6ew_22{-moz-column-gap:1.5rem;column-gap:1.5rem}}._mediumFlexBlock_nr6ew_25{display:flex;flex-direction:column;align-items:flex-start;row-gap:.75rem}@media (min-width: 1240px){._mediumFlexBlock_nr6ew_25{row-gap:1.5rem}}._largeFlexBlock_nr6ew_28{display:flex;flex-direction:column;align-items:flex-start;row-gap:.75rem}@media (min-width: 1440px){._largeFlexBlock_nr6ew_28{row-gap:2.5rem}}._fullWidth_nr6ew_31{width:100%}._justifyBetween_nr6ew_34{justify-content:space-between}._justifyCenter_nr6ew_37{justify-content:center}._justifyEnd_nr6ew_40{justify-content:flex-end}._itemsStart_nr6ew_43{align-items:flex-start}._itemsCenter_nr6ew_46{align-items:center}._buttonPadding_nr6ew_49{padding:.5rem!important}._smallButtonPadding_nr6ew_52{padding:.25rem .5rem!important}._buttonSquarePadding_nr6ew_55{padding:.5rem!important}._fullHeight_nr6ew_58{height:100%}._cursorPointer_nr6ew_61{cursor:pointer}._flexGrow_nr6ew_64{flex-grow:1}._positionRelative_nr6ew_67{position:relative}._borderedBox_ljsv8_1{flex:1 1 0%;row-gap:1rem;border-radius:.375rem;padding:1.25rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}._clickable_ljsv8_4{cursor:pointer}._bordered_1a2g2_1{box-sizing:border-box;border-radius:.375rem;border-width:1px;border-style:solid}._bordered--main-green_1a2g2_4{--tw-border-opacity: 1;border-color:rgb(33 250 144 / var(--tw-border-opacity, 1))}._bordered--main-dark-blue_1a2g2_7{--tw-border-opacity: 1;border-color:rgb(0 40 61 / var(--tw-border-opacity, 1))}._bordered--tertiary-blue_1a2g2_10{--tw-border-opacity: 1;border-color:rgb(37 136 228 / var(--tw-border-opacity, 1))}._bordered--error-red_1a2g2_13{--tw-border-opacity: 1;border-color:rgb(250 33 33 / var(--tw-border-opacity, 1))}._bordered--warning-yellow_1a2g2_16{--tw-border-opacity: 1;border-color:rgb(254 185 40 / var(--tw-border-opacity, 1))}._bordered--dark-blue_1a2g2_19{--tw-border-opacity: 1;border-color:rgb(0 52 79 / var(--tw-border-opacity, 1))}._bordered--white_1a2g2_22{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}._bordered--rich-black_1a2g2_25{--tw-border-opacity: 1;border-color:rgb(0 5 11 / var(--tw-border-opacity, 1))}._bordered--black-russian_1a2g2_28{--tw-border-opacity: 1;border-color:rgb(9 14 23 / var(--tw-border-opacity, 1))}._bordered--fluorescent-cyan_1a2g2_31{--tw-border-opacity: 1;border-color:rgb(68 255 236 / var(--tw-border-opacity, 1))}._bordered--electric-purple_1a2g2_34{--tw-border-opacity: 1;border-color:rgb(198 27 226 / var(--tw-border-opacity, 1))}._bordered--giants-orange_1a2g2_37{--tw-border-opacity: 1;border-color:rgb(250 98 33 / var(--tw-border-opacity, 1))}._bordered--transparent_1a2g2_40{border-style:none}._bordered--main-green-100_1a2g2_43{border-color:#21fa90}._bordered--main-dark-blue-100_1a2g2_46{border-color:#00283d}._bordered--tertiary-blue-100_1a2g2_49{border-color:#2588e4}._bordered--error-red-100_1a2g2_52{border-color:#fa2121}._bordered--warning-yellow-100_1a2g2_55{border-color:#feb928}._bordered--dark-blue-100_1a2g2_58{border-color:#00344f}._bordered--white-100_1a2g2_61{border-color:#fff}._bordered--rich-black-100_1a2g2_64{border-color:#00050b}._bordered--black-russian-100_1a2g2_67{border-color:#090e17}._bordered--fluorescent-cyan-100_1a2g2_70{border-color:#44ffec}._bordered--electric-purple-100_1a2g2_73{border-color:#c61be2}._bordered--giants-orange-100_1a2g2_76{border-color:#fa6221}._bordered--main-green-70_1a2g2_79{border-color:#21fa90b3}._bordered--main-dark-blue-70_1a2g2_82{border-color:#00283db3}._bordered--tertiary-blue-70_1a2g2_85{border-color:#2588e4b3}._bordered--error-red-70_1a2g2_88{border-color:#fa2121b3}._bordered--warning-yellow-70_1a2g2_91{border-color:#feb928b3}._bordered--dark-blue-70_1a2g2_94{border-color:#00344fb3}._bordered--white-70_1a2g2_97{border-color:#ffffffb3}._bordered--rich-black-70_1a2g2_100{border-color:#00050bb3}._bordered--black-russian-70_1a2g2_103{border-color:#090e17b3}._bordered--fluorescent-cyan-70_1a2g2_106{border-color:#44ffecb3}._bordered--electric-purple-70_1a2g2_109{border-color:#c61be2b3}._bordered--giants-orange-70_1a2g2_112{border-color:#fa6221b3}._bordered--main-green-30_1a2g2_115{border-color:#21fa904d}._bordered--main-dark-blue-30_1a2g2_118{border-color:#00283d4d}._bordered--error-red-30_1a2g2_121{border-color:#fa21214d}._bordered--warning-yellow-30_1a2g2_124{border-color:#feb9284d}._bordered--dark-blue-30_1a2g2_127{border-color:#00344f4d}._bordered--white-30_1a2g2_130{border-color:#ffffff4d}._bordered--rich-black-30_1a2g2_133{border-color:#00050b4d}._bordered--black-russian-30_1a2g2_136{border-color:#090e174d}._bordered--fluorescent-cyan-30_1a2g2_139{border-color:#44ffec4d}._bordered--electric-purple-30_1a2g2_142{border-color:#c61be24d}._bordered--giants-orange-30_1a2g2_145{border-color:#fa62214d}._bordered--tertiary-blue-30_1a2g2_148{border-color:#2588e44d}._bordered--main-green-20_1a2g2_151{border-color:#21fa9033}._bordered--main-dark-blue-20_1a2g2_154{border-color:#00283d33}._bordered--error-red-20_1a2g2_157{border-color:#fa212133}._bordered--warning-yellow-20_1a2g2_160{border-color:#feb92833}._bordered--dark-blue-20_1a2g2_163{border-color:#00344f33}._bordered--white-20_1a2g2_166{border-color:#fff3}._bordered--rich-black-20_1a2g2_169{border-color:#00050b33}._bordered--black-russian-20_1a2g2_172{border-color:#090e1733}._bordered--fluorescent-cyan-20_1a2g2_175{border-color:#44ffec33}._bordered--electric-purple-20_1a2g2_178{border-color:#c61be233}._bordered--giants-orange-20_1a2g2_181{border-color:#fa622133}._bordered--tertiary-blue-20_1a2g2_184{border-color:#2588e433}._bordered--main-dark-blue-15_1a2g2_187{border-color:#00283d26}._bordered--white-15_1a2g2_190{border-color:#ffffff26}._bordered--rich-black-15_1a2g2_193{border-color:#00050b26}._bordered--black-russian-15_1a2g2_196{border-color:#090e1726}._bordered--fluorescent-cyan-15_1a2g2_199{border-color:#44ffec26}._bordered--electric-purple-15_1a2g2_202{border-color:#c61be226}._bordered--giants-orange-15_1a2g2_205{border-color:#fa622126}._bordered--tertiary-blue-15_1a2g2_208{border-color:#2588e426}._bordered--main-dark-blue-10_1a2g2_46{border-color:#00283d1a}._bordered--white-10_1a2g2_61{border-color:#ffffff1a}._bordered--rich-black-10_1a2g2_64{border-color:#00050b1a}._bordered--black-russian-10_1a2g2_67{border-color:#090e171a}._bordered--fluorescent-cyan-10_1a2g2_70{border-color:#44ffec1a}._bordered--electric-purple-10_1a2g2_73{border-color:#c61be21a}._bordered--giants-orange-10_1a2g2_76{border-color:#fa62211a}._bordered--tertiary-blue-10_1a2g2_49{border-color:#2588e41a}._error-message_1a2g2_235{position:absolute;bottom:-1.25rem;width:-moz-max-content;width:max-content;padding-left:.5rem;padding-right:.5rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(250 33 33 / var(--tw-text-opacity, 1))}._padded_1a2g2_239{padding:.625rem .5rem}._text--error-red_1a2g2_242{--tw-text-opacity: 1;color:rgb(250 33 33 / var(--tw-text-opacity, 1))}._text--error-red-70_1a2g2_245{color:#fa2121b3}._text--white_1a2g2_248{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}._text--white-70_1a2g2_251{color:#ffffffb3}._text--dark-green_1a2g2_254{--tw-text-opacity: 1;color:rgb(2 120 63 / var(--tw-text-opacity, 1))}._text--dark-green-70_1a2g2_257{color:#02783fb3}._text--main-green_1a2g2_260{--tw-text-opacity: 1;color:rgb(33 250 144 / var(--tw-text-opacity, 1))}._text--main-green-70_1a2g2_263{color:#21fa90b3}._text--light-green_1a2g2_266{--tw-text-opacity: 1;color:rgb(33 241 144 / var(--tw-text-opacity, 1))}._text--light-green-70_1a2g2_269{color:#21f190b3}._text--main-dark-blue_1a2g2_272{--tw-text-opacity: 1;color:rgb(0 40 61 / var(--tw-text-opacity, 1))}._text--main-dark-blue-70_1a2g2_275{color:#00283db3}._text--light-blue_1a2g2_278{--tw-text-opacity: 1;color:rgb(233 247 255 / var(--tw-text-opacity, 1))}._text--light-blue-70_1a2g2_281{color:#e9f7ffb3}._text--rich-black_1a2g2_284{--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1))}._text--black-russian_1a2g2_287{--tw-text-opacity: 1;color:rgb(9 14 23 / var(--tw-text-opacity, 1))}._text--fluorescent-cyan_1a2g2_290{--tw-text-opacity: 1;color:rgb(68 255 236 / var(--tw-text-opacity, 1))}._text--giants-orange_1a2g2_293{--tw-text-opacity: 1;color:rgb(250 98 33 / var(--tw-text-opacity, 1))}._text--electric-purple_1a2g2_296{--tw-text-opacity: 1;color:rgb(198 27 226 / var(--tw-text-opacity, 1))}._text--tertiary-blue_1a2g2_299{--tw-text-opacity: 1;color:rgb(37 136 228 / var(--tw-text-opacity, 1))}._text--warning-yellow_1a2g2_302{--tw-text-opacity: 1;color:rgb(254 185 40 / var(--tw-text-opacity, 1))}._text--rich-black-70_1a2g2_306{color:#00050bb3}._text--black-russian-70_1a2g2_309{color:#090e17b3}._text--fluorescent-cyan-70_1a2g2_312{color:#44ffecb3}._text--giants-orange-70_1a2g2_315{color:#fa6221b3}._text--electric-purple-70_1a2g2_318{color:#c61be2b3}._text--base_1a2g2_321{font-size:1rem;line-height:1.5rem}._text--xs_1a2g2_324{font-size:.75rem;line-height:1rem}._background-color-main-green_1a2g2_330{--tw-bg-opacity: 1;background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1))}._background-color-light-green_1a2g2_333{--tw-bg-opacity: 1;background-color:rgb(33 241 144 / var(--tw-bg-opacity, 1))}._background-color-dark-green_1a2g2_336{--tw-bg-opacity: 1;background-color:rgb(2 120 63 / var(--tw-bg-opacity, 1))}._background-color-main-dark-blue_1a2g2_339{--tw-bg-opacity: 1;background-color:rgb(0 40 61 / var(--tw-bg-opacity, 1))}._background-color-dark-blue_1a2g2_342{--tw-bg-opacity: 1;background-color:rgb(0 52 79 / var(--tw-bg-opacity, 1))}._background-color-light-blue_1a2g2_345{--tw-bg-opacity: 1;background-color:rgb(233 247 255 / var(--tw-bg-opacity, 1))}._background-color-white_1a2g2_348{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}._background-color-error-red_1a2g2_351{--tw-bg-opacity: 1;background-color:rgb(250 33 33 / var(--tw-bg-opacity, 1))}._background-color-tertiary-blue_1a2g2_354{--tw-bg-opacity: 1;background-color:rgb(37 136 228 / var(--tw-bg-opacity, 1))}._background-color-warning-yellow_1a2g2_357{--tw-bg-opacity: 1;background-color:rgb(254 185 40 / var(--tw-bg-opacity, 1))}._background-color-rich-black_1a2g2_360{--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))}._background-color-fluorescent-cyan_1a2g2_363{--tw-bg-opacity: 1;background-color:rgb(68 255 236 / var(--tw-bg-opacity, 1))}._background-color-giants-orange_1a2g2_366{--tw-bg-opacity: 1;background-color:rgb(250 98 33 / var(--tw-bg-opacity, 1))}._background-color-electric-purple_1a2g2_369{--tw-bg-opacity: 1;background-color:rgb(198 27 226 / var(--tw-bg-opacity, 1))}._background-color-black-russian_1a2g2_372{--tw-bg-opacity: 1;background-color:rgb(9 14 23 / var(--tw-bg-opacity, 1))}._background-color-night_1a2g2_376{--tw-bg-opacity: 1;background-color:rgb(15 17 20 / var(--tw-bg-opacity, 1))}._background-color-anti-flash-white_1a2g2_379{--tw-bg-opacity: 1;background-color:rgb(237 237 237 / var(--tw-bg-opacity, 1))}._background-color-fire-engine-red_1a2g2_382{--tw-bg-opacity: 1;background-color:rgb(215 25 25 / var(--tw-bg-opacity, 1))}._background-color-alternate-rich-black_1a2g2_385{--tw-bg-opacity: 1;background-color:rgb(18 23 29 / var(--tw-bg-opacity, 1))}._background-color-transparent_1a2g2_388{background-color:transparent}._background-color-opaque-100_1a2g2_391{--tw-bg-opacity: 1 !important}._background-color-opaque-70_1a2g2_394{--tw-bg-opacity: .7 !important}._background-color-opaque-60_1a2g2_397{--tw-bg-opacity: .6 !important}._background-color-opaque-30_1a2g2_400{--tw-bg-opacity: .3 !important}._background-color-opaque-20_1a2g2_403{--tw-bg-opacity: .2 !important}._background-color-opaque-15_1a2g2_406{--tw-bg-opacity: .15 !important}._background-color-opaque-10_1a2g2_391{--tw-bg-opacity: .1 !important}._apply-opacity-30_1a2g2_412{opacity:.3}._padding--none_1a2g2_415{padding:0}._padding--small_1a2g2_418{padding:.25rem}._padding--medium_1a2g2_421{padding:.5rem}._padding--large_1a2g2_424{padding:1rem}._padding--extra-large_1a2g2_427{padding:1.5rem}._hover-background-color-opaque-main-green_1a2g2_430:hover{background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-light-green_1a2g2_433:hover{background-color:rgb(33 241 144 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-dark-green_1a2g2_436:hover{background-color:rgb(2 120 63 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-main-dark-blue_1a2g2_439:hover{background-color:rgb(0 40 61 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .1 }._hover-background-color-opaque-dark-blue_1a2g2_442:hover{background-color:rgb(0 52 79 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-light-blue_1a2g2_445:hover{background-color:rgb(233 247 255 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-white_1a2g2_448:hover{background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-error-red_1a2g2_451:hover{background-color:rgb(250 33 33 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-tertiary-blue_1a2g2_454:hover{background-color:rgb(37 136 228 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-rich-black_1a2g2_457:hover{background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-black-russian_1a2g2_460:hover{background-color:rgb(9 14 23 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-fluorescent-cyan_1a2g2_463:hover{background-color:rgb(68 255 236 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-giants-orange_1a2g2_466:hover{background-color:rgb(250 98 33 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-electric-purple_1a2g2_469:hover{background-color:rgb(198 27 226 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-night_1a2g2_472:hover{background-color:rgb(15 17 20 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._selected-background-color-main-green_1a2g2_475{background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 !important}._selected-background-color-light-green_1a2g2_478{background-color:rgb(33 241 144 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 !important}._selected-background-color-dark-green_1a2g2_481{background-color:rgb(2 120 63 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 !important}._selected-background-color-main-dark-blue_1a2g2_484{background-color:rgb(0 40 61 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .1 }._selected-background-color-dark-blue_1a2g2_487{background-color:rgb(0 52 79 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-light-blue_1a2g2_490{background-color:rgb(233 247 255 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-rich-black_1a2g2_493{background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-black-russian_1a2g2_496{background-color:rgb(9 14 23 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-fluorescent-cyan_1a2g2_499{background-color:rgb(68 255 236 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-electric-purple_1a2g2_502{background-color:rgb(198 27 226 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-giants-orange_1a2g2_505{background-color:rgb(250 98 33 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-night_1a2g2_508{background-color:rgb(15 17 20 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-white_1a2g2_511{background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-error-red_1a2g2_514{background-color:rgb(250 33 33 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-tertiary-blue_1a2g2_517{background-color:rgb(37 136 228 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._fontSemiBold_1a2g2_521{font-weight:600}._fontLight_1a2g2_524{font-weight:300}._fullWidth_1a2g2_527{width:100%}._button_weic6_1{box-sizing:border-box;cursor:pointer;border-radius:.25rem;border-width:1px;border-style:solid;text-align:center;font-weight:400;padding-block:0px;padding-inline:0px}._content_weic6_6{display:flex;align-items:center;justify-content:center;-moz-column-gap:.5rem;column-gap:.5rem;border-radius:.25rem;background:transparent}._fontBold_weic6_10{font-weight:600}._button-small_weic6_13{padding:.25rem;font-size:.875rem;line-height:1.25rem}._button-medium_weic6_16{padding:.25rem}._button-large_weic6_19,._button-extra-large_weic6_22{padding:.5rem}@media (min-width: 744px){._button-extra-large_weic6_22{padding:.625rem}}._margin-right-medium_weic6_26,._margin-right-small_weic6_27{margin-right:.25rem}._margin-right-large_weic6_30{margin-right:.5rem}._margin-right-extra-large_weic6_33{margin-right:.75rem}._color-main-green_weic6_36{--tw-border-opacity: 1;border-color:rgb(33 250 144 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(33 250 144 / var(--tw-text-opacity, 1))}._color-light-green_weic6_39{--tw-border-opacity: 1;border-color:rgb(33 241 144 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(33 241 144 / var(--tw-text-opacity, 1))}._color-dark-green_weic6_42{--tw-border-opacity: 1;border-color:rgb(2 120 63 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(2 120 63 / var(--tw-text-opacity, 1))}._color-main-dark-blue_weic6_45{--tw-border-opacity: 1;border-color:rgb(0 40 61 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(0 40 61 / var(--tw-text-opacity, 1))}._color-dark-blue_weic6_48{--tw-border-opacity: 1;border-color:rgb(0 52 79 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(0 52 79 / var(--tw-text-opacity, 1))}._color-light-blue_weic6_51{--tw-border-opacity: 1;border-color:rgb(233 247 255 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(233 247 255 / var(--tw-text-opacity, 1))}._color-white_weic6_54{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}._color-error-red_weic6_57{--tw-border-opacity: 1;border-color:rgb(250 33 33 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(250 33 33 / var(--tw-text-opacity, 1))}._color-tertiary-blue_weic6_60{--tw-border-opacity: 1;border-color:rgb(37 136 228 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(37 136 228 / var(--tw-text-opacity, 1))}._color-transparent_weic6_63{border-color:transparent;color:transparent}._color-rich-black_weic6_66{--tw-border-opacity: 1;border-color:rgb(0 5 11 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1))}._color-black-russian_weic6_69{--tw-border-opacity: 1;border-color:rgb(9 14 23 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(9 14 23 / var(--tw-text-opacity, 1))}._color-fluorescent-cyan_weic6_72{--tw-border-opacity: 1;border-color:rgb(68 255 236 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(68 255 236 / var(--tw-text-opacity, 1))}._color-electric-purple_weic6_75{--tw-border-opacity: 1;border-color:rgb(198 27 226 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(198 27 226 / var(--tw-text-opacity, 1))}._color-giants-orange_weic6_78{--tw-border-opacity: 1;border-color:rgb(250 98 33 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(250 98 33 / var(--tw-text-opacity, 1))}._no-border_weic6_81{border-width:0px}._disabled_weic6_84{cursor:default;opacity:.3}._hover-box-shadow-main-green_weic6_87:hover{--tw-shadow: 0px 0px 4px rgba(33, 250, 144, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #21FA90;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-light-green_weic6_90:hover{--tw-shadow: 0px 0px 4px rgba(33, 241, 144, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #21F190;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-dark-green_weic6_93:hover{--tw-shadow: 0px 0px 4px rgba(2, 120, 63, 1);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #02783F;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-main-dark-blue_weic6_96:hover{--tw-shadow: 0px 0px 4px rgba(33, 250, 144, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #00283D;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-dark-blue_weic6_99:hover{--tw-shadow: 0px 0px 4px rgba(0, 52, 79, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #00344F;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-light-blue_weic6_102:hover{--tw-shadow: 0px 0px 4px rgba(233, 247, 255, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #E9F7FF;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-white_weic6_105:hover{--tw-shadow: 0px 0px 4px rgba(255, 255, 255, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #FFFFFF;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-error-red_weic6_108:hover{--tw-shadow: 0px 0px 4px rgba(250, 33, 33, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #FA2121;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-tertiary-blue_weic6_111:hover{--tw-shadow: 0px 0px 4px rgba(37, 136, 228, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #2588E4;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-rich-black_weic6_114:hover{--tw-shadow: 0px 0px 4px rgba(0, 5, 11, 1);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #00050B;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-black-russian_weic6_117:hover{--tw-shadow: 0px 0px 4px rgba(0, 9, 14, 23);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #090E17;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-fluorescent-cyan_weic6_120:hover{--tw-shadow: 0px 0px 4px rgba(68, 255, 236, 23);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #44FFEC;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-electric-purple_weic6_123:hover{--tw-shadow-color: #C61BE2;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-giants-orange_weic6_126:hover{--tw-shadow-color: #FA6221;--tw-shadow: var(--tw-shadow-colored) }._underline-effect_weic6_130:hover{text-decoration-line:underline}._fullWidth_weic6_134{width:100%}._label_weic6_137{width:-moz-max-content;width:max-content}._inactive_weic6_140{opacity:.7}._active_weic6_143{opacity:1}._cursorDefault_weic6_146{cursor:default}._rich-black_liqec_1>circle,._rich-black_liqec_1>ellipse,._rich-black_liqec_1>rect,._rich-black_liqec_1>line,._rich-black_liqec_1>path{stroke:#00050b}._important-rich-black_liqec_9>circle,._important-rich-black_liqec_9>ellipse,._important-rich-black_liqec_9>rect,._important-rich-black_liqec_9>line,._important-rich-black_liqec_9>path{stroke:#00050b!important}._error-red_liqec_17>circle,._error-red_liqec_17>ellipse,._error-red_liqec_17>rect,._error-red_liqec_17>line,._error-red_liqec_17>path{stroke:#fa2121}._important-error-red_liqec_25>circle,._important-error-red_liqec_25>ellipse,._important-error-red_liqec_25>rect,._important-error-red_liqec_25>line,._important-error-red_liqec_25>path{stroke:#fa2121!important}._main-dark-blue_liqec_33>circle,._main-dark-blue_liqec_33>ellipse,._main-dark-blue_liqec_33>rect,._main-dark-blue_liqec_33>line,._main-dark-blue_liqec_33>path{stroke:#00283d}._important-main-dark-blue_liqec_41>circle,._important-main-dark-blue_liqec_41>ellipse,._important-main-dark-blue_liqec_41>rect,._important-main-dark-blue_liqec_41>line,._important-main-dark-blue_liqec_41>path{stroke:#00283d!important}._main-green_liqec_49>circle,._main-green_liqec_49>ellipse,._main-green_liqec_49>rect,._main-green_liqec_49>line,._main-green_liqec_49>path{stroke:#21fa90}._important-main-green_liqec_57>circle,._important-main-green_liqec_57>ellipse,._important-main-green_liqec_57>rect,._important-main-green_liqec_57>line,._important-main-green_liqec_57>path{stroke:#21fa90!important}._tertiary-blue_liqec_65>circle,._tertiary-blue_liqec_65>ellipse,._tertiary-blue_liqec_65>rect,._tertiary-blue_liqec_65>line,._tertiary-blue_liqec_65>path{stroke:#2588e4}._important-tertiary-blue_liqec_73>circle,._important-tertiary-blue_liqec_73>ellipse,._important-tertiary-blue_liqec_73>rect,._important-tertiary-blue_liqec_73>line,._important-tertiary-blue_liqec_73>path{stroke:#2588e4!important}._warning-yellow_liqec_81>circle,._warning-yellow_liqec_81>ellipse,._warning-yellow_liqec_81>rect,._warning-yellow_liqec_81>line,._warning-yellow_liqec_81>path{stroke:#feb928}._important-warning-yellow_liqec_89>circle,._important-warning-yellow_liqec_89>ellipse,._important-warning-yellow_liqec_89>rect,._important-warning-yellow_liqec_89>line,._important-warning-yellow_liqec_89>path{stroke:#feb928!important}._white_liqec_97>circle,._white_liqec_97>ellipse,._white_liqec_97>rect,._white_liqec_97>line,._white_liqec_97>path{stroke:#fff}._important-white_liqec_105>circle,._important-white_liqec_105>ellipse,._important-white_liqec_105>rect,._important-white_liqec_105>line,._important-white_liqec_105>path{stroke:#fff!important}._fluorescent-cyan_liqec_113>circle,._fluorescent-cyan_liqec_113>ellipse,._fluorescent-cyan_liqec_113>rect,._fluorescent-cyan_liqec_113>line,._fluorescent-cyan_liqec_113>path{stroke:#44ffec}._important-fluorescent-cyan_liqec_121>circle,._important-fluorescent-cyan_liqec_121>ellipse,._important-fluorescent-cyan_liqec_121>rect,._important-fluorescent-cyan_liqec_121>line,._important-fluorescent-cyan_liqec_121>path{stroke:#44ffec!important}._giants-orange_liqec_130>circle,._giants-orange_liqec_130>ellipse,._giants-orange_liqec_130>rect,._giants-orange_liqec_130>line,._giants-orange_liqec_130>path{stroke:#fa6221}._important-giants-orange_liqec_138>circle,._important-giants-orange_liqec_138>ellipse,._important-giants-orange_liqec_138>rect,._important-giants-orange_liqec_138>line,._important-giants-orange_liqec_138>path{stroke:#fa6221!important}._electric-purple_liqec_147>circle,._electric-purple_liqec_147>ellipse,._electric-purple_liqec_147>rect,._electric-purple_liqec_147>line,._electric-purple_liqec_147>path{stroke:#c61be2}._important-electric-purple_liqec_155>circle,._important-electric-purple_liqec_155>ellipse,._important-electric-purple_liqec_155>rect,._important-electric-purple_liqec_155>line,._important-electric-purple_liqec_155>path{stroke:#c61be2!important}._filled-rich-black_liqec_164{fill:#00050b}._filled-white_liqec_167{fill:#fff}._filled-error-red_liqec_170{fill:#fa2121}._filled-main-dark-blue_liqec_173{fill:#00283d}._filled-main-green_liqec_176{fill:#21fa90}._filled-warning-yellow_liqec_179{fill:#feb928}._filled-tertiary-blue_liqec_182{fill:#2588e4}._filled-fluorescent-cyan_liqec_185{fill:#44ffec}._filled-giants-orange_liqec_188{fill:#fa6221}._filled-electric-purple_liqec_191{fill:#c61be2}._fill-circle-green_liqec_196>circle{fill:#fff}._fill-circle-main-dark-blue_liqec_199>circle{fill:#00283d}._svgClassName_liqec_202{display:block;flex-shrink:0;overflow-clip-margin:unset}._iconDisabled_liqec_207{opacity:.3}._iconInactive_liqec_211{opacity:.7}._strokeTransparent_liqec_215{stroke:transparent!important}._cursorPointer_xwn7e_1{cursor:pointer}._pltTooltip_xwn7e_4{position:relative}._tooltipWrapper_15ig4_2{display:inline-block;position:relative}._tooltipTip_15ig4_8{position:absolute;border-radius:4px}._tooltipTipBaseClass_15ig4_13{z-index:20;border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.5rem;font-family:Montserrat;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1));white-space:nowrap}._tooltipTip_15ig4_8:before{content:" ";border:solid transparent;height:0;width:0;position:absolute;pointer-events:none;border-width:6px;margin-left:-6px}._start_15ig4_29{left:0%}._start_15ig4_29:before{left:12px}._center_15ig4_36,._center_15ig4_36:before{left:50%;transform:translate(-50%)}._end_15ig4_40{left:100%;transform:translate(-100%)}._end_15ig4_40:before{right:12px}._top_15ig4_50:before{top:100%;border-top-color:#fff}._right_15ig4_56{top:50%;transform:translate(0) translateY(-50%)}._right_15ig4_56:before{left:-6px;top:50%;transform:translate(0) translateY(-50%);border-right-color:#fff}._bottom_15ig4_69:before{bottom:100%;border-bottom-color:#fff}._left_15ig4_75{left:auto;top:50%;transform:translate(0) translateY(-50%)}._left_15ig4_75:before{left:auto;right:-12px;top:50%;transform:translate(0) translateY(-50%);border-left-color:#fff;border-right-color:transparent}._tooltipWrapper_1gojo_2{display:inline-block;position:relative}._tooltipTip_1gojo_8{position:fixed;border-radius:4px}._tooltipTipBaseClass_1gojo_13{z-index:20;border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.5rem;font-family:Montserrat;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1));white-space:nowrap}._tooltipTip_1gojo_8:before{content:" ";left:50%;border:solid transparent;height:0;width:0;position:absolute;pointer-events:none;border-width:6px;margin-left:-6px}._top_1gojo_32:before{--tw-border-opacity: 1;border-top-color:rgb(255 255 255 / var(--tw-border-opacity, 1));top:100%}._right_1gojo_38{top:50%;transform:translate(0) translateY(-50%)}._right_1gojo_38:before{--tw-border-opacity: 1;border-right-color:rgb(255 255 255 / var(--tw-border-opacity, 1));left:-6px;top:50%;transform:translate(0) translateY(-50%)}._bottom_1gojo_50:before{--tw-border-opacity: 1;border-bottom-color:rgb(255 255 255 / var(--tw-border-opacity, 1));bottom:100%}._left_1gojo_56{left:auto;top:50%;transform:translate(0) translateY(-50%)}._left_1gojo_56:before{--tw-border-opacity: 1;border-left-color:rgb(255 255 255 / var(--tw-border-opacity, 1));left:calc(100% + 6px);right:-12px;top:50%;transform:translate(0) translateY(-50%)}._start_1gojo_70:before{left:calc(100% - 10px);right:10px}._end_1gojo_74:before{left:10px}._checkbox_606uf_1{position:relative;margin:0;display:inline-block;border-radius:.125rem;border-width:1px;border-style:solid}._checkbox_606uf_1:hover{cursor:pointer}._checkbox_606uf_1{-webkit-appearance:none}._checkbox--medium_606uf_6{height:.5rem;width:.5rem;padding:.5rem}._checkbox--small_606uf_10{height:10px;width:10px;padding:5px}._checkbox--main-dark-blue_606uf_14{--tw-border-opacity: 1;border-color:rgb(33 241 144 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(0 40 61 / var(--tw-bg-opacity, 1))}._checkbox--main-dark-blue_606uf_14:checked{--tw-bg-opacity: 1;background-color:rgb(33 241 144 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(0 40 61 / var(--tw-text-opacity, 1))}._checkbox--white_606uf_21{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))}._checkbox--white_606uf_21:checked{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1))}._checkbox--medium_606uf_6._checkbox--main-dark-blue_606uf_14:checked:after,._checkbox--medium_606uf_6._checkbox--rich-black_606uf_28:checked:after{position:absolute;height:100%;width:100%;top:-4px;left:1px;content:url(data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%229%22%20viewBox%3D%220%200%2013%209%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1%204L5%208L12%201%22%20stroke%3D%22white%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E)}._checkbox--small_606uf_10._checkbox--main-dark-blue_606uf_14:checked:after,._checkbox--small_606uf_10._checkbox--rich-black_606uf_28:checked:after{position:absolute;height:100%;width:100%;top:-4px;left:2px;content:url(data:image/svg+xml,%3Csvg%20width%3D%2211%22%20height%3D%228%22%20viewBox%3D%220%200%2011%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M1.25%203.5L4.25%206.5L9.5%201.25%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3C%2Fsvg%3E)}._disabled_606uf_41{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}._checkbox--rich-black_606uf_28{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))}._checkbox--rich-black_606uf_28:checked{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1))}._checkbox--medium_606uf_6._checkbox--white_606uf_21:checked:after{position:absolute;height:100%;width:100%;top:-4px;left:2px;content:url(data:image/svg+xml,%3Csvg%20width=%2213%22%20height=%229%22%20viewBox=%220%200%2013%209%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M1%204L5%208L12%201%22%20stroke%3D%22%2300050B%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E)}._checkbox--small_606uf_10._checkbox--white_606uf_21:checked:after{position:absolute;height:100%;width:100%;top:-7px;left:0;content:url(data:image/svg+xml,%3Csvg%20width%3D%2211%22%20height%3D%228%22%20viewBox%3D%220%200%2011%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M1.25%203.5L4.25%206.5L9.5%201.25%22%20stroke%3D%22%2300050B%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3C%2Fsvg%3E)}._style_2eaw7_1{width:100%;border-bottom-width:0px;border-top-width:1px;margin-block-start:0;margin-block-end:0;margin-inline-start:0;margin-inline-end:0}._marginY-4_2eaw7_8{margin-top:1rem;margin-bottom:1rem}._marginT-4_2eaw7_12{margin-top:1rem}._marginB-4_2eaw7_16{margin-bottom:1rem}._marginY-8_2eaw7_20{margin-top:2rem;margin-bottom:2rem}._marginT-8_2eaw7_24{margin-top:2rem}._marginB-8_2eaw7_28{margin-bottom:2rem}._marginY-10_2eaw7_32{margin-top:2.5rem;margin-bottom:2.5rem}._marginT-10_2eaw7_36{margin-top:2.5rem}._marginB-10_2eaw7_40{margin-bottom:2.5rem}._apply-opacity-20_2eaw7_44{opacity:.2}._apply-opacity-30_2eaw7_48{opacity:.3}._apply-opacity-15_2eaw7_52{opacity:.15}._fullHeight_1j6ld_1{height:100%;min-height:18px;width:1px}._container_12tow_1{display:flex;width:100%;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem}._switch_12tow_4{position:relative;display:inline-block;cursor:pointer}._switch--medium_12tow_7{height:24px;width:50px}._switch--small_12tow_10{height:16px;width:30px}._switch_12tow_4 input{height:0px;width:0px;opacity:0}._slider_12tow_16{position:absolute;inset:0;height:100%;background-color:#707070;transition:.4s}._defaultLabel_12tow_23{padding-left:.5rem;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:400;--tw-text-opacity: 1;color:rgb(0 40 61 / var(--tw-text-opacity, 1))}._slider--small_12tow_26:before,._slider--medium_12tow_27:before{content:"";transition:.4s}._slider--medium_12tow_27:before{position:absolute;left:1px;bottom:1px;height:22px;width:22px;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}._slider--small_12tow_26:before{position:absolute;left:1px;bottom:1px;height:14px;width:14px;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}input:checked+._slider_12tow_16{--tw-bg-opacity: 1;background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1))}input:checked+._slider--medium_12tow_27:before{transform:translate(26px)}input:checked+._slider--small_12tow_26:before{transform:translate(14px)}._slider_12tow_16._round_12tow_57{border-radius:100px}._slider_12tow_16._round_12tow_57:before{border-radius:9999px}._disabled_12tow_65{cursor:default;opacity:.3}._ringwhite_nk8cy_1{color:#fff}._ring_nk8cy_1,._ring_nk8cy_1 div{box-sizing:border-box}._ring_nk8cy_1 div{box-sizing:border-box;display:block;position:absolute;border-style:solid;border-color:currentColor;border-radius:50%;animation:_lds-ring_nk8cy_1 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:currentColor transparent transparent transparent}._ring_nk8cy_1 div:nth-child(1){animation-delay:-.45s}._ring_nk8cy_1 div:nth-child(2){animation-delay:-.3s}._ring_nk8cy_1 div:nth-child(3){animation-delay:-.15s}@keyframes _lds-ring_nk8cy_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._container_1mzeu_1{position:fixed;top:0;left:0;z-index:50;height:100vh;min-height:100vh;width:100%;min-width:100%;overflow-y:auto}._content_1mzeu_4{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center}._separator_1di4k_1{margin-left:.5rem;margin-right:.5rem}._logo_1di4k_4{margin-right:1rem}._breadCrumbs_1di4k_7{display:flex;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem}._container_1di4k_10{display:inline-flex;align-items:center}._navigationElement_1di4k_13{display:inline-flex;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem;text-decoration-line:none}._link_1di4k_16{text-decoration-line:none}._link_1di4k_16:hover{cursor:pointer;opacity:1}._textWhite_jbn64_1{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}._textRichBlack_jbn64_4{--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1))}._textMainGreen_jbn64_7{--tw-text-opacity: 1;color:rgb(33 250 144 / var(--tw-text-opacity, 1))}._textWarningYellow_jbn64_10{--tw-text-opacity: 1;color:rgb(254 185 40 / var(--tw-text-opacity, 1))}._textTertiaryBlue_jbn64_13{--tw-text-opacity: 1;color:rgb(37 136 228 / var(--tw-text-opacity, 1))}._textCenter_jbn64_16{text-align:center}._opacity70_jbn64_19{opacity:.7}._ellipsis_jbn64_22{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._desktopBodyLarge_jbn64_25{font-family:Inter;font-size:1rem;font-weight:300;line-height:1.5rem}@media (min-width: 1240px){._desktopBodyLarge_jbn64_25{font-size:1.125rem;line-height:1.688rem}}._desktopBody_jbn64_25{font-family:Inter;font-size:1rem;font-weight:300;line-height:1.5rem}._desktopBodySmall_jbn64_31{font-family:Inter;font-size:.875rem;font-weight:300;line-height:1.375rem}._desktopBodySmallest_jbn64_34{font-family:Inter;font-size:.75rem;font-weight:300;line-height:1.125rem}._desktopButtonSmall_jbn64_37{font-family:Inter;font-size:13px;font-weight:300;line-height:1.375rem}._desktopBodyLargeSemibold_jbn64_40{font-family:Inter;font-size:1.125rem;font-weight:500;line-height:1.5rem}@media (min-width: 1240px){._desktopBodyLargeSemibold_jbn64_40{font-size:1.125rem;line-height:1.688rem}}._desktopBodySemibold_jbn64_43{font-family:Inter;font-size:1rem;font-weight:500;line-height:1.5rem}._semibold_jbn64_46{font-weight:500}._desktopOtherCliTerminalSmall_jbn64_49{font-size:.75rem;font-weight:400;line-height:1.125rem}@media (min-width: 1240px){._desktopOtherCliTerminalSmall_jbn64_49{font-size:.875rem;line-height:1.313rem}}._desktopOtherCliTerminalSmall_jbn64_49{font-family:Roboto_Mono}._desktopOtherOverlineSmallest_jbn64_53{font-family:Inter;font-size:.625rem;font-weight:300;text-transform:uppercase;line-height:1rem;letter-spacing:.2em}._loadingSpinner_1skst_1{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}._container_yitc7_1{margin-left:auto;margin-right:auto;display:flex;height:100vh;width:100%;max-width:1440px;flex-direction:column;align-items:center;justify-content:center;row-gap:2.5rem}@media (min-width: 744px){._container_yitc7_1{height:100%;min-height:calc(100vh - 15rem)}}._showedLogsContainer_yitc7_4{display:flex;max-height:30vH;min-height:10rem;min-width:60%;flex-grow:0;flex-direction:column;row-gap:1rem;overflow-y:auto;overflow-x:hidden}._buttonContainer_yitc7_7{display:flex;align-items:center;justify-content:center;-moz-column-gap:.5rem;column-gap:.5rem}._buttonLogsContainer_yitc7_10{display:flex;align-items:center;justify-content:flex-end;-moz-column-gap:.5rem;column-gap:.5rem}._tooltipDarkStyle_f4of7_1{z-index:20;width:-moz-max-content;width:max-content;border-width:0px;padding:.5rem;font-family:Inter;font-size:.75rem;font-weight:300;line-height:1.125rem;--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1));background-color:#fff!important}._content_z894a_1{display:flex;height:100%;min-height:calc(100vH - 3rem);flex-direction:row;-moz-column-gap:0px;column-gap:0px;overflow-x:hidden;overflow-y:hidden}@media (min-width: 1440px){._content_z894a_1{min-height:calc(100vH - 3rem)}}._container_14yeo_1{display:flex;flex-shrink:0;flex-direction:column;justify-content:space-between;row-gap:1.5rem;border-right-width:1px;border-style:solid;padding:1rem;box-sizing:border-box;max-width:72px;min-width:72px;border-color:#ffffff26}._content_14yeo_8{display:flex;flex-direction:column;row-gap:2rem}._item_14yeo_11{position:relative;z-index:20}._tooltipSidebar_14yeo_14{z-index:20;width:-moz-max-content;width:max-content;border-width:0px;padding:.25rem;font-family:Inter;font-size:.75rem;font-weight:300;line-height:1.125rem;--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1));background-color:#fff!important}._button_1djdl_1{box-sizing:border-box;cursor:pointer;border-radius:.25rem;border-width:1px;border-style:solid;text-align:center;font-weight:400;padding-block:0px;padding-inline:0px}._content_1djdl_6{display:flex;align-items:center;justify-content:center;-moz-column-gap:.5rem;column-gap:.5rem;border-radius:.25rem;background:transparent}._fontBold_1djdl_10{font-weight:600}._button-small_1djdl_13{padding:.25rem;font-size:.875rem;line-height:1.25rem}._button-medium_1djdl_16{padding:.25rem}._button-large_1djdl_19,._button-extra-large_1djdl_22{padding:.5rem}@media (min-width: 744px){._button-extra-large_1djdl_22{padding:.625rem}}._margin-right-medium_1djdl_26,._margin-right-small_1djdl_27{margin-right:.25rem}._margin-right-large_1djdl_30{margin-right:.5rem}._margin-right-extra-large_1djdl_33{margin-right:.75rem}._color-main-green_1djdl_36{--tw-border-opacity: 1;border-color:rgb(33 250 144 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(33 250 144 / var(--tw-text-opacity, 1))}._color-light-green_1djdl_39{--tw-border-opacity: 1;border-color:rgb(33 241 144 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(33 241 144 / var(--tw-text-opacity, 1))}._color-dark-green_1djdl_42{--tw-border-opacity: 1;border-color:rgb(2 120 63 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(2 120 63 / var(--tw-text-opacity, 1))}._color-main-dark-blue_1djdl_45{--tw-border-opacity: 1;border-color:rgb(0 40 61 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(0 40 61 / var(--tw-text-opacity, 1))}._color-dark-blue_1djdl_48{--tw-border-opacity: 1;border-color:rgb(0 52 79 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(0 52 79 / var(--tw-text-opacity, 1))}._color-light-blue_1djdl_51{--tw-border-opacity: 1;border-color:rgb(233 247 255 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(233 247 255 / var(--tw-text-opacity, 1))}._color-white_1djdl_54{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}._color-error-red_1djdl_57{--tw-border-opacity: 1;border-color:rgb(250 33 33 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(250 33 33 / var(--tw-text-opacity, 1))}._color-tertiary-blue_1djdl_60{--tw-border-opacity: 1;border-color:rgb(37 136 228 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(37 136 228 / var(--tw-text-opacity, 1))}._color-transparent_1djdl_63{border-color:transparent;color:transparent}._color-rich-black_1djdl_66{--tw-border-opacity: 1;border-color:rgb(0 5 11 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1))}._no-border_1djdl_70{border-width:0px}._disabled_1djdl_73{cursor:default;opacity:.3}._hover-box-shadow-main-green_1djdl_76:hover{--tw-shadow: 0px 0px 4px rgba(33, 250, 144, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #21FA90;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-light-green_1djdl_79:hover{--tw-shadow: 0px 0px 4px rgba(33, 241, 144, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #21F190;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-dark-green_1djdl_82:hover{--tw-shadow: 0px 0px 4px rgba(2, 120, 63, 1);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #02783F;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-main-dark-blue_1djdl_85:hover{--tw-shadow: 0px 0px 4px rgba(33, 250, 144, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #00283D;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-dark-blue_1djdl_88:hover{--tw-shadow: 0px 0px 4px rgba(0, 52, 79, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #00344F;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-light-blue_1djdl_91:hover{--tw-shadow: 0px 0px 4px rgba(233, 247, 255, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #E9F7FF;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-white_1djdl_94:hover{--tw-shadow: 0px 0px 4px rgba(255, 255, 255, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #FFFFFF;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-error-red_1djdl_97:hover{--tw-shadow: 0px 0px 4px rgba(250, 33, 33, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #FA2121;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-tertiary-blue_1djdl_100:hover{--tw-shadow: 0px 0px 4px rgba(37, 136, 228, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #2588E4;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-rich-black_1djdl_103:hover{--tw-shadow: 0px 0px 4px rgba(0, 5, 11, 1);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #00050B;--tw-shadow: var(--tw-shadow-colored) }._underline-effect_1djdl_107:hover{text-decoration-line:underline}._fullWidth_1djdl_111{width:100%}._label_1djdl_114{width:-moz-max-content;width:max-content}._inactive_1djdl_117{opacity:.7}._active_1djdl_120{opacity:1}._cursorDefault_1djdl_123{cursor:default}._fullRounded_1djdl_127{border-radius:9999px}._selected-background-color-main-green_1djdl_131{background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 !important}._selected-background-color-light-green_1djdl_134{background-color:rgb(33 241 144 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 !important}._selected-background-color-dark-green_1djdl_137{background-color:rgb(2 120 63 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 !important}._selected-background-color-main-dark-blue_1djdl_140{background-color:rgb(0 40 61 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 }._selected-background-color-dark-blue_1djdl_143{background-color:rgb(0 52 79 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 }._selected-background-color-light-blue_1djdl_146{background-color:rgb(233 247 255 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 }._selected-background-color-rich-black_1djdl_149{background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 }._selected-background-color-white_1djdl_152{background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 }._selected-background-color-error-red_1djdl_155{background-color:rgb(250 33 33 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 }._selected-background-color-tertiary-blue_1djdl_158{background-color:rgb(37 136 228 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 }._hover-background-color-opaque-main-green_1djdl_162:hover{background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-light-green_1djdl_165:hover{background-color:rgb(33 241 144 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-dark-green_1djdl_168:hover{background-color:rgb(2 120 63 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-main-dark-blue_1djdl_171:hover{background-color:rgb(0 40 61 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .1 }._hover-background-color-opaque-dark-blue_1djdl_174:hover{background-color:rgb(0 52 79 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-light-blue_1djdl_177:hover{background-color:rgb(233 247 255 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-white_1djdl_180:hover{background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-error-red_1djdl_183:hover{background-color:rgb(250 33 33 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-tertiary-blue_1djdl_186:hover{background-color:rgb(37 136 228 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-rich-black_1djdl_189:hover{background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._background-color-main-green_1djdl_193{--tw-bg-opacity: 1;background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1))}._background-color-light-green_1djdl_196{--tw-bg-opacity: 1;background-color:rgb(33 241 144 / var(--tw-bg-opacity, 1))}._background-color-dark-green_1djdl_199{--tw-bg-opacity: 1;background-color:rgb(2 120 63 / var(--tw-bg-opacity, 1))}._background-color-main-dark-blue_1djdl_202{--tw-bg-opacity: 1;background-color:rgb(0 40 61 / var(--tw-bg-opacity, 1))}._background-color-dark-blue_1djdl_205{--tw-bg-opacity: 1;background-color:rgb(0 52 79 / var(--tw-bg-opacity, 1))}._background-color-light-blue_1djdl_208{--tw-bg-opacity: 1;background-color:rgb(233 247 255 / var(--tw-bg-opacity, 1))}._background-color-white_1djdl_211{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}._background-color-error-red_1djdl_214{--tw-bg-opacity: 1;background-color:rgb(250 33 33 / var(--tw-bg-opacity, 1))}._background-color-tertiary-blue_1djdl_217{--tw-bg-opacity: 1;background-color:rgb(37 136 228 / var(--tw-bg-opacity, 1))}._background-color-warning-yellow_1djdl_220{--tw-bg-opacity: 1;background-color:rgb(254 185 40 / var(--tw-bg-opacity, 1))}._background-color-rich-black_1djdl_223{--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))}._background-color-anti-flash-white_1djdl_226{--tw-bg-opacity: 1;background-color:rgb(237 237 237 / var(--tw-bg-opacity, 1))}._background-color-fire-engine-red_1djdl_229{--tw-bg-opacity: 1;background-color:rgb(215 25 25 / var(--tw-bg-opacity, 1))}._background-color-alternate-rich-black_1djdl_232{--tw-bg-opacity: 1;background-color:rgb(18 23 29 / var(--tw-bg-opacity, 1))}._background-color-transparent_1djdl_235{background-color:transparent}._bordered--main-green-100_1djdl_239{border-color:#21fa90}._bordered--main-dark-blue-100_1djdl_242{border-color:#00283d}._bordered--tertiary-blue-100_1djdl_245{border-color:#2588e4}._bordered--error-red-100_1djdl_248{border-color:#fa2121}._bordered--warning-yellow-100_1djdl_251{border-color:#feb928}._bordered--dark-blue-100_1djdl_254{border-color:#00344f}._bordered--white-100_1djdl_257{border-color:#fff}._bordered--main-green-30_1djdl_261{border-color:#21fa904d}._bordered--main-dark-blue-30_1djdl_264{border-color:#00283d4d}._bordered--error-red-30_1djdl_267{border-color:#fa21214d}._bordered--warning-yellow-30_1djdl_270{border-color:#feb9284d}._bordered--dark-blue-30_1djdl_273{border-color:#00344f4d}._bordered--white-30_1djdl_276{border-color:#ffffff4d}._bordered--tertiary-blue-30_1djdl_279{border-color:#2588e44d}._container_setfp_1{position:relative;flex-grow:1}._containerElement_setfp_4{display:flex;height:100%;max-height:calc(100vH - 6rem);min-height:calc(100vH - 6rem);flex-direction:column;row-gap:2.5rem;overflow-y:auto;padding:1rem}._container_6v4z7_1{position:relative;flex-grow:1}._buttonContainer_6v4z7_4{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:.5rem}._applicationName_6v4z7_7{max-width:40rem}._rowContainer_6v4z7_10{display:flex;width:100%;flex-direction:column;align-items:flex-start;-moz-column-gap:1.5rem;column-gap:1.5rem;row-gap:1rem}@media (min-width: 744px){._rowContainer_6v4z7_10{flex-direction:row;align-items:center}}._borderexBoxContainer_6v4z7_13{padding:1rem}._updatePlatformaticBox_6v4z7_16{width:-moz-fit-content;width:fit-content;flex:unset!important}._verticalSeparator_6v4z7_20{display:none}@media (min-width: 744px){._verticalSeparator_6v4z7_20{display:block}}._appInnerBox_6v4z7_23{padding-left:32px}._runningPills_13572_1,._stoppedPills_13572_2{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:.25rem}@media (min-width: 744px){._runningPills_13572_1,._stoppedPills_13572_2{justify-content:flex-start}}._stoppedPills_13572_2,._runningPills_13572_1{width:-moz-fit-content;width:fit-content;border-radius:9999px;padding:.125rem .5rem}._runningPills_13572_1{background-color:#21fa9026}._stoppedPills_13572_2{background-color:#ffffff26}._clockWiseRotation_13572_16{animation:_rotationClockwise_13572_1 2s infinite linear}@keyframes _rotationClockwise_13572_1{0%{transform:rotate(0)}to{transform:rotate(359deg)}}._borderexBoxContainer_15wfb_1{position:relative;flex-grow:1;padding:1rem}._buttonContainer_15wfb_4{display:flex;align-items:center;justify-content:flex-end;-moz-column-gap:.5rem;column-gap:.5rem}._applicationName_15wfb_7{max-width:40rem}._innerServiceBoxContainer_15wfb_10{display:flex;width:100%;flex-direction:column;align-items:center;row-gap:.5rem;text-align:center}._verticalSeparator_15wfb_13{height:104px}._w45_15wfb_16{width:45px}._boxOutdatedDependencies_15wfb_19,._boxUpToDateDependencies_15wfb_20{height:.75rem;width:.75rem;border-radius:.125rem;border-width:1px;border-style:solid}._boxOutdatedDependencies_15wfb_19{--tw-border-opacity: 1;border-color:rgb(254 185 40 / var(--tw-border-opacity, 1));background-color:#feb9284d}._boxUpToDateDependencies_15wfb_20{border-color:#ffffff4d;--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))}._flexWrap_15wfb_29{flex-wrap:wrap;row-gap:.5rem}._serviceBox_15wfb_32{min-width:240px;flex:1 1 240px}._serviceContentRow_15wfb_36{display:flex;width:100%;flex-direction:row;align-items:flex-start}._servicePadding_15wfb_39{padding:1rem}._emptyOpenApi_15wfb_42{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;font-family:Inter}._emptyOpenApiTitle_15wfb_45{font-size:16px;margin-top:10px;padding:10px 0}._emptyOpenApiText_15wfb_50{font-size:14px;opacity:.7}._serviceDetailPanel_15wfb_54{position:fixed;top:0;right:0;bottom:0;z-index:9999;display:flex;flex-direction:column;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1));min-width:1020px;border-left:1px solid rgba(255,255,255,.3)}._closeButton_15wfb_59{position:fixed;top:0;z-index:9999;cursor:pointer;border-width:0px;background-color:transparent;padding:1rem;right:10px}._overlay_15wfb_63{position:fixed;inset:0;z-index:9999;background-color:#000000f2}._metricsContainer_1b7ex_1{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;grid-template-columns:1fr 1fr}._metricsContainer_1b7ex_1>:last-child:nth-child(odd){grid-column:1 / -1}._buttonContainer_1v6bi_1{display:flex;align-items:center;justify-content:flex-end;-moz-column-gap:.5rem;column-gap:.5rem}._borderexBoxContainer_1v6bi_4{position:relative;padding:1rem}._borderedBoxHeigthLoading_1v6bi_7{min-height:150px}._borderexBoxSlim_1v6bi_10{position:relative;min-height:100px;padding:0}._upArrow_1v6bi_13{fill:#fa2121}._downArrow_1v6bi_16{fill:#21fa90}._verticalSeparator_1v6bi_19{height:1rem}._legendLine_1v6bi_22{height:0px;width:.75rem;border-radius:9999px;border-top-width:2px;border-style:solid}._noDataContainer_1mpfx_1{display:flex;width:100%;flex-grow:1;flex-direction:column;align-items:center;justify-content:center;row-gap:.25rem}._footer_1qf1m_1,._header_1qf1m_2{position:relative;display:flex;width:100%;align-items:center;justify-content:space-between}._title_1qf1m_5{width:100%}._labelContainer_1qf1m_9{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:flex-end}._labelContainer_1qf1m_9>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}._label_1qf1m_9{width:-moz-max-content;width:max-content}._line_1qf1m_17{fill:none;stroke-width:2px}._tooltip_1qf1m_22{display:flex;flex-direction:column;align-items:center;color:#000;background-color:#fff;border:1px solid black;border-radius:5px;pointer-events:none;opacity:.7;z-index:20}._tooltipAbsolute_1qf1m_34{position:absolute}._tooltipFixed_1qf1m_37{position:fixed}._tooltipContainer_1qf1m_40{display:flex;flex-direction:column}._tooltipTime_1qf1m_44{margin-left:.5rem;margin-right:.5rem;margin-top:.5rem;display:flex;flex-direction:column;align-items:center;border-bottom-width:1px;border-style:solid;border-color:#00050b4d}._time_1qf1m_48{margin-bottom:.5rem}._tooltipTable_1qf1m_52{margin-bottom:.5rem;margin-top:.5rem;width:100%;border-style:solid}._tooltipLine_1qf1m_56{margin-left:.5rem;margin-right:.5rem;display:flex;justify-content:space-between;border-style:solid;--tw-border-opacity: .5}._tooltipValueContainer_1qf1m_60{display:flex;border-style:solid}._tooltipValue_1qf1m_60{margin-left:1rem;opacity:1}._tooltipUnit_1qf1m_68{margin-left:.25rem;opacity:1}._P90_1qf1m_72{color:#2192fa}._P95_1qf1m_76{color:#fa6221}._P99_1qf1m_80{color:#c61be2}._grid_1qf1m_84{opacity:.3}._axis_1qf1m_88{opacity:.7;font-size:12px;font-weight:300;line-height:150%}._verticalSeparatorTooltip_1qf1m_95{height:1rem;width:1.5px;border-radius:9999px;margin-block-start:0;margin-block-end:0;border-width:0px}._color-0_1jq1u_1{stroke:#c61be2;color:#c61be2}._color-1_1jq1u_6{stroke:#fa6221;color:#fa6221}._color-2_1jq1u_11{stroke:#2192fa;color:#2192fa}._background-color-0_1jq1u_16{background:#c61be2}._background-color-1_1jq1u_20{background:#fa6221}._background-color-2_1jq1u_24{background:#2192fa}._color-0_nj7ol_1{stroke:#44ffec;color:#44ffec}._background-color-0_nj7ol_6{background:#44ffec}._color-1_nj7ol_10{stroke:#2588e4;color:#2588e4}._background-color-1_nj7ol_15{background:#2588e4}._color-2_nj7ol_20{stroke:#c61be2;color:#c61be2}._background-color-2_nj7ol_25{background:#c61be2}._color-3_nj7ol_30{stroke:#5a3cff;color:#5a3cff}._background-color-3_nj7ol_35{background:#5a3cff}._color-4_nj7ol_40{stroke:#21fa90;color:#21fa90}._background-color-4_nj7ol_45{background:#21fa90}._color-0_c6el4_1{stroke:#fa6221;color:#fa6221}._color-1_c6el4_6{stroke:#feb928;color:#feb928}._background-color-0_c6el4_11{background:#fa6221}._background-color-1_c6el4_15{background:#feb928}._color-0_gipc3_1{stroke:#21fa90;color:#21fa90}._background-color-0_gipc3_6{background:#21fa90}._color-0_1lcoj_1{stroke:#c61be2;color:#c61be2}._color-1_1lcoj_6{stroke:#2588e4;color:#2588e4}._color-2_1lcoj_11{stroke:#21fa90;color:#21fa90}._background-color-0_1lcoj_16{background:#c61be2}._background-color-1_1lcoj_20{background:#2588e4}._background-color-2_1lcoj_24{background:#21fa90}._color-0_wkjw5_1{stroke:#feb928;color:#feb928}._background-color-0_wkjw5_6{background:#feb928}._color-0_1d1gn_1{stroke:#c61be2;color:#c61be2}._color-1_1d1gn_6{stroke:#2588e4;color:#2588e4}._color-2_1d1gn_11{stroke:#21fa90;color:#21fa90}._color-3_1d1gn_16{stroke:#fa6221;color:#fa6221}._color-4_1d1gn_21{stroke:#feb928;color:#feb928}._color-5_1d1gn_26{stroke:#44ffec;color:#44ffec}._background-color-0_1d1gn_31{background:#c61be2}._background-color-1_1d1gn_35{background:#2588e4}._background-color-2_1d1gn_39{background:#21fa90}._background-color-3_1d1gn_43{background:#fa6221}._background-color-4_1d1gn_47{background:#feb928}._background-color-5_1d1gn_51{background:#44ffec}._color-0_r3fwt_1{stroke:#21fa90;color:#21fa90}._background-color-0_r3fwt_6{background:#21fa90}._detailPodContainer_gvwne_1{position:relative;display:flex;flex-grow:1;flex-direction:column;flex-basis:1rem}._detailPodContent_gvwne_5{display:flex;flex-direction:column;row-gap:1rem;padding:1rem}._borderedBoxContainerPodLogs_gvwne_8{width:100%;border-radius:4px;padding:1rem}._previewTabContent_gvwne_11{display:flex;max-height:calc(100vH - 16rem);flex-direction:column;row-gap:0px;overflow-y:auto;overflow-x:hidden}._smallMargin_gvwne_14{margin-left:2rem}._customTab_gvwne_17{margin-left:1.25rem;margin-right:1.25rem;min-width:unset}._container_1cbp0_1{position:relative;flex-grow:1}._content_1cbp0_4{display:flex;height:100%;flex-direction:column;row-gap:2.5rem;padding:0}._flexGrow_1cbp0_7{flex-grow:1}._buttonContainer_1cbp0_10,._select_1cbp0_11{flex-basis:25%}._borderexBoxPodContainer_1cbp0_14{display:flex;height:100%;max-height:calc(100vH - 10rem);min-height:calc(100vH - 10rem);width:100%;flex-direction:column;row-gap:1rem;padding-top:1rem;padding-bottom:1rem;padding-left:0;padding-right:0;overflow-x:hidden}._lateralPadding_1cbp0_18{padding-left:1rem;padding-right:1rem}._top_1cbp0_21,._bottom_1cbp0_21{flex-shrink:0;flex-grow:0}._logsContainer_1cbp0_24{display:flex;height:100%;max-height:calc(100% - 10rem);min-height:calc(100% - 10rem);flex-grow:1;flex-direction:column;row-gap:.25rem;overflow-y:auto}._logDividerBottom_1cbp0_27,._logDividerTop_1cbp0_28{height:1px;width:100%;border-width:0px;--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1));margin-block-start:0px;margin-block-end:0px;margin-inline-start:unset;margin-inline-end:unset}._previousLogContainer_1cbp0_35{top:0;z-index:10;margin-left:auto;margin-right:auto;width:100%;--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1));padding-bottom:.25rem}._noLogs_1cbp0_38{width:100%}._icon_1xzuv_1{position:absolute;top:1rem;right:1rem}._displayedElements_1xzuv_4{position:relative;max-width:calc(100vw - 10rem);padding-top:.25rem;padding-bottom:.25rem}._log_1xzuv_7{position:relative;display:flex;width:-moz-fit-content;width:fit-content;flex-direction:row;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem;border-radius:.25rem;padding:.25rem .5rem;max-width:inherit}._logRawContainer_1xzuv_11{display:inline-block;width:100%}._logRaw_1xzuv_11{display:inline-block;word-break:break-word}._request_1xzuv_18{display:inline-block;max-width:290px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 1240px){._request_1xzuv_18{max-width:600px}}._log10_1xzuv_21{background-color:#2588e426}._text10_1xzuv_24{--tw-text-opacity: 1;color:rgb(37 136 228 / var(--tw-text-opacity, 1))}._log20_1xzuv_27{background-color:#c61be226}._text20_1xzuv_30{--tw-text-opacity: 1;color:rgb(198 27 226 / var(--tw-text-opacity, 1))}._log30_1xzuv_33{background-color:#21fa9026}._text30_1xzuv_36{--tw-text-opacity: 1;color:rgb(33 250 144 / var(--tw-text-opacity, 1))}._log40_1xzuv_39{background-color:#feb92826}._text40_1xzuv_42{--tw-text-opacity: 1;color:rgb(254 185 40 / var(--tw-text-opacity, 1))}._log50_1xzuv_45{background-color:#fa212126}._text50_1xzuv_48,._text60_1xzuv_49{--tw-text-opacity: 1;color:rgb(250 33 33 / var(--tw-text-opacity, 1))}._buttonRawJson_1xzuv_53{padding-top:0;padding-bottom:0}._logContainerClassNameInactive_1xzuv_56{position:relative;max-width:calc(100vW - 10rem);padding:0}._logContainerClassNameActive_1xzuv_59{position:relative;max-width:calc(100vW - 10rem);border-radius:.25rem;border-width:.5px;border-style:solid}._logContainerClassNameActive10_1xzuv_62{--tw-border-opacity: 1;border-color:rgb(37 136 228 / var(--tw-border-opacity, 1))}._logContainerClassNameActive20_1xzuv_65{--tw-border-opacity: 1;border-color:rgb(198 27 226 / var(--tw-border-opacity, 1))}._logContainerClassNameActive30_1xzuv_68{--tw-border-opacity: 1;border-color:rgb(33 250 144 / var(--tw-border-opacity, 1))}._logContainerClassNameActive40_1xzuv_71{--tw-border-opacity: 1;border-color:rgb(254 185 40 / var(--tw-border-opacity, 1))}._logContainerClassNameActive50_1xzuv_74{--tw-border-opacity: 1;border-color:rgb(250 33 33 / var(--tw-border-opacity, 1))}._msg_1xzuv_77{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._copyPasteIcon_1xzuv_80{position:absolute;top:.5rem;right:.5rem}._textLog_1xzuv_83{overflow-x:auto}._container_wbrpe_1{position:relative;display:flex;flex-direction:row;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem}._content_wbrpe_4{display:flex;flex-direction:column;row-gap:2.5rem;padding:2.5rem 1.5rem}._buttonLevel_wbrpe_7{position:relative;flex-grow:1;flex-basis:0px;cursor:pointer;padding:.25rem .5rem;text-transform:capitalize}._point_wbrpe_11{position:absolute;bottom:-.5rem;left:50%;z-index:10;height:6px;width:6px;border-radius:9999px;transform:translate(-50%)}._line_wbrpe_15{position:absolute;bottom:-.3rem;left:50%;z-index:0;height:1px;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}._tracePoint_wbrpe_19{--tw-bg-opacity: 1;background-color:rgb(37 136 228 / var(--tw-bg-opacity, 1))}._debugPoint_wbrpe_22{--tw-bg-opacity: 1;background-color:rgb(198 27 226 / var(--tw-bg-opacity, 1))}._infoPoint_wbrpe_25{--tw-bg-opacity: 1;background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1))}._warnPoint_wbrpe_28{--tw-bg-opacity: 1;background-color:rgb(254 185 40 / var(--tw-bg-opacity, 1))}._errorPoint_wbrpe_31{--tw-bg-opacity: 1;background-color:rgb(250 33 33 / var(--tw-bg-opacity, 1))}._inactivePoint_wbrpe_34{--tw-bg-opacity: .3 }._selectedPoint_wbrpe_37{margin-bottom:-2px;border-radius:9999px;border-width:2px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}._progressContainer_wbrpe_41{position:absolute;bottom:-.375rem;left:0;z-index:0;height:2px;width:100%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}._progress_wbrpe_41{position:relative;z-index:0;height:100%;width:100%;background-color:#ffffff26;margin:0;padding:0;overflow:hidden;border-radius:2px}._bar_wbrpe_54{position:relative;height:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));float:left}._percent_wbrpe_59{position:absolute;top:50%;left:50%;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));transform:translate(-50%,-50%)}._boxService_nb41f_1{width:100%;padding:.25rem .5rem}._servicesContainer_nb41f_4{max-width:227px}._selectedThread_nb41f_7{background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .3;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));opacity:1}._workerThreads_nb41f_10:hover{background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));opacity:1}._workerThreads_nb41f_10{font-size:12px;line-height:18px;font-weight:300;padding-top:5px;padding-bottom:5px;padding-left:4px;border-radius:2px}._podServicesContainer_1gi78_1{position:relative;display:flex;flex-grow:1;flex-direction:column;flex-basis:1rem}._podServicesContent_1gi78_5{display:flex;flex-direction:column;row-gap:1rem;padding:1rem}._borderedBoxContainerPodServices_1gi78_8{width:100%;border-radius:4px;padding:1rem}._container_1lg3r_1{position:relative;width:100%;flex-grow:1}._content_1lg3r_4{display:flex;height:100%;max-height:calc(100vh - 10rem);min-height:calc(100vh - 10rem);flex-direction:column;row-gap:2.5rem;overflow-y:auto;padding:0}._boxMetricContainer_1lg3r_7{width:100%;padding:1rem}._flexGrow_1lg3r_10{flex-grow:1}</style>
2982
+ `,Mvn={class:"flex-center relative flex flex-1 flex-col gap-6 p-2 capitalize"},Avn={key:0,class:"scalar-version-number"},Nvn={class:"text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm"},Pvn=le({__name:"ResponseEmpty",props:{collection:{},operation:{},workspace:{},numWorkspaceRequests:{}},setup(e){const{events:t,requestMutators:n}=Sn(),r=YQ(),o=sl(),{layout:a}=Ti(),s=()=>{const c=e.operation.tags?.length?{tags:e.operation.tags[0]?[e.operation.tags[0]]:[]}:{},d=n.add(c,e.collection.uid);d&&(o.push({name:"request",params:{workspace:e.workspace.uid,request:d.uid}}),In(()=>{t.hotKeys.emit({focusAddressBar:new KeyboardEvent("keydown",{key:"l"})})}))},i=c=>{c?.createNew&&r.name==="request"&&s()},l="2.7.0";return en(()=>t.hotKeys.on(i)),li(()=>t.hotKeys.off(i)),(c,d)=>(C(),A("div",Mvn,[L("div",{class:Ie(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center",{"hidden opacity-0":c.numWorkspaceRequests<=1&&O(a)!=="modal"}])},[O(a)!=="modal"?(C(),A("div",Avn,[be(" Scalar App V"+Te(O(l))+" Beta ",1),d[3]||(d[3]=L("div",{class:"mt-2"},[L("a",{href:"https://github.com/scalar/scalar/issues/2669",target:"_blank"}," Roadmap ")],-1))])):te("",!0),d[4]||(d[4]=L("a",{class:"gitbook-show scalar-version-number",href:"https://www.scalar.com",target:"_blank"}," Powered By Scalar.com ",-1)),H(_x,{art:O(jvn),class:"text-c-3"},null,8,["art"])],2),O(a)!=="modal"?(C(),A("div",{key:0,class:Ie(["hidden h-[calc(100%_-_50px)] items-center justify-center pb-5",{"!flex opacity-100":c.numWorkspaceRequests==1}])},[H(xT)],2)):te("",!0),L("div",Nvn,[O(a)!=="modal"?(C(),A("button",{key:0,class:"flex items-center gap-1.5",type:"button",onClick:d[0]||(d[0]=f=>O(t).commandPalette.emit())},[d[5]||(d[5]=be(" Get Started ")),H(O(wv),{hotkey:"k"})])):te("",!0),O(a)==="desktop"?(C(),A("button",{key:1,class:"flex items-center gap-1.5",type:"button",onClick:d[1]||(d[1]=f=>s())},[d[6]||(d[6]=be(" New Request ")),H(O(wv),{hotkey:"N"})])):te("",!0),L("button",{class:"flex items-center gap-1.5",type:"button",onClick:d[2]||(d[2]=f=>O(t).executeRequest.emit())},[d[7]||(d[7]=be(" Send Request ")),H(O(wv),{hotkey:"↵"})])])]))}}),Ivn=Dn(Pvn,[["__scopeId","data-v-6d2bdb61"]]),Rvn={key:0,class:"max-h-[calc(100%-32px)] overflow-y-auto"},Dvn={key:1,class:"text-c-3 bg-b-1 flex min-h-12 items-center justify-center rounded border px-4 text-base"},Bvn=le({__name:"ResponseHeaders",props:{headers:{}},setup(e){const t=n=>J_e.find(r=>r.name.toLowerCase()===n.toLowerCase());return(n,r)=>(C(),Y(z1,{class:"overflow-auto",defaultOpen:!1,itemCount:n.headers.length},{title:B(()=>r[0]||(r[0]=[be("Response Headers")])),default:B(()=>[n.headers.length?(C(),A("div",Rvn,[H(d0,{columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:B(()=>[H(gn,{class:"sr-only !block"},{default:B(()=>[H(O(Id),null,{default:B(()=>r[1]||(r[1]=[be("Header Key")])),_:1,__:[1]}),H(O(Id),null,{default:B(()=>r[2]||(r[2]=[be("Header Value")])),_:1,__:[2]})]),_:1}),(C(!0),A(je,null,_t(n.headers,o=>(C(),Y(gn,{key:o.name,class:"group/row text-c-1"},{default:B(()=>[H(s7,{class:"bg-b-1 sticky left-0 z-1 max-w-full group-first/row:border-t-0"},{default:B(()=>[typeof t(o.name)?.url=="string"?(C(),Y(Jq,{key:0,class:"decoration-c-3",href:t(o.name).url},{default:B(()=>[be(Te(o.name),1)]),_:2},1032,["href"])):(C(),A(je,{key:1},[be(Te(o.name),1)],64))]),_:2},1024),H(s7,{class:"z-0 group-first/row:border-t-0",text:o.value},null,8,["text"])]),_:2},1024))),128))]),_:1})])):(C(),A("div",Dvn," No Headers "))]),_:1},8,["itemCount"]))}}),Hvn={key:0,class:"bg-b-1 z-overlay absolute inset-0 flex flex-col items-center justify-center gap-6"},Vvn=le({__name:"ResponseLoadingOverlay",setup(e){const{events:t}=Sn(),n=F7(),r=me();return t.requestStatus.on(o=>{o==="start"?r.value=setTimeout(()=>n.startLoading(),1e3):(clearTimeout(r.value),r.value=void 0,n.stopLoading())}),(o,a)=>(C(),Y(DGe,null,{default:B(()=>[O(n).isLoading?(C(),A("div",Hvn,[H(O(vk),{class:"text-c-3",loadingState:O(n),size:"3xl"},null,8,["loadingState"]),H(O(At),{variant:"ghost",onClick:a[0]||(a[0]=s=>O(t).cancelRequest.emit())},{default:B(()=>a[1]||(a[1]=[be(" Cancel ")])),_:1,__:[1]})])):te("",!0)]),_:1}))}}),Fvn=Dn(Vvn,[["__scopeId","data-v-5d3b84e1"]]);function Uvn(e){if(typeof e!="number")throw new TypeError("Expected a number");const t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(e*1e3)%1e3,nanoseconds:t(e*1e6)%1e3}}const zvn=(e,t)=>t===1?e:`${e}s`,Wvn=1e-7;function k1e(e,t={}){if(!Number.isFinite(e))throw new TypeError("Expected a finite number");t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);const n=[],r=(s,i)=>{const l=Math.floor(s*10**i+Wvn);return(Math.round(l)/10**i).toFixed(i)},o=(s,i,l,c)=>{if((n.length===0||!t.colonNotation)&&s===0&&!(t.colonNotation&&l==="m"))return;c=(c||s||"0").toString();let d,f;if(t.colonNotation){d=n.length>0?":":"",f="";const h=c.includes(".")?c.split(".")[0].length:c.length,m=n.length>0?2:1;c="0".repeat(Math.max(0,m-h))+c}else d="",f=t.verbose?" "+zvn(i,s):l;n.push(d+c+f)},a=Uvn(e);if(o(Math.trunc(a.days/365),"year","y"),o(a.days%365,"day","d"),o(a.hours,"hour","h"),o(a.minutes,"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(o(a.seconds,"second","s"),t.formatSubMilliseconds)o(a.milliseconds,"millisecond","ms"),o(a.microseconds,"microsecond","µs"),o(a.nanoseconds,"nanosecond","ns");else{const s=a.milliseconds+a.microseconds/1e3+a.nanoseconds/1e6,i=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,l=s>=1?Math.round(s):Math.ceil(s),c=i?s.toFixed(i):l;o(Number.parseFloat(c),"millisecond","ms",c)}else{const s=e/1e3%60,i=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,l=r(s,i),c=t.keepDecimalsOnWholeSeconds?l:l.replace(/\.0+$/,"");o(Number.parseFloat(c),"second","s",c)}if(n.length===0)return"0"+(t.verbose?" milliseconds":"ms");if(t.compact)return n[0];if(typeof t.unitCount=="number"){const s=t.colonNotation?"":" ";return n.slice(0,Math.max(t.unitCount,1)).join(s)}return t.colonNotation?n.join(""):n.join(" ")}const Zvn={class:"text-c-1 flex gap-1.5"},Qvn={key:0},qvn={key:0},Xvn={key:1},Yvn=le({__name:"ResponseMetaInformation",props:{response:{}},setup(e){const t=e,{events:n}=Sn(),r=me(),o=me(0);n.requestStatus.on(i=>{i==="start"?r.value=setInterval(()=>o.value+=1e3,1e3):(clearInterval(r.value),r.value=void 0,o.value=0)});const a=i=>{const l=Number.parseInt(i.headers?.["Content-Length"]||i.headers?.["content-length"]||"0",10);return l?dMt(l):void 0},s=Q(()=>{const i=t.response.status;if(i)return LZ[i]??void 0});return(i,l)=>(C(),A("div",Zvn,[r.value&&o.value?(C(),A("span",Qvn,Te(O(k1e)(o.value)),1)):(C(),A(je,{key:1},[L("span",null,[l[0]||(l[0]=L("span",{class:"sr-only"},"Response Information, Duration:",-1)),be(" "+Te(O(k1e)(i.response.duration)),1)]),a(i.response)?(C(),A("span",qvn,[l[1]||(l[1]=L("span",{class:"sr-only"},", Size:",-1)),be(" "+Te(a(i.response)),1)])):te("",!0),s.value?(C(),A(je,{key:1},[l[2]||(l[2]=L("span",{class:"sr-only"},", Status:",-1)),s.value.url?(C(),Y(Jq,{key:0,class:"flex items-center gap-1.5",href:s.value.url},{default:B(()=>[be(Te(i.response.status)+" "+Te(s.value.name)+" ",1),L("span",{class:"block h-1.5 w-1.5 rounded-full",style:sr({backgroundColor:s.value.color})},null,4)]),_:1},8,["href"])):(C(),A("span",Xvn,[be(Te(i.response.status)+" "+Te(s.value.name)+" ",1),L("span",{class:"block h-1.5 w-1.5 rounded-full",style:sr({backgroundColor:s.value.color})},null,4)]))],64)):te("",!0)],64))]))}}),Gvn={class:"flex h-8 flex-1 items-center"},Kvn=["id","role"],w1e=2e5,Jvn=le({__name:"ResponseSection",props:{collection:{},operation:{},workspace:{},numWorkspaceRequests:{},response:{},requestResult:{}},setup(e){const t=$q().getViewComponents("response.section"),n=Q(()=>{const d=e.response?.headers;return d?Object.keys(d).map(f=>({name:f,value:d[f]??"",required:!1})):[]}),r=Q(()=>e.response?.cookieHeaderKeys.flatMap(d=>{const f=e.response?.headers?.[d];return f?{name:d,value:f,required:!1}:[]})??[]),o=["Cookies","Headers","Body"],a=me("All"),s=Q(()=>["All",...o]),i=Q(()=>Object.fromEntries(s.value.map(d=>[d,Rr()]))),l=Q(()=>{if(!e.response||!("size"in e.response))return!1;const d=e.response.headers?.["content-type"]||e.response.headers?.["Content-Type"];return!d||(e.response.size??0)<=w1e||d.includes("text/html")?!1:["text/","application/json","application/ld+json","application/problem+json","application/vnd.api+json","application/xml","application/atom+xml","application/rss+xml","application/problem+xml","application/javascript","application/ecmascript","application/x-yaml","application/yaml","application/x-httpd-php","application/x-sh","application/x-perl","application/x-python","application/x-ruby","application/x-java-source","application/x-www-form-urlencoded"].some(f=>d.includes(f))&&(e.response.size??0)>w1e}),c=Q(()=>e.requestResult?.request.parameters.headers.filter(d=>d.enabled).map(d=>({name:d.key,value:d.value,required:!0}))??[]);return(d,f)=>(C(),Y(Zu,{"aria-label":"Response"},{title:B(()=>[L("div",Gvn,[L("div",{"aria-live":"polite",class:Ie(["flex items-center",{"animate-response-heading":d.response}])},[f[1]||(f[1]=L("span",{class:"response-heading pointer-events-none absolute"}," Response ",-1)),d.response?(C(),Y(Yvn,{key:0,class:"animate-response-children",response:d.response},null,8,["response"])):te("",!0)],2),H(vOe,{modelValue:a.value,"onUpdate:modelValue":f[0]||(f[0]=h=>a.value=h),filterIds:i.value,filters:s.value},null,8,["modelValue","filterIds","filters"])])]),default:B(()=>[L("div",{id:i.value.All,class:Ie(["custom-scroll response-section-content relative grid h-full justify-stretch",{"content-start":d.response}]),role:a.value==="All"&&d.response?"tabpanel":"none"},[d.response?(C(),A(je,{key:1},[a.value==="All"||a.value==="Cookies"?(C(),Y(Evn,{key:0,class:"response-section-content-cookies",id:i.value.Cookies,cookies:r.value,role:a.value==="All"?"none":"tabpanel"},null,8,["id","cookies","role"])):te("",!0),a.value==="All"||a.value==="Headers"?(C(),Y(evn,{key:1,class:"response-section-content-headers",id:i.value.Headers,headers:c.value,role:a.value==="All"?"none":"tabpanel"},null,8,["id","headers","role"])):te("",!0),a.value==="All"||a.value==="Headers"?(C(),Y(Bvn,{key:2,class:"response-section-content-headers",id:i.value.Headers,headers:n.value,role:a.value==="All"?"none":"tabpanel"},null,8,["id","headers","role"])):te("",!0),(C(!0),A(je,null,_t(O(t),h=>(C(),Y(O(xc),{key:h.component},{default:B(()=>[Po((C(),Y(fo(h.component),lt({ref_for:!0},h.props??{}),null,16)),[[yi,a.value==="All"||a.value===h.title]])]),_:2},1024))),128)),a.value==="All"||a.value==="Body"?(C(),A(je,{key:3},["reader"in d.response?(C(),Y(Lvn,{key:0,class:"response-section-content-body",id:i.value.Body,reader:d.response.reader},null,8,["id","reader"])):l.value&&typeof d.response?.data=="string"?(C(),Y($vn,{key:1,id:i.value.Body,content:d.response.data,data:d.response?.data,headers:n.value,role:a.value==="All"?"none":"tabpanel"},null,8,["id","content","data","headers","role"])):(C(),Y(wvn,{key:2,class:"response-section-content-body",id:i.value.Body,layout:"client",active:!0,data:d.response?.data,headers:n.value,role:a.value==="All"?"none":"tabpanel",title:"Body"},null,8,["id","data","headers","role"]))],64)):te("",!0)],64)):(C(),Y(Ivn,{key:0,collection:d.collection,operation:d.operation,workspace:d.workspace,numWorkspaceRequests:d.numWorkspaceRequests},null,8,["collection","operation","workspace","numWorkspaceRequests"])),H(Fvn)],10,Kvn)]),_:1}))}}),eyn=Dn(Jvn,[["__scopeId","data-v-7138ed84"]]),tyn={class:"flex h-full"},nyn={key:0,class:"flex h-full flex-1 flex-col"},ryn=le({__name:"Request",props:{invalidParams:{},selectedSecuritySchemeUids:{},requestResult:{}},emits:["newTab"],setup(e){const{events:t}=Sn(),{isSidebarOpen:n}=Ih(),r=Sn(),{layout:o}=Ti(),{activeCollection:a,activeExample:s,activeRequest:i,activeWorkspace:l,activeServer:c,activeEnvVariables:d,activeEnvironment:f,activeWorkspaceRequests:h}=$o(),{modalState:m,requestHistory:b}=r,v=Q(()=>[...b].reverse().find(k=>k.request.uid===s.value?.uid));function x(k){t.commandPalette.emit({commandName:"Import from cURL",metaData:{parsedCurl:Wbn(k),collectionUid:a.value?.uid}})}return(k,_)=>O(a)&&O(l)?(C(),A("div",{key:0,class:Ie(["bg-b-1 relative z-0 flex h-full flex-1 flex-col overflow-hidden pt-0",{"!mr-0 !mb-0 !border-0":O(o)==="modal"}])},[L("div",tyn,[O(i)?(C(),A("div",nyn,[H(Ybn,{modelValue:O(n),"onUpdate:modelValue":_[0]||(_[0]=S=>_o(n)?n.value=S:null),collection:O(a),envVariables:O(d),environment:O(f),operation:O(i),server:O(c),workspace:O(l),onHideModal:_[1]||(_[1]=()=>O(m).hide()),onImportCurl:x},null,8,["modelValue","collection","envVariables","environment","operation","server","workspace"]),H(Kk,null,{default:B(()=>[O(s)?(C(),Y(_M,{key:0,class:Ie(["flex-1",[O(n)?"sidebar-active-hide-layout":""]])},{default:B(()=>[H(K1n,{collection:O(a),envVariables:O(d),environment:O(f),example:O(s),invalidParams:k.invalidParams,operation:O(i),selectedSecuritySchemeUids:k.selectedSecuritySchemeUids,server:O(c),workspace:O(l)},null,8,["collection","envVariables","environment","example","invalidParams","operation","selectedSecuritySchemeUids","server","workspace"]),H(eyn,{collection:O(a),numWorkspaceRequests:O(h).length,operation:O(i),requestResult:k.requestResult,response:v.value?.response,workspace:O(l)},null,8,["collection","numWorkspaceRequests","operation","requestResult","response","workspace"])]),_:1},8,["class"])):te("",!0)]),_:1})])):(C(),Y(xT,{key:1}))])],2)):(C(),Y(xT,{key:1}))}}),oyn=Dn(ryn,[["__scopeId","data-v-57ae0d10"]]),O1e=Object.freeze(Object.defineProperty({__proto__:null,default:oyn},Symbol.toStringTag,{value:"Module"})),ayn=["for"],syn=["id","placeholder","value"],iyn=le({__name:"LabelInput",props:{inputId:{},placeholder:{},value:{},layout:{}},emits:["updateValue"],setup(e,{emit:t}){const n=t,{cx:r}=tr(),o=a=>{const s=a.target;n("updateValue",s.value)};return(a,s)=>(C(),A("div",er(xr(O(r)("flex-1 flex gap-1 items-center pointer-events-none group"))),[a.layout!=="modal"?(C(),A(je,{key:0},[L("label",lt(O(r)("absolute w-full h-full top-0 left-0 pointer-events-auto opacity-0 cursor-text"),{for:a.inputId}),null,16,ayn),L("input",lt(O(r)("flex-1 text-c-1 rounded pointer-events-auto relative w-full pl-1.25 -ml-0.5 md:-ml-1.25 h-8 group-hover-input has-[:focus-visible]:outline z-10"),{id:a.inputId,placeholder:a.placeholder,value:a.value,onInput:o}),null,16,syn)],64)):(C(),A("span",er(lt({key:1},O(r)("flex items-center text-c-1 h-8"))),Te(a.value),17))],16))}}),lyn=Dn(iyn,[["__scopeId","data-v-fced736a"]]),cyn=["aria-label"],uyn={class:"group relative ml-1.25"},dyn=le({__name:"CollectionInfoForm",setup(e){const{activeCollection:t}=$o(),{collectionMutators:n}=Sn(),r=Q(()=>t?.value?.["x-scalar-icon"]||"interface-content-folder"),o=i=>{t?.value?.uid&&n.edit(t?.value?.uid,"x-scalar-icon",i)},a=i=>{t.value&&n.edit(t.value.uid,"info.title",i)},s=Q(()=>({icon:t?.value?.["x-scalar-icon"],title:t?.value?.info?.title,description:t?.value?.info?.description,version:t?.value?.info?.version}));return(i,l)=>(C(),A("div",{"aria-label":`Collection: ${s.value.title}`,class:"mx-auto flex h-fit w-full flex-col gap-2 pt-6 pb-3 md:mx-auto md:max-w-[720px]"},[H(Y_e,{modelValue:r.value,placement:"bottom-start","onUpdate:modelValue":l[0]||(l[0]=c=>o(c))},{default:B(()=>[H(O(At),{class:"hover:bg-b-2 aspect-square h-7 w-7 cursor-pointer rounded border border-transparent p-0 hover:border-inherit",variant:"ghost"},{default:B(()=>[H(O(sg),{class:"text-c-2 size-5",src:r.value,"stroke-width":"2"},null,8,["src"])]),_:1})]),_:1},8,["modelValue"]),L("div",uyn,[H(lyn,{class:"text-xl font-bold",inputId:"collectionName",placeholder:"Untitled Collection",value:s.value.title,onUpdateValue:a},null,8,["value"])])],8,cyn))}}),fyn=Dn(dyn,[["__scopeId","data-v-68d5218e"]]),pyn={class:"bg-b-1 sticky -top-[104px] z-10 mx-auto w-full"},hyn={key:0,class:"flex max-w-40 items-center"},myn={class:"text-c-1 mr-[6.25px] hidden overflow-hidden px-2 font-medium text-ellipsis whitespace-nowrap md:block"},gyn=le({__name:"CollectionNavigation",props:{isSticky:{type:Boolean}},setup(e){const{currentRoute:t}=sl(),{activeCollection:n}=$o(),r=Q(()=>[{displayName:"Overview",to:{name:"collection.overview",params:{[ln.Collection]:n.value?.uid}}},{displayName:"Servers",to:{name:"collection.servers",params:{[ln.Collection]:n.value?.uid}}},{displayName:"Authentication",to:{name:"collection.authentication",params:{[ln.Collection]:n.value?.uid}}},{displayName:"Environment",to:{name:"collection.environment",params:{[ln.Collection]:n.value?.uid}}},{displayName:"Settings",to:{name:"collection.settings"}}]);return(o,a)=>(C(),A("div",pyn,[H(fyn),L("div",{class:Ie(["items-center text-sm font-medium",o.isSticky?"h-fit border-b md:grid md:grid-cols-[1fr_720px_1fr] md:px-4":"flex md:mx-auto md:max-w-[720px]"])},[o.isSticky?(C(),A("div",hyn,[H(O(sg),{class:"text-c-2 hidden size-3.5 md:block",src:O(n)?.["x-scalar-icon"]||"interface-content-folder","stroke-width":"2"},null,8,["src"]),L("span",myn,Te(O(n)?.info?.title),1)])):te("",!0),L("div",{class:Ie(["flex w-full max-w-[720px] gap-2 pl-1.5 md:ml-1.5 md:pl-0",!o.isSticky&&"border-b"])},[(C(!0),A(je,null,_t(r.value,({to:s,displayName:i},l)=>(C(),Y(O(rx),{key:l,class:"-ml-2 flex h-10 cursor-pointer items-center px-2 text-center text-sm font-medium whitespace-nowrap no-underline -outline-offset-1 has-[:focus-visible]:outline",to:s},{default:B(()=>[L("span",{class:Ie(["flex-center h-full w-full border-b",typeof s.name=="string"&&typeof O(t).name=="string"&&O(t).name?.startsWith(s.name)?"text-c-1 border-c-1":"text-c-2 hover:text-c-1 border-transparent"])},Te(i),3)]),_:2},1032,["to"]))),128))],2)],2)]))}}),byn={class:"w-full md:mx-auto md:max-w-[720px]"},vyn=le({__name:"Collection",setup(e){const{activeCollection:t}=$o(),n=sl(),r=me(null),{y:o}=BHt(r),a=Q(()=>o.value>104);return pt(t,s=>{if(s?.info?.title==="Drafts"){const i=s.requests[0];n.push({name:"request",params:{[ln.Request]:i}})}},{immediate:!0}),(s,i)=>(C(),Y(Kk,{ref_key:"el",ref:r,class:"h-fit overflow-auto pb-6 xl:overflow-auto"},{default:B(()=>[H(Zu,{class:"xl:h-fit"},{default:B(()=>[H(gyn,{isSticky:a.value},null,8,["isSticky"]),L("div",byn,[H(O(oM))])]),_:1})]),_:1},512))}}),yyn=Object.freeze(Object.defineProperty({__proto__:null,default:vyn},Symbol.toStringTag,{value:"Module"})),xyn={class:"flex h-full w-full flex-col gap-2 pt-8"},kyn={class:"flex min-h-8 items-center justify-between gap-2 pl-1.5"},wyn={class:"has-[:focus-visible]:bg-b-1 group relative z-1 flex flex-col rounded-lg"},Oyn={class:"flex h-full min-h-[calc(1rem*4)] flex-col"},Cyn={key:1,class:"text-c-3 flex h-full items-center justify-center rounded-lg border p-4"},_yn=le({__name:"MarkdownInput",props:{modelValue:{},environment:{},envVariables:{},workspace:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,r=me("preview"),o=me(null);pt(r,s=>{s==="edit"&&In(()=>{o.value?.focus()})});const a=()=>{requestAnimationFrame(()=>{r.value="preview"})};return(s,i)=>(C(),A("div",xyn,[L("div",kyn,[i[5]||(i[5]=L("h3",{class:"font-bold"},"Description",-1)),r.value==="preview"?(C(),Y(O(At),{key:0,class:"text-c-2 hover:text-c-1 flex items-center gap-2",size:"sm",type:"button",variant:"outlined",onClick:i[0]||(i[0]=l=>r.value="edit")},{default:B(()=>[H(O(Ct),{icon:"Pencil",size:"sm",thickness:"1.5"}),i[4]||(i[4]=L("span",null,"Edit",-1))]),_:1,__:[4]})):te("",!0)]),L("div",wyn,[L("div",Oyn,[r.value==="preview"?(C(),A(je,{key:0},[s.modelValue&&s.modelValue.trim().length?(C(),A(je,{key:0},[s.modelValue?(C(),Y(O(ws),{key:0,class:"h-full flex-1 rounded border border-transparent p-1.5 hover:border-(--scalar-background-3)",value:s.modelValue,withImages:"",onDblclick:i[1]||(i[1]=l=>r.value="edit")},null,8,["value"])):te("",!0),i[6]||(i[6]=L("div",{class:"brightness-lifted bg-b-1 absolute inset-0 -z-1 hidden rounded group-hover:block group-has-[:focus-visible]:hidden"},null,-1))],64)):(C(),A("div",Cyn,[H(O(At),{class:"hover:bg-b-2 hover:text-c-1 text-c-2 flex items-center gap-2",size:"sm",variant:"ghost",onClick:i[2]||(i[2]=l=>r.value="edit")},{default:B(()=>[H(O(Ct),{icon:"Pencil",size:"sm",thickness:"1.5"}),i[7]||(i[7]=L("span",null,"Write a description",-1))]),_:1,__:[7]})]))],64)):te("",!0),r.value==="edit"?(C(),Y(uf,{key:1,ref_key:"codeInputRef",ref:o,class:"h-full flex-1 border px-0.5 py-0",envVariables:s.envVariables,environment:s.environment,modelValue:s.modelValue,workspace:s.workspace,onBlur:a,"onUpdate:modelValue":i[3]||(i[3]=l=>n("update:modelValue",l))},null,8,["envVariables","environment","modelValue","workspace"])):te("",!0)])])]))}}),Syn=Dn(_yn,[["__scopeId","data-v-5997a667"]]),Lyn=le({__name:"CollectionOverview",setup(e){const{activeCollection:t,activeEnvironment:n,activeEnvVariables:r,activeWorkspace:o}=$o(),{collectionMutators:a}=Sn(),s=i=>{t.value&&a.edit(t.value.uid,"info.description",i)};return(i,l)=>(C(),Y(Zu,null,{default:B(()=>[O(n)&&O(o)?(C(),Y(Syn,{key:0,envVariables:O(r),environment:O(n),modelValue:O(t)?.info?.description??"",workspace:O(o),"onUpdate:modelValue":s},null,8,["envVariables","environment","modelValue","workspace"])):te("",!0)]),_:1}))}}),$yn=Object.freeze(Object.defineProperty({__proto__:null,default:Lyn},Symbol.toStringTag,{value:"Module"})),Tyn={key:0},Eyn={class:"flex flex-1 flex-col gap-1.5"},jyn=["for"],Myn={class:"centered-y bg-b-2 flex-center absolute right-1 z-1 rounded px-1 py-0.5"},nSe=le({__name:"Form",props:{title:{},options:{},data:{},onUpdate:{type:Function}},setup(e){const{activeEnvVariables:t,activeEnvironment:n,activeWorkspace:r}=$o(),o=Rr();return(a,s)=>(C(),Y(Zu,{class:"last:rounded-b-lg"},xs({default:B(()=>[L("div",Eyn,[Object.keys(a.data).length>0&&O(r)?(C(),Y(d0,{key:0,columns:[""],class:"rounded-b-lg"},{default:B(()=>[(C(!0),A(je,null,_t(a.options,(i,l)=>(C(),Y(gn,{key:l,class:Ie({"border-t":l===0})},{default:B(()=>[H(jq,{class:"pr-9",lineWrapping:"",id:O(o),envVariables:O(t),environment:O(n),modelValue:a.data[i.key]??"",placeholder:i.placeholder,workspace:O(r),"onUpdate:modelValue":c=>a.onUpdate(i.key,c)},xs({default:B(()=>[L("label",{for:O(o)},Te(i.label),9,jyn)]),_:2},[i.key==="description"?{name:"icon",fn:B(()=>[L("div",Myn,[H(O(Ct),{icon:"Markdown",size:"lg"})])]),key:"0"}:void 0]),1032,["id","envVariables","environment","modelValue","placeholder","workspace","onUpdate:modelValue"])]),_:2},1032,["class"]))),128))]),_:1})):te("",!0)])]),_:2},[a.title||a.$slots.title?{name:"title",fn:B(()=>[a.title?(C(),A("span",Tyn,Te(a.title),1)):we(a.$slots,"title",{key:1})]),key:"0"}:void 0]),1024))}}),Ayn=le({__name:"CollectionServerForm",props:{collectionId:{default:""},serverUid:{default:""}},setup(e){const t=e,{activeWorkspaceCollections:n}=$o(),{servers:r,serverMutators:o}=Sn(),a=[{label:"URL",key:"url",placeholder:"https://void.scalar.com",type:"text"},{label:"Description",key:"description",placeholder:"Production",type:"text"}],s=Q(()=>{const f=n.value.find(h=>h.uid===t.collectionId);return r[f&&typeof t.serverUid=="string"&&t.serverUid==="default"?f.servers[0]??"":f?.servers.find(h=>h===t.serverUid)??""]}),i=Q(()=>s.value?.url?s.value.url.match(ca.PATH)?.map(f=>f.slice(1,-1))??[]:[]);pt(i,f=>{if(!s.value)return;const h=s.value.variables?{...s.value.variables}:{};Object.keys(h).forEach(m=>{f.includes(m)||delete h[m]}),f.forEach(m=>{h[m]||(h[m]={default:""})}),o.edit(s.value.uid,"variables",h),Fa(d.value,"store-update-selected-server-properties",{key:"variables",value:h,options:{disableOldStoreUpdate:!0}})},{immediate:!0});const l=(f,h)=>{!n.value||!s.value||(o.edit(s.value.uid,f,h),(f==="url"||f==="description")&&Fa(d.value,"store-update-selected-server-properties",{key:f,value:h,options:{disableOldStoreUpdate:!0}}))},c=(f,h)=>{if(!s.value)return;const m=s.value.variables||{};m[f]={...m[f],default:h},o.edit(s.value.uid,"variables",m),Fa(d.value,"store-update-selected-server-properties",{key:"variables",value:m,options:{disableOldStoreUpdate:!0}})},d=Pc("wrapper-ref");return(f,h)=>(C(),A("div",{ref:"wrapper-ref",class:Ie(["divide-0.5 flex w-full flex-col divide-y rounded-b-lg text-sm",s.value?.variables&&"bg-b-1"])},[s.value?(C(),A(je,{key:0},[H(nSe,{data:s.value,onUpdate:l,options:a},null,8,["data"]),s.value.variables?(C(),Y(_q,{key:0,variables:s.value.variables,"onUpdate:variable":c},null,8,["variables"])):te("",!0)],64)):te("",!0)],2))}}),Nyn={ref:"wrapper-ref",class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},Pyn={class:"flex flex-col gap-4"},Iyn={class:"rounded-lg border"},Ryn={class:"bg-b-2 flex items-start justify-between rounded-t-lg py-1 pr-1 pl-3 text-sm"},Dyn={key:1,class:"self-center"},Byn={class:"text-c-3 flex h-full items-center justify-center rounded-lg border p-4"},Hyn=le({__name:"CollectionServers",setup(e){const{activeCollection:t}=$o(),{servers:n,events:r,serverMutators:o}=Sn(),a=ka(),s=me(null),i=Q(()=>!n||!t.value?.servers?[]:Object.values(n).filter(h=>t.value?.servers.includes(h.uid))),l=()=>r.commandPalette.emit({commandName:"Add Server"}),c=()=>{!t.value?.uid||!s.value||(o.delete(s.value,t.value.uid),Fa(f.value,"scalar-delete-server",{url:n[s.value]?.url??""}),a.hide())},d=h=>{s.value=h,a.show()},f=Pc("wrapper-ref");return(h,m)=>(C(),A("div",Nyn,[L("div",Pyn,[m[2]||(m[2]=mu('<div class="flex items-start justify-between gap-2"><div class="flex flex-col gap-2"><div class="flex h-8 items-center"><h3 class="font-bold">Servers</h3></div><p class="text-sm"> Add different base URLs for your API. You can use <code class="font-code text-c-2">{variables}</code> for dynamic parts. </p></div></div>',1)),(C(!0),A(je,null,_t(i.value,(b,v)=>(C(),A("div",{key:b.uid},[L("div",Iyn,[L("div",Ryn,[b.description?(C(),Y(O(ws),{key:0,class:"self-center",value:b.description},null,8,["value"])):(C(),A("span",Dyn,"Server "+Te(v+1),1)),H(O(At),{class:"hover:bg-b-3 hover:text-c-1 h-fit p-1.25",variant:"ghost",onClick:x=>d(b.uid)},{default:B(()=>[H(O(z7),{class:"size-3.5"})]),_:2},1032,["onClick"])]),O(t)?(C(),Y(Ayn,{key:0,collectionId:O(t).uid,serverUid:b.uid},null,8,["collectionId","serverUid"])):te("",!0)])]))),128)),L("div",Byn,[H(O(At),{class:"hover:bg-b-2 hover:text-c-1 flex items-center gap-2",size:"sm",variant:"ghost",onClick:l},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Add",size:"sm",thickness:"1.5"}),m[1]||(m[1]=L("span",null,"Add Server",-1))]),_:1,__:[1]})])]),H(O(oi),{size:"xxs",state:O(a),title:`Delete ${s.value?O(n)[s.value]?.url:"Server"}`},{default:B(()=>[H(D3,{variableName:"Server",warningMessage:"Are you sure you want to delete this server? This action cannot be undone.",onClose:m[0]||(m[0]=b=>O(a).hide()),onDelete:c})]),_:1},8,["state","title"])],512))}}),C1e=Object.freeze(Object.defineProperty({__proto__:null,default:Hyn},Symbol.toStringTag,{value:"Module"})),Vyn=["onClick"],Fyn=["placeholder"],rSe=le({__name:"EnvironmentColors",props:{activeColor:{},selector:{type:Boolean,default:!1}},emits:["select"],setup(e,{emit:t}){const n=e,r=t,o=me(""),a=me(null),s=me(!1),i=me(!1),l=[{color:"#FFFFFF"},{color:"#EF0006"},{color:"#EDBE20"},{color:"#069061"},{color:"#FB892C"},{color:"#0082D0"},{color:"#5203D1"},{color:"#FFC0CB"}],c=Q(()=>n.activeColor&&!l.some(m=>m.color===n.activeColor)||o.value?`background-color: ${n.activeColor||o.value};`:"background: linear-gradient(to right, rgb(235, 87, 87), rgb(242, 201, 76), rgb(76, 183, 130), rgb(78, 167, 252), rgb(250, 96, 122));"),d=()=>{s.value=!s.value,n.selector&&(i.value=!1),In(()=>{a.value&&a.value.focus()})};pt(o,m=>{m&&!m.startsWith("#")&&(o.value=`#${m}`),s.value=!0});const f=()=>{n.selector&&(i.value=!i.value)},h=m=>{r("select",m),n.selector&&(i.value=!1)};return(m,b)=>(C(),A("div",null,[s.value?te("",!0):(C(),A(je,{key:0},[n.selector&&!i.value?(C(),A("div",{key:0,class:Ie(["flex cursor-pointer items-center justify-center rounded-full",n.selector?"h-4 w-4":"h-5 w-5"]),style:sr({backgroundColor:m.activeColor}),onClick:f},[m.activeColor?(C(),Y(O(Ct),{key:0,class:Ie(["text-c-btn",n.selector&&"p-0.5"]),icon:"Checkmark",size:"xs"},null,8,["class"])):te("",!0)],6)):te("",!0),i.value||!n.selector?(C(),A("div",{key:1,class:Ie(["color-selector flex flex-row items-center justify-between gap-1.5 space-x-1",n.selector?"h-4":"min-h-10 min-w-[296px]"])},[(C(),A(je,null,_t(l,v=>L("div",{key:v.color,class:Ie(["flex cursor-pointer items-center justify-center rounded-full",n.selector?"h-4 w-4":"h-5 w-5"]),style:sr({backgroundColor:v.color}),onClick:x=>h(v.color)},[m.activeColor===v.color&&!o.value?(C(),Y(O(Ct),{key:0,class:Ie(["text-c-btn",n.selector&&"p-0.5"]),icon:"Checkmark",size:"xs"},null,8,["class"])):te("",!0)],14,Vyn)),64)),b[2]||(b[2]=L("hr",{class:"border-ghost h-5 w-0.5 border-l"},null,-1)),L("label",{class:Ie(["z-10 flex cursor-pointer flex-row items-center justify-center gap-2 rounded-full",n.selector?"h-4 w-4":"h-5 w-5"]),style:sr(c.value),onClick:d},[!s.value&&(m.activeColor===o.value||m.activeColor&&!l.some(v=>v.color===m.activeColor))?(C(),Y(O(Ct),{key:0,class:"text-c-btn",icon:"Checkmark",size:"xs"})):te("",!0)],6)],2)):te("",!0)],64)),s.value?(C(),A("div",{key:1,class:Ie(["color-selector flex flex-1 items-center gap-2 rounded",n.selector?"h-4":"min-h-10"])},[L("span",{class:Ie(["absolute rounded-full border border-dashed",n.selector?"h-4 w-4":"h-5 w-5"])},null,2),L("span",{class:Ie(["z-[1] rounded-full",n.selector?"h-4 w-4":"h-5 w-5"]),style:sr(c.value)},null,6),Po(L("input",{ref_key:"customColorInputRef",ref:a,"onUpdate:modelValue":b[0]||(b[0]=v=>o.value=v),class:"w-full flex-1 border-transparent text-sm outline-none",placeholder:m.activeColor||"#000000",type:"text",onInput:b[1]||(b[1]=v=>h(o.value))},null,40,Fyn),[[Y2,o.value]]),L("button",{class:"text-c-3 hover:bg-b-2 rounded-lg p-1.5",type:"button",onClick:d},[H(O(Ct),{icon:"Checkmark",size:"xs"})])],2)):te("",!0)]))}}),Uyn={class:"flex flex-col gap-4"},oSe=le({__name:"EnvironmentColorModal",props:{state:{},selectedColor:{}},emits:["cancel","submit"],setup(e,{emit:t}){const n=e,r=t,o=me(""),a=i=>{o.value=i},s=()=>{r("submit",o.value),o.value=""};return(i,l)=>(C(),Y(O(oi),{size:"xxs",state:i.state,title:"Edit Environment Color"},{default:B(()=>[L("div",Uyn,[H(rSe,{activeColor:o.value||n.selectedColor,class:"w-full p-1",onSelect:a},null,8,["activeColor"]),H(OM,{onCancel:l[0]||(l[0]=c=>r("cancel")),onSubmit:s})])]),_:1},8,["state"]))}}),zyn={class:"flex gap-2"},Wyn={class:"flex max-h-8 flex-1"},aSe=le({__name:"CommandActionForm",props:{loading:{},disabled:{type:Boolean,default:!1}},emits:["submit","cancel","back"],setup(e){const{cx:t}=tr();return(n,r)=>(C(),A("form",{class:"flex w-full flex-col gap-3",onKeydown:r[0]||(r[0]=cs(Jt(()=>{},["stop"]),["enter"])),onSubmit:r[1]||(r[1]=Jt(o=>n.$emit("submit"),["prevent","stop"]))},[L("div",er(xr(O(t)("relative flex min-h-20 flex-col rounded"))),[we(n.$slots,"default")],16),L("div",zyn,[L("div",Wyn,[we(n.$slots,"options")]),H(O(At),{class:"max-h-8 p-0 px-3 text-xs",disabled:n.disabled,loading:n.loading,type:"submit"},{default:B(()=>[we(n.$slots,"submit",{},()=>[r[2]||(r[2]=be("Continue"))])]),_:3},8,["disabled","loading"])])],32))}}),Zyn=["placeholder"],AS=le({inheritAttrs:!1,__name:"CommandActionInput",props:{modelValue:{},placeholder:{},autofocus:{type:Boolean}},emits:["update:modelValue","onDelete"],setup(e,{emit:t}){const n=e,r=t,o=me(null);en(()=>In(()=>{n.autofocus||o.value?.focus()}));const a=Q({get:()=>n.modelValue??"",set:l=>r("update:modelValue",l)});function s(l){if(l.shiftKey||!l.target)return;l.preventDefault();const c=l.target,d=new Event("submit",{cancelable:!0});c.form?.dispatchEvent(d)}function i(l){a.value===""&&(l.preventDefault(),l.stopPropagation(),r("onDelete",l))}return(l,c)=>Po((C(),A("textarea",lt({id:"command-action-input",ref_key:"input",ref:o,"onUpdate:modelValue":c[0]||(c[0]=d=>a.value=d),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:n.placeholder??"",wrap:"hard"},l.$attrs,{onKeydown:[c[1]||(c[1]=cs(d=>i(d),["delete"])),c[2]||(c[2]=cs(d=>s(d),["enter"]))]}),null,16,Zyn)),[[Y2,a.value]])}}),Qyn={class:"flex items-start gap-2"},sSe=le({__name:"EnvironmentModal",props:{state:{},activeWorkspaceCollections:{},collectionId:{}},emits:["cancel","submit"],setup(e,{emit:t}){const n=e,r=t,{events:o}=Sn(),a=me(""),s=me("#FFFFFF"),i=Q(()=>[...n.activeWorkspaceCollections.filter(m=>m.info?.title!=="Drafts").map(m=>({id:m.uid,label:m.info?.title??"Untitled Collection"}))]),l=me(i.value.find(m=>m.id===n.collectionId)),{toast:c}=F1(),d=m=>{s.value=m};pt(()=>n.state.open,m=>{m&&(a.value="",s.value="#FFFFFF",n.collectionId?l.value=i.value.find(b=>b.id===n.collectionId):l.value=void 0)});const f=()=>{if(!a.value.trim()){c("Please enter a name before adding an environment.","error");return}if(!l.value?.id){c("Please select a collection before adding an environment.","error");return}r("submit",{name:a.value,color:s.value,type:l.value?.id==="global"?"global":"collection",collectionId:l.value?.id!=="global"?l.value?.id:void 0})},h=()=>{n.state.hide(),o.commandPalette.emit({commandName:"Create Collection"})};return(m,b)=>(C(),Y(O(oi),{bodyClass:"border-t-0 rounded-t-lg",size:"xs",state:m.state},{default:B(()=>[H(aSe,{disabled:!l.value||!a.value.trim(),onCancel:b[2]||(b[2]=v=>r("cancel")),onSubmit:f},{options:B(()=>[H(O(qd),{modelValue:l.value,"onUpdate:modelValue":b[1]||(b[1]=v=>l.value=v),options:i.value,placeholder:"Select Type"},{default:B(()=>[i.value.length>0?(C(),Y(O(At),{key:0,class:"hover:bg-b-2 max-h-8 w-fit justify-between gap-1 p-2 text-xs",variant:"outlined"},{default:B(()=>[L("span",{class:Ie(l.value?"text-c-1":"text-c-3")},Te(l.value?l.value.label:"Select Collection"),3),H(O(Ct),{class:"text-c-3",icon:"ChevronDown",size:"xs"})]),_:1})):(C(),Y(O(At),{key:1,class:"hover:bg-b-2 max-h-8 justify-between gap-1 p-2 text-xs",variant:"outlined",onClick:h},{default:B(()=>b[3]||(b[3]=[L("span",{class:"text-c-1"},"Create Collection",-1)])),_:1,__:[3]}))]),_:1},8,["modelValue","options"])]),submit:B(()=>b[4]||(b[4]=[be(" Add Environment ")])),default:B(()=>[L("div",Qyn,[H(rSe,{activeColor:s.value,class:"peer",selector:"",onSelect:d},null,8,["activeColor"]),H(AS,{modelValue:a.value,"onUpdate:modelValue":b[0]||(b[0]=v=>a.value=v),class:"-mt-[.5px] !p-0 peer-has-[.color-selector]:hidden",placeholder:"Environment name"},null,8,["modelValue"])])]),_:1},8,["disabled"])]),_:1},8,["state"]))}}),qyn=le({__name:"EnvironmentForm",props:{collection:{},environment:{},workspace:{},envVariables:{}},setup(e){const{collectionMutators:t}=Sn(),n=me([]),r=me(new Set),o=me(new Map),a=me(!1),s=Q(()=>{if(!e.environment?.value)return[{key:"",value:""}];try{const m=JSON.parse(e.environment.value),b=Object.entries(m).map(([v,x])=>({key:v,value:String(x)}));return b.length===0?[{key:"",value:""}]:b}catch{return[{key:"",value:""}]}}),i=Q(()=>{const m=n.value[n.value.length-1];return m?m.key||m.value?[...n.value,{key:"",value:""}]:n.value:[{key:"",value:""}]}),l=Q(()=>{const m=new Map;return n.value.forEach((b,v)=>{if(b.key){const x=m.get(b.key)||[];x.push(v),m.set(b.key,x)}}),o.value.forEach((b,v)=>{if(b){const x=m.get(b)||[];x.push(v),m.set(b,x)}}),Array.from(m.values()).filter(b=>b.length>1).flat()});pt(s,m=>{n.value=[...m],r.value=new Set(m.map(b=>b.key).filter(Boolean))},{immediate:!0});const c=async(m,b,v)=>{if(!a.value){if(b==="key"){o.value.set(m,v);const x=new Set(r.value),k=n.value[m];if(k&&x.delete(k.key),x.has(v))return}a.value=!0;try{const x=[...n.value],k=x[m];if(!k)return;x[m]={key:b==="key"?v:k.key,value:b==="value"?v:k.value},!x[m].key&&!x[m].value&&m!==x.length-1&&x.splice(m,1);const _=x.reduce((S,{key:T,value:$})=>((T||$)&&(S[T]=$),S),{});if(e.collection){const S={...e.collection["x-scalar-environments"],[e.environment.name]:{...e.collection["x-scalar-environments"]?.[e.environment.name],variables:_}};await t.edit(e.collection.uid,"x-scalar-environments",S)}if(m===n.value.length-1){const S=x[x.length-1];S&&(S.key||S.value)&&await d()}await In(),n.value=x,b==="key"&&(r.value=new Set(x.map(S=>S.key).filter(Boolean)),o.value.delete(m))}finally{a.value=!1}}},d=async()=>{if(!a.value){a.value=!0;try{const m=[...n.value,{key:"",value:""}],b=m.reduce((v,{key:x,value:k})=>((x||k)&&(v[x]=k),v),{});if(e.collection){const v={...e.collection["x-scalar-environments"],[e.environment.name]:{...e.collection["x-scalar-environments"]?.[e.environment.name],variables:b}};await t.edit(e.collection.uid,"x-scalar-environments",v)}await In(),n.value=m}finally{a.value=!1}}},f=async m=>{if(!a.value){a.value=!0;try{const b=[...n.value];b.splice(m,1);const v=b.reduce((x,{key:k,value:_})=>((k||_)&&(x[k]=_),x),{});if(e.collection){const x={...e.collection["x-scalar-environments"],[e.environment.name]:{...e.collection["x-scalar-environments"]?.[e.environment.name],variables:v}};await t.edit(e.collection.uid,"x-scalar-environments",x)}await In(),n.value=b}finally{a.value=!1}}},h=async()=>{if(n.value.length===0)await d();else if(n.value.length>=1){const m=n.value[n.value.length-1];m&&(m.key||m.value)&&await d()}};return en(()=>{h()}),pt(()=>n.value,()=>{h()}),(m,b)=>(C(),Y(d0,{class:"group/table flex-1",columns:["",""]},{default:B(()=>[H(gn,{class:"sr-only !block"},{default:B(()=>[H(Id,null,{default:B(()=>b[0]||(b[0]=[be("Key")])),_:1,__:[0]}),H(Id,null,{default:B(()=>b[1]||(b[1]=[be("Value")])),_:1,__:[1]})]),_:1}),(C(!0),A(je,null,_t(i.value,(v,x)=>(C(),Y(gn,{key:x,class:Ie({error:l.value.includes(x)})},{default:B(()=>[H(ai,null,{default:B(()=>[H(uf,{disableCloseBrackets:"",disableEnter:"",disableTabIndent:"",lineWrapping:"",environment:m.environment,envVariables:m.envVariables,modelValue:v.key,placeholder:"Key",workspace:m.workspace,"onUpdate:modelValue":k=>c(x,"key",k)},xs({_:2},[l.value.includes(x)?{name:"icon",fn:B(()=>[H(O(O4e),{class:"text-red mr-0.75 size-3.5 brightness-[.9]"})]),key:"0"}:void 0]),1032,["environment","envVariables","modelValue","workspace","onUpdate:modelValue"])]),_:2},1024),H(ai,null,{default:B(()=>[H(uf,{class:"pr-6 group-hover:pr-10 group-has-[.cm-focused]:pr-10",disableCloseBrackets:"",disableEnter:"",disableTabIndent:"",lineWrapping:"",environment:m.environment,envVariables:m.envVariables,modelValue:v.value,placeholder:"Value",workspace:m.workspace,"onUpdate:modelValue":k=>c(x,"value",k)},{icon:B(()=>[v.key||v.value?(C(),Y(O(At),{key:0,class:"text-c-2 hover:text-c-1 hover:bg-b-2 z-context hidden h-fit rounded p-1 group-hover:flex group-has-[.cm-focused]:flex",size:"sm",variant:"ghost",onClick:Jt(k=>f(x),["stop"])},{default:B(()=>[H(O(z7),{class:"size-3.5"})]),_:2},1032,["onClick"])):te("",!0)]),_:2},1032,["environment","envVariables","modelValue","workspace","onUpdate:modelValue"])]),_:2},1024)]),_:2},1032,["class"]))),128))]),_:1}))}}),Xyn=Dn(qyn,[["__scopeId","data-v-83bfcc8a"]]),Yyn={class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},Gyn={class:"flex flex-col gap-4"},Kyn={class:"rounded-lg border"},Jyn={class:"bg-b-2 flex cursor-grab items-center justify-between rounded-t-lg px-1 py-1 text-sm"},exn={class:"flex items-center"},txn=["onClick"],nxn={class:"text-c-3 flex h-full items-center justify-center rounded-lg border p-4"},rxn=le({__name:"CollectionEnvironment",setup(e){const{activeCollection:t,activeWorkspace:n,activeEnvVariables:r}=$o(),{collectionMutators:o}=Sn(),a=ka(),s=ka(),i=ka(),l=ka(),c=me(""),d=me(null),f=me(void 0),h=Q(()=>t.value?.["x-scalar-environments"]?Object.entries(t.value["x-scalar-environments"]).map(([M,P])=>({uid:M,name:M,value:JSON.stringify(P.variables||{}),color:P.color||"#FFFFFF"})):[]),m=()=>{!t.value?.uid||!d.value||(o.removeEnvironment(d.value,t.value.uid),s.hide())},b=M=>{d.value=M,s.show()},v=M=>{t.value?.uid&&(o.addEnvironment(M.name,{variables:{},color:M.color},t.value.uid),i.hide())},x=M=>{d.value=M.name,c.value=M.color||"#FFFFFF",a.show()},k=M=>{if(!t.value?.uid||!d.value)return;const P={...t.value["x-scalar-environments"],[d.value]:{variables:t.value["x-scalar-environments"]?.[d.value]?.variables||{},color:M}};o.edit(t.value.uid,"x-scalar-environments",P),a.hide()},_=M=>{d.value=M,f.value=M,l.show()},S=()=>{d.value=null,f.value=void 0,l.hide()},T=M=>{if(!t.value?.uid||!d.value)return;const P={...t.value["x-scalar-environments"]};if(!P[d.value])return;const D={},U=Object.entries(P),Z=U.findIndex(([V])=>V===d.value);U.forEach(([V,F],ne)=>{ne===Z?D[M]=F:D[V]=F}),o.edit(t.value.uid,"x-scalar-environments",D),d.value=null,f.value=void 0,l.hide()},$=(M,P)=>{if(!t.value?.uid)return;const D={...t.value["x-scalar-environments"]},U={},Z=Object.entries(D),V=Z.findIndex(([ae])=>ae===M.id),F=Z.findIndex(([ae])=>ae===P.id);if(V===-1||F===-1)return;const ne=Z[V];ne&&(Z.splice(V,1),Z.splice(F,0,ne),Z.forEach(([ae,oe])=>{U[ae]=oe}),o.edit(t.value.uid,"x-scalar-environments",U))};return(M,P)=>(C(),Y(Zu,null,{default:B(()=>[L("div",Yyn,[L("div",Gyn,[P[5]||(P[5]=L("div",{class:"flex items-start justify-between gap-2"},[L("div",{class:"flex flex-col gap-2"},[L("div",{class:"flex h-8 items-center"},[L("h3",{class:"font-bold"},"Environment Variables")]),L("p",{class:"text-sm"},[be(" Set environment variables at your collection level. Use "),L("code",{class:"font-code text-c-2"},"{{ variable }}"),be(" to add / search among the selected environment's variables in your request inputs. ")])])],-1)),(C(!0),A(je,null,_t(h.value,D=>(C(),Y(O(Gq),{key:D.name,id:D.name,isDraggable:!0,isDroppable:!0,parentIds:[],onOnDragEnd:$},{default:B(()=>[L("div",Kyn,[L("div",Jyn,[L("div",exn,[H(O(At),{class:"hover:bg-b-3 flex h-6 w-6 p-1",onClick:U=>x(D),variant:"ghost"},{default:B(()=>[L("span",{style:sr({backgroundColor:D.color||"#FFFFFF"}),class:"h-2.5 w-2.5 rounded-full"},null,4)]),_:2},1032,["onClick"]),L("button",{class:"hover:bg-b-3 rounded px-1 py-0.5 text-sm",onClick:U=>_(D.name)},Te(D.name),9,txn)]),H(O(At),{class:"hover:bg-b-3 hover:text-c-1 h-fit p-1.25",variant:"ghost",onClick:U=>b(D.name)},{default:B(()=>[H(O(z7),{class:"size-3.5"})]),_:2},1032,["onClick"])]),O(t)&&O(n)?(C(),Y(Xyn,{key:0,collection:O(t),environment:D,envVariables:O(r),workspace:O(n)},null,8,["collection","environment","envVariables","workspace"])):te("",!0)])]),_:2},1032,["id"]))),128)),L("div",nxn,[H(O(At),{class:"hover:bg-b-2 hover:text-c-1 flex items-center gap-2",size:"sm",variant:"ghost",onClick:P[0]||(P[0]=D=>O(i).show())},{default:B(()=>[H(O(Ct),{class:"inline-flex",icon:"Add",size:"sm",thickness:"1.5"}),P[4]||(P[4]=L("span",null,"Add Environment",-1))]),_:1,__:[4]})])]),H(O(oi),{size:"xxs",state:O(s),title:`Delete ${d.value||"Environment"}`},{default:B(()=>[H(D3,{variableName:"Environment",warningMessage:"Are you sure you want to delete this environment? This action cannot be undone.",onClose:P[1]||(P[1]=D=>O(s).hide()),onDelete:m})]),_:1},8,["state","title"]),H(sSe,{activeWorkspaceCollections:O(t)?[O(t)]:[],collectionId:O(t)?.uid,state:O(i),onCancel:P[2]||(P[2]=D=>O(i).hide()),onSubmit:v},null,8,["activeWorkspaceCollections","collectionId","state"]),H(oSe,{selectedColor:c.value,state:O(a),onCancel:P[3]||(P[3]=D=>O(a).hide()),onSubmit:k},null,8,["selectedColor","state"]),H(O(oi),{size:"xxs",state:O(l),title:`Edit ${d.value}`},{default:B(()=>[H(CM,{name:f.value??"",onClose:S,onEdit:T},null,8,["name"])]),_:1},8,["state","title"])])]),_:1}))}}),oxn=Object.freeze(Object.defineProperty({__proto__:null,default:rxn},Symbol.toStringTag,{value:"Module"})),axn={class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},sxn={class:"flex flex-col gap-4"},ixn={class:"flex flex-col gap-2"},lxn={class:"flex h-8 items-center justify-between"},cxn=le({__name:"CollectionAuthentication",setup(e){const{activeCollection:t,activeEnvVariables:n,activeEnvironment:r,activeServer:o,activeWorkspace:a}=$o(),{collectionMutators:s}=Sn(),i=()=>{t.value?.uid&&s.edit(t.value.uid,"useCollectionSecurity",!t.value.useCollectionSecurity)};return(l,c)=>(C(),A("div",axn,[L("div",sxn,[L("div",ixn,[L("div",lxn,[c[0]||(c[0]=L("h3",{class:"font-bold"},"Authentication",-1)),H(O(eQ),{class:"w-4",modelValue:O(t)?.useCollectionSecurity??!1,"onUpdate:modelValue":i},null,8,["modelValue"])]),c[1]||(c[1]=L("p",{class:"pr-6 text-sm"}," Added authentication will apply to all requests under this collection. You can override this by specifying another one in the request. ",-1))]),O(t)&&O(a)?(C(),Y(O(_Oe),{key:0,class:Ie(["scalar-collection-auth",!O(t)?.useCollectionSecurity&&"pointer-events-none opacity-50 mix-blend-luminosity"]),collection:O(t),envVariables:O(n),environment:O(r),layout:"client",selectedSecuritySchemeUids:O(t)?.selectedSecuritySchemeUids??[],server:O(o),title:"Authentication",workspace:O(a)},null,8,["class","collection","envVariables","environment","selectedSecuritySchemeUids","server","workspace"])):te("",!0)])]))}}),uxn=Dn(cxn,[["__scopeId","data-v-cc87292e"]]),dxn=Object.freeze(Object.defineProperty({__proto__:null,default:uxn},Symbol.toStringTag,{value:"Module"})),fxn=le({__name:"CollectionCookies",setup(e){return(t,n)=>(C(),Y(Zu,null,{title:B(()=>n[0]||(n[0]=[be("Cookies")])),_:1}))}}),pxn=Object.freeze(Object.defineProperty({__proto__:null,default:fxn},Symbol.toStringTag,{value:"Module"})),hxn=le({__name:"CollectionScripts",setup(e){return(t,n)=>(C(),Y(Zu,null,{title:B(()=>n[0]||(n[0]=[be("Scripts")])),_:1}))}}),mxn=Object.freeze(Object.defineProperty({__proto__:null,default:hxn},Symbol.toStringTag,{value:"Module"})),gxn=le({__name:"CollectionSync",setup(e){return(t,n)=>(C(),Y(Zu,null,{title:B(()=>n[0]||(n[0]=[be("Sync")])),_:1}))}}),bxn=Object.freeze(Object.defineProperty({__proto__:null,default:gxn},Symbol.toStringTag,{value:"Module"})),vxn={class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},yxn={class:"flex flex-col gap-2"},xxn={class:"bg-b-2 rounded-lg border text-sm"},kxn={class:"bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3"},wxn={class:"text-c-1 flex items-center overflow-x-auto border-t py-1.5 whitespace-nowrap"},Oxn={class:"flex items-center"},Cxn=["href"],_xn={class:"flex flex-col gap-4"},Sxn={class:"flex items-center justify-between rounded-lg border p-3 text-sm"},Lxn=le({__name:"CollectionSettings",setup(e){const{activeCollection:t,activeWorkspace:n,activeWorkspaceCollections:r}=$o(),{collectionMutators:o}=Sn(),{replace:a}=sl(),s=ka();function i(){t.value&&t.value?.documentUrl&&o.edit(t.value.uid,"watchMode",!t.value?.watchMode)}function l(){if(!t.value||!n.value)return;o.delete(t.value,n.value);const c=r.value[0];c&&a({name:"collection",params:{[ln.Workspace]:n.value.uid,[ln.Collection]:c.uid}}),s.hide()}return(c,d)=>(C(),A(je,null,[L("div",vxn,[L("div",yxn,[d[5]||(d[5]=L("div",{class:"flex h-8 items-center"},[L("h3",{class:"font-bold"},"Features")],-1)),L("div",xxn,[L("div",kxn,[d[2]||(d[2]=L("div",null,[L("h4",null,"Watch Mode"),L("p",{class:"text-c-2 mt-1"}," When enabled, the OpenAPI document will be polled for changes. The collection will be updated automatically. ")],-1)),H(O(eQ),{class:"w-4",disabled:!O(t)?.documentUrl,modelValue:O(t)?.watchMode??!1,"onUpdate:modelValue":i},null,8,["disabled","modelValue"])]),L("div",wxn,[L("div",Oxn,[O(t)?.documentUrl?(C(),A(je,{key:0},[d[3]||(d[3]=L("span",{class:"bg-b-2 sticky left-0 pr-2 pl-3"},"Source",-1)),L("a",{class:"text-c-2 group rounded pr-3 no-underline hover:underline",href:O(t).documentUrl,target:"_blank"},[be(Te(O(t).documentUrl)+" ",1),H(O(Ct),{class:"ml-1 hidden w-2.5 group-hover:inline",icon:"ExternalLink"})],8,Cxn)],64)):(C(),A(je,{key:1},[H(O(Ct),{class:"text-c-2 mr-2 ml-3 w-4",icon:"NotAllowed",size:"sm"}),d[4]||(d[4]=L("span",{class:"text-c-2 pr-3"}," No URL configured. Try importing an OpenAPI document from an URL. ",-1))],64))])])])]),L("div",_xn,[d[8]||(d[8]=L("h3",{class:"font-bold"},"Danger Zone",-1)),L("div",Sxn,[d[7]||(d[7]=L("div",null,[L("h4",null,"Delete Collection"),L("p",{class:"text-c-2 mt-1"}," Be careful, my friend. Once deleted, there is no way to recover the collection. ")],-1)),H(O(At),{class:"custom-scroll h-8 gap-1.5 px-2.5 font-medium whitespace-nowrap shadow-none focus:outline-none",variant:"danger",onClick:d[0]||(d[0]=f=>O(s).show())},{default:B(()=>d[6]||(d[6]=[be(" Delete Collection ")])),_:1,__:[6]})])])]),H(O(oi),{size:"xxs",state:O(s),title:`Delete ${O(t)?.info?.title}`},{default:B(()=>[H(D3,{variableName:O(t)?.info?.title??"",warningMessage:"This action cannot be undone.",onClose:d[1]||(d[1]=f=>O(s).hide()),onDelete:l},null,8,["variableName"])]),_:1},8,["state","title"])],64))}}),$xn=Dn(Lxn,[["__scopeId","data-v-5170f3be"]]),Txn=Object.freeze(Object.defineProperty({__proto__:null,default:$xn},Symbol.toStringTag,{value:"Module"})),Exn={},jxn={class:"gap-1/2 flex flex-col px-3 pb-[75px]"};function Mxn(e,t){return C(),A("ul",jxn,[we(e.$slots,"default")])}const iSe=Dn(Exn,[["render",Mxn]]),Axn={class:"absolute right-1 flex opacity-0 group-hover:opacity-100"},Nxn=le({__name:"SidebarListElementActions",props:{variable:{},warningMessage:{},isCopyable:{type:Boolean},isDeletable:{type:Boolean},isRenameable:{type:Boolean}},emits:["delete","rename"],setup(e,{emit:t}){const n=t,r=me({action:"None",name:""}),o=ka(),{copyToClipboard:a}=Sf();function s(c){r.value={action:c,name:e.variable.name},o.show()}function i(){o.hide(),r.value={action:"None",name:""}}function l(c){n("delete",c),i()}return(c,d)=>(C(),A(je,null,[L("div",Axn,[c.isCopyable?(C(),A("button",{key:0,class:"text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-[5px]",type:"button",onClick:d[0]||(d[0]=f=>O(a)(c.variable.name))},[H(O(Ct),{class:"h-3 w-3",icon:"Clipboard"})])):te("",!0),c.isRenameable?(C(),A("button",{key:1,class:"text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-[5px]",type:"button",onClick:d[1]||(d[1]=f=>n("rename",c.variable.uid))},[H(O(Ct),{class:"h-3 w-3",icon:"Edit"})])):te("",!0),!c.variable.isDefault&&c.isDeletable?(C(),A("button",{key:2,class:"text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-1",type:"button",onClick:d[2]||(d[2]=Jt(f=>s("Delete"),["prevent"]))},[H(O(Ct),{class:"h-3.5 w-3.5",icon:"Close"})])):te("",!0)]),H(O(oi),{size:"sm",state:O(o),title:`${r.value.action} ${r.value.name}`},{default:B(()=>[r.value.action==="Delete"?(C(),Y(D3,{key:0,variableName:r.value.name,warningMessage:c.warningMessage,onClose:i,onDelete:d[3]||(d[3]=f=>l(c.variable.uid))},null,8,["variableName","warningMessage"])):te("",!0)]),_:1},8,["state","title"])],64))}}),Pxn={class:"empty-variable-name line-clamp-1 text-sm break-all group-hover:pr-5"},Ixn=le({__name:"SidebarListElement",props:{variable:{},warningMessage:{},to:{},isDeletable:{type:Boolean},isCopyable:{type:Boolean},isRenameable:{type:Boolean},isDraggable:{type:Boolean,default:!1},isDroppable:{type:[Boolean,Function],default:!1},collectionId:{}},emits:["delete","colorModal","rename","onDragEnd"],setup(e,{emit:t}){const n=t,r=sl(),o=d=>{d.metaKey?window.open(r.resolve(e.to).href,"_blank"):r.push(e.to)},a=d=>{n("delete",d)},s=d=>{n("colorModal",d)},i=d=>{n("rename",d)},l=me(null),c=Q(()=>({ceiling:.5,floor:.5}));return(d,f)=>{const h=WU("router-link");return C(),A("li",null,[H(O(Gq),{id:d.variable.uid,ref_key:"draggableRef",ref:l,ceiling:c.value.ceiling,floor:c.value.floor,isDraggable:d.isDraggable,isDroppable:d.isDroppable,parentIds:d.collectionId?[d.collectionId]:[],onOnDragEnd:f[2]||(f[2]=(...m)=>d.$emit("onDragEnd",...m))},{default:B(()=>[H(h,{class:Ie(["text-c-2 hover:bg-b-2 group relative flex h-8 items-center gap-1.5 rounded py-1 pr-1.5 font-medium no-underline",[d.variable.color?"pl-5":"pl-1.5"]]),exactActiveClass:"bg-b-2 !text-c-1",role:"button",to:d.to,onClick:f[1]||(f[1]=Jt(m=>o(m),["prevent"]))},{default:B(()=>[d.variable.color?(C(),A("button",{key:0,class:"hover:bg-b-3 rounded p-1.5",type:"button",onClick:f[0]||(f[0]=m=>s(d.variable.uid))},[L("div",{class:"h-2.5 w-2.5 rounded-xl",style:sr({backgroundColor:d.variable.color})},null,4)])):te("",!0),d.variable.icon?(C(),Y(O(Ct),{key:1,class:"text-sidebar-c-2 size-3.5 stroke-[2.25]",icon:d.variable.icon},null,8,["icon"])):te("",!0),L("span",Pxn,Te(d.variable.name),1),H(Nxn,{isCopyable:!!d.isCopyable,isDeletable:!!d.isDeletable,isRenameable:!!d.isRenameable,variable:{...d.variable,isDefault:d.variable.isDefault??!1},warningMessage:d.warningMessage,onDelete:a,onRename:i},null,8,["isCopyable","isDeletable","isRenameable","variable","warningMessage"])]),_:1},8,["class","to"])]),_:1},8,["id","ceiling","floor","isDraggable","isDroppable","parentIds"])])}}}),WF=Dn(Ixn,[["__scopeId","data-v-0b6c70e4"]]);function Rxn(e,t){return{handleDragEnd:(n,r)=>{if(!n||!r)return;const{id:o,parentId:a}=n,{id:s,parentId:i,offset:l}=r;if(a!==i)return;const c=e.value.find(v=>v.uid===a);if(!c||!c["x-scalar-environments"])return;const d=c["x-scalar-environments"],f=Object.keys(d);({...d});const h=f.findIndex(v=>v===o);f.splice(h,1);const m=f.findIndex(v=>v===s)+(l===1?1:0);f.splice(m,0,o);const b=f.reduce((v,x)=>{const k=d[x];return k&&(v[x]=k),v},{});c["x-scalar-environments"]=b,t.edit(c.uid,"x-scalar-environments",c["x-scalar-environments"])},isDroppable:(n,r)=>n.parentId===r.parentId}}const Dxn={class:"flex-1"},Bxn=["onClick"],Hxn={class:"flex h-5 max-w-[14px] items-center justify-center"},Vxn=le({__name:"Environment",setup(e){const t=sl(),n=YQ(),{activeWorkspace:r,activeEnvironment:o,activeWorkspaceCollections:a,activeEnvVariables:s}=$o(),{events:i,workspaceMutators:l,collectionMutators:c}=Sn(),{collapsedSidebarFolders:d,toggleSidebarFolder:f}=Ih(),h=ka(),m=ka(),b=ka(),v=me(null),x=me("default"),k=me(""),_=me(void 0),S=me(void 0),T=me(void 0),{toast:$}=F1(),M=ue=>JSON.parse(ue);function P(ue,Se,de){ue&&(Se.uid===de?$(`Environment name already used in ${Se.info?.title}`,"error"):$("Environment name already used in another collection","error"))}const D=Q(()=>a.value.filter(ue=>ue.info?.title!=="Drafts"));function U(ue){D.value.some(Se=>{const de=Object.keys(Se["x-scalar-environments"]||{}).includes(ue.name);return P(de,Se,ue.collectionId),de})||(ue.collectionId&&(c.addEnvironment(ue.name,{variables:{},color:ue.color},ue.collectionId),d[ue.collectionId]||f(ue.collectionId),t.push({name:"environment.collection",params:{[ln.Collection]:ue.collectionId,[ln.Environment]:ue.name}})),m.hide())}function Z(ue){if(!o)return;const Se=M(ue);if(x.value==="default")l.edit(r.value?.uid,"environments",Se);else{const de=a.value.find(Ce=>Ce["x-scalar-environments"]?.[x.value??""]);if(de?.["x-scalar-environments"]?.[x.value??""]){const Ce=de["x-scalar-environments"][x.value??""];Ce&&(Ce.variables=Se,c.edit(de.uid,"x-scalar-environments",de["x-scalar-environments"]))}}}const V=ue=>{_.value=ue,m.show()},F=(ue,Se)=>{S.value=ue,_.value=Se,T.value=ue,b.show()},ne=ue=>{v.value=ue,k.value=a.value.find(Se=>Se["x-scalar-environments"]?.[ue])?.["x-scalar-environments"]?.[ue]?.color??"",h.show()},ae=ue=>{const Se=v.value;typeof Se=="string"&&(a.value.some(de=>de["x-scalar-environments"]?.[Se])&&a.value.forEach(de=>{de["x-scalar-environments"]?.[Se]&&(de["x-scalar-environments"][Se].color=ue,c.edit(de.uid,"x-scalar-environments",de["x-scalar-environments"]))}),h.hide())};function oe(ue){D.value.forEach(de=>{c.removeEnvironment(ue,de.uid)});const Se=D.value.flatMap(de=>Object.keys(de["x-scalar-environments"]||{}));if(Se.length>0){const de=Se[Se.length-1];if(!de)return;const Ce=a.value.find(pe=>Object.keys(pe["x-scalar-environments"]||{}).includes(de));x.value=de,t.push({name:"environment.collection",params:{[ln.Collection]:Ce?.uid,[ln.Environment]:de}}),Ce&&!d[Ce.uid]&&f(Ce.uid)}else x.value="default",t.push({name:"environment.default",params:{[ln.Workspace]:r.value?.uid}})}const z=()=>x.value==="default"?"Global Environment":x.value,se=()=>x.value==="default"?JSON.stringify(r.value?.environments,null,2):JSON.stringify(a.value.find(ue=>ue["x-scalar-environments"]?.[x.value??""])?.["x-scalar-environments"]?.[x.value??""]?.variables,null,2),G=ue=>d[ue],J=ue=>{ue?.createNew&&n.name==="environment"&&V()};pt(()=>[n.params[ln.Collection],n.params[ln.Environment]],([ue,Se])=>{ue?x.value=Se:x.value="default"}),en(()=>{x.value=n.params[ln.Environment]||"default",i.hotKeys.on(J);const ue=n.params[ln.Collection];ue&&!d[ue]&&f(ue)}),li(()=>i.hotKeys.off(J));const X=(ue,Se,de)=>{const Ce=de?{name:"environment.collection",params:{[ln.Workspace]:r.value?.uid,[ln.Collection]:de,[ln.Environment]:Se}}:{name:"environment.default",params:{[ln.Workspace]:r.value?.uid,[ln.Environment]:Se}};ue.metaKey?window.open(t.resolve(Ce).href,"_blank"):t.push(Ce)};function K(){S.value=void 0,_.value=void 0,T.value=void 0,b.hide()}function fe(ue){D.value.some(Se=>{const de=Object.keys(Se["x-scalar-environments"]||{}).includes(ue);return P(de,Se,_.value),de})||(ue&&S.value!=="default"&&a.value.forEach(Se=>{if(Se["x-scalar-environments"]?.[S.value??""]){const de=Se["x-scalar-environments"],Ce={};Object.keys(de).forEach(pe=>{const ke=de[pe];ke&&(pe===S.value?Ce[ue]=ke:Ce[pe]=ke)}),Se["x-scalar-environments"]=Ce,c.edit(Se.uid,"x-scalar-environments",Se["x-scalar-environments"])}}),ue&&x.value===S.value&&(x.value=ue),S.value=void 0,_.value=void 0,T.value=void 0,b.hide())}const{handleDragEnd:re,isDroppable:Ae}=Rxn(a,c);return pt(()=>n.query.openEnvironmentModal,ue=>{ue==="true"&&V()},{immediate:!0}),(ue,Se)=>(C(),Y(Kk,null,{default:B(()=>[H(Sq,{title:"Collections"},{content:B(()=>[L("div",Dxn,[H(iSe,null,{default:B(()=>[(C(),Y(WF,{key:"default",class:"text-xs",isCopyable:!1,to:{name:"environment",params:{[O(ln).Environment]:"default"}},type:"environment",variable:{name:"Global Environment",uid:"default",icon:"Globe",isDefault:!0}},null,8,["to"])),(C(!0),A(je,null,_t(D.value,de=>(C(),A("li",{key:de.uid,class:"gap-1/2 flex flex-col"},[L("button",{class:"hover:bg-b-2 group flex w-full items-center gap-1.5 rounded p-1.5 text-left text-sm font-medium break-words",type:"button",onClick:Ce=>O(f)(de.uid)},[L("span",Hxn,[H(O(sg),{class:"text-sidebar-c-2 size-3.5 min-w-3.5 stroke-2 group-hover:hidden",src:de["x-scalar-icon"]||"interface-content-folder"},null,8,["src"]),L("div",{class:Ie({"rotate-90":O(d)[de.uid]})},[H(O(Ct),{class:"text-c-3 hover:text-c-1 hidden text-sm group-hover:block",icon:"ChevronRight",size:"md"})],2)]),be(" "+Te(de.info?.title??""),1)],8,Bxn),Po(L("div",{class:Ie({"before:bg-border relative mb-[.5px] before:pointer-events-none before:absolute before:top-0 before:left-3 before:z-1 before:h-[calc(100%_+_.5px)] before:w-[.5px] last:mb-0 last:before:h-full":Object.keys(de["x-scalar-environments"]||{}).length>0})},[(C(!0),A(je,null,_t(de["x-scalar-environments"],(Ce,pe)=>(C(),Y(WF,{key:pe,class:"text-xs",collectionId:de.uid,isCopyable:!1,isDeletable:!0,isRenameable:!0,isDraggable:!0,isDroppable:O(Ae),to:{name:"environment.collection",params:{[O(ln).Collection]:de.uid,[O(ln).Environment]:pe}},type:"environment",variable:{name:pe,uid:pe,color:Ce.color??"#FFFFFF",isDefault:!1},warningMessage:"Are you sure you want to delete this environment?",onClick:Jt(ke=>X(ke,pe,de.uid),["prevent"]),onColorModal:ke=>ne(pe),onDelete:ke=>oe(pe),onRename:ke=>F(pe,de.uid),onOnDragEnd:O(re)},null,8,["collectionId","isDroppable","to","variable","onClick","onColorModal","onDelete","onRename","onOnDragEnd"]))),128)),Object.keys(de["x-scalar-environments"]||{}).length===0?(C(),Y(O(At),{key:0,class:"text-c-1 hover:bg-b-2 flex h-8 w-full justify-start gap-1.5 py-0 pl-6 text-xs",variant:"ghost",onClick:Ce=>V(de.uid)},{default:B(()=>[H(O(Ct),{icon:"Add",size:"sm"}),Se[2]||(Se[2]=L("span",null,"Add Environment",-1))]),_:2,__:[2]},1032,["onClick"])):te("",!0)],2),[[yi,G(de.uid)]])]))),128))]),_:1})])]),button:B(()=>[H(Yq,{click:V,hotkey:"N"},{title:B(()=>Se[3]||(Se[3]=[be(" Add Environment ")])),_:1})]),_:1}),H(_M,{class:"flex-1"},{default:B(()=>[H(Zu,null,xs({default:B(()=>[x.value&&O(r)?(C(),Y(uf,{key:0,class:"py-2 pr-2 pl-px md:px-4",envVariables:O(s),environment:O(o),language:"json",lineNumbers:"",lint:"",modelValue:se(),workspace:O(r),"onUpdate:modelValue":Z},null,8,["envVariables","environment","modelValue","workspace"])):te("",!0)]),_:2},[x.value?{name:"title",fn:B(()=>[L("span",null,Te(z()),1)]),key:"0"}:void 0]),1024)]),_:1}),H(oSe,{selectedColor:k.value,state:O(h),onCancel:Se[0]||(Se[0]=de=>O(h).hide()),onSubmit:ae},null,8,["selectedColor","state"]),H(sSe,{activeWorkspaceCollections:D.value,collectionId:_.value,state:O(m),onCancel:Se[1]||(Se[1]=de=>O(m).hide()),onSubmit:U},null,8,["activeWorkspaceCollections","collectionId","state"]),H(O(oi),{size:"xxs",state:O(b),title:`Edit ${S.value}`},{default:B(()=>[H(CM,{name:T.value??"",onClose:K,onEdit:fe},null,8,["name"])]),_:1},8,["state","title"])]),_:1}))}}),_1e=Object.freeze(Object.defineProperty({__proto__:null,default:Vxn},Symbol.toStringTag,{value:"Module"})),Fxn=le({__name:"CookieForm",setup(e){const{activeCookieId:t}=$o(),{cookies:n,cookieMutators:r}=Sn(),o=[{label:"Name",key:"name",placeholder:"session_id"},{label:"Value",key:"value",placeholder:"my-cookie-session-id"},{label:"Domain",key:"domain",placeholder:"example.com"}],a=Q(()=>n[t.value]||o7.parse({name:"",value:"",domain:"",path:""})),s=(i,l)=>{r.edit(t.value,i,l)};return(i,l)=>(C(),Y(nSe,{data:a.value,onUpdate:s,options:o},null,8,["data"]))}}),Uxn={class:"flex h-8 items-start gap-2 text-sm"},zxn={class:"flex h-8 items-start gap-2 text-sm"},Wxn={class:"flex h-8 items-start gap-2 text-sm"},Zxn=le({__name:"CookieModal",props:{state:{}},emits:["cancel","submit"],setup(e,{emit:t}){const n=e,r=t,o=me({name:"",value:"",domain:""}),{toast:a}=F1(),s=()=>{if(!o.value.name||!o.value.value){a("Please fill in all fields before adding a cookie.","error");return}r("submit",o.value),n.state.hide()};return pt(()=>n.state.open,i=>{i&&(o.value={name:"",value:"",domain:""})}),(i,l)=>(C(),Y(O(oi),{size:"xs",state:i.state,title:"Add Cookie"},{default:B(()=>[H(aSe,{disabled:!o.value.name||!o.value.value,onCancel:l[3]||(l[3]=c=>r("cancel")),onSubmit:s},{submit:B(()=>l[7]||(l[7]=[be("Add Cookie")])),default:B(()=>[L("div",Uxn,[l[4]||(l[4]=be(" Name: ")),H(AS,{modelValue:o.value.name,"onUpdate:modelValue":l[0]||(l[0]=c=>o.value.name=c),autofocus:"",class:"!p-0",placeholder:"session_id"},null,8,["modelValue"])]),L("div",zxn,[l[5]||(l[5]=be(" Value: ")),H(AS,{modelValue:o.value.value,"onUpdate:modelValue":l[1]||(l[1]=c=>o.value.value=c),autofocus:"",class:"!p-0",placeholder:"my-cookie-session-id"},null,8,["modelValue"])]),L("div",Wxn,[l[6]||(l[6]=be(" Domain: ")),H(AS,{modelValue:o.value.domain,"onUpdate:modelValue":l[2]||(l[2]=c=>o.value.domain=c),autofocus:"",class:"!p-0",placeholder:"example.com"},null,8,["modelValue"])])]),_:1},8,["disabled"])]),_:1},8,["state"]))}}),Qxn=Dn(Zxn,[["__scopeId","data-v-694018d6"]]),qxn={class:"flex-1"},Xxn={class:"relative mb-[.5px] last:mb-0"},Yxn=le({__name:"Cookies",setup(e){const{cookies:t,cookieMutators:n,events:r,workspaceMutators:o}=Sn(),{activeWorkspace:a,activeCookieId:s}=$o(),i=sl(),l=YQ(),c=ka(),d=k=>{const _=o7.parse({name:k.name,value:k.value,domain:k.domain,path:"/"});n.add(_),o.edit(a.value?.uid,"cookies",[...a.value?.cookies??[],_.uid]),i.push({name:"cookies",params:{cookies:_.uid}})},f=k=>{n.delete(k),o.edit(a.value?.uid,"cookies",[...(a.value?.cookies??[]).filter(S=>S!==k)]);const _=Object.values(t).filter(S=>S.uid!==k);if(_.length>0){const S=_[_.length-1];S&&i.push(S.uid)}else i.push({name:"cookies",params:{[ln.Cookies]:"default"}})},h=()=>{c.show()},m=k=>{k?.createNew&&l.name==="cookies"&&h()},b=(k,_)=>{const S={name:"cookies",params:{workspace:a.value?.uid??"default",cookies:_}};if(k.metaKey){const T=i.resolve(S).href;window.open(T,"_blank");return}i.push(S)};en(()=>r.hotKeys.on(m)),li(()=>r.hotKeys.off(m));const v=Q(()=>t[s.value]),x=Q(()=>Object.keys(t).length>0&&v.value);return pt(()=>l.query.openCookieModal,k=>{k==="true"&&h()},{immediate:!0}),(k,_)=>(C(),Y(Kk,null,{default:B(()=>[H(O(Sq),{title:"Cookies"},{content:B(()=>[L("div",qxn,[H(iSe,null,{default:B(()=>[(C(!0),A(je,null,_t(Object.values(O(t)),S=>(C(),A("li",{key:S.uid,class:"gap-1/2 flex flex-col"},[L("div",Xxn,[(C(),Y(WF,{key:S.uid,class:"text-xs",isDeletable:"",to:{name:"cookies",params:{[O(ln).Cookies]:S.uid}},type:"cookies",variable:{name:S.name,uid:S.uid},warningMessage:"Are you sure you want to delete this cookie?",onClick:Jt(T=>b(T,S.uid),["prevent"]),onDelete:T=>f(S.uid)},null,8,["to","variable","onClick","onDelete"]))])]))),128))]),_:1})])]),button:B(()=>[H(Yq,{click:h,hotkey:"N"},{title:B(()=>_[1]||(_[1]=[be(" Add Cookie ")])),_:1})]),_:1}),H(_M,{class:"flex-1"},{default:B(()=>[x.value?(C(),Y(Zu,{key:0,class:"*:border-b-0"},{title:B(()=>_[2]||(_[2]=[be("Edit Cookie")])),default:B(()=>[H(Fxn)]),_:1})):(C(),Y(xT,{key:1}))]),_:1}),H(Qxn,{state:O(c),onCancel:_[0]||(_[0]=S=>O(c).hide()),onSubmit:d},null,8,["state"])]),_:1}))}}),Gxn=Object.freeze(Object.defineProperty({__proto__:null,default:Yxn},Symbol.toStringTag,{value:"Module"})),Kxn=le({__name:"IntegrationLogo",props:{integration:{}},setup(e){const t=e,n=["adonisjs","dotnet","elysiajs","express","fastapi","fastify","go","hono","laravel","litestar","nestjs","nextjs","nitro","nuxt","platformatic","react","rust","svelte"],r=Q(()=>{const o="Openapi",a=t.integration?.toLocaleLowerCase();if(!a)return o;const s=a.charAt(0).toUpperCase()+a.slice(1);return n.includes(a)?s:o});return(o,a)=>(C(),Y(O(Ct),{class:"h-full w-full rounded-lg",logo:r.value},null,8,["logo"]))}}),Jxn={class:"flex flex-col gap-2"},ekn=le({__name:"SettingsAppearance",setup(e){const{colorMode:t,setColorMode:n}=MZ(),r=ks({base:"w-full shadow-none text-c-1 justify-start pl-2 gap-2 border",variants:{active:{true:"bg-primary text-c-1 hover:bg-inherit",false:"bg-b-1 hover:bg-b-2"}}});return(o,a)=>(C(),A("div",Jxn,[H(O(At),{class:Ie(O(is)(O(r)({active:O(t)==="system"}))),onClick:a[0]||(a[0]=s=>O(n)("system"))},{default:B(()=>[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":O(t)==="system"}])},[O(t)==="system"?(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):te("",!0)],2),a[3]||(a[3]=be(" System Preference (default) "))]),_:1,__:[3]},8,["class"]),H(O(At),{class:Ie(O(is)(O(r)({active:O(t)==="light"}))),onClick:a[1]||(a[1]=s=>O(n)("light"))},{default:B(()=>[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":O(t)==="light"}])},[O(t)==="light"?(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):te("",!0)],2),a[4]||(a[4]=be(" Light Mode Always "))]),_:1,__:[4]},8,["class"]),H(O(At),{class:Ie(O(is)(O(r)({active:O(t)==="dark"}))),onClick:a[2]||(a[2]=s=>O(n)("dark"))},{default:B(()=>[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":O(t)==="dark"}])},[O(t)==="dark"?(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):te("",!0)],2),a[5]||(a[5]=be(" Dark Mode Always "))]),_:1,__:[5]},8,["class"])]))}}),tkn={class:"flex flex-col gap-2"},nkn={key:0,class:"font-bold"},rkn={key:1,class:"text-c-2 mb-4 leading-[21px]"},p_=le({__name:"SettingsSection",setup(e){return(t,n)=>(C(),A("div",tkn,[t.$slots.title?(C(),A("h3",nkn,[we(t.$slots,"title")])):te("",!0),t.$slots.description?(C(),A("p",rkn,[we(t.$slots,"description")])):te("",!0),we(t.$slots,"default")]))}}),okn={class:"bg-b-1 h-full w-full overflow-auto"},akn={class:"mr-auto ml-auto w-full max-w-[720px] px-5 py-5"},skn={class:"flex flex-col gap-8"},ikn={class:"flex flex-col gap-2"},lkn={class:"flex flex-col gap-2"},ckn={class:"grid grid-cols-2 gap-2"},ukn={class:"flex items-center gap-2"},dkn={class:"flex items-center gap-1"},fkn={class:"grid grid-cols-2 gap-2"},pkn={class:"flex items-center gap-2"},hkn={class:"flex items-center gap-1"},mkn={class:"size-7 rounded-xl"},eb="https://proxy.scalar.com",gkn=le({__name:"SettingsGeneral",setup(e){const{activeWorkspace:t}=$o(),{proxyUrl:n,workspaceMutators:r}=Sn(),o=["default","alternate","purple","solarized","saturn","kepler"],a=["elysiajs","fastify"],s=d=>({default:{light:"#fff",dark:"#0f0f0f",accent:"#0099ff"},alternate:{light:"#f9f9f9",dark:"#131313",accent:"#e7e7e7"},moon:{light:"#ccc9b3",dark:"#313332",accent:"#645b0f"},purple:{light:"#f5f6f8",dark:"#22252b",accent:"#5469d4"},solarized:{light:"#fdf6e3",dark:"#00212b",accent:"#007acc"},bluePlanet:{light:"#f0f2f5",dark:"#000e23",accent:"#e0e2e6"},saturn:{light:"#e4e4df",dark:"#2c2c30",accent:"#1763a6"},kepler:{light:"#f6f6f6",dark:"#0d0f1e",accent:"#7070ff"},mars:{light:"#f2efe8",dark:"#321116",accent:"#c75549"},deepSpace:{light:"#f4f4f5",dark:"#09090b",accent:"#8ab4f8"},laserwave:{light:"#f4f2f7",dark:"#27212e",accent:"#ed78c2"},none:{light:"#ffffff",dark:"#000000",accent:"#3b82f6"}})[d]||{light:"#ffffff",dark:"#000000",accent:"#3b82f6"},i=d=>r.edit(t.value?.uid,"themeId",d),l=ks({base:"w-full shadow-none text-c-1 justify-start pl-2 gap-2 border",variants:{active:{true:"bg-primary text-c-1 hover:bg-inherit",false:"bg-b-1 hover:bg-b-2"}}}),c=d=>r.edit(t.value?.uid,"proxyUrl",d);return(d,f)=>(C(),A("div",okn,[L("div",akn,[L("div",skn,[f[13]||(f[13]=L("div",null,[L("h2",{class:"mt-10 text-xl font-bold"},"Settings")],-1)),H(p_,null,{title:B(()=>f[3]||(f[3]=[be(" CORS Proxy ")])),description:B(()=>f[4]||(f[4]=[be(" Browsers block cross-origin requests for security. We provide a public proxy to "),L("a",{class:"hover:text-c-1 underline-offset-2",href:"https://en.wikipedia.org/wiki/Cross-origin_resource_sharing",target:"_blank"}," bypass CORS issues ",-1),be(" . Check the "),L("a",{class:"hover:text-c-1 underline-offset-2",href:"https://github.com/scalar/scalar/tree/main/examples/proxy-server",target:"_blank"}," source code on GitHub ",-1),be(" . ")])),default:B(()=>[L("div",ikn,[H(O(At),{class:Ie(O(is)(O(l)({active:O(t)?.proxyUrl===eb}))),onClick:f[0]||(f[0]=h=>c(eb))},{default:B(()=>[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":O(t)?.proxyUrl===eb}])},[O(t)?.proxyUrl===eb?(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):te("",!0)],2),f[5]||(f[5]=be(" Use proxy.scalar.com (default) "))]),_:1,__:[5]},8,["class"]),O(n)&&O(n)!==eb?(C(),Y(O(At),{key:0,class:Ie(O(is)(O(l)({active:O(t)?.proxyUrl===O(n)}))),onClick:f[1]||(f[1]=h=>c(O(n)))},{default:B(()=>[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":O(t)?.proxyUrl===O(n)}])},[O(t)?.proxyUrl===O(n)?(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):te("",!0)],2),be(" Use custom proxy ("+Te(O(n))+") ",1)]),_:1},8,["class"])):te("",!0),H(O(At),{class:Ie(O(is)(O(l)({active:!O(t)?.proxyUrl}))),onClick:f[2]||(f[2]=h=>c(void 0))},{default:B(()=>[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",!O(t)?.proxyUrl&&"bg-c-accent text-b-1 border-transparent"])},[O(t)?.proxyUrl?te("",!0):(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"}))],2),f[6]||(f[6]=be(" Skip the proxy "))]),_:1,__:[6]},8,["class"])])]),_:1}),H(p_,null,{title:B(()=>f[7]||(f[7]=[be(" Themes ")])),description:B(()=>f[8]||(f[8]=[be(" We've got a whole rainbow of themes for you to play with: ")])),default:B(()=>[L("div",lkn,[L("div",ckn,[(C(),A(je,null,_t(o,h=>H(O(At),{key:h,class:Ie(O(is)(O(l)({active:O(t)?.themeId===h}))),onClick:m=>i(h)},{default:B(()=>[L("div",ukn,[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":O(t)?.themeId===h}])},[O(t)?.themeId===h?(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):te("",!0)],2),be(" "+Te(O(lx)[h]),1)]),L("div",dkn,[L("span",{class:"border-c-3 -mr-3 inline-block h-5 w-5 rounded-full",style:sr({backgroundColor:s(h).light})},null,4),L("span",{class:"border-c-3 -mr-3 inline-block h-5 w-5 rounded-full",style:sr({backgroundColor:s(h).dark})},null,4),L("span",{class:"border-c-3 inline-block h-5 w-5 rounded-full",style:sr({backgroundColor:s(h).accent})},null,4)])]),_:2},1032,["class","onClick"])),64))])])]),_:1}),H(p_,null,{title:B(()=>f[9]||(f[9]=[be(" Framework Themes ")])),description:B(()=>f[10]||(f[10]=[be(" Are you a real fan? Show your support by using your favorite framework's theme! ")])),default:B(()=>[L("div",fkn,[(C(),A(je,null,_t(a,h=>H(O(At),{key:h,class:Ie(O(is)(O(l)({active:O(t)?.themeId===h}))),onClick:m=>i(h)},{default:B(()=>[L("div",pkn,[L("div",{class:Ie(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":O(t)?.themeId===h}])},[O(t)?.themeId===h?(C(),Y(O(Ct),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):te("",!0)],2),be(" "+Te(O(lx)[h]),1)]),L("div",hkn,[L("div",mkn,[H(Kxn,{integration:h},null,8,["integration"])])])]),_:2},1032,["class","onClick"])),64))])]),_:1}),H(p_,null,{title:B(()=>f[11]||(f[11]=[be(" Appearance ")])),description:B(()=>f[12]||(f[12]=[be(" Choose between light, dark, or system-based appearance for your workspace. ")])),default:B(()=>[H(ekn)]),_:1})])])]))}}),bkn=le({__name:"Settings",setup(e){const t={general:{component:gkn,title:"general"}},n=me("general");return(r,o)=>(C(),Y(Kk,null,{default:B(()=>[H(_M,{class:"flex-1"},{default:B(()=>[t[n.value]?(C(),Y(fo(t[n.value].component),{key:0})):te("",!0)]),_:1})]),_:1}))}}),vkn=Object.freeze(Object.defineProperty({__proto__:null,default:bkn},Symbol.toStringTag,{value:"Module"}));</script>
2983
+ <style rel="stylesheet" crossorigin>html,body{--tw-bg-opacity: 1 !important;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))!important;box-sizing:border-box;overflow-y:auto}body{margin-left:auto;margin-right:auto;padding:2.5rem 7.5rem;min-height:100vh;overflow-x:hidden}#root{width:100%;font-family:Inter;height:100%;box-sizing:border-box;min-height:calc(100Vh - 5rem)}.flexible{display:flex;align-items:center}@font-face{font-family:Inter;src:url(./fonts/Inter/Inter-VariableFont_wght.ttf) format("truetype");font-weight:100 200 300 400 500 600 700 800 900}@font-face{font-family:Roboto_Mono;src:url(./fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf) format("truetype");font-weight:100 200 300 400 500 600 700 800 900}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}::-webkit-scrollbar{width:.625rem;height:.625rem}::-webkit-scrollbar-track{background:#ffffff26;border-radius:.313rem}::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:.313rem;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background:#ffffffb3}._header_1y6yq_1{display:flex;max-height:47px;min-height:47px;align-items:center;justify-content:space-between;padding:.875rem 1.5rem;box-sizing:border-box}._container_1y6yq_5{display:flex;width:100%;flex-direction:column;row-gap:0px}._buttonContainer_1y6yq_8{display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;-moz-column-gap:.5rem;column-gap:.5rem}._miniFlexBlock_nr6ew_1{display:flex;flex-direction:column;align-items:flex-start;row-gap:.25rem}._tinyFlexRow_nr6ew_4{display:flex;flex-direction:row;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem}._tinyFlexResponsiveRow_nr6ew_7{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem}@media (min-width: 1240px){._tinyFlexResponsiveRow_nr6ew_7{flex-direction:row;align-items:center}}._tinyFlexBlock_nr6ew_10{display:flex;flex-direction:column;align-items:flex-start;row-gap:.5rem}._smallFlexRow_nr6ew_13{display:flex;flex-direction:row;align-items:center;-moz-column-gap:1rem;column-gap:1rem}._smallFlexBlock_nr6ew_16{display:flex;flex-direction:column;align-items:flex-start;row-gap:1rem}._smallFlexResponsiveRow_nr6ew_19{display:flex;flex-direction:column;align-items:flex-start;gap:1rem}@media (min-width: 744px){._smallFlexResponsiveRow_nr6ew_19{flex-direction:row;align-items:center}}._mediumFlexRow_nr6ew_22{display:flex;width:100%;flex-direction:row;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem}@media (min-width: 744px){._mediumFlexRow_nr6ew_22{-moz-column-gap:1.5rem;column-gap:1.5rem}}._mediumFlexBlock_nr6ew_25{display:flex;flex-direction:column;align-items:flex-start;row-gap:.75rem}@media (min-width: 1240px){._mediumFlexBlock_nr6ew_25{row-gap:1.5rem}}._largeFlexBlock_nr6ew_28{display:flex;flex-direction:column;align-items:flex-start;row-gap:.75rem}@media (min-width: 1440px){._largeFlexBlock_nr6ew_28{row-gap:2.5rem}}._fullWidth_nr6ew_31{width:100%}._justifyBetween_nr6ew_34{justify-content:space-between}._justifyCenter_nr6ew_37{justify-content:center}._justifyEnd_nr6ew_40{justify-content:flex-end}._itemsStart_nr6ew_43{align-items:flex-start}._itemsCenter_nr6ew_46{align-items:center}._buttonPadding_nr6ew_49{padding:.5rem!important}._smallButtonPadding_nr6ew_52{padding:.25rem .5rem!important}._buttonSquarePadding_nr6ew_55{padding:.5rem!important}._fullHeight_nr6ew_58{height:100%}._cursorPointer_nr6ew_61{cursor:pointer}._flexGrow_nr6ew_64{flex-grow:1}._positionRelative_nr6ew_67{position:relative}._borderedBox_ljsv8_1{flex:1 1 0%;row-gap:1rem;border-radius:.375rem;padding:1.25rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}._clickable_ljsv8_4{cursor:pointer}._bordered_1a2g2_1{box-sizing:border-box;border-radius:.375rem;border-width:1px;border-style:solid}._bordered--main-green_1a2g2_4{--tw-border-opacity: 1;border-color:rgb(33 250 144 / var(--tw-border-opacity, 1))}._bordered--main-dark-blue_1a2g2_7{--tw-border-opacity: 1;border-color:rgb(0 40 61 / var(--tw-border-opacity, 1))}._bordered--tertiary-blue_1a2g2_10{--tw-border-opacity: 1;border-color:rgb(37 136 228 / var(--tw-border-opacity, 1))}._bordered--error-red_1a2g2_13{--tw-border-opacity: 1;border-color:rgb(250 33 33 / var(--tw-border-opacity, 1))}._bordered--warning-yellow_1a2g2_16{--tw-border-opacity: 1;border-color:rgb(254 185 40 / var(--tw-border-opacity, 1))}._bordered--dark-blue_1a2g2_19{--tw-border-opacity: 1;border-color:rgb(0 52 79 / var(--tw-border-opacity, 1))}._bordered--white_1a2g2_22{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}._bordered--rich-black_1a2g2_25{--tw-border-opacity: 1;border-color:rgb(0 5 11 / var(--tw-border-opacity, 1))}._bordered--black-russian_1a2g2_28{--tw-border-opacity: 1;border-color:rgb(9 14 23 / var(--tw-border-opacity, 1))}._bordered--fluorescent-cyan_1a2g2_31{--tw-border-opacity: 1;border-color:rgb(68 255 236 / var(--tw-border-opacity, 1))}._bordered--electric-purple_1a2g2_34{--tw-border-opacity: 1;border-color:rgb(198 27 226 / var(--tw-border-opacity, 1))}._bordered--giants-orange_1a2g2_37{--tw-border-opacity: 1;border-color:rgb(250 98 33 / var(--tw-border-opacity, 1))}._bordered--transparent_1a2g2_40{border-style:none}._bordered--main-green-100_1a2g2_43{border-color:#21fa90}._bordered--main-dark-blue-100_1a2g2_46{border-color:#00283d}._bordered--tertiary-blue-100_1a2g2_49{border-color:#2588e4}._bordered--error-red-100_1a2g2_52{border-color:#fa2121}._bordered--warning-yellow-100_1a2g2_55{border-color:#feb928}._bordered--dark-blue-100_1a2g2_58{border-color:#00344f}._bordered--white-100_1a2g2_61{border-color:#fff}._bordered--rich-black-100_1a2g2_64{border-color:#00050b}._bordered--black-russian-100_1a2g2_67{border-color:#090e17}._bordered--fluorescent-cyan-100_1a2g2_70{border-color:#44ffec}._bordered--electric-purple-100_1a2g2_73{border-color:#c61be2}._bordered--giants-orange-100_1a2g2_76{border-color:#fa6221}._bordered--main-green-70_1a2g2_79{border-color:#21fa90b3}._bordered--main-dark-blue-70_1a2g2_82{border-color:#00283db3}._bordered--tertiary-blue-70_1a2g2_85{border-color:#2588e4b3}._bordered--error-red-70_1a2g2_88{border-color:#fa2121b3}._bordered--warning-yellow-70_1a2g2_91{border-color:#feb928b3}._bordered--dark-blue-70_1a2g2_94{border-color:#00344fb3}._bordered--white-70_1a2g2_97{border-color:#ffffffb3}._bordered--rich-black-70_1a2g2_100{border-color:#00050bb3}._bordered--black-russian-70_1a2g2_103{border-color:#090e17b3}._bordered--fluorescent-cyan-70_1a2g2_106{border-color:#44ffecb3}._bordered--electric-purple-70_1a2g2_109{border-color:#c61be2b3}._bordered--giants-orange-70_1a2g2_112{border-color:#fa6221b3}._bordered--main-green-30_1a2g2_115{border-color:#21fa904d}._bordered--main-dark-blue-30_1a2g2_118{border-color:#00283d4d}._bordered--error-red-30_1a2g2_121{border-color:#fa21214d}._bordered--warning-yellow-30_1a2g2_124{border-color:#feb9284d}._bordered--dark-blue-30_1a2g2_127{border-color:#00344f4d}._bordered--white-30_1a2g2_130{border-color:#ffffff4d}._bordered--rich-black-30_1a2g2_133{border-color:#00050b4d}._bordered--black-russian-30_1a2g2_136{border-color:#090e174d}._bordered--fluorescent-cyan-30_1a2g2_139{border-color:#44ffec4d}._bordered--electric-purple-30_1a2g2_142{border-color:#c61be24d}._bordered--giants-orange-30_1a2g2_145{border-color:#fa62214d}._bordered--tertiary-blue-30_1a2g2_148{border-color:#2588e44d}._bordered--main-green-20_1a2g2_151{border-color:#21fa9033}._bordered--main-dark-blue-20_1a2g2_154{border-color:#00283d33}._bordered--error-red-20_1a2g2_157{border-color:#fa212133}._bordered--warning-yellow-20_1a2g2_160{border-color:#feb92833}._bordered--dark-blue-20_1a2g2_163{border-color:#00344f33}._bordered--white-20_1a2g2_166{border-color:#fff3}._bordered--rich-black-20_1a2g2_169{border-color:#00050b33}._bordered--black-russian-20_1a2g2_172{border-color:#090e1733}._bordered--fluorescent-cyan-20_1a2g2_175{border-color:#44ffec33}._bordered--electric-purple-20_1a2g2_178{border-color:#c61be233}._bordered--giants-orange-20_1a2g2_181{border-color:#fa622133}._bordered--tertiary-blue-20_1a2g2_184{border-color:#2588e433}._bordered--main-dark-blue-15_1a2g2_187{border-color:#00283d26}._bordered--white-15_1a2g2_190{border-color:#ffffff26}._bordered--rich-black-15_1a2g2_193{border-color:#00050b26}._bordered--black-russian-15_1a2g2_196{border-color:#090e1726}._bordered--fluorescent-cyan-15_1a2g2_199{border-color:#44ffec26}._bordered--electric-purple-15_1a2g2_202{border-color:#c61be226}._bordered--giants-orange-15_1a2g2_205{border-color:#fa622126}._bordered--tertiary-blue-15_1a2g2_208{border-color:#2588e426}._bordered--main-dark-blue-10_1a2g2_46{border-color:#00283d1a}._bordered--white-10_1a2g2_61{border-color:#ffffff1a}._bordered--rich-black-10_1a2g2_64{border-color:#00050b1a}._bordered--black-russian-10_1a2g2_67{border-color:#090e171a}._bordered--fluorescent-cyan-10_1a2g2_70{border-color:#44ffec1a}._bordered--electric-purple-10_1a2g2_73{border-color:#c61be21a}._bordered--giants-orange-10_1a2g2_76{border-color:#fa62211a}._bordered--tertiary-blue-10_1a2g2_49{border-color:#2588e41a}._error-message_1a2g2_235{position:absolute;bottom:-1.25rem;width:-moz-max-content;width:max-content;padding-left:.5rem;padding-right:.5rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(250 33 33 / var(--tw-text-opacity, 1))}._padded_1a2g2_239{padding:.625rem .5rem}._text--error-red_1a2g2_242{--tw-text-opacity: 1;color:rgb(250 33 33 / var(--tw-text-opacity, 1))}._text--error-red-70_1a2g2_245{color:#fa2121b3}._text--white_1a2g2_248{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}._text--white-70_1a2g2_251{color:#ffffffb3}._text--dark-green_1a2g2_254{--tw-text-opacity: 1;color:rgb(2 120 63 / var(--tw-text-opacity, 1))}._text--dark-green-70_1a2g2_257{color:#02783fb3}._text--main-green_1a2g2_260{--tw-text-opacity: 1;color:rgb(33 250 144 / var(--tw-text-opacity, 1))}._text--main-green-70_1a2g2_263{color:#21fa90b3}._text--light-green_1a2g2_266{--tw-text-opacity: 1;color:rgb(33 241 144 / var(--tw-text-opacity, 1))}._text--light-green-70_1a2g2_269{color:#21f190b3}._text--main-dark-blue_1a2g2_272{--tw-text-opacity: 1;color:rgb(0 40 61 / var(--tw-text-opacity, 1))}._text--main-dark-blue-70_1a2g2_275{color:#00283db3}._text--light-blue_1a2g2_278{--tw-text-opacity: 1;color:rgb(233 247 255 / var(--tw-text-opacity, 1))}._text--light-blue-70_1a2g2_281{color:#e9f7ffb3}._text--rich-black_1a2g2_284{--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1))}._text--black-russian_1a2g2_287{--tw-text-opacity: 1;color:rgb(9 14 23 / var(--tw-text-opacity, 1))}._text--fluorescent-cyan_1a2g2_290{--tw-text-opacity: 1;color:rgb(68 255 236 / var(--tw-text-opacity, 1))}._text--giants-orange_1a2g2_293{--tw-text-opacity: 1;color:rgb(250 98 33 / var(--tw-text-opacity, 1))}._text--electric-purple_1a2g2_296{--tw-text-opacity: 1;color:rgb(198 27 226 / var(--tw-text-opacity, 1))}._text--tertiary-blue_1a2g2_299{--tw-text-opacity: 1;color:rgb(37 136 228 / var(--tw-text-opacity, 1))}._text--warning-yellow_1a2g2_302{--tw-text-opacity: 1;color:rgb(254 185 40 / var(--tw-text-opacity, 1))}._text--rich-black-70_1a2g2_306{color:#00050bb3}._text--black-russian-70_1a2g2_309{color:#090e17b3}._text--fluorescent-cyan-70_1a2g2_312{color:#44ffecb3}._text--giants-orange-70_1a2g2_315{color:#fa6221b3}._text--electric-purple-70_1a2g2_318{color:#c61be2b3}._text--base_1a2g2_321{font-size:1rem;line-height:1.5rem}._text--xs_1a2g2_324{font-size:.75rem;line-height:1rem}._background-color-main-green_1a2g2_330{--tw-bg-opacity: 1;background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1))}._background-color-light-green_1a2g2_333{--tw-bg-opacity: 1;background-color:rgb(33 241 144 / var(--tw-bg-opacity, 1))}._background-color-dark-green_1a2g2_336{--tw-bg-opacity: 1;background-color:rgb(2 120 63 / var(--tw-bg-opacity, 1))}._background-color-main-dark-blue_1a2g2_339{--tw-bg-opacity: 1;background-color:rgb(0 40 61 / var(--tw-bg-opacity, 1))}._background-color-dark-blue_1a2g2_342{--tw-bg-opacity: 1;background-color:rgb(0 52 79 / var(--tw-bg-opacity, 1))}._background-color-light-blue_1a2g2_345{--tw-bg-opacity: 1;background-color:rgb(233 247 255 / var(--tw-bg-opacity, 1))}._background-color-white_1a2g2_348{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}._background-color-error-red_1a2g2_351{--tw-bg-opacity: 1;background-color:rgb(250 33 33 / var(--tw-bg-opacity, 1))}._background-color-tertiary-blue_1a2g2_354{--tw-bg-opacity: 1;background-color:rgb(37 136 228 / var(--tw-bg-opacity, 1))}._background-color-warning-yellow_1a2g2_357{--tw-bg-opacity: 1;background-color:rgb(254 185 40 / var(--tw-bg-opacity, 1))}._background-color-rich-black_1a2g2_360{--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))}._background-color-fluorescent-cyan_1a2g2_363{--tw-bg-opacity: 1;background-color:rgb(68 255 236 / var(--tw-bg-opacity, 1))}._background-color-giants-orange_1a2g2_366{--tw-bg-opacity: 1;background-color:rgb(250 98 33 / var(--tw-bg-opacity, 1))}._background-color-electric-purple_1a2g2_369{--tw-bg-opacity: 1;background-color:rgb(198 27 226 / var(--tw-bg-opacity, 1))}._background-color-black-russian_1a2g2_372{--tw-bg-opacity: 1;background-color:rgb(9 14 23 / var(--tw-bg-opacity, 1))}._background-color-night_1a2g2_376{--tw-bg-opacity: 1;background-color:rgb(15 17 20 / var(--tw-bg-opacity, 1))}._background-color-anti-flash-white_1a2g2_379{--tw-bg-opacity: 1;background-color:rgb(237 237 237 / var(--tw-bg-opacity, 1))}._background-color-fire-engine-red_1a2g2_382{--tw-bg-opacity: 1;background-color:rgb(215 25 25 / var(--tw-bg-opacity, 1))}._background-color-alternate-rich-black_1a2g2_385{--tw-bg-opacity: 1;background-color:rgb(18 23 29 / var(--tw-bg-opacity, 1))}._background-color-transparent_1a2g2_388{background-color:transparent}._background-color-opaque-100_1a2g2_391{--tw-bg-opacity: 1 !important}._background-color-opaque-70_1a2g2_394{--tw-bg-opacity: .7 !important}._background-color-opaque-60_1a2g2_397{--tw-bg-opacity: .6 !important}._background-color-opaque-30_1a2g2_400{--tw-bg-opacity: .3 !important}._background-color-opaque-20_1a2g2_403{--tw-bg-opacity: .2 !important}._background-color-opaque-15_1a2g2_406{--tw-bg-opacity: .15 !important}._background-color-opaque-10_1a2g2_391{--tw-bg-opacity: .1 !important}._apply-opacity-30_1a2g2_412{opacity:.3}._padding--none_1a2g2_415{padding:0}._padding--small_1a2g2_418{padding:.25rem}._padding--medium_1a2g2_421{padding:.5rem}._padding--large_1a2g2_424{padding:1rem}._padding--extra-large_1a2g2_427{padding:1.5rem}._hover-background-color-opaque-main-green_1a2g2_430:hover{background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-light-green_1a2g2_433:hover{background-color:rgb(33 241 144 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-dark-green_1a2g2_436:hover{background-color:rgb(2 120 63 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-main-dark-blue_1a2g2_439:hover{background-color:rgb(0 40 61 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .1 }._hover-background-color-opaque-dark-blue_1a2g2_442:hover{background-color:rgb(0 52 79 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-light-blue_1a2g2_445:hover{background-color:rgb(233 247 255 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-white_1a2g2_448:hover{background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-error-red_1a2g2_451:hover{background-color:rgb(250 33 33 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-tertiary-blue_1a2g2_454:hover{background-color:rgb(37 136 228 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-rich-black_1a2g2_457:hover{background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-black-russian_1a2g2_460:hover{background-color:rgb(9 14 23 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-fluorescent-cyan_1a2g2_463:hover{background-color:rgb(68 255 236 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-giants-orange_1a2g2_466:hover{background-color:rgb(250 98 33 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-electric-purple_1a2g2_469:hover{background-color:rgb(198 27 226 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-night_1a2g2_472:hover{background-color:rgb(15 17 20 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._selected-background-color-main-green_1a2g2_475{background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 !important}._selected-background-color-light-green_1a2g2_478{background-color:rgb(33 241 144 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 !important}._selected-background-color-dark-green_1a2g2_481{background-color:rgb(2 120 63 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 !important}._selected-background-color-main-dark-blue_1a2g2_484{background-color:rgb(0 40 61 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .1 }._selected-background-color-dark-blue_1a2g2_487{background-color:rgb(0 52 79 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-light-blue_1a2g2_490{background-color:rgb(233 247 255 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-rich-black_1a2g2_493{background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-black-russian_1a2g2_496{background-color:rgb(9 14 23 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-fluorescent-cyan_1a2g2_499{background-color:rgb(68 255 236 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-electric-purple_1a2g2_502{background-color:rgb(198 27 226 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-giants-orange_1a2g2_505{background-color:rgb(250 98 33 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-night_1a2g2_508{background-color:rgb(15 17 20 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-white_1a2g2_511{background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-error-red_1a2g2_514{background-color:rgb(250 33 33 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._selected-background-color-tertiary-blue_1a2g2_517{background-color:rgb(37 136 228 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .15 }._fontSemiBold_1a2g2_521{font-weight:600}._fontLight_1a2g2_524{font-weight:300}._fullWidth_1a2g2_527{width:100%}._button_weic6_1{box-sizing:border-box;cursor:pointer;border-radius:.25rem;border-width:1px;border-style:solid;text-align:center;font-weight:400;padding-block:0px;padding-inline:0px}._content_weic6_6{display:flex;align-items:center;justify-content:center;-moz-column-gap:.5rem;column-gap:.5rem;border-radius:.25rem;background:transparent}._fontBold_weic6_10{font-weight:600}._button-small_weic6_13{padding:.25rem;font-size:.875rem;line-height:1.25rem}._button-medium_weic6_16{padding:.25rem}._button-large_weic6_19,._button-extra-large_weic6_22{padding:.5rem}@media (min-width: 744px){._button-extra-large_weic6_22{padding:.625rem}}._margin-right-medium_weic6_26,._margin-right-small_weic6_27{margin-right:.25rem}._margin-right-large_weic6_30{margin-right:.5rem}._margin-right-extra-large_weic6_33{margin-right:.75rem}._color-main-green_weic6_36{--tw-border-opacity: 1;border-color:rgb(33 250 144 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(33 250 144 / var(--tw-text-opacity, 1))}._color-light-green_weic6_39{--tw-border-opacity: 1;border-color:rgb(33 241 144 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(33 241 144 / var(--tw-text-opacity, 1))}._color-dark-green_weic6_42{--tw-border-opacity: 1;border-color:rgb(2 120 63 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(2 120 63 / var(--tw-text-opacity, 1))}._color-main-dark-blue_weic6_45{--tw-border-opacity: 1;border-color:rgb(0 40 61 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(0 40 61 / var(--tw-text-opacity, 1))}._color-dark-blue_weic6_48{--tw-border-opacity: 1;border-color:rgb(0 52 79 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(0 52 79 / var(--tw-text-opacity, 1))}._color-light-blue_weic6_51{--tw-border-opacity: 1;border-color:rgb(233 247 255 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(233 247 255 / var(--tw-text-opacity, 1))}._color-white_weic6_54{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}._color-error-red_weic6_57{--tw-border-opacity: 1;border-color:rgb(250 33 33 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(250 33 33 / var(--tw-text-opacity, 1))}._color-tertiary-blue_weic6_60{--tw-border-opacity: 1;border-color:rgb(37 136 228 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(37 136 228 / var(--tw-text-opacity, 1))}._color-transparent_weic6_63{border-color:transparent;color:transparent}._color-rich-black_weic6_66{--tw-border-opacity: 1;border-color:rgb(0 5 11 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1))}._color-black-russian_weic6_69{--tw-border-opacity: 1;border-color:rgb(9 14 23 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(9 14 23 / var(--tw-text-opacity, 1))}._color-fluorescent-cyan_weic6_72{--tw-border-opacity: 1;border-color:rgb(68 255 236 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(68 255 236 / var(--tw-text-opacity, 1))}._color-electric-purple_weic6_75{--tw-border-opacity: 1;border-color:rgb(198 27 226 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(198 27 226 / var(--tw-text-opacity, 1))}._color-giants-orange_weic6_78{--tw-border-opacity: 1;border-color:rgb(250 98 33 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(250 98 33 / var(--tw-text-opacity, 1))}._no-border_weic6_81{border-width:0px}._disabled_weic6_84{cursor:default;opacity:.3}._hover-box-shadow-main-green_weic6_87:hover{--tw-shadow: 0px 0px 4px rgba(33, 250, 144, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #21FA90;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-light-green_weic6_90:hover{--tw-shadow: 0px 0px 4px rgba(33, 241, 144, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #21F190;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-dark-green_weic6_93:hover{--tw-shadow: 0px 0px 4px rgba(2, 120, 63, 1);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #02783F;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-main-dark-blue_weic6_96:hover{--tw-shadow: 0px 0px 4px rgba(33, 250, 144, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #00283D;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-dark-blue_weic6_99:hover{--tw-shadow: 0px 0px 4px rgba(0, 52, 79, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #00344F;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-light-blue_weic6_102:hover{--tw-shadow: 0px 0px 4px rgba(233, 247, 255, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #E9F7FF;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-white_weic6_105:hover{--tw-shadow: 0px 0px 4px rgba(255, 255, 255, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #FFFFFF;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-error-red_weic6_108:hover{--tw-shadow: 0px 0px 4px rgba(250, 33, 33, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #FA2121;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-tertiary-blue_weic6_111:hover{--tw-shadow: 0px 0px 4px rgba(37, 136, 228, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #2588E4;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-rich-black_weic6_114:hover{--tw-shadow: 0px 0px 4px rgba(0, 5, 11, 1);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #00050B;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-black-russian_weic6_117:hover{--tw-shadow: 0px 0px 4px rgba(0, 9, 14, 23);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #090E17;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-fluorescent-cyan_weic6_120:hover{--tw-shadow: 0px 0px 4px rgba(68, 255, 236, 23);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #44FFEC;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-electric-purple_weic6_123:hover{--tw-shadow-color: #C61BE2;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-giants-orange_weic6_126:hover{--tw-shadow-color: #FA6221;--tw-shadow: var(--tw-shadow-colored) }._underline-effect_weic6_130:hover{text-decoration-line:underline}._fullWidth_weic6_134{width:100%}._label_weic6_137{width:-moz-max-content;width:max-content}._inactive_weic6_140{opacity:.7}._active_weic6_143{opacity:1}._cursorDefault_weic6_146{cursor:default}._rich-black_liqec_1>circle,._rich-black_liqec_1>ellipse,._rich-black_liqec_1>rect,._rich-black_liqec_1>line,._rich-black_liqec_1>path{stroke:#00050b}._important-rich-black_liqec_9>circle,._important-rich-black_liqec_9>ellipse,._important-rich-black_liqec_9>rect,._important-rich-black_liqec_9>line,._important-rich-black_liqec_9>path{stroke:#00050b!important}._error-red_liqec_17>circle,._error-red_liqec_17>ellipse,._error-red_liqec_17>rect,._error-red_liqec_17>line,._error-red_liqec_17>path{stroke:#fa2121}._important-error-red_liqec_25>circle,._important-error-red_liqec_25>ellipse,._important-error-red_liqec_25>rect,._important-error-red_liqec_25>line,._important-error-red_liqec_25>path{stroke:#fa2121!important}._main-dark-blue_liqec_33>circle,._main-dark-blue_liqec_33>ellipse,._main-dark-blue_liqec_33>rect,._main-dark-blue_liqec_33>line,._main-dark-blue_liqec_33>path{stroke:#00283d}._important-main-dark-blue_liqec_41>circle,._important-main-dark-blue_liqec_41>ellipse,._important-main-dark-blue_liqec_41>rect,._important-main-dark-blue_liqec_41>line,._important-main-dark-blue_liqec_41>path{stroke:#00283d!important}._main-green_liqec_49>circle,._main-green_liqec_49>ellipse,._main-green_liqec_49>rect,._main-green_liqec_49>line,._main-green_liqec_49>path{stroke:#21fa90}._important-main-green_liqec_57>circle,._important-main-green_liqec_57>ellipse,._important-main-green_liqec_57>rect,._important-main-green_liqec_57>line,._important-main-green_liqec_57>path{stroke:#21fa90!important}._tertiary-blue_liqec_65>circle,._tertiary-blue_liqec_65>ellipse,._tertiary-blue_liqec_65>rect,._tertiary-blue_liqec_65>line,._tertiary-blue_liqec_65>path{stroke:#2588e4}._important-tertiary-blue_liqec_73>circle,._important-tertiary-blue_liqec_73>ellipse,._important-tertiary-blue_liqec_73>rect,._important-tertiary-blue_liqec_73>line,._important-tertiary-blue_liqec_73>path{stroke:#2588e4!important}._warning-yellow_liqec_81>circle,._warning-yellow_liqec_81>ellipse,._warning-yellow_liqec_81>rect,._warning-yellow_liqec_81>line,._warning-yellow_liqec_81>path{stroke:#feb928}._important-warning-yellow_liqec_89>circle,._important-warning-yellow_liqec_89>ellipse,._important-warning-yellow_liqec_89>rect,._important-warning-yellow_liqec_89>line,._important-warning-yellow_liqec_89>path{stroke:#feb928!important}._white_liqec_97>circle,._white_liqec_97>ellipse,._white_liqec_97>rect,._white_liqec_97>line,._white_liqec_97>path{stroke:#fff}._important-white_liqec_105>circle,._important-white_liqec_105>ellipse,._important-white_liqec_105>rect,._important-white_liqec_105>line,._important-white_liqec_105>path{stroke:#fff!important}._fluorescent-cyan_liqec_113>circle,._fluorescent-cyan_liqec_113>ellipse,._fluorescent-cyan_liqec_113>rect,._fluorescent-cyan_liqec_113>line,._fluorescent-cyan_liqec_113>path{stroke:#44ffec}._important-fluorescent-cyan_liqec_121>circle,._important-fluorescent-cyan_liqec_121>ellipse,._important-fluorescent-cyan_liqec_121>rect,._important-fluorescent-cyan_liqec_121>line,._important-fluorescent-cyan_liqec_121>path{stroke:#44ffec!important}._giants-orange_liqec_130>circle,._giants-orange_liqec_130>ellipse,._giants-orange_liqec_130>rect,._giants-orange_liqec_130>line,._giants-orange_liqec_130>path{stroke:#fa6221}._important-giants-orange_liqec_138>circle,._important-giants-orange_liqec_138>ellipse,._important-giants-orange_liqec_138>rect,._important-giants-orange_liqec_138>line,._important-giants-orange_liqec_138>path{stroke:#fa6221!important}._electric-purple_liqec_147>circle,._electric-purple_liqec_147>ellipse,._electric-purple_liqec_147>rect,._electric-purple_liqec_147>line,._electric-purple_liqec_147>path{stroke:#c61be2}._important-electric-purple_liqec_155>circle,._important-electric-purple_liqec_155>ellipse,._important-electric-purple_liqec_155>rect,._important-electric-purple_liqec_155>line,._important-electric-purple_liqec_155>path{stroke:#c61be2!important}._filled-rich-black_liqec_164{fill:#00050b}._filled-white_liqec_167{fill:#fff}._filled-error-red_liqec_170{fill:#fa2121}._filled-main-dark-blue_liqec_173{fill:#00283d}._filled-main-green_liqec_176{fill:#21fa90}._filled-warning-yellow_liqec_179{fill:#feb928}._filled-tertiary-blue_liqec_182{fill:#2588e4}._filled-fluorescent-cyan_liqec_185{fill:#44ffec}._filled-giants-orange_liqec_188{fill:#fa6221}._filled-electric-purple_liqec_191{fill:#c61be2}._fill-circle-green_liqec_196>circle{fill:#fff}._fill-circle-main-dark-blue_liqec_199>circle{fill:#00283d}._svgClassName_liqec_202{display:block;flex-shrink:0;overflow-clip-margin:unset}._iconDisabled_liqec_207{opacity:.3}._iconInactive_liqec_211{opacity:.7}._strokeTransparent_liqec_215{stroke:transparent!important}._cursorPointer_xwn7e_1{cursor:pointer}._pltTooltip_xwn7e_4{position:relative}._tooltipWrapper_15ig4_2{display:inline-block;position:relative}._tooltipTip_15ig4_8{position:absolute;border-radius:4px}._tooltipTipBaseClass_15ig4_13{z-index:20;border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.5rem;font-family:Montserrat;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1));white-space:nowrap}._tooltipTip_15ig4_8:before{content:" ";border:solid transparent;height:0;width:0;position:absolute;pointer-events:none;border-width:6px;margin-left:-6px}._start_15ig4_29{left:0%}._start_15ig4_29:before{left:12px}._center_15ig4_36,._center_15ig4_36:before{left:50%;transform:translate(-50%)}._end_15ig4_40{left:100%;transform:translate(-100%)}._end_15ig4_40:before{right:12px}._top_15ig4_50:before{top:100%;border-top-color:#fff}._right_15ig4_56{top:50%;transform:translate(0) translateY(-50%)}._right_15ig4_56:before{left:-6px;top:50%;transform:translate(0) translateY(-50%);border-right-color:#fff}._bottom_15ig4_69:before{bottom:100%;border-bottom-color:#fff}._left_15ig4_75{left:auto;top:50%;transform:translate(0) translateY(-50%)}._left_15ig4_75:before{left:auto;right:-12px;top:50%;transform:translate(0) translateY(-50%);border-left-color:#fff;border-right-color:transparent}._tooltipWrapper_1gojo_2{display:inline-block;position:relative}._tooltipTip_1gojo_8{position:fixed;border-radius:4px}._tooltipTipBaseClass_1gojo_13{z-index:20;border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.5rem;font-family:Montserrat;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1));white-space:nowrap}._tooltipTip_1gojo_8:before{content:" ";left:50%;border:solid transparent;height:0;width:0;position:absolute;pointer-events:none;border-width:6px;margin-left:-6px}._top_1gojo_32:before{--tw-border-opacity: 1;border-top-color:rgb(255 255 255 / var(--tw-border-opacity, 1));top:100%}._right_1gojo_38{top:50%;transform:translate(0) translateY(-50%)}._right_1gojo_38:before{--tw-border-opacity: 1;border-right-color:rgb(255 255 255 / var(--tw-border-opacity, 1));left:-6px;top:50%;transform:translate(0) translateY(-50%)}._bottom_1gojo_50:before{--tw-border-opacity: 1;border-bottom-color:rgb(255 255 255 / var(--tw-border-opacity, 1));bottom:100%}._left_1gojo_56{left:auto;top:50%;transform:translate(0) translateY(-50%)}._left_1gojo_56:before{--tw-border-opacity: 1;border-left-color:rgb(255 255 255 / var(--tw-border-opacity, 1));left:calc(100% + 6px);right:-12px;top:50%;transform:translate(0) translateY(-50%)}._start_1gojo_70:before{left:calc(100% - 10px);right:10px}._end_1gojo_74:before{left:10px}._checkbox_606uf_1{position:relative;margin:0;display:inline-block;border-radius:.125rem;border-width:1px;border-style:solid}._checkbox_606uf_1:hover{cursor:pointer}._checkbox_606uf_1{-webkit-appearance:none}._checkbox--medium_606uf_6{height:.5rem;width:.5rem;padding:.5rem}._checkbox--small_606uf_10{height:10px;width:10px;padding:5px}._checkbox--main-dark-blue_606uf_14{--tw-border-opacity: 1;border-color:rgb(33 241 144 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(0 40 61 / var(--tw-bg-opacity, 1))}._checkbox--main-dark-blue_606uf_14:checked{--tw-bg-opacity: 1;background-color:rgb(33 241 144 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(0 40 61 / var(--tw-text-opacity, 1))}._checkbox--white_606uf_21{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))}._checkbox--white_606uf_21:checked{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1))}._checkbox--medium_606uf_6._checkbox--main-dark-blue_606uf_14:checked:after,._checkbox--medium_606uf_6._checkbox--rich-black_606uf_28:checked:after{position:absolute;height:100%;width:100%;top:-4px;left:1px;content:url(data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%229%22%20viewBox%3D%220%200%2013%209%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1%204L5%208L12%201%22%20stroke%3D%22white%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E)}._checkbox--small_606uf_10._checkbox--main-dark-blue_606uf_14:checked:after,._checkbox--small_606uf_10._checkbox--rich-black_606uf_28:checked:after{position:absolute;height:100%;width:100%;top:-4px;left:2px;content:url(data:image/svg+xml,%3Csvg%20width%3D%2211%22%20height%3D%228%22%20viewBox%3D%220%200%2011%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M1.25%203.5L4.25%206.5L9.5%201.25%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3C%2Fsvg%3E)}._disabled_606uf_41{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}._checkbox--rich-black_606uf_28{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))}._checkbox--rich-black_606uf_28:checked{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1))}._checkbox--medium_606uf_6._checkbox--white_606uf_21:checked:after{position:absolute;height:100%;width:100%;top:-4px;left:2px;content:url(data:image/svg+xml,%3Csvg%20width=%2213%22%20height=%229%22%20viewBox=%220%200%2013%209%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M1%204L5%208L12%201%22%20stroke%3D%22%2300050B%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E)}._checkbox--small_606uf_10._checkbox--white_606uf_21:checked:after{position:absolute;height:100%;width:100%;top:-7px;left:0;content:url(data:image/svg+xml,%3Csvg%20width%3D%2211%22%20height%3D%228%22%20viewBox%3D%220%200%2011%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M1.25%203.5L4.25%206.5L9.5%201.25%22%20stroke%3D%22%2300050B%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3C%2Fsvg%3E)}._style_2eaw7_1{width:100%;border-bottom-width:0px;border-top-width:1px;margin-block-start:0;margin-block-end:0;margin-inline-start:0;margin-inline-end:0}._marginY-4_2eaw7_8{margin-top:1rem;margin-bottom:1rem}._marginT-4_2eaw7_12{margin-top:1rem}._marginB-4_2eaw7_16{margin-bottom:1rem}._marginY-8_2eaw7_20{margin-top:2rem;margin-bottom:2rem}._marginT-8_2eaw7_24{margin-top:2rem}._marginB-8_2eaw7_28{margin-bottom:2rem}._marginY-10_2eaw7_32{margin-top:2.5rem;margin-bottom:2.5rem}._marginT-10_2eaw7_36{margin-top:2.5rem}._marginB-10_2eaw7_40{margin-bottom:2.5rem}._apply-opacity-20_2eaw7_44{opacity:.2}._apply-opacity-30_2eaw7_48{opacity:.3}._apply-opacity-15_2eaw7_52{opacity:.15}._fullHeight_1j6ld_1{height:100%;min-height:18px;width:1px}._container_12tow_1{display:flex;width:100%;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem}._switch_12tow_4{position:relative;display:inline-block;cursor:pointer}._switch--medium_12tow_7{height:24px;width:50px}._switch--small_12tow_10{height:16px;width:30px}._switch_12tow_4 input{height:0px;width:0px;opacity:0}._slider_12tow_16{position:absolute;inset:0;height:100%;background-color:#707070;transition:.4s}._defaultLabel_12tow_23{padding-left:.5rem;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:400;--tw-text-opacity: 1;color:rgb(0 40 61 / var(--tw-text-opacity, 1))}._slider--small_12tow_26:before,._slider--medium_12tow_27:before{content:"";transition:.4s}._slider--medium_12tow_27:before{position:absolute;left:1px;bottom:1px;height:22px;width:22px;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}._slider--small_12tow_26:before{position:absolute;left:1px;bottom:1px;height:14px;width:14px;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}input:checked+._slider_12tow_16{--tw-bg-opacity: 1;background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1))}input:checked+._slider--medium_12tow_27:before{transform:translate(26px)}input:checked+._slider--small_12tow_26:before{transform:translate(14px)}._slider_12tow_16._round_12tow_57{border-radius:100px}._slider_12tow_16._round_12tow_57:before{border-radius:9999px}._disabled_12tow_65{cursor:default;opacity:.3}._ringwhite_nk8cy_1{color:#fff}._ring_nk8cy_1,._ring_nk8cy_1 div{box-sizing:border-box}._ring_nk8cy_1 div{box-sizing:border-box;display:block;position:absolute;border-style:solid;border-color:currentColor;border-radius:50%;animation:_lds-ring_nk8cy_1 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:currentColor transparent transparent transparent}._ring_nk8cy_1 div:nth-child(1){animation-delay:-.45s}._ring_nk8cy_1 div:nth-child(2){animation-delay:-.3s}._ring_nk8cy_1 div:nth-child(3){animation-delay:-.15s}@keyframes _lds-ring_nk8cy_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._container_1mzeu_1{position:fixed;top:0;left:0;z-index:50;height:100vh;min-height:100vh;width:100%;min-width:100%;overflow-y:auto}._content_1mzeu_4{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center}._separator_1di4k_1{margin-left:.5rem;margin-right:.5rem}._logo_1di4k_4{margin-right:1rem}._breadCrumbs_1di4k_7{display:flex;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem}._container_1di4k_10{display:inline-flex;align-items:center}._navigationElement_1di4k_13{display:inline-flex;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem;text-decoration-line:none}._link_1di4k_16{text-decoration-line:none}._link_1di4k_16:hover{cursor:pointer;opacity:1}._textWhite_jbn64_1{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}._textRichBlack_jbn64_4{--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1))}._textMainGreen_jbn64_7{--tw-text-opacity: 1;color:rgb(33 250 144 / var(--tw-text-opacity, 1))}._textWarningYellow_jbn64_10{--tw-text-opacity: 1;color:rgb(254 185 40 / var(--tw-text-opacity, 1))}._textTertiaryBlue_jbn64_13{--tw-text-opacity: 1;color:rgb(37 136 228 / var(--tw-text-opacity, 1))}._textCenter_jbn64_16{text-align:center}._opacity70_jbn64_19{opacity:.7}._ellipsis_jbn64_22{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._desktopBodyLarge_jbn64_25{font-family:Inter;font-size:1rem;font-weight:300;line-height:1.5rem}@media (min-width: 1240px){._desktopBodyLarge_jbn64_25{font-size:1.125rem;line-height:1.688rem}}._desktopBody_jbn64_25{font-family:Inter;font-size:1rem;font-weight:300;line-height:1.5rem}._desktopBodySmall_jbn64_31{font-family:Inter;font-size:.875rem;font-weight:300;line-height:1.375rem}._desktopBodySmallest_jbn64_34{font-family:Inter;font-size:.75rem;font-weight:300;line-height:1.125rem}._desktopButtonSmall_jbn64_37{font-family:Inter;font-size:13px;font-weight:300;line-height:1.375rem}._desktopBodyLargeSemibold_jbn64_40{font-family:Inter;font-size:1.125rem;font-weight:500;line-height:1.5rem}@media (min-width: 1240px){._desktopBodyLargeSemibold_jbn64_40{font-size:1.125rem;line-height:1.688rem}}._desktopBodySemibold_jbn64_43{font-family:Inter;font-size:1rem;font-weight:500;line-height:1.5rem}._semibold_jbn64_46{font-weight:500}._desktopOtherCliTerminalSmall_jbn64_49{font-size:.75rem;font-weight:400;line-height:1.125rem}@media (min-width: 1240px){._desktopOtherCliTerminalSmall_jbn64_49{font-size:.875rem;line-height:1.313rem}}._desktopOtherCliTerminalSmall_jbn64_49{font-family:Roboto_Mono}._desktopOtherOverlineSmallest_jbn64_53{font-family:Inter;font-size:.625rem;font-weight:300;text-transform:uppercase;line-height:1rem;letter-spacing:.2em}._loadingSpinner_1skst_1{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}._container_yitc7_1{margin-left:auto;margin-right:auto;display:flex;height:100vh;width:100%;max-width:1440px;flex-direction:column;align-items:center;justify-content:center;row-gap:2.5rem}@media (min-width: 744px){._container_yitc7_1{height:100%;min-height:calc(100vh - 15rem)}}._showedLogsContainer_yitc7_4{display:flex;max-height:30vH;min-height:10rem;min-width:60%;flex-grow:0;flex-direction:column;row-gap:1rem;overflow-y:auto;overflow-x:hidden}._buttonContainer_yitc7_7{display:flex;align-items:center;justify-content:center;-moz-column-gap:.5rem;column-gap:.5rem}._buttonLogsContainer_yitc7_10{display:flex;align-items:center;justify-content:flex-end;-moz-column-gap:.5rem;column-gap:.5rem}._tooltipDarkStyle_f4of7_1{z-index:20;width:-moz-max-content;width:max-content;border-width:0px;padding:.5rem;font-family:Inter;font-size:.75rem;font-weight:300;line-height:1.125rem;--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1));background-color:#fff!important}._content_z894a_1{display:flex;height:100%;min-height:calc(100vH - 3rem);flex-direction:row;-moz-column-gap:0px;column-gap:0px;overflow-x:hidden;overflow-y:hidden}@media (min-width: 1440px){._content_z894a_1{min-height:calc(100vH - 3rem)}}._container_14yeo_1{display:flex;flex-shrink:0;flex-direction:column;justify-content:space-between;row-gap:1.5rem;border-right-width:1px;border-style:solid;padding:1rem;box-sizing:border-box;max-width:72px;min-width:72px;border-color:#ffffff26}._content_14yeo_8{display:flex;flex-direction:column;row-gap:2rem}._item_14yeo_11{position:relative;z-index:20}._tooltipSidebar_14yeo_14{z-index:20;width:-moz-max-content;width:max-content;border-width:0px;padding:.25rem;font-family:Inter;font-size:.75rem;font-weight:300;line-height:1.125rem;--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1));background-color:#fff!important}._button_1djdl_1{box-sizing:border-box;cursor:pointer;border-radius:.25rem;border-width:1px;border-style:solid;text-align:center;font-weight:400;padding-block:0px;padding-inline:0px}._content_1djdl_6{display:flex;align-items:center;justify-content:center;-moz-column-gap:.5rem;column-gap:.5rem;border-radius:.25rem;background:transparent}._fontBold_1djdl_10{font-weight:600}._button-small_1djdl_13{padding:.25rem;font-size:.875rem;line-height:1.25rem}._button-medium_1djdl_16{padding:.25rem}._button-large_1djdl_19,._button-extra-large_1djdl_22{padding:.5rem}@media (min-width: 744px){._button-extra-large_1djdl_22{padding:.625rem}}._margin-right-medium_1djdl_26,._margin-right-small_1djdl_27{margin-right:.25rem}._margin-right-large_1djdl_30{margin-right:.5rem}._margin-right-extra-large_1djdl_33{margin-right:.75rem}._color-main-green_1djdl_36{--tw-border-opacity: 1;border-color:rgb(33 250 144 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(33 250 144 / var(--tw-text-opacity, 1))}._color-light-green_1djdl_39{--tw-border-opacity: 1;border-color:rgb(33 241 144 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(33 241 144 / var(--tw-text-opacity, 1))}._color-dark-green_1djdl_42{--tw-border-opacity: 1;border-color:rgb(2 120 63 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(2 120 63 / var(--tw-text-opacity, 1))}._color-main-dark-blue_1djdl_45{--tw-border-opacity: 1;border-color:rgb(0 40 61 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(0 40 61 / var(--tw-text-opacity, 1))}._color-dark-blue_1djdl_48{--tw-border-opacity: 1;border-color:rgb(0 52 79 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(0 52 79 / var(--tw-text-opacity, 1))}._color-light-blue_1djdl_51{--tw-border-opacity: 1;border-color:rgb(233 247 255 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(233 247 255 / var(--tw-text-opacity, 1))}._color-white_1djdl_54{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}._color-error-red_1djdl_57{--tw-border-opacity: 1;border-color:rgb(250 33 33 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(250 33 33 / var(--tw-text-opacity, 1))}._color-tertiary-blue_1djdl_60{--tw-border-opacity: 1;border-color:rgb(37 136 228 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(37 136 228 / var(--tw-text-opacity, 1))}._color-transparent_1djdl_63{border-color:transparent;color:transparent}._color-rich-black_1djdl_66{--tw-border-opacity: 1;border-color:rgb(0 5 11 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(0 5 11 / var(--tw-text-opacity, 1))}._no-border_1djdl_70{border-width:0px}._disabled_1djdl_73{cursor:default;opacity:.3}._hover-box-shadow-main-green_1djdl_76:hover{--tw-shadow: 0px 0px 4px rgba(33, 250, 144, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #21FA90;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-light-green_1djdl_79:hover{--tw-shadow: 0px 0px 4px rgba(33, 241, 144, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #21F190;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-dark-green_1djdl_82:hover{--tw-shadow: 0px 0px 4px rgba(2, 120, 63, 1);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #02783F;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-main-dark-blue_1djdl_85:hover{--tw-shadow: 0px 0px 4px rgba(33, 250, 144, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #00283D;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-dark-blue_1djdl_88:hover{--tw-shadow: 0px 0px 4px rgba(0, 52, 79, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #00344F;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-light-blue_1djdl_91:hover{--tw-shadow: 0px 0px 4px rgba(233, 247, 255, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #E9F7FF;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-white_1djdl_94:hover{--tw-shadow: 0px 0px 4px rgba(255, 255, 255, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #FFFFFF;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-error-red_1djdl_97:hover{--tw-shadow: 0px 0px 4px rgba(250, 33, 33, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #FA2121;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-tertiary-blue_1djdl_100:hover{--tw-shadow: 0px 0px 4px rgba(37, 136, 228, .5);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #2588E4;--tw-shadow: var(--tw-shadow-colored) }._hover-box-shadow-rich-black_1djdl_103:hover{--tw-shadow: 0px 0px 4px rgba(0, 5, 11, 1);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: #00050B;--tw-shadow: var(--tw-shadow-colored) }._underline-effect_1djdl_107:hover{text-decoration-line:underline}._fullWidth_1djdl_111{width:100%}._label_1djdl_114{width:-moz-max-content;width:max-content}._inactive_1djdl_117{opacity:.7}._active_1djdl_120{opacity:1}._cursorDefault_1djdl_123{cursor:default}._fullRounded_1djdl_127{border-radius:9999px}._selected-background-color-main-green_1djdl_131{background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 !important}._selected-background-color-light-green_1djdl_134{background-color:rgb(33 241 144 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 !important}._selected-background-color-dark-green_1djdl_137{background-color:rgb(2 120 63 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 !important}._selected-background-color-main-dark-blue_1djdl_140{background-color:rgb(0 40 61 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 }._selected-background-color-dark-blue_1djdl_143{background-color:rgb(0 52 79 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 }._selected-background-color-light-blue_1djdl_146{background-color:rgb(233 247 255 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 }._selected-background-color-rich-black_1djdl_149{background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 }._selected-background-color-white_1djdl_152{background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 }._selected-background-color-error-red_1djdl_155{background-color:rgb(250 33 33 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 }._selected-background-color-tertiary-blue_1djdl_158{background-color:rgb(37 136 228 / var(--tw-bg-opacity, 1))!important;--tw-bg-opacity: .3 }._hover-background-color-opaque-main-green_1djdl_162:hover{background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-light-green_1djdl_165:hover{background-color:rgb(33 241 144 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-dark-green_1djdl_168:hover{background-color:rgb(2 120 63 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-main-dark-blue_1djdl_171:hover{background-color:rgb(0 40 61 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .1 }._hover-background-color-opaque-dark-blue_1djdl_174:hover{background-color:rgb(0 52 79 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-light-blue_1djdl_177:hover{background-color:rgb(233 247 255 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-white_1djdl_180:hover{background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-error-red_1djdl_183:hover{background-color:rgb(250 33 33 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-tertiary-blue_1djdl_186:hover{background-color:rgb(37 136 228 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._hover-background-color-opaque-rich-black_1djdl_189:hover{background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15 }._background-color-main-green_1djdl_193{--tw-bg-opacity: 1;background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1))}._background-color-light-green_1djdl_196{--tw-bg-opacity: 1;background-color:rgb(33 241 144 / var(--tw-bg-opacity, 1))}._background-color-dark-green_1djdl_199{--tw-bg-opacity: 1;background-color:rgb(2 120 63 / var(--tw-bg-opacity, 1))}._background-color-main-dark-blue_1djdl_202{--tw-bg-opacity: 1;background-color:rgb(0 40 61 / var(--tw-bg-opacity, 1))}._background-color-dark-blue_1djdl_205{--tw-bg-opacity: 1;background-color:rgb(0 52 79 / var(--tw-bg-opacity, 1))}._background-color-light-blue_1djdl_208{--tw-bg-opacity: 1;background-color:rgb(233 247 255 / var(--tw-bg-opacity, 1))}._background-color-white_1djdl_211{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}._background-color-error-red_1djdl_214{--tw-bg-opacity: 1;background-color:rgb(250 33 33 / var(--tw-bg-opacity, 1))}._background-color-tertiary-blue_1djdl_217{--tw-bg-opacity: 1;background-color:rgb(37 136 228 / var(--tw-bg-opacity, 1))}._background-color-warning-yellow_1djdl_220{--tw-bg-opacity: 1;background-color:rgb(254 185 40 / var(--tw-bg-opacity, 1))}._background-color-rich-black_1djdl_223{--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))}._background-color-anti-flash-white_1djdl_226{--tw-bg-opacity: 1;background-color:rgb(237 237 237 / var(--tw-bg-opacity, 1))}._background-color-fire-engine-red_1djdl_229{--tw-bg-opacity: 1;background-color:rgb(215 25 25 / var(--tw-bg-opacity, 1))}._background-color-alternate-rich-black_1djdl_232{--tw-bg-opacity: 1;background-color:rgb(18 23 29 / var(--tw-bg-opacity, 1))}._background-color-transparent_1djdl_235{background-color:transparent}._bordered--main-green-100_1djdl_239{border-color:#21fa90}._bordered--main-dark-blue-100_1djdl_242{border-color:#00283d}._bordered--tertiary-blue-100_1djdl_245{border-color:#2588e4}._bordered--error-red-100_1djdl_248{border-color:#fa2121}._bordered--warning-yellow-100_1djdl_251{border-color:#feb928}._bordered--dark-blue-100_1djdl_254{border-color:#00344f}._bordered--white-100_1djdl_257{border-color:#fff}._bordered--main-green-30_1djdl_261{border-color:#21fa904d}._bordered--main-dark-blue-30_1djdl_264{border-color:#00283d4d}._bordered--error-red-30_1djdl_267{border-color:#fa21214d}._bordered--warning-yellow-30_1djdl_270{border-color:#feb9284d}._bordered--dark-blue-30_1djdl_273{border-color:#00344f4d}._bordered--white-30_1djdl_276{border-color:#ffffff4d}._bordered--tertiary-blue-30_1djdl_279{border-color:#2588e44d}._container_setfp_1{position:relative;flex-grow:1}._containerElement_setfp_4{display:flex;height:100%;max-height:calc(100vH - 6rem);min-height:calc(100vH - 6rem);flex-direction:column;row-gap:2.5rem;overflow-y:auto;padding:1rem}._container_6v4z7_1{position:relative;flex-grow:1}._buttonContainer_6v4z7_4{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:.5rem}._applicationName_6v4z7_7{max-width:40rem}._rowContainer_6v4z7_10{display:flex;width:100%;flex-direction:column;align-items:flex-start;-moz-column-gap:1.5rem;column-gap:1.5rem;row-gap:1rem}@media (min-width: 744px){._rowContainer_6v4z7_10{flex-direction:row;align-items:center}}._borderexBoxContainer_6v4z7_13{padding:1rem}._updatePlatformaticBox_6v4z7_16{width:-moz-fit-content;width:fit-content;flex:unset!important}._verticalSeparator_6v4z7_20{display:none}@media (min-width: 744px){._verticalSeparator_6v4z7_20{display:block}}._appInnerBox_6v4z7_23{padding-left:32px}._runningPills_13572_1,._stoppedPills_13572_2{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:.25rem}@media (min-width: 744px){._runningPills_13572_1,._stoppedPills_13572_2{justify-content:flex-start}}._stoppedPills_13572_2,._runningPills_13572_1{width:-moz-fit-content;width:fit-content;border-radius:9999px;padding:.125rem .5rem}._runningPills_13572_1{background-color:#21fa9026}._stoppedPills_13572_2{background-color:#ffffff26}._clockWiseRotation_13572_16{animation:_rotationClockwise_13572_1 2s infinite linear}@keyframes _rotationClockwise_13572_1{0%{transform:rotate(0)}to{transform:rotate(359deg)}}._borderexBoxContainer_15wfb_1{position:relative;flex-grow:1;padding:1rem}._buttonContainer_15wfb_4{display:flex;align-items:center;justify-content:flex-end;-moz-column-gap:.5rem;column-gap:.5rem}._applicationName_15wfb_7{max-width:40rem}._innerServiceBoxContainer_15wfb_10{display:flex;width:100%;flex-direction:column;align-items:center;row-gap:.5rem;text-align:center}._verticalSeparator_15wfb_13{height:104px}._w45_15wfb_16{width:45px}._boxOutdatedDependencies_15wfb_19,._boxUpToDateDependencies_15wfb_20{height:.75rem;width:.75rem;border-radius:.125rem;border-width:1px;border-style:solid}._boxOutdatedDependencies_15wfb_19{--tw-border-opacity: 1;border-color:rgb(254 185 40 / var(--tw-border-opacity, 1));background-color:#feb9284d}._boxUpToDateDependencies_15wfb_20{border-color:#ffffff4d;--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1))}._flexWrap_15wfb_29{flex-wrap:wrap;row-gap:.5rem}._serviceBox_15wfb_32{min-width:240px;flex:1 1 240px}._serviceContentRow_15wfb_36{display:flex;width:100%;flex-direction:row;align-items:flex-start}._servicePadding_15wfb_39{padding:1rem}._emptyOpenApi_15wfb_42{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;font-family:Inter}._emptyOpenApiTitle_15wfb_45{font-size:16px;margin-top:10px;padding:10px 0}._emptyOpenApiText_15wfb_50{font-size:14px;opacity:.7}._serviceDetailPanel_15wfb_54{position:fixed;top:0;right:0;bottom:0;z-index:9999;display:flex;flex-direction:column;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1));min-width:1020px;border-left:1px solid rgba(255,255,255,.3)}._closeButton_15wfb_59{position:fixed;top:0;z-index:9999;cursor:pointer;border-width:0px;background-color:transparent;padding:1rem;right:10px}._overlay_15wfb_63{position:fixed;inset:0;z-index:9999;background-color:#000000f2}._metricsContainer_1b7ex_1{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;grid-template-columns:1fr 1fr}._metricsContainer_1b7ex_1>:last-child:nth-child(odd){grid-column:1 / -1}._buttonContainer_1v6bi_1{display:flex;align-items:center;justify-content:flex-end;-moz-column-gap:.5rem;column-gap:.5rem}._borderexBoxContainer_1v6bi_4{position:relative;padding:1rem}._borderedBoxHeigthLoading_1v6bi_7{min-height:150px}._borderexBoxSlim_1v6bi_10{position:relative;min-height:100px;padding:0}._upArrow_1v6bi_13{fill:#fa2121}._downArrow_1v6bi_16{fill:#21fa90}._verticalSeparator_1v6bi_19{height:1rem}._legendLine_1v6bi_22{height:0px;width:.75rem;border-radius:9999px;border-top-width:2px;border-style:solid}._noDataContainer_1mpfx_1{display:flex;width:100%;flex-grow:1;flex-direction:column;align-items:center;justify-content:center;row-gap:.25rem}._footer_1qf1m_1,._header_1qf1m_2{position:relative;display:flex;width:100%;align-items:center;justify-content:space-between}._title_1qf1m_5{width:100%}._labelContainer_1qf1m_9{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:flex-end}._labelContainer_1qf1m_9>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}._label_1qf1m_9{width:-moz-max-content;width:max-content}._line_1qf1m_17{fill:none;stroke-width:2px}._tooltip_1qf1m_22{display:flex;flex-direction:column;align-items:center;color:#000;background-color:#fff;border:1px solid black;border-radius:5px;pointer-events:none;opacity:.7;z-index:20}._tooltipAbsolute_1qf1m_34{position:absolute}._tooltipFixed_1qf1m_37{position:fixed}._tooltipContainer_1qf1m_40{display:flex;flex-direction:column}._tooltipTime_1qf1m_44{margin-left:.5rem;margin-right:.5rem;margin-top:.5rem;display:flex;flex-direction:column;align-items:center;border-bottom-width:1px;border-style:solid;border-color:#00050b4d}._time_1qf1m_48{margin-bottom:.5rem}._tooltipTable_1qf1m_52{margin-bottom:.5rem;margin-top:.5rem;width:100%;border-style:solid}._tooltipLine_1qf1m_56{margin-left:.5rem;margin-right:.5rem;display:flex;justify-content:space-between;border-style:solid;--tw-border-opacity: .5}._tooltipValueContainer_1qf1m_60{display:flex;border-style:solid}._tooltipValue_1qf1m_60{margin-left:1rem;opacity:1}._tooltipUnit_1qf1m_68{margin-left:.25rem;opacity:1}._P90_1qf1m_72{color:#2192fa}._P95_1qf1m_76{color:#fa6221}._P99_1qf1m_80{color:#c61be2}._grid_1qf1m_84{opacity:.3}._axis_1qf1m_88{opacity:.7;font-size:12px;font-weight:300;line-height:150%}._verticalSeparatorTooltip_1qf1m_95{height:1rem;width:1.5px;border-radius:9999px;margin-block-start:0;margin-block-end:0;border-width:0px}._color-0_1jq1u_1{stroke:#c61be2;color:#c61be2}._color-1_1jq1u_6{stroke:#fa6221;color:#fa6221}._color-2_1jq1u_11{stroke:#2192fa;color:#2192fa}._background-color-0_1jq1u_16{background:#c61be2}._background-color-1_1jq1u_20{background:#fa6221}._background-color-2_1jq1u_24{background:#2192fa}._color-0_nj7ol_1{stroke:#44ffec;color:#44ffec}._background-color-0_nj7ol_6{background:#44ffec}._color-1_nj7ol_10{stroke:#2588e4;color:#2588e4}._background-color-1_nj7ol_15{background:#2588e4}._color-2_nj7ol_20{stroke:#c61be2;color:#c61be2}._background-color-2_nj7ol_25{background:#c61be2}._color-3_nj7ol_30{stroke:#5a3cff;color:#5a3cff}._background-color-3_nj7ol_35{background:#5a3cff}._color-4_nj7ol_40{stroke:#21fa90;color:#21fa90}._background-color-4_nj7ol_45{background:#21fa90}._color-0_c6el4_1{stroke:#fa6221;color:#fa6221}._color-1_c6el4_6{stroke:#feb928;color:#feb928}._background-color-0_c6el4_11{background:#fa6221}._background-color-1_c6el4_15{background:#feb928}._color-0_gipc3_1{stroke:#21fa90;color:#21fa90}._background-color-0_gipc3_6{background:#21fa90}._color-0_1lcoj_1{stroke:#c61be2;color:#c61be2}._color-1_1lcoj_6{stroke:#2588e4;color:#2588e4}._color-2_1lcoj_11{stroke:#21fa90;color:#21fa90}._background-color-0_1lcoj_16{background:#c61be2}._background-color-1_1lcoj_20{background:#2588e4}._background-color-2_1lcoj_24{background:#21fa90}._color-0_wkjw5_1{stroke:#feb928;color:#feb928}._background-color-0_wkjw5_6{background:#feb928}._color-0_1d1gn_1{stroke:#c61be2;color:#c61be2}._color-1_1d1gn_6{stroke:#2588e4;color:#2588e4}._color-2_1d1gn_11{stroke:#21fa90;color:#21fa90}._color-3_1d1gn_16{stroke:#fa6221;color:#fa6221}._color-4_1d1gn_21{stroke:#feb928;color:#feb928}._color-5_1d1gn_26{stroke:#44ffec;color:#44ffec}._background-color-0_1d1gn_31{background:#c61be2}._background-color-1_1d1gn_35{background:#2588e4}._background-color-2_1d1gn_39{background:#21fa90}._background-color-3_1d1gn_43{background:#fa6221}._background-color-4_1d1gn_47{background:#feb928}._background-color-5_1d1gn_51{background:#44ffec}._color-0_r3fwt_1{stroke:#21fa90;color:#21fa90}._background-color-0_r3fwt_6{background:#21fa90}._detailPodContainer_gvwne_1{position:relative;display:flex;flex-grow:1;flex-direction:column;flex-basis:1rem}._detailPodContent_gvwne_5{display:flex;flex-direction:column;row-gap:1rem;padding:1rem}._borderedBoxContainerPodLogs_gvwne_8{width:100%;border-radius:4px;padding:1rem}._previewTabContent_gvwne_11{display:flex;max-height:calc(100vH - 16rem);flex-direction:column;row-gap:0px;overflow-y:auto;overflow-x:hidden}._smallMargin_gvwne_14{margin-left:2rem}._customTab_gvwne_17{margin-left:1.25rem;margin-right:1.25rem;min-width:unset}._container_1cbp0_1{position:relative;flex-grow:1}._content_1cbp0_4{display:flex;height:100%;flex-direction:column;row-gap:2.5rem;padding:0}._flexGrow_1cbp0_7{flex-grow:1}._buttonContainer_1cbp0_10,._select_1cbp0_11{flex-basis:25%}._borderexBoxPodContainer_1cbp0_14{display:flex;height:100%;max-height:calc(100vH - 10rem);min-height:calc(100vH - 10rem);width:100%;flex-direction:column;row-gap:1rem;padding-top:1rem;padding-bottom:1rem;padding-left:0;padding-right:0;overflow-x:hidden}._lateralPadding_1cbp0_18{padding-left:1rem;padding-right:1rem}._top_1cbp0_21,._bottom_1cbp0_21{flex-shrink:0;flex-grow:0}._logsContainer_1cbp0_24{display:flex;height:100%;max-height:calc(100% - 10rem);min-height:calc(100% - 10rem);flex-grow:1;flex-direction:column;row-gap:.25rem;overflow-y:auto}._logDividerBottom_1cbp0_27,._logDividerTop_1cbp0_28{height:1px;width:100%;border-width:0px;--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1));margin-block-start:0px;margin-block-end:0px;margin-inline-start:unset;margin-inline-end:unset}._previousLogContainer_1cbp0_35{top:0;z-index:10;margin-left:auto;margin-right:auto;width:100%;--tw-bg-opacity: 1;background-color:rgb(0 5 11 / var(--tw-bg-opacity, 1));padding-bottom:.25rem}._noLogs_1cbp0_38{width:100%}._icon_1xzuv_1{position:absolute;top:1rem;right:1rem}._displayedElements_1xzuv_4{position:relative;max-width:calc(100vw - 10rem);padding-top:.25rem;padding-bottom:.25rem}._log_1xzuv_7{position:relative;display:flex;width:-moz-fit-content;width:fit-content;flex-direction:row;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem;border-radius:.25rem;padding:.25rem .5rem;max-width:inherit}._logRawContainer_1xzuv_11{display:inline-block;width:100%}._logRaw_1xzuv_11{display:inline-block;word-break:break-word}._request_1xzuv_18{display:inline-block;max-width:290px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 1240px){._request_1xzuv_18{max-width:600px}}._log10_1xzuv_21{background-color:#2588e426}._text10_1xzuv_24{--tw-text-opacity: 1;color:rgb(37 136 228 / var(--tw-text-opacity, 1))}._log20_1xzuv_27{background-color:#c61be226}._text20_1xzuv_30{--tw-text-opacity: 1;color:rgb(198 27 226 / var(--tw-text-opacity, 1))}._log30_1xzuv_33{background-color:#21fa9026}._text30_1xzuv_36{--tw-text-opacity: 1;color:rgb(33 250 144 / var(--tw-text-opacity, 1))}._log40_1xzuv_39{background-color:#feb92826}._text40_1xzuv_42{--tw-text-opacity: 1;color:rgb(254 185 40 / var(--tw-text-opacity, 1))}._log50_1xzuv_45{background-color:#fa212126}._text50_1xzuv_48,._text60_1xzuv_49{--tw-text-opacity: 1;color:rgb(250 33 33 / var(--tw-text-opacity, 1))}._buttonRawJson_1xzuv_53{padding-top:0;padding-bottom:0}._logContainerClassNameInactive_1xzuv_56{position:relative;max-width:calc(100vW - 10rem);padding:0}._logContainerClassNameActive_1xzuv_59{position:relative;max-width:calc(100vW - 10rem);border-radius:.25rem;border-width:.5px;border-style:solid}._logContainerClassNameActive10_1xzuv_62{--tw-border-opacity: 1;border-color:rgb(37 136 228 / var(--tw-border-opacity, 1))}._logContainerClassNameActive20_1xzuv_65{--tw-border-opacity: 1;border-color:rgb(198 27 226 / var(--tw-border-opacity, 1))}._logContainerClassNameActive30_1xzuv_68{--tw-border-opacity: 1;border-color:rgb(33 250 144 / var(--tw-border-opacity, 1))}._logContainerClassNameActive40_1xzuv_71{--tw-border-opacity: 1;border-color:rgb(254 185 40 / var(--tw-border-opacity, 1))}._logContainerClassNameActive50_1xzuv_74{--tw-border-opacity: 1;border-color:rgb(250 33 33 / var(--tw-border-opacity, 1))}._msg_1xzuv_77{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._copyPasteIcon_1xzuv_80{position:absolute;top:.5rem;right:.5rem}._textLog_1xzuv_83{overflow-x:auto}._container_wbrpe_1{position:relative;display:flex;flex-direction:row;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem}._content_wbrpe_4{display:flex;flex-direction:column;row-gap:2.5rem;padding:2.5rem 1.5rem}._buttonLevel_wbrpe_7{position:relative;flex-grow:1;flex-basis:0px;cursor:pointer;padding:.25rem .5rem;text-transform:capitalize}._point_wbrpe_11{position:absolute;bottom:-.5rem;left:50%;z-index:10;height:6px;width:6px;border-radius:9999px;transform:translate(-50%)}._line_wbrpe_15{position:absolute;bottom:-.3rem;left:50%;z-index:0;height:1px;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}._tracePoint_wbrpe_19{--tw-bg-opacity: 1;background-color:rgb(37 136 228 / var(--tw-bg-opacity, 1))}._debugPoint_wbrpe_22{--tw-bg-opacity: 1;background-color:rgb(198 27 226 / var(--tw-bg-opacity, 1))}._infoPoint_wbrpe_25{--tw-bg-opacity: 1;background-color:rgb(33 250 144 / var(--tw-bg-opacity, 1))}._warnPoint_wbrpe_28{--tw-bg-opacity: 1;background-color:rgb(254 185 40 / var(--tw-bg-opacity, 1))}._errorPoint_wbrpe_31{--tw-bg-opacity: 1;background-color:rgb(250 33 33 / var(--tw-bg-opacity, 1))}._inactivePoint_wbrpe_34{--tw-bg-opacity: .3 }._selectedPoint_wbrpe_37{margin-bottom:-2px;border-radius:9999px;border-width:2px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}._progressContainer_wbrpe_41{position:absolute;bottom:-.375rem;left:0;z-index:0;height:2px;width:100%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}._progress_wbrpe_41{position:relative;z-index:0;height:100%;width:100%;background-color:#ffffff26;margin:0;padding:0;overflow:hidden;border-radius:2px}._bar_wbrpe_54{position:relative;height:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));float:left}._percent_wbrpe_59{position:absolute;top:50%;left:50%;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));transform:translate(-50%,-50%)}._boxService_nb41f_1{width:100%;padding:.25rem .5rem}._servicesContainer_nb41f_4{max-width:227px}._selectedThread_nb41f_7{background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .3;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));opacity:1}._workerThreads_nb41f_10:hover{background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .15;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));opacity:1}._workerThreads_nb41f_10{font-size:12px;line-height:18px;font-weight:300;padding-top:5px;padding-bottom:5px;padding-left:4px;border-radius:2px}._podServicesContainer_1gi78_1{position:relative;display:flex;flex-grow:1;flex-direction:column;flex-basis:1rem}._podServicesContent_1gi78_5{display:flex;flex-direction:column;row-gap:1rem;padding:1rem}._borderedBoxContainerPodServices_1gi78_8{width:100%;border-radius:4px;padding:1rem}._container_1lg3r_1{position:relative;width:100%;flex-grow:1}._content_1lg3r_4{display:flex;height:100%;max-height:calc(100vh - 10rem);min-height:calc(100vh - 10rem);flex-direction:column;row-gap:2.5rem;overflow-y:auto;padding:0}._boxMetricContainer_1lg3r_7{width:100%;padding:1rem}._flexGrow_1lg3r_10{flex-grow:1}._fullFlamegraph_11mf7_1{width:100%}</style>
2984
2984
  </head>
2985
2985
  <body>
2986
2986
  <div id="root"></div>