PageSourceSearch

https://www.xe.com/_next/static/chunks/8578-5dc43d11afe276f5.js

js xe.com collected 2026-09-24 08:26:08 UTC 2,326,909 bytes, 213 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8578],{348:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(38547),n=(0,r.pM)({name:"ValueEmitter",props:{value:{}},emits:["change","unmount"],setup:(e,{emit:t})=>((0,r.wB)(()=>e.value,e=>t("change",e),{immediate:!0}),(0,r.xo)(()=>t("unmount")),(e,t)=>null)})},602:(e,t,a)=>{"use strict";a.d(t,{O:()=>r});let r=e=>null!=e},1701:(e,t,a)=>{"use strict";a.d(t,{A:()=>it});var r=a(68409),n=Object.defineProperty,o=(e,t)=>{let a={};for(var r in e)n(a,r,{get:e[r],enumerable:!0});return t||n(a,Symbol.toStringTag,{value:"Module"}),a},l=a(38547),s=o({default:()=>u,render:()=>c}),i={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function c(e,t){return(0,l.uX)(),(0,l.CE)("svg",i,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5 11.988h14M12.006 5v14"},null,-1)])])}var u={render:c},d=o({default:()=>h,render:()=>m}),p={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function m(e,t){return(0,l.uX)(),(0,l.CE)("svg",p,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.143 12h7.714M12 8.143v7.714M5.571 3H18.43A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3"},null,-1)])])}var h={render:m},f=o({default:()=>y,render:()=>v}),g={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function v(e,t){return(0,l.uX)(),(0,l.CE)("svg",g,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10"},null,-1)])])}var y={render:v},b=o({default:()=>x,render:()=>k}),O={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function k(e,t){return(0,l.uX)(),(0,l.CE)("svg",O,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 12H2m9.3-9.3L2 12l9.3 9.3"},null,-1)])])}var x={render:k},w=o({default:()=>$,render:()=>C}),S={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function C(e,t){return(0,l.uX)(),(0,l.CE)("svg",S,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 12h20m-9.3 9.3L22 12l-9.3-9.3"},null,-1)])])}var $={render:C},A=o({default:()=>P,render:()=>E}),R={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function E(e,t){return(0,l.uX)(),(0,l.CE)("svg",R,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1m8 0h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"},null,-1)])])}var P={render:E},T=o({default:()=>Q,render:()=>j}),_={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function j(e,t){return(0,l.uX)(),(0,l.CE)("svg",_,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M16.4 6.8v5.6H7.6m0-5.6v10.4"},null,-1),(0,l.Lk)("circle",{cx:"7.6",cy:"4.4",r:"2.4"},null,-1),(0,l.Lk)("circle",{cx:"7.6",cy:"19.6",r:"2.4"},null,-1),(0,l.Lk)("circle",{cx:"16.4",cy:"4.4",r:"2.4"},null,-1)])])}var Q={render:j},L=o({default:()=>U,render:()=>Z}),M={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function Z(e,t){return(0,l.uX)(),(0,l.CE)("svg",M,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M12 22.125V4.712S9.545 1.985 1.268 1.875a.5.5 0 0 0-.366.15.52.52 0 0 0-.152.369v16.375a.515.515 0 0 0 .5.519C9.543 19.4 12 22.125 12 22.125"},null,-1),(0,l.Lk)("path",{d:"M9 11.18a21.3 21.3 0 0 0-5.26-1.055M9 15.375a21.3 21.3 0 0 0-5.26-1.055M15 11.18a21.3 21.3 0 0 1 5.26-1.055M15 15.375a21.3 21.3 0 0 1 5.26-1.055"},null,-1),(0,l.Lk)("path",{d:"M12 22.125V4.712s2.455-2.727 10.732-2.837a.5.5 0 0 1 .366.15.52.52 0 0 1 .152.369v16.375a.515.515 0 0 1-.5.519C14.457 19.4 12 22.125 12 22.125"},null,-1)])])}var U={render:Z},X=o({default:()=>q,render:()=>B}),I={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function B(e,t){return(0,l.uX)(),(0,l.CE)("svg",I,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21.4 4.6 10.6 19.4l-8-6.4"},null,-1)])])}var q={render:B},W=o({default:()=>V,render:()=>N}),D={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function N(e,t){return(0,l.uX)(),(0,l.CE)("svg",D,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18 10-6 6-6-6"},null,-1)])])}var V={render:N},F=o({default:()=>Y,render:()=>H}),z={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function H(e,t){return(0,l.uX)(),(0,l.CE)("svg",z,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m14 18-6-6 6-6"},null,-1)])])}var Y={render:H},G=o({default:()=>ee,render:()=>J}),K={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function J(e,t){return(0,l.uX)(),(0,l.CE)("svg",K,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m9 18 6-6-6-6"},null,-1)])])}var ee={render:J},et=o({default:()=>en,render:()=>er}),ea={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function er(e,t){return(0,l.uX)(),(0,l.CE)("svg",ea,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18 15-6-6-6 6"},null,-1)])])}var en={render:er},eo=o({default:()=>ei,render:()=>es}),el={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function es(e,t){return(0,l.uX)(),(0,l.CE)("svg",el,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-6 4h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2"},null,-1)])])}var ei={render:es},ec=o({default:()=>ep,render:()=>ed}),eu={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ed(e,t){return(0,l.uX)(),(0,l.CE)("svg",eu,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 6 6 18M6 6l12 12"},null,-1)])])}var ep={render:ed},em=o({default:()=>eg,render:()=>ef}),eh={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ef(e,t){return(0,l.uX)(),(0,l.CE)("svg",eh,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m9.273 9.273 5.454 5.454m0-5.454-5.454 5.454M5.57 3h12.86A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3Z"},null,-1)])])}var eg={render:ef},ev=o({default:()=>eO,render:()=>eb}),ey={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function eb(e,t){return(0,l.uX)(),(0,l.CE)("svg",ey,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-3.121 8.879 4.242 4.242m0-4.242L12.88 17.12M10 8h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2"},null,-1)])])}var eO={render:eb},ek=o({default:()=>eS,render:()=>ew}),ex={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ew(e,t){return(0,l.uX)(),(0,l.CE)("svg",ex,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M18.375 19.5a4.875 4.875 0 1 0-2.764-8.885A7.5 7.5 0 1 0 8.25 19.5z"},null,-1)])])}var eS={render:ew},eC=o({default:()=>eR,render:()=>eA}),e$={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function eA(e,t){return(0,l.uX)(),(0,l.CE)("svg",e$,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21.75 9V6a1.5 1.5 0 0 0-1.5-1.5h-12V3a1.5 1.5 0 0 0-1.5-1.5h-4.5A1.5 1.5 0 0 0 .75 3v17.8a1.7 1.7 0 0 0 3.336.438l2.352-11.154A1.5 1.5 0 0 1 7.879 9za1.5 1.5 0 0 1 1.45 1.886l-2.2 10.5a1.5 1.5 0 0 1-1.45 1.114H2.447"},null,-1),(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m12 13.5-2.25 2.25L12 18m4.5-4.5 2.25 2.25L16.5 18"},null,-1)])])}var eR={render:eA},eE=o({default:()=>e_,render:()=>eT}),eP={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function eT(e,t){return(0,l.uX)(),(0,l.CE)("svg",eP,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M10.546 2.438a1.957 1.957 0 0 0 2.908 0L14.4 1.4a1.959 1.959 0 0 1 3.41 1.413l-.071 1.4a1.96 1.96 0 0 0 2.051 2.054l1.4-.071a1.959 1.959 0 0 1 1.41 3.41l-1.042.94a1.96 1.96 0 0 0 0 2.909l1.042.94a1.959 1.959 0 0 1-1.413 3.41l-1.4-.071a1.96 1.96 0 0 0-2.056 2.056l.071 1.4A1.959 1.959 0 0 1 14.4 22.6l-.941-1.041a1.96 1.96 0 0 0-2.908 0L9.606 22.6A1.959 1.959 0 0 1 6.2 21.192l.072-1.4a1.96 1.96 0 0 0-2.056-2.056l-1.4.071A1.958 1.958 0 0 1 1.4 14.4l1.041-.94a1.96 1.96 0 0 0 0-2.909L1.4 9.606A1.958 1.958 0 0 1 2.809 6.2l1.4.071a1.96 1.96 0 0 0 2.058-2.06L6.2 2.81A1.959 1.959 0 0 1 9.606 1.4z"},null,-1),(0,l.Lk)("path",{d:"M7.5 12.001a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0"},null,-1)])])}var e_={render:eT},ej=o({default:()=>eM,render:()=>eL}),eQ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function eL(e,t){return(0,l.uX)(),(0,l.CE)("svg",eQ,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.86 16.6c0 .32-.16.64-.47.72l-6.3 2.83a.93.93 0 0 1-.8-.08c-.23-.16-.38-.4-.38-.63V4.56c0-.24.15-.55.39-.63.24-.16.47-.16.79-.08l6.3 2.83c.31.16.47.4.47.71v9.22zM10.7 19.52a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V5.35c0-.24.15-.56.4-.63.23-.16.46-.16.78-.08M7.43 18.73a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.05c0-.23.16-.55.4-.63.23-.15.47-.15.78-.07m-3.43 12.6a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.84c0-.23.16-.55.4-.63.23-.16.47-.16.78-.08"},null,-1)])])}var eM={render:eL},eZ=o({default:()=>eI,render:()=>eX}),eU={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function eX(e,t){return(0,l.uX)(),(0,l.CE)("svg",eU,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.739 8.061c-2.02.404-4.041-1.01-4.445-3.03-.202-1.01 0-2.223.606-3.031C6.445 2 2 6.445 2 11.9s4.445 9.9 9.9 9.9 9.9-4.445 9.9-9.9v-.808c-1.616 1.212-4.04.808-5.253-.808-.606-.606-.808-1.415-.808-2.223"},null,-1),(0,l.Lk)("path",{fill:"currentColor",d:"M8.667 15.133a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425m4.243 1.212a1.212 1.212 0 1 0 0-2.424 1.212 1.212 0 0 0 0 2.424M9.88 9.88a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425"},null,-1)])])}var eI={render:eX},eB=o({default:()=>eD,render:()=>eW}),eq={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function eW(e,t){return(0,l.uX)(),(0,l.CE)("svg",eq,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M17.673 16.462C10.59 16.46 5.52 9.612 7.59 2.837.22 6.233-.71 16.333 5.917 21.016c5.864 4.144 14.064 1.34 16.163-5.526-1.38.64-2.884.972-4.407.972M11.996 3.484h4.866m-2.433-2.433v4.867m4.867 2.433h3.244m-1.622-1.622v3.244"},null,-1)])])}var eD={render:eW},eN=o({default:()=>ez,render:()=>eF}
1),eV={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function eF(e,t){return(0,l.uX)(),(0,l.CE)("svg",eV,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 6h18m-2 0v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6m3 0V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2m-6 5v6m4-6v6"},null,-1)])])}var ez={render:eF},eH=o({default:()=>eK,render:()=>eG}),eY={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function eG(e,t){return(0,l.uX)(),(0,l.CE)("svg",eY,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M10.145 5.108a.584.584 0 0 1-.657-.37l-.24-.705a.51.51 0 0 0-.496-.35c-1.835.065-3.434.577-4.13.834a1.2 1.2 0 0 0-.6.474c-.75 1.142-3.085 5.242-3.02 11.944.003.4.169.78.485 1.025.716.556 2.259 1.576 4.702 2.314.358.108.75.004.962-.304.316-.462.597-1.04.796-1.494a.56.56 0 0 1 .669-.31c.87.248 1.993.439 3.39.439 1.393 0 2.512-.19 3.379-.437a.56.56 0 0 1 .669.31c.199.454.48 1.03.795 1.492.211.308.604.412.962.304 2.443-.738 3.986-1.758 4.703-2.314.315-.245.48-.626.485-1.025.063-6.652-2.236-10.74-3.003-11.917a1.25 1.25 0 0 0-.654-.5c-.75-.256-2.428-.763-4.094-.833a.505.505 0 0 0-.496.348l-.239.703a.586.586 0 0 1-.66.37 10.5 10.5 0 0 0-1.846-.15c-.827 0-1.461.08-1.862.152"},null,-1),(0,l.Lk)("path",{d:"M10 12.553c0 1.38-1.008 2.5-2.25 2.5-1.243 0-2.25-1.12-2.25-2.5 0-1.381 1.007-2.5 2.25-2.5 1.242 0 2.25 1.119 2.25 2.5m4 0c0 1.38 1.007 2.5 2.25 2.5 1.242 0 2.25-1.12 2.25-2.5 0-1.381-1.008-2.5-2.25-2.5-1.243 0-2.25 1.119-2.25 2.5"},null,-1)])])}var eK={render:eG},eJ=o({default:()=>e2,render:()=>e1}),e0={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function e1(e,t){return(0,l.uX)(),(0,l.CE)("svg",e0,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5.4 22.2h13c1.1 0 2-.9 2-2V3.6c0-1.1-.9-2-2-2h-9l-6 6v12.6c0 1.1.9 2 2 2"},null,-1),(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3.6 7.6h4c1.1 0 2-.9 2-2v-4zm9.4 0h4m-10 5h10M7 17.4h10"},null,-1)])])}var e2={render:e1},e4=o({default:()=>e6,render:()=>e3}),e8={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function e3(e,t){return(0,l.uX)(),(0,l.CE)("svg",e8,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M12.001 3.75v12m-4.5-4.5 4.5 4.5 4.5-4.5m6.75 4.5v1.5a3 3 0 0 1-3 3h-16.5a3 3 0 0 1-3-3v-1.5"},null,-1)])])}var e6={render:e3},e5=o({default:()=>te,render:()=>e9}),e7={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function e9(e,t){return(0,l.uX)(),(0,l.CE)("svg",e7,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.42 16.58H3.25a.83.83 0 0 1-.83-.83V3.25a.83.83 0 0 1 .83-.83h12.5a.83.83 0 0 1 .83.83v4.17"},null,-1),(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 7.42h12.5s.83 0 .83.83v12.5s0 .83-.83.83H8.25s-.83 0-.83-.83V8.25s0-.83.83-.83"},null,-1)])])}var te={render:e9},tt=o({default:()=>tn,render:()=>tr}),ta={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tr(e,t){return(0,l.uX)(),(0,l.CE)("svg",ta,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M14 3H5.571A2.57 2.57 0 0 0 3 5.571V18.43A2.57 2.57 0 0 0 5.571 21H18.43A2.57 2.57 0 0 0 21 18.429V10m.96-5.35a1.845 1.845 0 0 0-2.61-2.61l-6.644 6.647a1.3 1.3 0 0 0-.328.543l-.864 2.849a.327.327 0 0 0 .408.407l2.849-.864c.205-.062.391-.174.543-.325l6.645-6.647Z"},null,-1)])])}var tn={render:tr},to=o({default:()=>ti,render:()=>ts}),tl={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ts(e,t){return(0,l.uX)(),(0,l.CE)("svg",tl,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M6 11c-.5 0-1 .4-1 1s.5 1 1 1 1-.4 1-1-.5-1-1-1m12 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1m-6 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1"},null,-1)])])}var ti={render:ts},tc=o({default:()=>tp,render:()=>td}),tu={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function td(e,t){return(0,l.uX)(),(0,l.CE)("svg",tu,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M2.25 4.5h19.5s1.5 0 1.5 1.5v12s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V6s0-1.5 1.5-1.5m13.437 5.475L19.5 13.5M8.313 9.975 4.5 13.5"},null,-1),(0,l.Lk)("path",{d:"m22.88 5.014-9.513 6.56a2.41 2.41 0 0 1-2.734 0L1.12 5.014"},null,-1)])])}var tp={render:td},tm=o({default:()=>tg,render:()=>tf}),th={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function tf(e,t){return(0,l.uX)(),(0,l.CE)("svg",th,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M12 17.6c-.2 0-.4-.2-.4-.4s.2-.4.4-.4m0 .8c.2 0 .4-.2.4-.4s-.2-.4-.4-.4m0-3V5.6"},null,-1),(0,l.Lk)("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10"},null,-1)])])}var tg={render:tf},tv=o({default:()=>tO,render:()=>tb}),ty={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tb(e,t){return(0,l.uX)(),(0,l.CE)("svg",ty,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18.59 15.3 2.9-2.91a1.32 1.32 0 0 0 0-1.87l-1.85-1.85a3.3 3.3 0 1 1-4.31-4.31L13.48 2.5a1.32 1.32 0 0 0-1.87 0l-2.9 2.91a3.3 3.3 0 1 0-3.3 3.3l-2.9 2.9a1.32 1.32 0 0 0 0 1.87l1.85 1.85a3.3 3.3 0 1 1 4.31 4.31l1.85 1.85a1.32 1.32 0 0 0 1.87 0l2.9-2.9a3.3 3.3 0 1 0 3.3-3.3Z"},null,-1)])])}var tO={render:tb},tk=o({default:()=>tS,render:()=>tw}),tx={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tw(e,t){return(0,l.uX)(),(0,l.CE)("svg",tx,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.4 4H20v13.59M4 20 20 4"},null,-1)])])}var tS={render:tw},tC=o({default:()=>tR,render:()=>tA}),t$={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tA(e,t){return(0,l.uX)(),(0,l.CE)("svg",t$,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 6h16M7.556 12h8.888m-6.222 6h3.556"},null,-1)])])}var tR={render:tA},tE=o({default:()=>t_,render:()=>tT}),tP={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tT(e,t){return(0,l.uX)(),(0,l.CE)("svg",tP,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z"},null,-1)])])}var t_={render:tT},tj=o({default:()=>tM,render:()=>tL}
1),tQ={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 1024 1024"};function tL(e,t){return(0,l.uX)(),(0,l.CE)("svg",tQ,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M512 0a512 512 0 0 0-162 998c26 4 35-11 35-25l-1-95c-128 23-161-32-172-60-6-15-31-61-52-73-18-10-44-33-1-33 40-1 69 37 78 52 46 78 120 56 149 43 5-33 18-56 33-69-114-13-234-56-234-253 0-56 20-101 53-137-5-13-23-65 5-136 0 0 43-13 141 53a487 487 0 0 1 256 0c98-66 141-53 141-53 28 71 10 123 5 136 33 36 53 81 53 137 0 197-120 240-234 253 18 16 35 47 35 95l-1 140c0 14 9 30 35 25A512 512 0 0 0 512 0"},null,-1)])])}var tM={render:tL},tZ=o({default:()=>tI,render:()=>tX}),tU={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function tX(e,t){return(0,l.uX)(),(0,l.CE)("svg",tU,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M16.643 22.94v-3.135a3.68 3.68 0 0 0-1.026-2.852c3.43-.382 7.036-1.682 7.036-7.648a5.94 5.94 0 0 0-1.64-4.097 5.54 5.54 0 0 0-.097-4.12s-1.29-.382-4.272 1.618a14.6 14.6 0 0 0-7.649 0c-2.982-2-4.272-1.617-4.272-1.617a5.54 5.54 0 0 0-.098 4.119 5.94 5.94 0 0 0-1.639 4.13c0 5.922 3.606 7.222 7.036 7.648a3.68 3.68 0 0 0-1.027 2.819v3.136m0-2.186c-3.277 1.064-6.009 0-7.648-3.278"},null,-1)])])}var tI={render:tX},tB=o({default:()=>tD,render:()=>tW}),tq={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tW(e,t){return(0,l.uX)(),(0,l.CE)("svg",tq,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 12c0 5.523-4.477 10-10 10m10-10c0-5.523-4.477-10-10-10m10 10H2m10 10C6.477 22 2 17.523 2 12m10 10a14.5 14.5 0 0 1 0-20m0 20a14.5 14.5 0 0 0 0-20M2 12C2 6.477 6.477 2 12 2"},null,-1)])])}var tD={render:tW},tN=o({default:()=>tz,render:()=>tF}),tV={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function tF(e,t){return(0,l.uX)(),(0,l.CE)("svg",tV,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M23.93 10.67a.76.76 0 0 0-.75-.67H12.75a.76.76 0 0 0-.75.75v3.5a.76.76 0 0 0 .75.75h5.58A7 7 0 1 1 12 5a7 7 0 0 1 4.23 1.42.74.74 0 0 0 1-.07l2.47-2.49a.75.75 0 0 0 .22-.57.77.77 0 0 0-.27-.54A12 12 0 1 0 24 12a12 12 0 0 0-.07-1.33"},null,-1)])])}var tz={render:tF},tH=o({default:()=>tK,render:()=>tG}),tY={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function tG(e,t){return(0,l.uX)(),(0,l.CE)("svg",tY,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M9.2 9.2c0-.5.1-1 .4-1.5s.6-.8 1.1-1q.75-.3 1.5-.3c.75 0 1 .2 1.4.5s.7.7 1 1.2c.2.5.3 1 .2 1.5s-.3 1-.6 1.4-.8.7-1.2.9c-.255.128-.5.3-.7.5s-.3.5-.3.8v.9m0 3.5c-.2 0-.4-.2-.4-.4s.2-.4.4-.4.4.2.4.4-.2.4-.4.4"},null,-1),(0,l.Lk)("path",{d:"M12 22c5.524 0 10-4.476 10-10S17.524 2 12 2 2 6.476 2 12s4.476 10 10 10"},null,-1)])])}var tK={render:tG},tJ=o({default:()=>t2,render:()=>t1}),t0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function t1(e,t){return(0,l.uX)(),(0,l.CE)("svg",t0,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M9.88 14.12a3 3 0 1 1 4.24-4.24m-3.39 9.04q.632.079 1.27.08c7 0 10-7 10-7a13.2 13.2 0 0 0-1.67-2.68M6.61 17.39A13.5 13.5 0 0 1 2 12s3-7 10-7a9.74 9.74 0 0 1 5.39 1.61M2 22 22 2"},null,-1)])])}var t2={render:t1},t4=o({default:()=>t6,render:()=>t3}),t8={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function t3(e,t){return(0,l.uX)(),(0,l.CE)("svg",t8,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M12.9 6.8v6.1h4.7"},null,-1),(0,l.Lk)("path",{d:"M6.1 17.2c1.6 2.2 4.2 3.6 7.1 3.6 4.8 0 8.8-3.9 8.8-8.8s-3.9-8.8-8.8-8.8-8.8 4-8.8 8.8v1.7M2 11.3l2.4 2.4 2.4-2.4"},null,-1)])])}var t6={render:t3},t5=o({default:()=>ae,render:()=>t9}),t7={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function t9(e,t){return(0,l.uX)(),(0,l.CE)("svg",t7,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M22.1 9.2 12 1.5 1.8 9.2c-.2.2-.3.5-.4.7v11.7c0 .5.4.9.9.9h6.1v-4.9c0-1.9 1.6-3.5 3.5-3.5s3.5 1.6 3.5 3.5v4.9h6.1c.5 0 .9-.4.9-.9V9.9c0-.3-.1-.6-.4-.7z"},null,-1)])])}var ae={render:t9},at=o({default:()=>an,render:()=>ar}),aa={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ar(e,t){return(0,l.uX)(),(0,l.CE)("svg",aa,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M12 10.67v7.98M14.66 16 12 18.64 9.34 16"},null,-1),(0,l.Lk)("path",{d:"M3.35 7.34h17.3s1.33 0 1.33 1.33v11.98s0 1.33-1.33 1.33H3.35s-1.33 0-1.33-1.33V8.67s0-1.33 1.33-1.33"},null,-1),(0,l.Lk)("path",{d:"m2.2 8 2.13-5.19a1.33 1.33 0 0 1 1.22-.79h12.9a1.33 1.33 0 0 1 1.22.8l2.08 5.1M12 7.34V2.02"},null,-1)])])}var an={render:ar},ao=o({default:()=>ai,render:()=>as}),al={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function as(e,t){return(0,l.uX)(),(0,l.CE)("svg",al,[...t[0]||(t[0]=[(0,l.Lk)("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),(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 17v-6 0a.5.5 0 0 0-.5-.5l-.5.001h-1M12 17h-2m2 0h2"},null,-1),(0,l.Lk)("path",{fill:"currentColor","fill-rule":"evenodd",d:"M10.75 7.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)])])}var ai={render:as},ac=o({default:()=>ap,render:()=>ad}),au={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ad(e,t){return(0,l.uX)(),(0,l.CE)("svg",au,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M12.82 14.51 15.36 12l1.76.47a1.56 1.56 0 0 0 1.51-.47 1.58 1.58 0 0 0 .37-1.49l-.47-1.75.82-.76 1.76.47A1.56 1.56 0 0 0 22.62 8 1.58 1.58 0 0 0 23 6.52l-.47-1.75a2.35 2.35 0 0 0-3.33-3.33l-9.71 9.74a6.29 6.29 0 1 0 3.33 3.33"},null,-1),(0,l.Lk)("path",{d:"M4.26 17.84a1.9 1.9 0 1 0 3.8 0 1.9 1.9 0 1 0-3.8 0"},null,-1)])])}var ap={render:ad},am=o({default:()=>ag,render:()=>af}),ah={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function af(e,t){return(0,l.uX)(),(0,l.CE)("svg",ah,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M16.35 16.5v1c0 1.1-.9 2-2 2H2.75c-1.1 0-2-.9-2-2v-11c0-1.1.9-2 2-2h11.6c1.1 0 2 .9 2 2v1M5.25 12h18m0 0-3 3.1m3-3.1-3-2.9"},null,-1)])])}var ag={render:af},av=o({default:()=>aO,render:()=>ab}),ay={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ab(e,t){return(0,l.uX)(),(0,l.CE)("svg",ay,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.55 12a5.46 5.46 0 1 0 10.91.481A5.46 5.46 0 0 0 6.55 12m0 0H2m4.55 0H4.73m12.31 2.1a5.46 5.46 0 0 1-6.614-6.887M12 2v4.55m7.08-1.62-3.22 3.22M22 12h-4.54m1.62 7.08L16 16.01M12 22v-4m-7.07 1.08L8 16.
101M4.93 4.93l3.22 3.22"},null,-1)])])}var aO={render:ab},ak=o({default:()=>aS,render:()=>aw}),ax={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function aw(e,t){return(0,l.uX)(),(0,l.CE)("svg",ax,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.501 12a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0m4.5-10.5v3m0 15v3m10.5-10.5h-3m-15 0h-3m17.924-7.424-2.121 2.121M6.697 17.304l-2.121 2.121m14.849 0-2.121-2.121M6.697 6.697 4.576 4.576"},null,-1)])])}var aS={render:aw},aC=o({default:()=>aR,render:()=>aA}),a$={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function aA(e,t){return(0,l.uX)(),(0,l.CE)("svg",a$,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M13.5 18 12 19.5c-1 1-2.3 1.5-3.7 1.5s-2.7-.6-3.7-1.5c-1-1-1.5-2.3-1.5-3.7s.6-2.7 1.5-3.7l1.5-1.5M10.5 6 12 4.5c1-1 2.3-1.5 3.7-1.5s2.7.6 3.7 1.5c1 1 1.5 2.3 1.5 3.7s-.6 2.7-1.5 3.7l-1.5 1.5M9 15l6-6"},null,-1)])])}var aR={render:aA},aE=o({default:()=>a_,render:()=>aT}),aP={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function aT(e,t){return(0,l.uX)(),(0,l.CE)("svg",aP,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),(0,l.Lk)("path",{d:"M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M7 10V7a5 5 0 1 1 10 0v3"},null,-1)])])}var a_={render:aT},aj=o({default:()=>aM,render:()=>aL}),aQ={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 593 593"};function aL(e,t){return(0,l.uX)(),(0,l.CE)("svg",aQ,[...t[0]||(t[0]=[(0,l.Lk)("path",{"fill-rule":"evenodd",d:"M347 0c6 0 12 5 12 12v134l94-95c5-5 13-5 17 0l72 72c4 4 5 12 0 16v1l-95 94h134c7 0 12 5 12 12v101c0 7-5 12-12 12H447l95 94c4 5 5 13 0 17l-72 72c-4 4-12 5-16 0h-1l-94-95v134c0 7-5 12-12 12H246c-7 0-12-5-12-12v-70c0-22 9-43 24-59l130-130c14-14 14-37 0-51L259 142a84 84 0 0 1-25-59V12c0-7 5-12 12-12zM138 52h1l219 219c14 14 14 37 0 51L139 542c-4 5-12 5-17 0l-71-70c-4-5-5-12 0-17l95-96H12c-7 0-12-5-12-12V246c0-7 5-12 12-12h134l-95-94c-4-5-4-12 0-17l71-71c4-5 12-5 16 0"},null,-1)])])}var aM={render:aL},aZ=o({default:()=>aI,render:()=>aX}),aU={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function aX(e,t){return(0,l.uX)(),(0,l.CE)("svg",aU,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m.75 23.25 15-15m-5.25 0H8.25m15 0H21M21 3l-1.591 1.591M15.75 3V.75m0 15V13.5m-3.659-8.909L10.5 3M21 13.5l-1.591-1.591"},null,-1)])])}var aI={render:aX},aB=o({default:()=>aD,render:()=>aW}),aq={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function aW(e,t){return(0,l.uX)(),(0,l.CE)("svg",aq,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"currentColor",d:"M3 16.142V8.245h2.323l2.322 2.903 2.323-2.903h2.322v7.897H9.968v-4.53l-2.323 2.904-2.322-2.903v4.529zm14.516 0-3.484-3.832h2.323V8.245h2.322v4.065H21z"},null,-1)])])}var aD={render:aW},aN=o({default:()=>az,render:()=>aF}),aV={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function aF(e,t){return(0,l.uX)(),(0,l.CE)("svg",aV,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 6.8H2m20 10.4H2"},null,-1)])])}var az={render:aF},aH=o({default:()=>aK,render:()=>aG}),aY={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function aG(e,t){return(0,l.uX)(),(0,l.CE)("svg",aY,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m4.9 4.9 14.2 14.2M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10"},null,-1)])])}var aK={render:aG},aJ=o({default:()=>a2,render:()=>a1}),a0={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function a1(e,t){return(0,l.uX)(),(0,l.CE)("svg",a0,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M17.333 5.34c1.39-.22 2.796-.334 4.205-.34.121 0 .238.043.329.122a.44.44 0 0 1 .133.314v13.73a.44.44 0 0 1-.133.306.46.46 0 0 1-.311.13C14.186 19.708 12 22 12 22m0 0V7.38S9.822 5.096 2.462 5a.5.5 0 0 0-.329.122.44.44 0 0 0-.133.314v13.73a.44.44 0 0 0 .133.306.46.46 0 0 0 .311.13C9.814 19.708 12 22 12 22"},null,-1),(0,l.Lk)("path",{d:"M12 22a5.67 5.67 0 0 1 1.367-3.135c.967-1.141 2.237-1.923 3.633-2.236V2.443a.45.45 0 0 0-.051-.21.4.4 0 0 0-.14-.154.47.47 0 0 0-.409-.054 6.44 6.44 0 0 0-3.033 2.063A5.86 5.86 0 0 0 12 7.205"},null,-1)])])}var a2={render:a1},a4=o({default:()=>a6,render:()=>a3}),a8={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function a3(e,t){return(0,l.uX)(),(0,l.CE)("svg",a8,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M17 3a2.85 2.85 0 0 1 2.064-1.007 2.87 2.87 0 0 1 2.14.834 2.83 2.83 0 0 1 .825 2.131A2.8 2.8 0 0 1 21 7L7.5 20.5 2 22l1.5-5.5z"},null,-1)])])}var a6={render:a3},a5=o({default:()=>re,render:()=>a9}),a7={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function a9(e,t){return(0,l.uX)(),(0,l.CE)("svg",a7,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M6 6.663c0-1.582 1.75-2.538 3.082-1.682l8.301 5.337a2 2 0 0 1 0 3.364L9.082 19.02C7.75 19.875 6 18.919 6 17.337z"},null,-1)])])}var re={render:a9},rt=o({default:()=>rn,render:()=>rr}),ra={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function rr(e,t){return(0,l.uX)(),(0,l.CE)("svg",ra,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 14.248v4.5H.75m18-9v-4.5h4.5m-4.218-.003A9.752 9.752 0 0 1 8.246 21m-3.279-2.249A9.753 9.753 0 0 1 15.754 3"},null,-1)])])}var rn={render:rr},ro=o({default:()=>ri,render:()=>rs}),rl={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function rs(e,t){return(0,l.uX)(),(0,l.CE)("svg",rl,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M16.22 2.663a1.47 1.47 0 0 0-1.09 0L8.87 5.167c-.35.14-.74.14-1.09 0L1.982 2.848a.735.735 0 0 0-1.008.686V17.62c0 .601.366 1.142.924 1.365l5.88 2.352c.35.14.742.14 1.092 0l6.258-2.504c.35-.14.741-.14 1.092 0l5.796 2.315a.735.735 0 0 0 1.008-.686V6.38a1.47 1.47 0 0 0-.924-1.365ZM8.325 5.272v16.17m7.35-18.884v16.17"},null,-1)])])}var ri={render:rs},rc=o({default:()=>rp,render:()=>rd}),ru={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rd(e,t){return(0,l.uX)(),(0,l.CE)("svg",ru,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 15c1.895 3 3.79 4 6.632 4s6.631-3 6.631-7-2.842-7-5.684-7-4.737 1.5-4.737 4 1.895 5 5.684 5S19.492 11.547 21 9"},null,-1)])])}var rp={render:rd},rm=o({default:()=>rg,render:()=>rf}),rh={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rf(e,t){return(0,l.uX)(),(0,l.CE)("svg",rh,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16m10 2-4.35-4.35"},null,-1)])])}var rg={render:rf},rv=o({default:()=>rO,render:()=>rb}),ry={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rb(e,t){return(0,l.uX)(),(0,l.CE)("svg",ry,[...t[0]||(t[0]=[(0,l.Lk)("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),(0,l.Lk)("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),(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6 8h4m-4 8h4"},null,-1)])])}var rO={render:rb},rk=o({default:()=>rS,render:()=>rw}),rx={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rw(e,t){return(0,l.uX)(),(0,l.CE)("svg",rx,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 7H9m0 0a2 2 0 1 1-4 0 2 2 
10 0 1 4 0m7 10H5m11 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0"},null,-1)])])}var rS={render:rw},rC=o({default:()=>rR,render:()=>rA}),r$={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rA(e,t){return(0,l.uX)(),(0,l.CE)("svg",r$,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7"},null,-1),(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6"},null,-1)])])}var rR={render:rA},rE=o({default:()=>r_,render:()=>rT}),rP={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function rT(e,t){return(0,l.uX)(),(0,l.CE)("svg",rP,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 5.4h20M2 12h20M2 18.6h13.3"},null,-1)])])}var r_={render:rT},rj=o({default:()=>rM,render:()=>rL}),rQ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function rL(e,t){return(0,l.uX)(),(0,l.CE)("svg",rQ,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13 15h5M6 9l4 3-4 3"},null,-1),(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21 2.8H3.1c-.7 0-1.4.6-1.4 1.4v15.6c0 .7.6 1.4 1.4 1.4H21c.7 0 1.4-.6 1.4-1.4V4.2c0-.8-.5-1.4-1.3-1.4z"},null,-1)])])}var rM={render:rL},rZ=o({default:()=>rI,render:()=>rX}),rU={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rX(e,t){return(0,l.uX)(),(0,l.CE)("svg",rU,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m19.5 5.75-1.51 14.34a1.67 1.67 0 0 1-1.66 1.5H7.67A1.67 1.67 0 0 1 6 20.08L4.5 5.75m-2.08 0h19.16m-13.33 0v-2.5a.83.83 0 0 1 .83-.83h5.84a.83.83 0 0 1 .83.83v2.5M12 9.5v8.75m3.75-8.75-.42 8.75M8.25 9.5l.42 8.75"},null,-1)])])}var rI={render:rX},rB=o({default:()=>rD,render:()=>rW}),rq={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function rW(e,t){return(0,l.uX)(),(0,l.CE)("svg",rq,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),(0,l.Lk)("path",{d:"M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M17 10V7a5 5 0 0 0-9.33-2.5"},null,-1)])])}var rD={render:rW},rN=o({default:()=>rz,render:()=>rF}),rV={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rF(e,t){return(0,l.uX)(),(0,l.CE)("svg",rV,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.9 19.1c-3.038-3.038-3.71-7.592-2.015-11.3M7.8 16.2c-1.397-1.397-1.945-3.346-1.646-5.2M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19m-8.423-8.5a2 2 0 0 1 2.75 2.901M22 22 2 2"},null,-1)])])}var rz={render:rF},rH=o({default:()=>rK,render:()=>rG}),rY={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rG(e,t){return(0,l.uX)(),(0,l.CE)("svg",rY,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.33v15.32m5.37-9.95L12 4.33 6.63 9.7"},null,-1)])])}var rK={render:rG},rJ=o({default:()=>r2,render:()=>r1}),r0={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function r1(e,t){return(0,l.uX)(),(0,l.CE)("svg",r0,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z"},null,-1),(0,l.Lk)("circle",{cx:"12",cy:"6.2",r:"4.5"},null,-1)])])}var r2={render:r1},r4=o({default:()=>r6,render:()=>r3}),r8={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function r3(e,t){return(0,l.uX)(),(0,l.CE)("svg",r8,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M11.101 1.488H4.83a1 1 0 0 0-1 1v6.614m9.069 13.41h6.272a1 1 0 0 0 1-1v-6.614"},null,-1),(0,l.Lk)("path",{d:"m1.23 6.5 2.6 2.6 2.601-2.6m16.339 11-2.6-2.6-2.601 2.6M5.505 18.546a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.29-3.202-4.276-3.202-1.988 0-3.718 1.372-4.277 3.202m17.264-15.92a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.289-3.202-4.276-3.202s-3.718 1.372-4.276 3.202"},null,-1)])])}var r6={render:r3},r5=o({default:()=>ne,render:()=>r9}),r7={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function r9(e,t){return(0,l.uX)(),(0,l.CE)("svg",r7,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M3.375 7.875a4.125 4.125 0 1 0 8.25 0 4.125 4.125 0 1 0-8.25 0M.75 20.25a6.75 6.75 0 0 1 13.5 0m.001-15.834a4.125 4.125 0 1 1-.006 6.914M15 13.667a6.757 6.757 0 0 1 8.25 6.583"},null,-1)])])}var ne={render:r9},nt=o({default:()=>nn,render:()=>nr}),na={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function nr(e,t){return(0,l.uX)(),(0,l.CE)("svg",na,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m5.246 12.069-2.74 1.569a1 1 0 0 0 .001 1.74l8.5 4.87a2 2 0 0 0 2 0l8.5-4.87a.999.999 0 0 0 0-1.74l-2.702-1.548m-5.798 3.158a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l8.5-4.87a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z"},null,-1)])])}var nn={render:nr},no=o({default:()=>ni,render:()=>ns}),nl={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ns(e,t){return(0,l.uX)(),(0,l.CE)("svg",nl,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M2.97 2.771 13.908 5.88a3.77 3.77 0 0 1 2.592 3.5v10.51a2.052 2.052 0 0 1-2.6 2.167l-9.048-2.46a3.7 3.7 0 0 1-2.6-3.457V4.688a2.75 2.75 0 0 1 2.67-2.813H18.75a3 3 0 0 1 3 3v8.953a3.073 3.073 0 0 1-3.11 3.047H16.5"},null,-1),(0,l.Lk)("path",{d:"M12.375 13.875a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75m9.375-3.75H16.5"},null,-1)])])}var ni={render:ns},nc=o({default:()=>np,render:()=>nd}),nu={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};
1function nd(e,t){return(0,l.uX)(),(0,l.CE)("svg",nu,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9m2.9 11.3c-2.3-2.3-2.3-6.1 0-8.5m8.4.1c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0"},null,-1)])])}var np={render:nd},nm=o({default:()=>ng,render:()=>nf}),nh={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function nf(e,t){return(0,l.uX)(),(0,l.CE)("svg",nh,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M20.25 3.75v19.5M3.75 3.75h16.5m-16.5 19.5V3.75m16.5 19.5H3.75m16.5-19.5H3.75l1.5-3h13.5zM.75 23.25h22.5m-9-2.25a2.25 2.25 0 0 0-4.5 0v2.25h4.5zM7.5 7.13a.37.37 0 1 1 0-.75m0 .75a.37.37 0 1 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m-9 5.25a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m-9 5.26a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75"},null,-1)])])}var ng={render:nf},nv=o({default:()=>nO,render:()=>nb}),ny={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function nb(e,t){return(0,l.uX)(),(0,l.CE)("svg",ny,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M9.931 12.645h4.138l-2.07-4.908m0-7.737L.68 3.982l1.726 14.771L12 24l9.596-5.242L23.32 3.984zm7.064 18.31h-2.638l-1.422-3.503H8.996l-1.422 3.504h-2.64L12 2.65z"},null,-1)])])}var nO={render:nb},nk=o({default:()=>nS,render:()=>nw}),nx={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function nw(e,t){return(0,l.uX)(),(0,l.CE)("svg",nx,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M16.074 16.86c-.72.616-2.157 1.035-3.812 1.035-2.032 0-3.735-.632-4.187-1.483-.161.488-.198 1.046-.198 1.402 0 0-.106 1.75 1.111 2.968 0-.632.513-1.145 1.145-1.145 1.083 0 1.082.945 1.081 1.712v.069c0 1.164.711 2.161 1.723 2.582a2.35 2.35 0 0 1-.236-1.029c0-1.11.652-1.523 1.41-2.003.602-.383 1.272-.807 1.733-1.66a3.1 3.1 0 0 0 .378-1.494 3.1 3.1 0 0 0-.148-.954M15.551.6c.196.244.296.572.496 1.229l4.368 14.347a18.2 18.2 0 0 0-5.222-1.768L12.35 4.8a.37.37 0 0 0-.71.002l-2.81 9.603a18.2 18.2 0 0 0-5.245 1.771L7.974 1.827c.2-.656.3-.984.497-1.227a1.6 1.6 0 0 1 .654-.484C9.415 0 9.757 0 10.443 0h3.135c.686 0 1.03 0 1.32.117A1.6 1.6 0 0 1 15.55.6z"},null,-1)])])}var nS={render:nw},nC=o({default:()=>nR,render:()=>nA}),n$={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function nA(e,t){return(0,l.uX)(),(0,l.CE)("svg",n$,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"currentColor","fill-rule":"evenodd",d:"M6.335.83a.75.75 0 0 0-.67 0L1.667 2.827a.75.75 0 0 0-.417.672V18c0 .271.146.52.382.654l7.989 4.493a.75.75 0 0 0 .747.007l8-4.5A.75.75 0 0 0 18.75 18v-4.537l3.585-1.792A.75.75 0 0 0 22.75 11V6a.75.75 0 0 0-.417-.672l-3.998-1.999a.75.75 0 0 0-.67 0l-3.997 1.999a.7.7 0 0 0-.246.194.75.75 0 0 0-.172.478v4.561l-2.5 1.407V3.5a.75.75 0 0 0-.43-.678L6.336.829Zm7.686 11.019 2.38 1.19-6.422 3.612-2.38-1.19zm3.229-.063-2.5-1.25V7.215l2.5 1.25zm1.5 0 2.5-1.25V7.215l-2.5 1.25zm-9.5 1.025V4.714l-2.5 1.25v8.254zm-1.005 4.65.743.372c.17.091.262.153.262.183v3.202l-6.5-3.657V4.714l2.5 1.25V15.5a.75.75 0 0 0 .415.67s1.122.591 2.108 1.064zm2.505.478 6.5-3.657v3.28l-6.5 3.656v-3.28ZM6 4.66 3.677 3.5 6 2.339 8.323 3.5zM20.323 6 18 4.839 15.677 6 18 7.161z","clip-rule":"evenodd"},null,-1)])])}var nR={render:nA},nE=o({default:()=>n_,render:()=>nT}),nP={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function nT(e,t){return(0,l.uX)(),(0,l.CE)("svg",nP,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M11.573 0a5 5 0 0 0-.359.007L10.85.04c-3.407.307-6.6 2.146-8.622 4.972a11.9 11.9 0 0 0-2.119 5.243c-.096.659-.108.854-.108 1.747s.012 1.089.108 1.748c.652 4.506 3.86 8.292 8.209 9.695.779.25 1.6.422 2.534.525.363.04 1.935.04 2.299 0 1.611-.178 2.977-.577 4.323-1.264.207-.106.247-.134.219-.158-.02-.013-.9-1.193-1.955-2.62l-1.919-2.592-2.404-3.558a339 339 0 0 0-2.422-3.556c-.009-.002-.018 1.579-.023 3.51-.007 3.38-.01 3.515-.052 3.595a.43.43 0 0 1-.206.214c-.075.037-.14.044-.495.044H7.81l-.108-.068a.44.44 0 0 1-.157-.171l-.05-.106.006-4.703.007-4.705.072-.092a.7.7 0 0 1 .174-.143c.096-.047.134-.051.54-.051.478 0 .558.018.682.154a467 467 0 0 1 2.895 4.361l4.735 7.17 1.9 2.879.096-.063a12.3 12.3 0 0 0 2.466-2.163 11.94 11.94 0 0 0 2.824-6.134c.096-.66.108-.854.108-1.748 0-.893-.012-1.088-.108-1.747-.652-4.506-3.859-8.292-8.208-9.695a12.6 12.6 0 0 0-2.499-.523A33 33 0 0 0 11.573 0m4.068 7.217c.347 0 .408.005.486.047a.47.47 0 0 1 .237.277c.
1018.06.023 1.365.018 4.304l-.006 4.218-.744-1.14-.746-1.14v-3.066c0-1.982.01-3.097.023-3.15a.48.48 0 0 1 .233-.296c.096-.05.13-.054.5-.054z"},null,-1)])])}var n_={render:nT},nj=o({default:()=>nM,render:()=>nL}),nQ={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function nL(e,t){return(0,l.uX)(),(0,l.CE)("svg",nQ,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236m2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38a2.17 2.17 0 0 0-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44a23.5 23.5 0 0 0-3.107-.534A24 24 0 0 0 12.769 4.7c1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442a23 23 0 0 0-3.113.538 15 15 0 0 1-.254-1.42c-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05q.684.704 1.36 1.564c-.44-.02-.89-.034-1.345-.034q-.691-.001-1.36.034c.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093q.61.874 1.183 1.86.557.961 1.018 1.946c-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87a25.6 25.6 0 0 1-4.412.005 27 27 0 0 1-1.183-1.86q-.557-.961-1.018-1.946a25 25 0 0 1 1.013-1.954c.38-.66.773-1.286 1.18-1.868A25 25 0 0 1 12 8.098zm-3.635.254c-.24.377-.48.763-.704 1.16q-.336.585-.635 1.174c-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0q1.044.153 2.006.387c-.18.632-.405 1.282-.66 1.933a26 26 0 0 0-1.345-2.32zm3.063.675q.727.226 1.375.498c1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493a24 24 0 0 0-1.1-2.98c.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98a23 23 0 0 0-1.086 2.964c-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474s1.12-1.742 2.852-2.476c.42-.18.88-.342 1.356-.494m11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39a26 26 0 0 0 1.341-2.338zm-9.945.02c.2.392.41.783.64 1.175q.345.586.705 1.143a22 22 0 0 1-2.006-.386c.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295a1.2 1.2 0 0 1-.553-.132c-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64q.661.032 1.345.034.691.001 1.36-.034c-.44.572-.895 1.095-1.345 1.565q-.684-.706-1.36-1.565"},null,-1)])])}var nM={render:nL},nZ=o({default:()=>nI,render:()=>nX}),nU={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function nX(e,t){return(0,l.uX)(),(0,l.CE)("svg",nU,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M23.94 3a.5.5 0 0 0-.44-.25h-2.31l-8.55 13.91a.75.75 0 0 1-1.28 0L2.81 2.77H.5A.5.5 0 0 0 .06 3a.54.54 0 0 0 0 .51l11.5 19a.51.51 0 0 0 .86 0l11.5-19a.54.54 0 0 0 .02-.51"},null,-1),(0,l.Lk)("path",{d:"m12 14.84 7.43-12.07H16a.47.47 0 0 0-.43.25L12 9.26 8.43 3A.47.47 0 0 0 8 2.77H4.57Z"},null,-1)])])}var nI={render:nX},nB=o({default:()=>nD,render:()=>nW}),nq={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function nW(e,t){return(0,l.uX)(),(0,l.CE)("svg",nq,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6M64 88.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5"},null,-1)])])}var nD={render:nW},nN=o({default:()=>nz,render:()=>nF}
1),nV={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function nF(e,t){return(0,l.uX)(),(0,l.CE)("svg",nV,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M60.952.266C27.377.266.065 28.77.065 63.806s27.318 63.54 60.887 63.54c33.576 0 60.893-28.505 60.893-63.54S94.528.266 60.952.266m0 6.117c30.39 0 55.025 25.712 55.025 57.423 0 2.482-.167 4.924-.46 7.321-1.495 6.214-4.194 10.358-7.412 13.19-4.941 4.336-11.524 5.738-17.62 5.733a41 41 0 0 1-4.973-.289C97.506 77.4 99.336 57.866 89.864 43.315 80.39 28.763 62.315 23.338 46.882 30.416a24 24 0 0 0-1.68-1.114c-2.41-1.413-7.439-3.482-13.837-3.505-5.361-.022-10.615 1.568-15.133 4.58C26.554 15.317 43.21 6.386 60.952 6.394zM51.341 84.6c.894-4.07 3.343-10.431 5.548-15.655.623-1.481 1.23-2.872 1.777-4.104 3.451 12.822 5.635 20.449 9.546 25.65a18 18 0 0 0 1.913 2.114 28 28 0 0 1-9.173 1.56 28.2 28.2 0 0 1-10.023-1.86q-.098-1.227-.103-2.459a24.5 24.5 0 0 1 .515-5.24zm-7.444 3.77c-7.555-5.703-12.031-14.84-12.04-24.57.008-9.88 4.625-19.138 12.375-24.813 1.637.984 3.121 2.143 4.34 3.477 2.395 2.56 5.077 8.214 6.94 13.082.51 1.312.965 2.567 1.36 3.709C50.16 73.502 45.685 80.608 43.898 88.37zm21.802-18.226c-1.501-4.037-2.374-7.079-2.379-7.084l-.005-.012c-2.747-10.984-5.592-21.025-11.497-28.052a28 28 0 0 1 9.134-1.55c16.06.022 29.074 13.602 29.095 30.36-.007 9.673-4.432 18.764-11.914 24.474a15 15 0 0 1-2.184-.78c-1.137-.514-2.812-2.267-4.329-4.698-2.313-3.635-4.437-8.622-5.927-12.653zm-4.747 51.08c-30.39 0-55.025-25.707-55.025-57.424 0-2.086.114-4.144.32-6.173 4.508-16 15.338-21.92 25.595-22.02 2.08-.007 4.117.282 6.068.774-13.182 12.081-15.74 32.487-5.979 47.7 9.762 15.213 28.817 20.518 44.544 12.403 2.78 1.023 5.96 1.633 9.812 2.137 1.447.186 3.007.277 4.665.277a61.6 61.6 0 0 0 14.997-2.087c-10.29 15.308-27.088 24.417-45.007 24.407z"},null,-1)])])}var nz={render:nF},nH=o({default:()=>nK,render:()=>nG}),nY={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function nG(e,t){return(0,l.uX)(),(0,l.CE)("svg",nY,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6m-53.5 70c-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8M115 62h-3.2l-.9 4h4.1v5h-5l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6H94v-5h3.5l.9-4H94v-5h5.3l1.2-6h4.9l-1.2 6h3.8l1.2-6h4.8l-1.2 6h2.2zm-12.7 4h3.8l.9-4h-3.8z"},null,-1)])])}var nK={render:nG},nJ=o({default:()=>n2,render:()=>n1}),n0={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function n1(e,t){return(0,l.uX)(),(0,l.CE)("svg",n0,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M1.5 0h21l-1.91 21.563L11.977 24l-8.565-2.438zm17.09 4.413L5.41 4.41l.213 2.622 10.125.002-.255 2.716h-6.64l.24 2.573h6.182l-.366 3.523-2.91.804-2.956-.81-.188-2.11h-2.61l.29 3.855L12 19.288l5.373-1.53z"},null,-1)])])}var n2={render:n1},n4=o({default:()=>n6,render:()=>n3}),n8={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 50 50"};function n3(e,t){return(0,l.uX)(),(0,l.CE)("svg",n8,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"m7.91 9.32.09.09V35.3l-5.09-5.09a6.22 6.22 0 0 1-1.27-6.92zM35.3 8H9.41l-.09-.09 13.97-6.27a6.22 6.22 0 0 1 6.92 1.27zm2.29 31H11.71l-.54-.54A4 4 0 0 1 10 35.63V11.41zm-23.88 2H39v6c0 .55-.45 1-1 1H21.1c-.27 0-.52-.11-.71-.29l-4.7-4.7.02-.02zM48 21.1V38c0 .55-.45 1-1 1h-6.58L11.41 10h24.22c1.07 0 2.07.42 2.83 1.17l4.53 4.54.02-.02 4.7 4.7c.18.19.29.44.29.71"},null,-1)])])}var n6={render:n3},n5=o({default:()=>oe,render:()=>n9}),n7={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function n9(e,t){return(0,l.uX)(),(0,l.CE)("svg",n7,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M0 64.5 60.7 3.8v30.4L30.4 64.5l30.4 30.4v30.4zm39.1 0 21.7-21.7v43.4zm88.9 0L65.1 3.8v30.4l30.4 30.4-30.4 30.3v30.4z"},null,-1)])])}var oe={render:n9},ot=o({default:()=>on,render:()=>or}
1),oa={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function or(e,t){return(0,l.uX)(),(0,l.CE)("svg",oa,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M108.2 64.8c-.1-.1-.2-.2-.4-.2l-.1-.1c-.1-.1-.2-.1-.2-.2l-.1-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1-.1 0-.1 0-.2-.1l-.3-.1c-.1 0-.1 0-.2-.1l-.3-.1h-.1l-.4-.1h-.2c-.1 0-.2 0-.3-.1h-2.3c-.6-13.3.6-26.8-2.8-39.6 12.9-4.6 2.8-22.3-8.4-14.4-7.4-6.4-17.6-7.8-28.3-7.8-10.5.7-20.4 2.9-27.4 8.4-2.8-1.4-5.5-1.8-7.9-1.1v.1c-.1 0-.3.1-.4.2-.1 0-.3.1-.4.2h-.1c-.1 0-.2.1-.4.2h-.1l-.3.2h-.1l-.3.2h-.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2-.1.1c-.1.1-.2.1-.2.2l-.1.1-.2.2-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1c.4.3.4.4.4.4v.1l-.1.3v.1c0 .1 0 .2-.1.3v3.1c0 .1 0 .2.1.3v.1l.1.3v.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3.1.1.3.3.3.3h.1c1 .9 2 1.6 4 2.2v-.2C23 37.3 26.5 50 26.7 63c-.6 0-.7.4-1.7.5h-.5c-.1 0-.3 0-.5.1-.1 0-.3 0-.4.1l-.4.1h-.1l-.4.1h-.1l-.3.1h-.1l-.3.1s-.1 0-.1.1l-.3.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.4.3c-.1.1-.2.2-.3.2l-.4.4-.1.1c-.1.2-.3.4-.4.5l-.2.3-.3.6-.1.3v.3c0 .5.2.9.9 1.2.2 3.7 3.9 2 5.6.8l.1-.1c.2-.2.5-.3.6-.3h.1l.2-.1c.1 0 .1 0 .2-.1.2-.1.4-.1.5-.2.1 0 .1-.1.1-.2l.1-.1c.1-.2.2-.6.2-1.2l.1-1.3v1.8c-.5 13.1-4 30.7 3.3 42.5 1.3 2.1 2.9 3.9 4.7 5.4h-.5c-.2.2-.5.4-.8.6l-.9.6-.3.2-.6.4-.9.7-1.1 1c-.2.2-.3.4-.4.5l-.4.6-.2.3c-.1.2-.2.4-.2.6l-.1.3q-.3 1.2.6 2.7l.4.4h.2c.1 0 .2 0 .4.1.2.4 1.2 2.5 3.9.9 2.8-1.5 4.7-4.6 8.1-5.1l-.5-.6c5.9 2.8 12.8 4 19 4.2 8.7.3 18.6-.9 26.5-5.2 2.2.7 3.9 3.9 5.8 5.4l.1.1.1.1.1.1.1.1s.1 0 .1.1c0 0 .1 0 .1.1 0 0 .1 0 .1.1h2.1s.1 0 .1-.1h.1s.1 0 .1-.1h.1s.1 0 .1-.1c0 0 .1 0 .1-.1l.1-.1s.1 0 .1-.1l.1-.1h.1l.2-.2.2-.1h.1l.1-.1h.1l.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-1.4s-.3 0-.3-.1l-.3-.1v-.1l.3-.1s.2 0 .2-.1l.1-.1v-2.1s0-.1-.1-.1v-.1s0-.1-.1-.1v-.1s0-.1-.1-.1c0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1v-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1c2-1.9 3.8-4.2 5.1-6.9 5.9-11.8 4.9-26.2 4.1-39.2h.1c.1 0 .2.1.2.1h.3s.1 0 .1.1h.1s.1 0 .1.1l.2.1c1.7 1.2 5.4 2.9 5.6-.8 1.6.6-.3-1.8-1.3-2.5M36 23C32.8 7 58.4 4 59.3 19.6c.8 13-20 16.3-23.3 3.4m36.1 15c-1.3 1.4-2.7 1.2-4.1.7 0 1.9.4 3.9.1 5.9-.5.9-1.5 1-2.3 1.4-1.2-.2-2.1-.9-2.6-2l-.2-.1c-3.9 5.2-6.3-1.1-5.2-5-1.2.1-2.2-.2-3-1.5-1.4-2.6.7-5.8 3.4-6.3.7 3 8.7 2.6 10.1-.2 3.1 1.5 6.5 4.3 3.8 7.1m-7-17.5c-.9-13.8 20.3-17.5 23.4-4 3.5 15-20.8 18.9-23.4 4M41.7 17c-1.9 0-3.5 1.7-3.5 3.8s1.6 3.8 3.5 3.8 3.5-1.7 3.5-3.8-1.5-3.8-3.5-3.8m1.6 5.7c-.5 0-.8-.4-.8-1 0-.5.4-1 .8-1 .5 0 .8.4.8 1 0 .5-.3 1-.8 1m27.8-6.6c-1.9 0-3.4 1.7-3.4 3.8s1.5 3.8 3.4 3.8 3.4-1.7 3.4-3.8-1.5-3.8-3.4-3.8m1.6 5.6c-.4 0-.8-.4-.8-1 0-.5.4-1 .8-1s.8.4.8 1-.4 1-.8 1"},null,-1)])])}var on={render:or},oo=o({default:()=>oi,render:()=>os}),ol={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function os(e,t){return(0,l.uX)(),(0,l.CE)("svg",ol,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438zm7.031 9.75-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157z"},null,-1)])])}var oi={render:os},oc=o({default:()=>op,render:()=>od}),ou={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function od(e,t){return(0,l.uX)(),(0,l.CE)("svg",ou,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M111.7 29.7 128 64l-16.3 34.3H16.3L0 64l16.3-34.3zm-5.5 5.7H20L6.3 64l13.6 28.6h86.3L119.8 64zm-76.3 19v8h9.2v-8.1h4.8v20.4h-4.7v-8.4H30v8.4h-4.8V54.4zm34.3 0v3.8h-6.5v16.5H53V58.2h-6.5v-3.8zm18.3 0v3.8H76v16.5h-4.7V58.2h-6.5v-3.8zm16.1.9c1.2.5 2.3 1.4 3.1 2.6.7 1.2 1.1 2.5 1 3.9.1 1.4-.3 2.7-1 3.9-.7 1.1-1.8 2-3.1 2.6-1.5.6-3.1.9-4.7.9h-4.1v5.6H85V54.4h8.9c1.6 0 3.2.3 4.7.9m-5.1 2.9h-3.8v7.1h3.8q2.1 0 3.3-.9c.8-.6 1.2-1.6 1.1-2.6 0-1.1-.3-2.1-1.1-2.6-.8-.7-1.9-1-3.3-1"},null,-1)])])}
1var op={render:od},om=o({default:()=>og,render:()=>of}),oh={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function of(e,t){return(0,l.uX)(),(0,l.CE)("svg",oh,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M11.26 15.27c3.37-.15 7.15-1.09 7-2.21a26 26 0 0 1-4.76.59c-3.62.16-6.58-.24-6.61-.9 0-.2.24-.4.69-.58-2.39-.64-3.67.53-3.69 1.22-.1 1.45 3.22 2.06 7.37 1.88m5.91 1.64a23 23 0 0 1-4.07.5c-3.09.14-5.61-.21-5.64-.77 0-.17.21-.34.59-.49-2-.55-3.13.45-3.15 1-.05 1.24 2.78 1.77 6.33 1.61 2.87-.1 6.25-1 5.94-1.85M3.61 20.8a.93.93 0 0 1 .29-.65c-2.09.1-2.54 1.13-2.51 1.76.07 1.39 4.67 2.31 10 2.05 4.44-.22 9.16-1 9.16-2.34a26.3 26.3 0 0 1-7.2 1.23c-5.35.26-9.67-.66-9.74-2.05"},null,-1),(0,l.Lk)("path",{d:"M22.4 12.65c-.55-1.48-2.67-2.34-4.74-1.57a2.47 2.47 0 0 0-1 .81c1.94-.56 3.83 0 4.34 1.41.45 1.21-.3 2.64-1.72 3.54a1.37 1.37 0 0 0 .92-.13c2.25-1.05 2.8-2.58 2.2-4.06m-9.88-1.38s-3.1-2.19-1.92-4.35S14.37 2.43 13.38 0c0 0 .12 1-3.12 3.91s-2.14 6.33 2.26 7.36"},null,-1),(0,l.Lk)("path",{d:"M15.17 4.83s-4.24 1.51-2.83 3.53c1 1.43 2.13 2 1.42 4 0 0 2.83-1.51.71-3.53s.7-4 .7-4M8.69 19.26c-1.6-.43-2.46.35-2.47.81 0 1 2.18 1.39 5 1.27 2.26-.11 4.73-.95 4.67-1.49a16.6 16.6 0 0 1-3.2.4c-2.43.11-4.41-.16-4.43-.61-.04-.13.13-.26.43-.38"},null,-1)])])}var og={render:of},ov=o({default:()=>oO,render:()=>ob}),oy={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function ob(e,t){return(0,l.uX)(),(0,l.CE)("svg",oy,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M0 0h24v24H0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179z"},null,-1)])])}var oO={render:ob},ok=o({default:()=>oS,render:()=>ow}),ox={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function ow(e,t){return(0,l.uX)(),(0,l.CE)("svg",ox,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M4.56 18.71c-1.41-4-.65-8.94 1.77-11.48A5.47 5.47 0 0 1 12 5.71h.15a.8.8 0 0 1 .22.12c4 1.65 4.28 8.57 1.28 11.41a4.15 4.15 0 0 0 3.08-1.35c2.12-2.23 2.76-6.62 1.49-10.22A7.75 7.75 0 0 0 12.81.54H12a11.5 11.5 0 0 0-5.42 21.6 10 10 0 0 1-2.02-3.43"},null,-1),(0,l.Lk)("path",{d:"M23.5 12a11.49 11.49 0 0 0-6.09-10.14 9.9 9.9 0 0 1 2 3.43c1.41 4 .65 9-1.77 11.5a5.42 5.42 0 0 1-4 1.75A6.5 6.5 0 0 1 12 18.3h-.15a.8.8 0 0 1-.22-.12c-4-1.65-4.29-8.57-1.29-11.41a4.14 4.14 0 0 0-3.11 1.32c-2.12 2.22-2.76 6.61-1.49 10.2a7.77 7.77 0 0 0 5.45 5.17H12A11.5 11.5 0 0 0 23.5 12"},null,-1)])])}var oS={render:ow},oC=o({default:()=>oR,render:()=>oA}),o$={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function oA(e,t){return(0,l.uX)(),(0,l.CE)("svg",o$,[...t[0]||(t[0]=[(0,l.Lk)("circle",{cx:"64",cy:"36.57",r:"27.43"},null,-1),(0,l.Lk)("circle",{cx:"32.32",cy:"91.43",r:"27.43"},null,-1),(0,l.Lk)("circle",{cx:"95.68",cy:"91.43",r:"27.43"},null,-1)])])}var oR={render:oA},oE=o({default:()=>o_,render:()=>oT}),oP={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function oT(e,t){return(0,l.uX)(),(0,l.CE)("svg",oP,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z"},null,-1)])])}
1var o_={render:oT},oj=o({default:()=>oM,render:()=>oL}),oQ={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function oL(e,t){return(0,l.uX)(),(0,l.CE)("svg",oQ,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M21.75 5.52 13 .28a2 2 0 0 0-2 0L2.25 5.52a2 2 0 0 0-1 1.69v9.58a2 2 0 0 0 1 1.69l2.62 1.57a3.12 3.12 0 0 0 4.73-2.68V8.12a1 1 0 0 0-2 0v9.25a1.13 1.13 0 0 1-.57 1 1.14 1.14 0 0 1-1.13 0l-2.61-1.58V7.24L12 2l8.73 5.21v9.55L12 22l-1.7-1a1 1 0 1 0-1 1.71l1.72 1a2 2 0 0 0 2 0l8.74-5.24a2 2 0 0 0 1-1.69V7.21a2 2 0 0 0-1.01-1.69"},null,-1),(0,l.Lk)("path",{d:"M15.51 14.76a9.3 9.3 0 0 1-2.24 0 .85.85 0 0 1-.75-.85 1 1 0 0 0-2 0A2.87 2.87 0 0 0 13 16.75a12 12 0 0 0 1.36.08 12 12 0 0 0 1.37-.08 2.87 2.87 0 0 0 2.5-2.84A2.68 2.68 0 0 0 16 11.26l-2.91-.49a.69.69 0 0 1-.58-.68.85.85 0 0 1 .75-.85 9.3 9.3 0 0 1 2.24 0 .85.85 0 0 1 .75.85 1 1 0 0 0 2 0 2.87 2.87 0 0 0-2.5-2.84 12.5 12.5 0 0 0-2.73 0 2.87 2.87 0 0 0-2.51 2.84 2.68 2.68 0 0 0 2.25 2.65l2.91.49a.68.68 0 0 1 .58.68.85.85 0 0 1-.74.85"},null,-1)])])}var oM={render:oL},oZ=o({default:()=>oI,render:()=>oX}),oU={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function oX(e,t){return(0,l.uX)(),(0,l.CE)("svg",oU,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M63.877 125.392c-32.671 0-60.37-27.594-60.627-60.469a59.94 59.94 0 0 1 17.506-42.759 60.94 60.94 0 0 1 43.279-18.36 60.08 60.08 0 0 1 42.647 17.71 60.15 60.15 0 0 1 18.157 42.522c.151 33.604-26.864 61.021-60.469 61.363h-.493zm.19-118.406a57.77 57.77 0 0 0-41.01 17.427 56.78 56.78 0 0 0-16.63 40.484c.236 31.159 26.495 57.286 57.43 57.286h.414c31.863-.29 57.504-26.266 57.385-58.128a56.97 56.97 0 0 0-17.217-40.273A56.7 56.7 0 0 0 64.068 6.986z"},null,-1),(0,l.Lk)("path",{d:"M16.89 82.383V46.865h8.64v3.183h-4.583v29.218h4.584v3.183zm29.323-18.111c0 6.478-3.933 10.167-9.26 10.167s-8.877-4.156-8.877-9.831c0-5.939 3.722-10.121 9.167-10.121s8.97 4.36 8.97 9.785m-14.415.29c0 3.932 1.973 7.05 5.36 7.05s5.333-3.183 5.333-7.195c0-3.643-1.796-7.083-5.334-7.083s-5.392 3.328-5.392 7.307zm17.407-9.404c1.69-.29 3.407-.434 5.123-.428a9.17 9.17 0 0 1 5.537 1.223 4.06 4.06 0 0 1 2.006 3.61 4.48 4.48 0 0 1-3.183 4.183c2.269.46 3.9 2.46 3.9 4.775a5.02 5.02 0 0 1-1.861 3.978c-1.368 1.21-3.643 1.796-7.162 1.796a34 34 0 0 1-4.327-.257zm3.499 7.622h1.795c2.433 0 3.801-1.145 3.801-2.782s-1.368-2.644-3.61-2.644a9.8 9.8 0 0 0-2.006.145zm0 8.878c.618.065 1.243.092 1.86.078 2.263 0 4.262-.861 4.262-3.182s-1.94-3.183-4.373-3.183h-1.75zM69.54 54.901h3.517v12.554c0 5.334-2.577 7.116-6.365 7.116a9.3 9.3 0 0 1-2.973-.507l.428-2.834c.703.224 1.44.335 2.183.349 2.006 0 3.183-.921 3.183-4.262l.026-12.416zm13.527 10.456v2.434h-7.32v-2.434zm17.091 8.273a12.3 12.3 0 0 1-4.978.862c-6.129 0-9.851-3.834-9.851-9.707-.283-5.353 3.827-9.923 9.18-10.206.375-.02.757-.02 1.131.006a11.1 11.1 0 0 1 4.775.862l-.783 2.801a9.5 9.5 0 0 0-3.788-.75c-3.932 0-6.76 2.467-6.76 7.116 0 4.235 2.499 6.971 6.734 6.971a9.8 9.8 0 0 0 3.834-.717zM111.2 46.766v35.61h-8.641v-3.182h4.583V49.949h-4.583v-3.183h8.64z"},null,-1)])])}var oI={render:oX},oB=o({default:()=>oD,render:()=>oW}),oq={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function oW(e,t){return(0,l.uX)(),(0,l.CE)("svg",oq,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M65.004 115.355c-.461-.894-1.004-2.796-1.356-3.601-.378-.711-1.46-2.692-1.984-3.332-1.164-1.332-1.437-1.438-1.809-3.23-.628-3.067-2.148-8.462-4.042-12.227-1.004-2-2.626-3.606-4.067-5.07-1.246-1.247-4.121-3.31-4.668-3.227-4.766.894-6.226 5.586-8.457 9.27-1.27 2.062-2.516 3.769-3.52 5.937-.898 1.98-.812 4.23-2.331 5.938a15.4 15.4 0 0 0-3.333 5.855c-.195.453-.546 4.957-1.003 6.016l7.02-.438c6.585.461 4.687 2.961 14.858 2.438l16.098-.54a25 25 0 0 0-1.433-3.792zM111.793 8.254H16.207C7.312 8.23.086 15.457.086 24.352v35.105c2.352-.812 5.578-5.75 6.668-6.934 1.789-2.062 2.16-4.77 3.059-6.378 2.062-3.793 2.433-6.477 7.101-6.477 2.164 0 3.063.516 4.5 2.516.996 1.332 2.79 3.957 3.602 5.668 1.004 1.98 2.523 4.582 3.254 5.125.515.351.972.722 1.433.894.707.27 1.356-.27 1.902-.629.622-.539.895-1.52 1.52-2.953.895-2.086 1.813-4.418 2.332-5.312.914-1.461 1.273-3.254 2.25-4.067 1.461-1.246 3.441-1.355 3.957-1.437 2.98-.625 4.336 1.437 5.777 2.707.973.894 2.243 2.605 3.246 4.851.708 1.793 1.606 3.52 2.067 4.5.351.98 1.266 2.606 1.789 4.582.543 1.711 1.809 3.067 2.352 3.961 0 0 .812 2.164 5.476 4.145a35 35 0 0 0 4.336 1.52c2.066.734 4.047.644 6.563.374 1.789 0 2.793-2.625 3.601-4.683.438-1.254.98-4.774 1.25-5.758.27-.996-.437-1.707.192-2.625.722-.977 1.164-1.082 1.519-2.332.914-2.793 5.957-2.875 8.832-2.875 2.414 0 2.063 2.332 6.125 1.52 2.336-.434 4.586.273 7.023.995 2.063.543 4.043 1.168 5.204 2.524.73.898 2.629 5.312.73 5.476.164.188.36.645.625.817-.46 1.707-2.25.46-3.332.27-1.355-.27-2.332 0-3.684.624-2.335.996-5.668.918-7.726 2.625-1.715 1.438-1.715 4.582-2.543 6.371 0 0-2.254 5.696-6.996 9.192-1.278.914-3.715 3.058-8.918 3.871-2.356.355-4.586.355-7.024.27-1.164-.079-2.332-.079-3.52-.079-.706 0-3.062-.109-2.96.164l-.27.645c.024.29.063.602.164.895.102.515.102.976.192 1.437 0 .98-.086 2.063 0 3.066.082 2.063.894 3.957 1.004 6.102.078 2.355 1.246 4.875 2.414 6.77.46.707 1.086.789 1.355 1.71.352.98 0 2.141.188 3.227.625 4.227 1.875 8.73 3.773 12.61v.078c2.332-.352 4.77-1.247 7.836-1.684 5.664-.832 
113.5-.461 18.54-.914 12.796-1.168 19.706 5.226 31.148 2.601V24.336c-.063-8.895-7.293-16.102-16.207-16.102zM64.086 83.855q0-.28 0 0m-34.457 14.75c.894-1.98 1.433-4.125 2.144-6.101.73-1.899 1.813-4.61 3.684-5.582-.246-.274-3.957-.375-4.934-.461-1.082-.086-2.171-.273-3.25-.438a135 135 0 0 1-6.125-1.265c-1.168-.274-5.21-1.715-6.02-2.067-2.085-.894-3.421-3.52-4.96-3.246-.977.188-1.98.54-2.605 1.54-.543.812-.731 2.242-1.083 3.226-.437 1.086-1.168 2.164-1.707 3.25-1.277 1.875-3.332 3.582-4.23 5.484-.191.457-.27.895-.457 1.356v21.683c1.082.188 2.16.371 3.328.73 8.996 2.438 11.164 2.606 19.98 1.63l.813-.11c.625-1.437 1.188-6.207 1.629-7.644.352-1.164.812-2.063.996-3.14.164-1.09 0-2.173-.102-3.15-.171-2.628 1.895-3.519 2.899-5.69zm0 0"},null,-1)])])}var oD={render:oW},oN=o({default:()=>oz,render:()=>oF}),oV={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function oF(e,t){return(0,l.uX)(),(0,l.CE)("svg",oV,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M7.01 10.207h-.944l-.515 2.648h.838q.834 0 1.242-.314.408-.315.55-1.049.137-.705-.124-.995-.262-.29-1.047-.29M12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12s-5.373-6.312-12-6.312m-3.26 7.451c-.261.25-.575.438-.917.551q-.505.163-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65q1.195 0 1.744.628.549.627.33 1.752a2.8 2.8 0 0 1-.305.847q-.215.383-.561.703m4.024.715.543-2.799q.094-.478-.068-.651-.16-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218q1.15 0 1.586.401c.436.401.378.7.263 1.299l-.572 2.944zm7.597-2.265a2.8 2.8 0 0 1-.305.847q-.214.383-.561.703a2.44 2.44 0 0 1-.917.551q-.504.163-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649q1.195 0 1.744.628.55.626.331 1.751m-2.595-1.382h-.943l-.516 2.648h.838q.835 0 1.242-.314.407-.315.551-1.049.137-.705-.125-.995c-.262-.29-.524-.29-1.047-.29"},null,-1)])])}var oz={render:oF},oH=o({default:()=>oK,render:()=>oG}),oY={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 121 121"};function oG(e,t){return(0,l.uX)(),(0,l.CE)("svg",oY,[...t[0]||(t[0]=[(0,l.Lk)("path",{"fill-rule":"evenodd",d:"M73.7 58.9c-1.5-1.8-3.2-3.9-5-5.9C58.5 41.7 48.4 30.3 38 19.2c-4.7-5.1-6.2-10-.6-15.1C43-.9 48.5-.4 53.7 5.3 68.1 21.2 82.4 37.2 97 52.9c5.5 5.9 4.2 9.9-1.8 14.2-23 16.7-46 33.5-68.9 50.4-5.1 3.8-10.1 4.8-14.2-.9-4.6-6.2-.3-9.9 4.4-13.3 17-12.4 34-24.8 50.9-37.4 2.5-1.7 5.9-2.8 6.3-7m7.3 59.8c-6.2 0-12.4.2-18.6-.1-4.9-.2-7.9-3-7.8-8.2.1-4.9 2.5-8.6 7.5-8.7 13.5-.4 27.1-.3 40.7 0 4.3.1 7.5 2.9 7.5 7.4 0 5.1-2.7 9.1-8.2 9.5-7.2.4-14.2.1-21.1.1","clip-rule":"evenodd"},null,-1)])])}var oK={render:oG},oJ=o({default:()=>o2,render:()=>o1}),o0={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function o1(e,t){return(0,l.uX)(),(0,l.CE)("svg",o0,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"m14.25.18.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z"},null,-1)])])}
1var o2={render:o1},o4=o({default:()=>o6,render:()=>o3}),o8={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function o3(e,t){return(0,l.uX)(),(0,l.CE)("svg",o8,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M64 14.648c-35.346 0-64 19.19-64 42.863C0 78.275 22.046 95.589 51.316 99.53V86.699c-15.55-4.89-26.166-14.693-26.166-25.991 0-16.183 21.779-29.303 48.646-29.303 26.866 0 46.693 8.975 46.693 29.303 0 10.486-5.273 17.95-14.066 22.72 1.204.908 2.22 2.072 2.904 3.419l.388.655C121.025 79.772 128 69.189 128 57.51c0-23.672-28.654-42.863-64-42.863zm20.1 74.88c-2.612.257-5.322.41-8.114.462l.002 9.63a88 88 0 0 0 12.474-2.492l-.501-.941c-.68-1.268-1.347-2.543-2.033-3.807a41 41 0 0 0-1.828-2.851z"},null,-1),(0,l.Lk)("path",{"fill-rule":"evenodd",d:"M97.469 81.036s3.874 1.169 6.124 2.307c.78.396 2.132 1.184 3.106 2.22a8.4 8.4 0 0 1 1.42 2.04l15.266 25.74-24.674.01-11.537-21.666s-2.363-4.06-3.817-5.237c-1.213-.982-1.73-1.331-2.929-1.331h-5.862l.004 28.219-21.834.009V41.263h43.845s19.97.36 19.97 19.359S97.47 81.035 97.47 81.035zm-9.497-24.137-13.218-.009-.006 12.257 13.224-.004s6.124-.019 6.124-6.235c0-6.34-6.124-6.01-6.124-6.01z"},null,-1)])])}var o6={render:o3},o5=o({default:()=>le,render:()=>o9}),o7={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function o9(e,t){return(0,l.uX)(),(0,l.CE)("svg",o7,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75z"},null,-1)])])}var le={render:o9},lt=o({default:()=>ln,render:()=>lr}),la={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function lr(e,t){return(0,l.uX)(),(0,l.CE)("svg",la,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"currentColor",d:"m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.
1036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481"},null,-1)])])}var ln={render:lr},lo=o({default:()=>li,render:()=>ls}),ll={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function ls(e,t){return(0,l.uX)(),(0,l.CE)("svg",ll,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.635c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.636c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912z"},null,-1)])])}var li={render:ls},lc=o({default:()=>lp,render:()=>ld}),lu={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 17 17"};function ld(e,t){return(0,l.uX)(),(0,l.CE)("svg",lu,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"m2.4 11.4 5.1-4.6-5.1-4.7L.7 3.7l3.4 3v.1l-3.4 3zm14.2 3.3v-2.2h-8v2.2z"},null,-1)])])}var lp={render:ld},lm=o({default:()=>lg,render:()=>lf}),lh={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function lf(e,t){return(0,l.uX)(),(0,l.CE)("svg",lh,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M117.3 87.3c.2-.6.4-1.3.5-1.9 7-28-10.1-61.2-39.2-78.6C91.4 24 97 44.9 92 63.2c-.4 1.6-1 3.2-1.6 4.7-.6-.4-1.5-.9-2.5-1.5 0 0-28.9-17.9-60.2-49.4-.9-.8 16.7 25 36.6 46.1-9.4-5.3-35.5-24.3-52-39.4 2 3.4 4.4 6.7 7.1 9.8C33.1 51 51.2 72.6 72.7 89.2c-15.2 9.3-36.6 10-57.9 0C9.5 86.7 4.6 83.7 0 80.3c9 14.4 22.9 26.9 39.9 34.2 20.2 8.7 40.3 8.1 55.2.1.1 0 .1-.1.2-.1.7-.4 1.3-.7 2-1.1 7.2-3.7 21.3-7.4 28.9 7.4 1.7 3.6 5.7-15.6-8.9-33.5"},null,-1)])])}var lg={render:lf},lv=o({default:()=>lO,render:()=>lb}),ly={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function lb(e,t){return(0,l.uX)(),(0,l.CE)("svg",ly,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75q.918 0 1.627.111a6.4 6.4 0 0 1 1.306.34v2.458a4 4 0 0 0-.643-.361 5 5 0 0 0-.717-.26 5.5 5.5 0 0 0-1.426-.2q-.45 0-.819.086a2.1 2.1 0 0 0-.623.242q-.254.156-.393.374a.9.9 0 0 0-.14.49q0 .294.156.529.156.234.443.444c.287.21.423.276.696.41q.41.203.926.416.705.296 1.266.628.561.333.963.753.402.418.614.957.213.538.214 1.253 0 .986-.373 1.656a3 3 0 0 1-1.012 1.085 4.4 4.4 0 0 1-1.487.596q-.85.18-1.79.18a10 10 0 0 1-1.84-.164 5.5 5.5 0 0 1-1.512-.493v-2.63a5.03 5.03 0 0 0 3.237 1.2q.5 0 .872-.09.373-.09.623-.25.249-.162.373-.38a1.02 1.02 0 0 0-.074-1.089 2.1 2.1 0 0 0-.537-.5 5.6 5.6 0 0 0-.807-.444 28 28 0 0 0-1.007-.436q-1.377-.575-2.053-1.405t-.676-2.005q0-.92.369-1.582.368-.662 1.004-1.089a4.5 4.5 0 0 1 1.47-.629 7.5 7.5 0 0 1 1.77-.201m-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z"},null,-1)])])}var lO={render:lb},lk=o({default:()=>lS,render:()=>lw}),lx={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function lw(e,t){return(0,l.uX)(),(0,l.CE)("svg",lx,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.8 4.6 1.4 11c-.6.6-.6 1.6 0 2l6.2 6.2m8.6-14.6 6.2 6.2c.6.6.6 1.6 0 2l-6.2 6.6"},null,-1)])])}var lS={render:lw},lC=o({default:()=>lR,render:()=>lA}),l$={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function lA(e,t){return(0,l.uX)(),(0,l.CE)("svg",l$,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M23.55 10.91 13.09.45a1.55 1.55 0 0 0-2.18 0L8.46 2.9 11 5.48a2.06 2.06 0 0 1 1-.23 2.25 2.25 0 0 1 2.25 2.25 2.2 2.2 0 0 1-.22 1l2.19 2.2a2 2 0 1 1-1.06 1.06L13 9.52a1 1 0 0 1-.21.09v5.54a2 2 0 1 1-1.5 0V9.61A2.24 2.24 0 0 1 9.75 7.5a2.2 2.2 0 0 1 .22-1L7.4 4 .45 11a1.55 1.55 0 0 0 0 2.18l10.46 10.37a1.55 1.55 0 0 0 2.18 0l10.46-10.46a1.55 1.55 0 0 0 0-2.18"},null,-1)])])}var lR={render:lA},lE=o({default:()=>l_,render:()=>lT}
1),lP={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function lT(e,t){return(0,l.uX)(),(0,l.CE)("svg",lP,[...t[0]||(t[0]=[(0,l.Lk)("path",{d:"M12.001 4.8q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624C13.666 10.618 15.027 12 18.001 12q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C16.337 6.182 14.976 4.8 12.001 4.8m-6 7.2q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624 1.177 1.194 2.538 2.576 5.512 2.576q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C10.337 13.382 8.976 12 6.001 12"},null,-1)])])}var l_={render:lT},lj=o({default:()=>lM,render:()=>lL}),lQ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function lL(e,t){return(0,l.uX)(),(0,l.CE)("svg",lQ,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"currentColor","fill-rule":"evenodd",d:"M2 11.997C2 20.066 3.934 22 11.997 22 20.066 22 22 20.066 22 11.997 22 3.934 20.06 2 11.997 2S2 3.934 2 11.997m4.034 2.081 3.129-7.132a2.96 2.96 0 0 1 2.828-1.848c1.285 0 2.302.649 2.834 1.848l3.135 7.132c.14.343.263.796.263 1.182 0 1.77-1.243 3.012-3.012 3.012-.606 0-1.084-.153-1.567-.306a5.1 5.1 0 0 0-1.653-.325c-.643 0-1.157.16-1.665.325-.49.153-.968.306-1.55.306A2.89 2.89 0 0 1 5.76 15.26c0-.392.122-.839.27-1.182zm5.963-5.889L8.905 15.2c.919-.429 1.972-.637 3.092-.637 1.084 0 2.18.208 3.06.637z","clip-rule":"evenodd"},null,-1)])])}var lM={render:lL},lZ=o({default:()=>lI,render:()=>lX}),lU={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function lX(e,t){return(0,l.uX)(),(0,l.CE)("svg",lU)}var lI={render:lX},lB=o({default:()=>lD,render:()=>lW}),lq={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function lW(e,t){return(0,l.uX)(),(0,l.CE)("svg",lq,[...t[0]||(t[0]=[(0,l.Fv)('<path fill="#fff" fill-rule="evenodd" d="M11.9 7.2h8.4v3.4h-8.4z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M4.3 18.3c-.74 0-1.384-.403-1.73-1a2 2 0 0 0 1.73 3h2v-2z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M13.298 7.738 20.3 7.3v-1a2 2 0 0 0-2-2h-9l-.25-.433a.29.29 0 0 0-.5 0L8.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L7.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L6.3 4.3h-.006l-.415-.414a.29.29 0 0 0-.482.13l-.137.51-.52-.14a.29.29 0 0 0-.353.354l.139.52-.51.136a.29.29 0 0 0-.13.483l.414.415V6.3l-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8l-7.002-.438a1.065 1.065 0 0 1 0-2.124" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M16.3 20.3h3v-4h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M17.3 14.3h3v-2h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M8.3 7.55a.25.25 0 0 1-.25-.25.75.75 0 0 0-1.5 0 .25.25 0 0 1-.5 0 1.25 1.25 0 0 1 2.5 0 .25.25 0 0 1-.25.25" clip-rule="evenodd"></path><path fill="#FFFF50" fill-rule="evenodd" d="M12.3 20.3h6a2 2 0 0 0 2-2v-7h-6a2 2 0 0 0-2 2z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M18.802 14.4h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0-4.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 1.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2M20.3 8.161h-.003c-.31.01-.456.32-.585.592-.134.285-.238.47-.409.465-.189-.007-.297-.22-.411-.446-.132-.26-.282-.554-.596-.543-.305.01-.452.28-.581.517-.138.253-.232.406-.412.4-.193-.008-.295-.181-.414-.382-.132-.224-.285-.475-.593-.467-.3.01-.447.239-.577.44-.137.213-.233.343-.416.336-.198-.007-.3-.151-.417-.318-.133-.187-.282-.4-.59-.39-.293.01-.44.198-.57.363-.123.156-.219.28-.422.272a.1.1 0 0 0-.008.2c.302.01.455-.18.588-.349.117-.15.219-.278.419-.285.192-.008.283.111.42.304.13.184.276.392.572.402.31.01.46-.221.592-.426.119-.184.22-.342.415-.349.18-.006.277.135.415.368.13.22.276.47.579.48.312.01.463-.262.594-.503.114-.21.222-.406.412-.413.18-.004.273.16.411.433.13.255.276.544.583.556h.017c.306 0 .452-.308.58-.58.114-.24.222-.468.407-.477z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 20.3h4v-4h-4z" clip-rule="evenodd"></path><path fill="#D8D8D8" d="m20.276 9.922-7.778 2.084a.2.2 0 0 0-.141.245l.76 2.837a.2.2 0 0 0 .245.141l7.777-2.084a.2.2 0 0 0 .142-.245l-.76-2.836a.2.2 0 0 0-.245-.142"></path><path fill="#4A4A4A" d="m14.845 13.56-.278.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.56-.15-.28.075a.1.1 0 0 0-.07.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.558-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.559-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m13.082 14.032 1.187-.318a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-1.187.318a.1.1 0 0 1-.123-.07l-.075-.279a.1.1 0 0 1 .071-.122m6.533-1.75 1.187-.319a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-1.188.318a.1.1 0 0 1-.122-.07l-.075-.28a.1.1 0 0 1 .071-.122Zm-6.835.621.453-.121a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-.454.121a.1.1 0 0 1-.122-.07l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.792 12.632-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.483 10.771-.454.122a.1.1 0 0 1-.122-.071l-.075-.278a.1.1 0 0 1 .071-.123l.453-.121a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm
1-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m
1-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m
1-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m12.93 13.462.645-.173a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-.646.173a.1.1 0 0 1-.123-.071l-.074-.278a.1.1 0 0 1 .07-.123Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m14.151 13.135-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.56-.15-.28.075a.1.1 0 0 0-.07.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Zm.558-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07m.558-.15-.277.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.039 11.557.61-.164a.1.1 0 0 1 .123.071l.074.279a.1.1 0 0 1-.07.122l-.61.164a.1.1 0 0 1-.123-.071l-.075-.278a.1.1 0 0 1 .07-.123z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.517 14.54-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m15.474 14.016 2.69-.72a.1.1 0 0 1 .122.07l.074.278a.1.1 0 0 1-.07.123l-2.69.72a.1.1 0 0 1-.122-.07l-.074-.279a.1.1 0 0 1 .07-.122m2.97-.796.348-.093a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122l-.349.094a.1.1 0 0 1-.122-.071l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.351 12.977-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm1.048-.281-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm-.845.442-.028-.104a.1.1 0 0 1 .07-.123l.28-.074a.1.1 0 0 1 .122.07l.027.105zm.49-.057.028.105a.1.1 0 0 1-.07.122l-.279.075a.1.1 0 0 1-.122-.07l-.028-.105zm-.344-2.893-7.652 2.05a.108.108 0 1 0 .057.21l7.65-2.05a.108.108 0 1 0-.055-.21"></path><path fill="#D8D8D8" d="m13.075 12-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.603-.162-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 0 0-.038-.14m.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.038-.14Zm.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.301.08a.072.072 0 1 0 .037.14l.301-.08a.072.072 0 1 0-.037-.14m.464-.124-.301.08a.072.072 0 0 0 .037.14l.302-.08a.072.072 0 0 0-.038-.14" opacity=".136"></path><path fill="#44D860" fill-rule="evenodd" d="M16.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 14.3h4v-2h-4z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M15.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M16.3 6.175a.3.3 0 0 1-.096-.019.3.3 0 0 1-.081-.054.3.3 0 0 1-.054-.081.26.26 0 0 1 0-.192.26.26 0 0 1 .092-.112.3.3 0 0 1 .09-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .073.177.25.25 0 0 1-.154.231.3.3 0 0 1-.096.02Zm2-.125a.26.26 0 0 1-.208-.11.26.26 0 0 1-.042-.139.26.26 0 0 1 .11-.209.3.3 0 0 1 .091-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .054.273l-.023.043-.031.038a.26.26 0 0 1-.177.073" clip-rule="evenodd"></path>',29)])])}var lD={render:lW},lN=o({default:()=>lz,render:()=>lF}),lV={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function lF(e,t){return(0,l.uX)(),(0,l.CE)("svg",lV,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"#512BD4",d:"M22 2H2v20h20z"},null,-1),(0,l.Lk)("path",{fill:"#fff",d:"M5.565 14.778a.5.5 0 0 1-.361-.142.47.47 0 0 1-.148-.344.47.47 0 0 1 .148-.348.5.5 0 0 1 .36-.145q.216 0 .365.145a.46.46 0 0 1 .152.348.46.46 0 0 1-.152.344.5.5 0 0 1-.364.142m5.653-.08h-.92l-2.421-3.82a1.7 1.7 0 0 1-.152-.301h-.021q.028.166.028.714v3.407h-.813V9.5h.98l2.34 3.73q.148.232.19.319h.015a5 5 0 0 1-.036-.7V9.5h.81zm3.96 0h-2.846V9.5h2.732v.732h-1.89v1.472h1.742v.728h-1.743v1.537h2.005zm4.044-4.466h-1.456v4.466h-.842v-4.466h-1.453V9.5h3.751z"},null,-1)])])}var lz={render:lF},lH=o({default:()=>lK,render:()=>lG}),lY={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function lG(e,t){return(0,l.uX)(),(0,l.CE)("svg",lY,[...t[0]||(t[0]=[(0,l.Fv)('<path fill="#333" fill-rule="evenodd" d="M18.578 20.398A9.98 9.98 0 0 0 22 12.866c0-5.523-4.477-10-10-10s-10 4.477-10 10a9.97 9.97 0 0 0 3.24 7.369l.01-.064 13.123-4.297z" clip-rule="evenodd"></path><path fill="#CCC" d="m9.419 4.067-1.774-.264.265-.081q.242-.076.444-.228l.042-.032a1.22 1.22 0 0 0 .466-.778l.02-.124q.032-.202-.003-.403a.073.073 0 0 1 .1-.08l.072.03q.136.056.263.132l.302.182c.4.242.752.558 1.036.931l.2.264a1.33 1.33 0 0 0 .618.45l.14.05-.732.03a8 8 0 0 1-1.46-.08Z"></path><path fill="#CCC" d="m8.966 5.64.526-.962a.03.03 0 0 0 0-.03l-.179-.378a.68.68 0 0 0-.614-.388l-.05-.002a4.7 4.7 0 0 1-1.017-.148l-.065-.017a4 4 0 0 1-.79-.297l-.111-.055a3 3 0 0 1-.474-.3l-.147-.115a.1.1 0 0 0-.14.02 1 1 0 0 0-.185.47l-.027.235a2 2 0 0 0-.004.379l.065.734c.049.547.237 1.071.548 1.524l.066.097q.144.209.331.38a.1.1 0 0 0 .064.027A2.28 2.28 0 0 0 8.966 5.64"></path><path fill="#EDEDED" d="m6.976 6.832.625-.27a.45.45 0 1 0-.458-.769l-.148.117a1 1 0 0 0-.097.094l-.356.428a.15.15 0 0 0 .009.203l.11.126a.275.275 0 0 0 .315.071"></path><path fill="#B2B2B2" d="m7.78 3.758-.018.006.057.018c.247.08.504.125.763.138a.1.1 0 0 0 .038-.005l.118-.034.059-.02-.374-.08a.3.3 0 0 1-.134-.066.063.063 0 0 1 0-.096l.056-.046a.6.6 0 0 0 .157-.2c-.216.171-.46.301-.721.385Z"></path><path fill="#fff" d="M9.92 10.578 4.825 19.69a.078.078 0 0 1-.124.017l-.102-.103-.43-.488-.274-.354a8 8 0 0 1-.693-1.067l-.04-.072a8 8 0 0 1-.536-1.24l-.137-.412a5.55 5.55 0 0 1-.139-2.295l.005-.032a5.7 5.7 0 0 1 .24-.988l.226-.669.17-.356a5 5 0 0 1 1.067-1.473l.215-.204a3.8 3.8 0 0 1 1.576-.897 3 3 0 0 1-.422.084l-.281.033-.215.02-.235.
104-.234.021-.156.017-.113.007c-.036.002-.053-.044-.024-.065l.157-.076a2.65 2.65 0 0 0 1.19-1.135l.174-.271a2.6 2.6 0 0 1 .808-.802l.067-.043q.182-.115.385-.187l.615-.217a.43.43 0 0 0 .253-.236l.009-.022a.34.34 0 0 0-.083-.38l-.108-.099-.018-.02-.696-.926-.555-.764a.97.97 0 0 1-.184-.517.04.04 0 0 1 .056-.038l.6.288a2.38 2.38 0 0 0 1.666.148q.195-.053.394-.075l.276-.028a5.7 5.7 0 0 1 2.064.17l.058.016.656.236a3 3 0 0 1 1.785 1.756l.138.536a2.17 2.17 0 0 0 .863 1.246l.35.244q.232.162.483.287l.775.388a.062.062 0 0 1 .022.093 2.1 2.1 0 0 1-.82.644l-.449.195a4 4 0 0 1-.55.193l-.33.088a5.5 5.5 0 0 1-1.417.188h-.79a1.3 1.3 0 0 1-.477-.091 1.3 1.3 0 0 0-1.615.576Z"></path><path fill="#666" d="m12.593 7.292.344.004c.047 0 .057-.065.013-.079a1.4 1.4 0 0 1-.212-.087l-.269-.139a2.8 2.8 0 0 1-.51-.338l-.053-.044q-.18-.15-.323-.334l-.06-.078a.034.034 0 0 0-.062.023c.04.598.533 1.065 1.132 1.072"></path><path fill="#CCC" d="m5.212 19.834 5.824-5.195a7.8 7.8 0 0 0 1.417-1.677l.035-.057a2.3 2.3 0 0 0 .237-1.239l-.052-.587a1.66 1.66 0 0 0-.424-.97.1.1 0 0 0-.036-.02l-.936-.192a4.2 4.2 0 0 0-2.092-.086l-.037.008-.544.127a6.74 6.74 0 0 0-3.94 2.63l-.023.034a6.4 6.4 0 0 0-.665 1.168l-.032.074a6.07 6.07 0 0 0-.441 3.31l.054.367a3.7 3.7 0 0 0 .932 1.96l.297.324a.304.304 0 0 0 .426.021"></path><path fill="#5E5E5E" d="m10.31 12.9-.018.01c-.492.281-.756.811-.73 1.377.007.16.168.308.323.264l.285-.081a2.6 2.6 0 0 0 1.001-.539l.829-.713.246-.182a6.6 6.6 0 0 1 4.979-1.209c.054.009.056.086.002.097l-.207.043-.095.033a1 1 0 0 0-.48.359.04.04 0 0 0 .044.062l.068-.021a3.2 3.2 0 0 1 1.184-.132l.157.012a2.86 2.86 0 0 1 2.159 1.137l.192.256c.57.758.812 1.714.67 2.652l-.074.49a4.7 4.7 0 0 1-.713 1.87l-.027.04-.41.547-.449.508-.411.395q-.566.542-1.227.962l-.14.088-.266.127c-.069.033-.126-.061-.065-.107l.37-.352.077-.08c.206-.216.355-.482.431-.77l.035-.134a.715.715 0 0 0-.549-.886.7.7 0 0 0-.583.146l-.367.299-.649.53a8 8 0 0 1-1.376.902l-.67.345-1.133.43-.238.064a8 8 0 0 1-1.263.235l-.316.032H9.891l-1.348-.146-.73-.158a4.55 4.55 0 0 1-1.91-.917l-.563-.458a3.02 3.02 0 0 1-1.177-2.168l-.034-.45.04-.631a4.6 4.6 0 0 1 1.956-3.483l.12-.084a5.2 5.2 0 0 1 1.646-.763l.396-.105a3.4 3.4 0 0 1 1.577-.042l.413.086c.104.022.126.16.034.212Z"></path>',9)])])}var lK={render:lG},lJ=o({default:()=>l2,render:()=>l1}),l0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function l1(e,t){return(0,l.uX)(),(0,l.CE)("svg",l0,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"currentColor",d:"m16.378 12.034-4.148-5.53h.507c.369 0 .738.185.968.461l3.272 4.286 3.226-4.24c.322-.322.691-.507 1.06-.507h.553l-4.194 5.53L22 17.841h-.553c-.369 0-.737-.185-.968-.507l-3.456-4.516-3.456 4.516c-.23.322-.6.46-.968.46h-.553zm-13.456.461v.369c0 1.935 1.29 3.686 3.18 4.147a4.15 4.15 0 0 0 4.654-2.258c.138-.23.368-.415.645-.415h.46a5.07 5.07 0 0 1-4.792 3.687C4.212 18.025 2 15.583 2 12.541v-1.29c0-2.489 1.751-4.747 4.24-5.207a5.07 5.07 0 0 1 5.898 5.069v1.382zm0-.921h8.295v-.461a4.148 4.148 0 0 0-5.07-4.056c-1.935.461-3.225 2.212-3.225 4.378z"},null,-1)])])}var l2={render:l1},l4=o({default:()=>l6,render:()=>l3}),l8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function l3(e,t){return(0,l.uX)(),(0,l.CE)("svg",l8,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"currentColor",d:"M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m-.7 4.5h6.3L11.3 11h4.3l-9.2 6.4 2-4.4 1-2 2-4.5z"},null,-1)])])}var l6={render:l3},l5=o({default:()=>se,render:()=>l9}),l7={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function l9(e,t){return(0,l.uX)(),(0,l.CE)("svg",l7,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"currentColor",d:"M23.241 7.492 24 5.536l-.031-.125-7.479 1.971c.798-1.158.524-2.08.524-2.08s-2.386 1.525-4.193 1.486c-1.807-.04-2.386-.525-5.155.36-2.769.883-3.551 3.59-4.357 4.177-.798.579-3.309 2.51-3.309 2.51l2.269-.727s-.642.61-1.964 2.386v.008c.211.297 1.142 1.525 2.065 1.26.102-.032.22-.087.352-.15.415.236.97.462 1.573.525 0 0-.407-.47-.751-1.017l.281-.18-.047.031.869.313-.094-.813h.008l.844.313-.101-.744.32-.156.884-3.348 3.661-2.503-.289.735c-.743 1.823-2.136 2.253-2.136 2.253l-.578.227c-.438.508-.618.634-.767 2.354.352-.093.68-.11.986-.03 1.564.422 2.104 2.307 1.681 2.831-.101.125-.352.352-.672.61H7.76l-.008.516-.062.055h-.65l-.007.5-.173.126c-.602.016-1.376-.516-1.376-.516.008.485.406 1.228.406 1.228l.07-.04-.062.048s1.627 1.08 2.652.68c.908-.36 3.262-2.214 5.296-3.09l6.149-1.627.813-2.096-4.685 1.236V13.14l5.499-1.448.814-2.104-6.313 1.666V9.37zm-11.163 3.997 1.463-.383.016.07-.454 1.181-1.51.4zm.5 2.527-1.509.399.493-1.268 1.455-.383.023.07zm1.972-.423-1.51.4.493-1.268 1.455-.383.024.07z"},null,-1)])])}var se={render:l9},st=o({default:()=>sn,render:()=>sr}),sa={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sr(e,t){return(0,l.uX)(),(0,l.CE)("svg",sa,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"currentColor",d:"M1.81 10.714c-.046 0-.058-.023-.034
1-.058l.245-.316c.023-.035.082-.058.128-.058h4.17c.047 0 .059.035.035.07l-.198.304c-.024.035-.082.07-.117.07zM.048 11.789c-.047 0-.059-.024-.035-.059l.245-.315c.023-.035.082-.059.128-.059h5.327c.047 0 .07.036.058.07l-.093.28c-.012.048-.058.07-.105.07zm2.826 1.074c-.046 0-.058-.035-.035-.07l.164-.292c.023-.035.07-.07.117-.07h2.336c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082l-2.546-.012Zm12.125-2.36-1.962.515c-.175.046-.187.058-.339-.117a1.6 1.6 0 0 0-.549-.444 2.03 2.03 0 0 0-2.114.175 2.49 2.49 0 0 0-1.192 2.22c.012.934.655 1.705 1.577 1.833.795.106 1.46-.175 1.986-.77l.316-.433h-2.255c-.245 0-.304-.151-.222-.35.152-.362.432-.97.596-1.273a.32.32 0 0 1 .292-.187h4.252c-.024.315-.024.63-.07.946a5 5 0 0 1-.958 2.29 4.87 4.87 0 0 1-3.33 1.985 4.14 4.14 0 0 1-3.141-.77A3.67 3.67 0 0 1 6.4 13.528a4.58 4.58 0 0 1 .993-3.422 5.2 5.2 0 0 1 3.27-2.021c1.099-.199 2.15-.07 3.096.572.62.409 1.063.97 1.355 1.647.07.105.024.164-.117.199Z"},null,-1),(0,l.Lk)("path",{fill:"currentColor",d:"M18.865 16.963a4.38 4.38 0 0 1-2.85-1.028 3.67 3.67 0 0 1-1.262-2.254 4.46 4.46 0 0 1 .946-3.528 4.9 4.9 0 0 1 3.27-1.95 4.32 4.32 0 0 1 3.33.595 3.63 3.63 0 0 1 1.647 2.605 4.51 4.51 0 0 1-1.343 3.96 5.35 5.35 0 0 1-2.804 1.495c-.315.058-.63.07-.934.105m2.78-4.719c-.012-.152-.012-.268-.035-.385a1.93 1.93 0 0 0-2.383-1.554c-1.087.245-1.787.935-2.044 2.033-.21.91.233 1.834 1.074 2.207.643.28 1.285.246 1.904-.07a2.56 2.56 0 0 0 1.484-2.23Z"},null,-1)])])}var sn={render:sr},so=o({default:()=>si,render:()=>ss}),sl={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ss(e,t){return(0,l.uX)(),(0,l.CE)("svg",sl,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"#FF5B11",d:"M12.371 1.736q.08-.01.141.04a76 76 0 0 1 4.217 5.662 28 28 0 0 1 2.49 4.659q1.64 4.374-1.707 7.61-2.928 2.475-6.747 1.928-4.564-.93-6.205-5.281a7.4 7.4 0 0 1-.28-2.891 17.3 17.3 0 0 1 1.204-4.9 7.3 7.3 0 0 1 1.044-1.767q.525.625 1.004 1.285.222.232.462.442a38 38 0 0 1 4.377-6.787",opacity:".993"},null,-1),(0,l.Lk)("path",{fill:"#FF9758",d:"M12.09 5.962a42.5 42.5 0 0 1 3.996 5.462q.56.959.924 2.008.758 2.982-1.627 4.92-2.306 1.622-5.06.963-2.97-.921-3.433-3.996a4.25 4.25 0 0 1 .2-1.887c.297-.754.66-1.48 1.085-2.168L9.38 9.495q1.367-1.758 2.71-3.534Z"},null,-1)])])}var si={render:ss},sc=o({default:()=>sp,render:()=>sd}),su={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sd(e,t){return(0,l.uX)(),(0,l.CE)("svg",su,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"#FF2D20",d:"M21.217 6.8a.3.3 0 0 1 .012.076v4.078a.3.3 0 0 1-.15.26l-3.424 1.969v3.907a.3.3 0 0 1-.147.259l-7.15 4.111q-.023.014-.05.024l-.021.007a.3.3 0 0 1-.152 0l-.024-.01c-.017-.007-.033-.011-.048-.02l-7.142-4.112a.3.3 0 0 1-.15-.26V4.857q0-.043.012-.079c0-.01.007-.016.01-.023a.2.2 0 0 1 .019-.048l.021-.026.024-.036.03-.024.034-.023L6.492 2.54a.29.29 0 0 1 .298 0l3.573 2.053.033.024.029.024.026.036.022.023.019.048c0 .01.007.017.01.024a.4.4 0 0 1 .009.08v7.643l2.978-1.713v-3.91c0-.023.003-.052.01-.076l.01-.026.018-.047.022-.024.026-.036.029-.024.033-.023L17.21 4.56a.3.3 0 0 1 .298 0l3.57 2.058.034.024c.01.01.022.014.029.024q.017.015.026.035l.021.024c.01.017.015.03.02.048l.009.023zm-.58 3.98V7.392l-1.252.719-1.727.994v3.393l2.978-1.713zm-3.576 6.138v-3.395l-1.7.971-4.85 2.77v3.425l6.55-3.77ZM3.366 5.37v11.548l6.55 3.769V17.26l-3.421-1.934h-.003l-.03-.024c-.01-.01-.022-.014-.03-.024-.011-.01-.018-.024-.025-.03l-.024-.032-.014-.038q-.009-.015-.015-.033l-.007-.043-.002-.033V7.08l-1.728-.994-1.253-.716zm3.276-2.23L3.666 4.857 6.64 6.569l2.976-1.713-2.974-1.713zM8.19 13.833l1.727-.992V5.37l-1.247.718-1.727.995v7.47l1.249-.72zm9.169-8.667-2.974 1.713 2.974 1.713 2.974-1.713zm-.297 3.943-1.728-.995-1.249-.718v3.385l1.727.995 1.25.72v-3.39zm-6.845 7.639 4.365-2.491 2.182-1.244L13.79 11.3l-3.426 1.972-3.117 1.796z"},null,-1)])])}var sp={render:sd},sm=o({default:()=>sg,render:()=>sf}),sh={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sf(e,t){return(0,l.uX)(),(0,l.CE)("svg",sh,[...t[0]||(t[0]=[(0,l.Fv)('<g fill="#EDB641" clip-path="url(#a)"><path d="m5.33 10.983.419 1.29H7.11l-1.1.796.42 1.29-1.101-.797-1.09.791.419-1.29-1.1-.796H4.92l.42-1.289-.011.005Zm1.954-4.245.362 1.111h1.169l-.944.687.362 1.111-.949-.681-.943.681.351-1.111-.943-.687h1.169l.361-1.11h.005ZM1.31 13.504l.21.65h.68l-.55.409.21.65-.55-.404-.556.404.21-.65-.551-.404h.681l.21-.65.005-.005Z"></path><path d="M9.197 15.684a19 19 0 0 0 2.505-1.378 22.6 22.6 0 0 0 3.092-2.6l-.613-.408-.534-.362 1.692-.063.545-.02.147-.525.461-1.635.587 1.588.189.514.545-.027 1.693-.062-1.332 1.048-.43.335.19.514.586 1.588-1.41-.944-.45-.298-.43.335-1.331 1.048.23-.812.231-.818.026-.105a21 21 0 0 1-5.24 2.815c-.315.104-.63.188-.944.267zm-3.186 1.242a16.1 16.1 0 0 0 8.081-2.494l-.535 1.923 3.145-2.479 3.328 2.222-1.384-3.752 3.144-2.474-4.003.158-1.384-3.758-1.09 3.852-3.999.157 2.317 1.546c-1.52 1.384-5.346 4.34-10.413 4.538A14 14 0 0 1 0 16.11s2.52.953 6.016.817h-.005Z"></path><path d="M16.408 4.412a7.588 7.588 0 0 0-7.242 9.862q.495-.25.943-.508a6.53 6.53 0 0 1 6.3-8.306 6.54 6.54 0 1 1-4.916 10.848c-.351.136-.703.262-1.059.367a7.588 7.588 0 1 0 5.974-12.263"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h24v24H0z"></path></clipPath></defs>',2)])])}var sg={render:sf},sv=o({default:()=>sO,render:()=>sb}),sy={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};
1function sb(e,t){return(0,l.uX)(),(0,l.CE)("svg",sy,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"#E0234E","fill-rule":"evenodd",d:"M13.776 2.04c-.144 0-.279.03-.403.071.264.176.409.409.48.672.006.036.016.062.021.098q.009.046.01.093c.021.455-.118.511-.216.78-.15.346-.109.718.072 1.017a.6.6 0 0 0 .062.114c-.196-1.307.894-1.503 1.095-1.91.016-.357-.279-.595-.511-.76a1.14 1.14 0 0 0-.61-.176Zm1.643.294c-.021.118-.005.087-.01.15-.006.04-.006.092-.01.134q-.016.063-.037.124a1 1 0 0 1-.042.124c-.02.041-.035.077-.056.118-.016.021-.026.042-.042.062l-.03.047a2 2 0 0 1-.078.103c-.03.031-.057.067-.093.093v.005c-.031.026-.062.057-.098.083-.108.082-.233.145-.346.222-.036.026-.073.046-.103.078a1 1 0 0 0-.099.082c-.036.031-.062.062-.093.098-.025.031-.056.067-.077.104q-.039.052-.072.108c-.021.041-.036.077-.057.119-.016.041-.031.077-.042.119a2 2 0 0 0-.036.129c-.005.02-.005.046-.01.067-.005.02-.005.041-.01.062 0 .041-.005.088-.005.129q-.001.046.005.093 0 .06.015.13.01.06.026.123l.041.124c.01.026.026.052.037.072l-1.188-.46a13 13 0 0 0-.6-.154l-.325-.078a10 10 0 0 0-.94-.14c-.01 0-.016-.004-.026-.004a9 9 0 0 0-1.601-.021c-.315.02-.63.062-.945.114q-.116.017-.233.04-.232.048-.465.104l-.232.062c-.077.031-.15.067-.222.098l-.17.078c-.01.005-.021.005-.026.01-.052.026-.098.047-.145.073a2 2 0 0 0-.196.098c-.036.015-.072.036-.104.051a3 3 0 0 0-.305.18c-.035.027-.071.048-.103.073-.005.005-.01.005-.015.01a1 1 0 0 0-.098.073l-.01.01-.078.062c-.01.005-.02.016-.03.02l-.078.068c-.006.01-.016.016-.021.02-.031.032-.062.058-.093.088-.005 0-.005.006-.01.011a2 2 0 0 0-.094.088c-.005.005-.005.01-.01.01a1 1 0 0 0-.077.083c-.01.01-.026.02-.036.03q-.04.047-.088.094c-.005.01-.016.015-.02.025-.042.042-.078.083-.12.124l-.015.016q-.123.134-.264.253-.14.125-.289.227a3.2 3.2 0 0 1-.635.351 4 4 0 0 1-.336.124c-.217.047-.439.135-.63.15-.041 0-.088.01-.129.016l-.129.03-.124.047a1 1 0 0 0-.124.057c-.036.026-.077.046-.114.072a1 1 0 0 0-.103.088 1 1 0 0 0-.103.093c-.031.036-.062.067-.088.103-.026.042-.057.078-.078.12a1 1 0 0 0-.072.118q-.032.067-.057.134l-.046.134a1 1 0 0 0-.026.124c0 .006-.005.011-.005.016-.01.047-.01.108-.016.14q-.009.05-.01.103a.5.5 0 0 0 .026.165q.014.046.036.093v.005a1 1 0 0 0 .057.093 1 1 0 0 0 .067.093q.042.044.088.083.045.045.098.082c.124.109.155.145.315.228q.038.02.083.041c.005 0 .01.005.015.005q-.001.013.005.026.01.062.026.124a1 1 0 0 0 .041.124c.016.03.026.062.042.093q.007.016.015.026l.062.113.078.109q.042.051.088.098.045.043.098.088s.005.005.01.005a1 1 0 0 0 .207.14 1 1 0 0 0 .118.056.6.6 0 0 0 .104.036c.005.005.01.005.02.01.021.006.047.011.068.016-.016.279-.021.543.02.635.047.104.274-.211.501-.573-.03.357-.051.775 0 .899.057.129.367-.274.636-.718 3.662-.847 7.003 1.684 7.354 5.258-.067-.558-.754-.868-1.069-.79-.155.382-.418.873-.841 1.177.037-.345.02-.693-.052-1.033a3.3 3.3 0 0 1-.64 1.302c-.491.036-.982-.202-1.24-.558-.02-.015-.026-.046-.042-.067a1 1 0 0 1-.04-.108.4.4 0 0 1-.032-.109q-.006-.052-.005-.114v-.077a1 1 0 0 1 .026-.109 1 1 0 0 1 .036-.108c.02-.036.036-.072.062-.108.088-.248.088-.45-.072-.569a.6.6 0 0 0-.099-.051c-.02-.006-.046-.016-.067-.021l-.041-.015a1 1 0 0 0-.109-.026.4.4 0 0 0-.108-.016 1 1 0 0 0-.114-.01c-.025 0-.051.005-.077.005a.4.4 0 0 0-.114.015q-.054.007-.108.021a1 1 0 0 0-.109.036l-.103.047c-.03.015-.062.036-.098.052-1.203.784-.486 2.623.336 3.155-.31.057-.625.124-.713.191l-.01.01q.334.202.697.347.415.134.837.248v.005a5 5 0 0 0 1.301.093c2.288-.16 4.163-1.9 4.504-4.194l.031.134c.015.093.036.191.046.29v.005q.014.07.021.134v.02q.009.072.01.135.01.085.01.17v.083c0 .026.006.057.006.083 0 .03-.005.062-.005.093v.072c0 .036-.005.067-.005.103q.001.029-.006.067c0 .036-.005.073-.005.114q-.006.022-.005.046l-.015.12q.001.022-.005.046c-.006.051-.016.098-.021.15v.01c-.01.046-.02.098-.031.144v.016l-.031.14c0 .005-.005.015-.005.02a1 1 0 0 1-.036.14v.015q-.025.076-.042.145-.006.009-.005.01l-.046.155c-.021.052-.037.098-.057.15s-.036.103-.057.15l-.062.15h-.005c-.021.046-.041.097-.067.144l-.016.036c-.005.005-.005.01-.01.015a4.9 4.9 0 0 1-1.451 1.736q-.063.04-.125.088c-.01.01-.026.015-.036.026q-.053.038-.113.077l.015.031h.005l.217-.03h.005q.202-.033.403-.073a1 1 0 0 0 .114-.026l.072-.015c.036-.006.072-.016.109-.021.03-.01.062-.016.093-.026a10 10 0 0 0 1.497-.496 8.3 8.3 0 0 1-3.207 2.619 8.5 8.5 0 0 0 1.761-.305 8.25 8.25 0 0 0 4.881-3.9 8.2 8.2 0 0 1-1.39 3.321c.501-.33.964-.714 1.38-1.
1146a8.2 8.2 0 0 0 2.174-4.39c.177.817.227 1.657.15 2.49 3.73-5.202.31-10.594-1.12-12.015-.006-.01-.01-.015-.01-.026-.006.006-.006.006-.006.011 0-.005 0-.005-.005-.01q-.002.092-.01.186a7 7 0 0 1-.052.345 8 8 0 0 1-.088.341 4 4 0 0 1-.124.33q-.072.162-.155.316a4 4 0 0 1-.398.573c-.077.093-.16.176-.242.259a3 3 0 0 1-.15.129l-.12.103c-.092.072-.185.14-.288.201a4 4 0 0 1-.305.176 9 9 0 0 1-.325.145 3.6 3.6 0 0 1-.682.186c-.12.02-.238.03-.351.04a4 4 0 0 1-.248.011c-.12 0-.238-.01-.351-.02a3 3 0 0 1-.352-.052 3 3 0 0 1-.346-.088h-.005c.114-.01.227-.02.341-.041a3.7 3.7 0 0 0 1.317-.501q.148-.099.29-.207.138-.108.263-.232c.087-.078.165-.165.242-.253q.117-.14.217-.28c.01-.015.02-.035.031-.05q.08-.125.15-.249a3.6 3.6 0 0 0 .367-.981c.02-.119.041-.233.052-.346.01-.119.02-.238.02-.351q-.001-.125-.01-.248-.017-.178-.041-.346a4 4 0 0 0-.078-.346c-.036-.109-.072-.222-.114-.331a3.5 3.5 0 0 0-.527-.91 11 11 0 0 0-.237-.262 3 3 0 0 0-.134-.13 9 9 0 0 0-.718-.506 1 1 0 0 0-.104-.051 2 2 0 0 0-.49-.217","clip-rule":"evenodd"},null,-1)])])}var sO={render:sb},sk=o({default:()=>sS,render:()=>sw}),sx={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sw(e,t){return(0,l.uX)(),(0,l.CE)("svg",sx,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"currentColor",d:"M11.345 2.005c-.043.004-.18.018-.303.028-2.84.256-5.501 1.788-7.187 4.144a9.9 9.9 0 0 0-1.765 4.369c-.08.549-.09.711-.09 1.456s.01.907.09 1.456c.543 3.755 3.216 6.91 6.84 8.08.65.208 1.334.351 2.112.437.303.033 1.613.033 1.916 0 1.343-.149 2.48-.48 3.603-1.053.172-.088.205-.112.182-.131a191 191 0 0 1-1.629-2.184l-1.599-2.16-2.004-2.965a284 284 0 0 0-2.017-2.964 161 161 0 0 0-.02 2.925c-.006 2.816-.008 2.93-.043 2.996a.36.36 0 0 1-.172.178c-.063.031-.117.037-.412.037h-.339l-.09-.056a.4.4 0 0 1-.13-.143l-.042-.088.004-3.92.006-3.92.06-.077a.5.5 0 0 1 .145-.12c.08-.038.112-.042.45-.042.399 0 .465.016.569.129.03.031 1.114 1.665 2.412 3.634l3.946 5.975 1.583 2.399.08-.053a10.3 10.3 0 0 0 2.055-1.802 9.95 9.95 0 0 0 2.354-5.112c.08-.549.09-.711.09-1.456s-.01-.907-.09-1.456c-.543-3.755-3.216-6.91-6.84-8.08a10.5 10.5 0 0 0-2.083-.435c-.187-.02-1.48-.041-1.642-.026m4.094 6.048c.094.047.17.137.197.231.016.05.02 1.138.016 3.587l-.006 3.515-.62-.95-.621-.95V10.93c0-1.652.008-2.58.02-2.625a.4.4 0 0 1 .193-.247c.08-.04.11-.045.416-.045.29 0 .34.004.405.04"},null,-1)])])}var sS={render:sw},sC=o({default:()=>sR,render:()=>sA}),s$={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sA(e,t){return(0,l.uX)(),(0,l.CE)("svg",s$,[...t[0]||(t[0]=[(0,l.Fv)('<path fill="url(#a)" fill-rule="evenodd" d="M19.608 5.51C16.023 1.308 9.712.808 5.51 4.392 1.308 7.977.808 14.288 4.392 18.49c3.585 4.202 9.896 4.702 14.098 1.118 4.202-3.585 4.702-9.896 1.118-14.098m-4.982 5.249c.385 0 .631.417.438.75l-.056.096-3.774 6.21a.39.39 0 0 1-.33.185h-.36a.378.378 0 0 1-.366-.472l1.024-3.959a.5.5 0 0 0-.484-.625H9.145a.5.5 0 0 1-.484-.625l1.545-5.978a.46.46 0 0 1 .448-.34l.067.001h1.584a.5.5 0 0 1 .496.568l-.01.071-.604 3.533a.5.5 0 0 0 .493.585z" clip-rule="evenodd"></path><defs><radialGradient id="a" cx="0" cy="0" r="1" gradientTransform="matrix(19.5 0 0 198.851 4 12)" gradientUnits="userSpaceOnUse"><stop stop-color="#31B2F3"></stop><stop offset=".474" stop-color="#F27CEC"></stop><stop offset="1" stop-color="#FD6641"></stop></radialGradient></defs>',2)])])}var sR={render:sA},sE=o({default:()=>s_,render:()=>sT}),sP={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sT(e,t){return(0,l.uX)(),(0,l.CE)("svg",sP,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"#00DC82",d:"M13.32 19.333h8.14c.26 0 .508-.09.733-.22.226-.129.457-.29.587-.513s.22-.476.22-.733c0-.258-.09-.51-.22-.734l-5.5-9.46a1.34 1.34 0 0 0-.513-.513 1.8 1.8 0 0 0-.807-.22c-.26 0-.508.09-.733.22-.216.12-.393.298-.514.513l-1.393 2.42L10.533 5.4c-.13-.223-.288-.458-.513-.587s-.474-.146-.733-.146c-.26 0-.509.018-.734.146-.24.146-.441.347-.586.587l-6.82 11.733c-.13.223-.147.476-.147.734 0 .257.017.51.147.733s.361.384.586.513c.225.13.474.22.734.22H7.6c2.034 0 3.515-.912 4.547-2.64l2.493-4.326 1.32-2.274 4.033 6.894H14.64zm-5.793-2.346H3.933l5.354-9.24L12 12.367l-1.797 3.132c-.687 1.122-1.468 1.488-2.676 1.488"},null,-1)])])}var s_={render:sT},sj=o({default:()=>sM,render:()=>sL}),sQ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sL(e,t){return(0,l.uX)(),(0,l.CE)("svg",sQ,[...t[0]||(t[0]=[(0,l.Fv)('<path fill="#93D500" d="M7.285 13.5H2.007l.003.077.009.15.004.063.014.171.004.039a8.8 8.8 0 0 0 .387 1.871q0 .005.003.011l.058.173.016.044.08.216.048.124a5 5 0 0 0 .078.189l.052.117.031.07.066.14.022.046.079.16.012.024q.045.088.093.175l.004.008.02.036 4.508-2.715.017-.01a3.6 3.6 0 0 1-.33-1.179"></path><path fill="#4D5A31" d="m8.582 15.923-.013.013-3.717 3.717.057.053.105.094.055.048.127.107.034.029a8 8 0 0 0 .324.254l.006.004q.336.252.695.47l.025.016.137.08.084.048.08.045q.072.04.145.078a8 8 0 0 0 .431.21l.132-.32 1.87-4.54.007-.017a3.6 3.6 0 0 1-.584-.389"></path><path fill="#6BA43A" d="M8.195 15.553a3 3 0 0 1-.212-.262 4 4 0 0 1-.2-.296L3.27 17.713q.104.174.215.338l.007.012.003.005.007.01v.002l.019.026.001.002q.119.174.242.342l.006.007.005.007.11.142.015.019q.057.073.117.145l.028.034.155.181.094.105.053.058.024.026.07.075.028.03.125.127 3.723-3.723a3 3 0 0 1-.122-.13"></path><path fill="#4D5A31" d="m13.13 15.921-.124.096.009.016 2.714 4.506a8 8 0 0 0 1.134-.886l-3.718-3.717z"></path><path fill="#93D500" d="m15.335 20.576-.092-.153-2.534-4.206a4 4 0 0 1-.316.167 3.6 3.6 0 0 1-2.567.2c-.057-.017-.113-.04-.169-.06s-.113-.037-.168-.06L7.62 21.003l-.073.178-.063.152.014.006.016.006.004.002.133.05.167.065.085.032a9 9 0 0 0 1.88.442l.075.008.142.016.036.003.174.014.06.004.153.01.094.003.122.004.217.003a9 9 0 0 0 1.495-.126l.154-.028.088-.017.09-.02.15-.032.028-.007a9 9 0 0 0 2.124-.791l.13-.074.157-.088.107-.06.001-.001.002-.001h.001l.001-.001.002-.001.006-.004.034-.02zm-6.75-10.21.123-.097-.009-.015-2.714-4.506q-.189.123-.372.256a9 9 0 0 0-.762.629L8.57 10.35z"></path><path fill="#4D5A31" d="M4.594 6.88q-.064.065-.124.13l-.123.128a9 9 0 0 0-.753.933l-.032.046-.076.112-.104.16a8.83 8.83 0 0 0-1.375 4.397l-.005.178-.003.179h5.266q.002-.09.008-.179c.006-.089.004-.119.01-.178a3.57 3.57 0 0 1 .794-1.917q.059-.069.12-.133c.04-.044.077-.09.12-.133L4.594 6.881Zm10.864-1.306q-.01-.008-.021-.013l-.14-.083-.082-.047-.082-.046-.143-.077-.023-.012a9 9 0 0 0-.95-.426l-.024-.01a9 9 0 0 0-1.987-.498l-.074-.01-.075-.008-.143-.016-.04-.004-.17-.014-.066-.004-.146-.009-.078-.003v5.278c.27.028.54.086.8.174l3.884-3.884a9 9 0 0 0-.44-.288"></path><path fill="#6BA43A" d="M10.679 4.29q-.09 0-.179.003a9 9 0 0 0-1.113.115l-.024.004-.155.029-.087.016a6 6 0 0 0-.24.052l-.028.006a9 9 0 0 0-2.125.792l-.13.074-.156.087-.115.066h-.002l-.008.005-.03.017v.001l.093.153 2.625 4.359a4 4 0 0 1 .316-.167 3.6 3.6 0 0 1 1.536-.35V4.285q-.09.001-.178.004Z"></path><path fill="#4D5A31" d="M19.704 12.708a10 10 0 0 0-.05-.61l-.002-.014-.001-.007-.027-.201v-.006a9 9 0 0 0-.273-1.245l-.002-.008-.059-.19-.008-.025-.057-.17-.016-.046-.054-.147-.027-.07a5 5 0 0 0-.086-.216l-.04-.094-.052-.12-.03-.068-.066-.142-.021-.043-.08-.162-.012-.022-.093-.177-.003-.006a9 9 0 0 0-.504-.818l-3.886 3.886q.132.392.174.8h5.278q0-.04-.003-.08Z"></path><path fill="#6BA43A" d="M14.45 13.143q-.002.09-.01.179-.001.09-.01.178a3.57 3.57 0 0 1-.793 1.918c-.037.046-.08.088-.12.133-.04.044-.077.09-.12.132l3.723 3.723q.063-.064.124-.13l.123-.128q.415-.448.754-.935l.027-.039.082-.12.07-.108.034-.052a8.83 8.83 0 0 0 1.377-4.573l.003-.178z"></path><path fill="#424143" d="M21.279 2.722a2.467 2.467 0 0 0-3.953 2.84l-5.374 5.373a2.467 2.467 0 1 0 1.114 1.113l5.373-5.373a2.466 2.466 0 0 0 2.84-3.953"></path>',10)])])}
1var sM={render:sL},sZ=o({default:()=>sI,render:()=>sX}),sU={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sX(e,t){return(0,l.uX)(),(0,l.CE)("svg",sU,[...t[0]||(t[0]=[(0,l.Lk)("path",{stroke:"#21FA90","stroke-linecap":"round","stroke-linejoin":"round",d:"M5.038 13.757v3.814m1.496-4.566 3.04 1.761 4.534-2.627V6.885L9.574 4.258 5.038 6.885v4.56m1.496 1.56v1.668m0-1.668 1.49-.91"},null,-1),(0,l.Lk)("path",{stroke:"#00050B","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":".885",d:"m21.719 10.719 1.839 1.09v1.09l-1.84 1.091M2.834 8.13.774 9.322v5.326l2.016 1.167m3.744 1.07v1.183l3.021 1.674 2.32-1.358-.02-2.471m2.282-1.387v1.3L16.31 17.1l3.175-1.9v-5.186L16.36 8.217"},null,-1)])])}var sI={render:sX},sB=o({default:()=>sD,render:()=>sW}),sq={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sW(e,t){return(0,l.uX)(),(0,l.CE)("svg",sq,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"#61DAFB",d:"M12.5 14.014a1.783 1.783 0 1 0 0-3.565 1.783 1.783 0 0 0 0 3.565"},null,-1),(0,l.Lk)("path",{stroke:"#61DAFB","stroke-width":".87",d:"M12.5 15.884c5.283 0 9.565-1.635 9.565-3.652S17.783 8.58 12.5 8.58s-9.565 1.635-9.565 3.652 4.282 3.652 9.565 3.652Z"},null,-1),(0,l.Lk)("path",{stroke:"#61DAFB","stroke-width":".87",d:"M9.337 14.058c2.642 4.575 6.199 7.466 7.946 6.457 1.746-1.008 1.021-5.534-1.62-10.11C13.02 5.832 9.464 2.94 7.717 3.949s-1.021 5.535 1.62 10.11Z"},null,-1),(0,l.Lk)("path",{stroke:"#61DAFB","stroke-width":".87",d:"M9.337 10.406c-2.641 4.575-3.366 9.1-1.62 10.11 1.747 1.008 5.304-1.883 7.946-6.458s3.366-9.101 1.62-10.11c-1.747-1.009-5.305 1.883-7.946 6.458Z"},null,-1)])])}var sD={render:sW},sN=o({default:()=>sz,render:()=>sF}),sV={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sF(e,t){return(0,l.uX)(),(0,l.CE)("svg",sV,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"currentColor",d:"m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.
1036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481"},null,-1)])])}var sz={render:sF},sH=o({default:()=>sK,render:()=>sG}),sY={xmlns:"http://www.w3.org/2000/svg",fill:"green",viewBox:"-2 0 24 24"};function sG(e,t){return(0,l.uX)(),(0,l.CE)("svg",sY,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"#FF3E00",d:"M18.664 3.171c-2.219-3.185-6.61-4.13-9.788-2.104L3.29 4.625A6.42 6.42 0 0 0 .398 8.917a6.74 6.74 0 0 0 .666 4.332 6.4 6.4 0 0 0-.959 2.369 6.85 6.85 0 0 0 1.166 5.175c2.219 3.194 6.61 4.137 9.782 2.11l5.586-3.557a6.42 6.42 0 0 0 2.892-4.292 6.74 6.74 0 0 0-.666-4.332 6.4 6.4 0 0 0 .959-2.369 6.94 6.94 0 0 0-1.16-5.182"},null,-1),(0,l.Lk)("path",{fill:"#fff",d:"M8.327 21.099a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122q.05-.261.133-.517l.105-.318.286.182a7.1 7.1 0 0 0 2.186 1.095l.208.063-.02.201c-.025.293.055.585.223.83a1.305 1.305 0 0 0 1.779.379l5.581-3.521a1.18 1.18 0 0 0 .524-.783 1.23 1.23 0 0 0-.211-.923 1.305 1.305 0 0 0-1.78-.379l-2.12 1.35q-.53.321-1.135.488a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122 3.84 3.84 0 0 1 1.736-2.573l5.581-3.559a4.3 4.3 0 0 1 1.134-.485 4.435 4.435 0 0 1 4.76 1.751c.641.908.893 2.03.7 3.122a4 4 0 0 1-.132.517l-.105.318-.287-.182a7.1 7.1 0 0 0-2.186-1.095l-.207-.063.019-.202a1.27 1.27 0 0 0-.223-.83 1.305 1.305 0 0 0-1.779-.378L6.6 9.363a1.18 1.18 0 0 0-.523.783c-.056.323.019.655.21.923a1.305 1.305 0 0 0 1.78.38l2.121-1.35c.352-.214.732-.38 1.134-.485a4.435 4.435 0 0 1 4.76 1.75 4.16 4.16 0 0 1 .7 3.122 3.8 3.8 0 0 1-1.736 2.563l-5.58 3.559c-.353.214-.732.38-1.135.489"},null,-1)])])}var sK={render:sG},sJ=o({default:()=>s2,render:()=>s1}),s0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function s1(e,t){return(0,l.uX)(),(0,l.CE)("svg",s0,[...t[0]||(t[0]=[(0,l.Lk)("path",{fill:"#41B883",d:"m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z"},null,-1),(0,l.Lk)("path",{fill:"#34495E",d:"m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z"},null,-1)])])}var s2={render:s1},s4=Object.assign({"../icons/Add.svg":s,"../icons/AddTab.svg":d,"../icons/Alert.svg":f,"../icons/ArrowLeft.svg":b,"../icons/ArrowRight.svg":w,"../icons/Brackets.svg":A,"../icons/Branch.svg":T,"../icons/Changelog.svg":L,"../icons/Checkmark.svg":X,"../icons/ChevronDown.svg":W,"../icons/ChevronLeft.svg":F,"../icons/ChevronRight.svg":G,"../icons/ChevronUp.svg":et,"../icons/Clipboard.svg":eo,"../icons/Close.svg":ec,"../icons/CloseTab.svg":em,"../icons/CloseTabs.svg":ev,"../icons/Cloud.svg":ek,"../icons/CodeFolder.svg":eC,"../icons/Cog.svg":eE,"../icons/Collection.svg":ej,"../icons/Cookie.svg":eZ,"../icons/DarkMode.svg":eB,"../icons/Delete.svg":eN,"../icons/Discord.svg":eH,"../icons/DocsPage.svg":eJ,"../icons/Download.svg":e4,"../icons/Duplicate.svg":e5,"../icons/Edit.svg":tt,"../icons/Ellipses.svg":to,"../icons/Email.svg":tc,"../icons/Error.svg":tm,"../icons/Example.svg":tv,"../icons/ExternalLink.svg":tk,"../icons/FilterList.svg":tC,"../icons/Folder.svg":tE,"../icons/GitHub.svg":tj,"../icons/GitHubLine.svg":tZ,"../icons/Globe.svg":tB,"../icons/Google.svg":tN,"../icons/Help.svg":tH,"../icons/Hide.svg":tJ,"../icons/History.svg":t4,"../icons/House.svg":t5,"../icons/Import.svg":at,"../icons/Info.svg":ao,"../icons/Key.svg":ac,"../icons/Leave.svg":am,"../icons/LightDarkModeToggle.svg":av,"../icons/LightMode.svg":ak,"../icons/Link.svg":aC,"../icons/Lock.svg":aE,"../icons/Logo.svg":aj,"../icons/Magic.svg":aZ,"../icons/Markdown.svg":aB,"../icons/Menu.svg":aN,"../icons/NotAllowed.svg":aH,"../icons/Page.svg":aJ,"../icons/Pencil.svg":a4,"../icons/Play.svg":a5,"../icons/Refresh.svg":rt,"../icons/R
1oadmap.svg":ro,"../icons/Scribble.svg":rc,"../icons/Search.svg":rm,"../icons/Server.svg":rv,"../icons/Settings.svg":rk,"../icons/Show.svg":rC,"../icons/Sort.svg":rE,"../icons/Terminal.svg":rj,"../icons/Trash.svg":rZ,"../icons/Unlock.svg":rB,"../icons/Unwatch.svg":rN,"../icons/Upload.svg":rH,"../icons/User.svg":rJ,"../icons/UserSwitch.svg":r4,"../icons/Users.svg":r5,"../icons/Versions.svg":nt,"../icons/Wallet.svg":no,"../icons/Watch.svg":nc,"../icons/Workspace.svg":nm,"../icons/programming-framework-angular.svg":nv,"../icons/programming-framework-astro.svg":nk,"../icons/programming-framework-laravel.svg":nC,"../icons/programming-framework-nextdotjs.svg":nE,"../icons/programming-framework-react.svg":nj,"../icons/programming-framework-vuedotjs.svg":nZ,"../icons/programming-language-c.svg":nB,"../icons/programming-language-clojure.svg":nN,"../icons/programming-language-csharp.svg":nH,"../icons/programming-language-css3.svg":nJ,"../icons/programming-language-dart.svg":n4,"../icons/programming-language-fsharp.svg":n5,"../icons/programming-language-go.svg":ot,"../icons/programming-language-html5.svg":oo,"../icons/programming-language-http.svg":oc,"../icons/programming-language-java.svg":om,"../icons/programming-language-javascript.svg":ov,"../icons/programming-language-json.svg":ok,"../icons/programming-language-julia.svg":oC,"../icons/programming-language-kotlin.svg":oE,"../icons/programming-language-node.svg":oj,"../icons/programming-language-objc.svg":oZ,"../icons/programming-language-ocaml.svg":oB,"../icons/programming-language-php.svg":oN,"../icons/programming-language-powershell.svg":oH,"../icons/programming-language-python.svg":oJ,"../icons/programming-language-r.svg":o4,"../icons/programming-language-ruby.svg":o5,"../icons/programming-language-rust.svg":lt,"../icons/programming-language-scala.svg":lo,"../icons/programming-language-shell.svg":lc,"../icons/programming-language-swift.svg":lm,"../icons/programming-language-typescript.svg":lv,"../icons/programming-script-code.svg":lk,"../icons/programming-tool-git.svg":lC,"../icons/programming-tool-tailwindcss.svg":lE}),s8=Object.assign({"../logos/Adonisjs.svg":lj,"../logos/Astro.svg":lZ,"../logos/Docusaurus.svg":lB,"../logos/Dotnet.svg":lN,"../logos/Elysiajs.svg":lH,"../logos/Express.svg":lJ,"../logos/Fastapi.svg":l4,"../logos/Fastify.svg":l5,"../logos/Go.svg":st,"../logos/Hono.svg":so,"../logos/Laravel.svg":sc,"../logos/Litestar.svg":sm,"../logos/Nestjs.svg":sv,"../logos/Nextjs.svg":sk,"../logos/Nitro.svg":sC,"../logos/Nuxt.svg":sE,"../logos/Openapi.svg":sj,"../logos/Platformatic.svg":sZ,"../logos/React.svg":sB,"../logos/Rust.svg":sN,"../logos/Svelte.svg":sH,"../logos/Vue.svg":sJ}),s3=a(36384),s6=a(8873),s5=a(56942),s7=a(61930),s9=a(10779),ie=(0,l.pM)({inheritAttrs:!1,__name:"ScalarIcon",props:{icon:{},logo:{},size:{},thickness:{},label:{}},setup(e){(0,s5.$9)(e=>({c07589c2:a.value}));let{cx:t}=(0,s6.AX)(),a=(0,l.EW)(()=>e.thickness??"2"),r=(0,l.EW)(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:"presentation"}),n=(0,l.EW)(()=>{var t,a;if(e.icon){let a;return t=e.icon,s4[a=`../icons/${t}.svg`]?s4[a]:(console.warn(`Could not find icon: ${t}`),null)}if(e.logo){let t;return a=e.logo,s8[t=`../logos/${a}.svg`]?s8[t]:(console.warn(`Could not find icon: ${a}`),null)}});return(a,o)=>((0,l.uX)(),(0,l.Wv)((0,l.$y)(n.value),(0,s7._B)((0,l.Ng)({...(0,s9.R1)(t)("scalar-icon",(0,s9.R1)(s3.H)({size:e.size})),...r.value})),null,16))}}),it=(0,r.A)(ie,[["__scopeId","data-v-b651bb23"]])},1767:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var r=a(72662),n=a(8873),o=a(38547),l=a(61930),s=a(10779),i={class:"custom-scroll min-h-0 flex-1"},c={class:"flex flex-col p-0.75"},u=(0,o.pM)({inheritAttrs:!1,__name:"ScalarDropdownMenu",props:{is:{}},setup(e){let{cx:t}=(0,n.AX)();return(a,n)=>((0,o.uX)(),(0,o.Wv)((0,o.$y)(e.is??"div"),(0,l._B)((0,o.Ng)((0,s.R1)(t)("relative flex w-56"))),{default:(0,o.k6)(()=>[(0,o.Lk)("div",i,[(0,o.RG)(a.$slots,"menu",{},()=>[(0,o.Lk)("div",c,[(0,o.RG)(a.$slots,"default")])]),(0,o.RG)(a.$slots,"backdrop",{},()=>[(0,o.bF)((0,s.R1)(r.A))])])]),_:3},16))}})},2829:(e,t,a)=>{"use strict";a.d(t,{x:()=>r});let r=e=>{let t=e.some(e=>Object.keys(e).length>1);return e.some(e=>0===Object.keys(e).length)&&!t}},3652:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconCopy",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V2
116a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M216,40V168H168V88H88V40Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M216,34H88a6,6,0,0,0-6,6V82H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H168a6,6,0,0,0,6-6V174h42a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34ZM162,210H46V94H162Zm48-48H174V88a6,6,0,0,0-6-6H94V46H210Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M216,36H88a4,4,0,0,0-4,4V84H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H168a4,4,0,0,0,4-4V172h44a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36ZM164,212H44V92H164Zm48-48H172V88a4,4,0,0,0-4-4H92V44H212Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},4356:(e,t,a)=>{"use strict";a.d(t,{N:()=>r,g:()=>n});let r={get:{short:"GET",colorClass:"text-blue",colorVar:"var(--scalar-color-blue)",backgroundColor:"bg-blue/10"},post:{short:"POST",colorClass:"text-green",colorVar:"var(--scalar-color-green)",backgroundColor:"bg-green/10"},put:{short:"PUT",colorClass:"text-orange",colorVar:"var(--scalar-color-orange)",backgroundColor:"bg-orange/10"},patch:{short:"PATCH",colorClass:"text-yellow",colorVar:"var(--scalar-color-yellow)",backgroundColor:"bg-yellow/10"},delete:{short:"DEL",colorClass:"text-red",colorVar:"var(--scalar-color-red)",backgroundColor:"bg-red/10"},options:{short:"OPTS",colorClass:"text-purple",colorVar:"var(--scalar-color-purple)",backgroundColor:"bg-purple/10"},head:{short:"HEAD",colorClass:"text-c-2",colorVar:"var(--scalar-color-2)",backgroundColor:"bg-c-2/10"},trace:{short:"TRACE",colorClass:"text-c-2",colorVar:"var(--scalar-color-2)",backgroundColor:"bg-c-2/10"}},n=e=>{let t=e.trim().toLowerCase();return r[t]??{short:t,color:"text-c-2",backgroundColor:"bg-c-2"}}},4406:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var r=a(38547),n=a(10779),o=a(61930),l=a(28900),s=a(40978),i=a(95876),c={key:0,class:"sr-only"},u=(0,r.pM)({__name:"ServerVariablesSelect",props:{enum:{},value:{},controls:{}},emits:["change"],setup(e,{emit:t}){let a=(0,r.EW)(()=>e.enum.map(e=>({id:e,label:e}))),u=(0,r.EW)({get:()=>a.value.find(t=>t.id===e.value),set:e=>t("change",e?.id??"")});return(t,d)=>((0,r.uX)(),(0,r.Wv)((0,n.R1)(s.cy),{modelValue:u.value,"onUpdate:modelValue":d[0]||(d[0]=e=>u.value=e),options:a.value},{default:(0,r.k6)(()=>[(0,r.bF)((0,n.R1)(l.R),{"aria-controls":e.controls,class:"group/button h-8 gap-1.5 p-1.5 text-base font-normal",variant:"ghost"},{default:(0,r.k6)(()=>[(0,r.Lk)("span",{class:(0,o.C4)({"text-c-1":e.value})},[e.value?((0,r.uX)(),(0,r.CE)("span",c," Selected: ")):(0,r.Q3)("",!0),(0,r.eW)(" "+(0,o.v_)(e.value||"Select value"),1)],2),(0,r.bF)((0,n.R1)(i.A),{weight:"bold",class:"mt-0.25 size-3 transition-transform duration-100 group-aria-expanded/button:rotate-180"})]),_:1},8,["aria-controls"])]),_:1},8,["modelValue","options"]))}}),d=a(56942),p=(0,r.pM)({__name:"ServerVariablesTextbox",props:{value:{},controls:{}},emits:["change"],setup(e,{emit:t}){let a=(0,r.EW)({get:()=>e.value,set:e=>t("change",e)});return(t,n)=>(0,r.bo)(((0,r.uX)(),(0,r.CE)("input",(0,r.v6)({"onUpdate:modelValue":n[0]||(n[0]=e=>a.value=e)},e.controls?{...t.$attrs,"aria-controls":e.controls}:{},{autocomplete:"off",class:"text-c-1 w-full border-transparent px-1.5 py-1.25 -outline-offset-1 group-last/label:rounded-br-lg",placeholder:"value",spellcheck:"false",type:"text"}),null,16)),[[d.Jo,a.value]])}}),m=["for"],h=(0,r.pM)({__name:"ServerVariablesForm",props:{variables:{},values:{},controls:{},layout:{default:"client"}},emits:["update:variable"],setup(e,{emit:t}){let a=(0,r.Bi)();function l(e,a){t("update:variable",e,a)}let s=t=>(e.values?.[t]??e.variables?.[t]?.default??"").toString();return(t,i)=>e.variables&&Object.keys(e.variables??{}).length?((0,r.uX)(!0),(0,r.CE)(r.FK,{key:0},(0,r.pI)(Object.keys(e.variables),t=>((0,r.uX)(),(0,r.CE)("div",{key:t,class:(0,o.C4)(["group/label flex h-8 w-full","reference"===e.layout&&"items-center border-x border-b last:rounded-b-lg"])},[(0,r.Lk)("label",{class:"flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']",for:`${(0,n.R1)(a)}-${t}`},(0,o.v_)(t),9,m),e.variables?.[t]?.enum?.length?((0,r.uX)(),(0,r.Wv)(u,{key:0,id:`${(0,n.R1)(a)}-${t}`,controls:e.controls,enum:e.variables[t]?.enum?.map(e=>`${e}`)??[],value:s(t),onChange:e=>l(t,e)},null,8,["id","controls","enum","value","onChange"])):((0,r.uX)(),(0,r.Wv)(p,{key:1,id:`${(0,n.R1)(a)}-${t}`,controls:e.controls,value:s(t),onChange:e=>l(t,e)},null,8,["id","controls","value","onChange"]))],2))),128)):(0,r.Q3)("",!0)}})},5131:(e,t,a)=>{"use strict";a.d(t,{Q:()=>r});let r={PROTOCOL:/^(?:https?|ftp|file|mailto|tel|data|wss?)*:\/\//,MULTIPLE_SLASHES:/(?<!:)\/{2,}/g,VARIABLES:/{{((?:[^{}]|{[^{}]*})*)}}/g,PATH:/(?:{)([^{}]+)}(?!})/g,REF_NAME:/\/([^\/]+)$/,TEMPLATE_VARIABLE:/{{\s*([^}\s]+?)\s*}}|{\s*([^}\s]+?)\s*}|:\b[\w.]+\b/g}},5342:(e,t,a)=>{"use strict";let r;a.d(t,{SM:()=>d,lF:()=>f}),"function"==typeof TextDecoder&&new TextDecoder("utf-8",{ignoreBOM:!0});let n="function"==typeof TextEncoder?new TextEncoder:void 0,o=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/="),l=(r={},o.forEach((e,t)=>r[e]=t),r),s=String.fromCharCode.bind(String),i=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_")),c="function"==typeof btoa?e=>btoa(e):e=>{let t,a,r,n,l="",s=e.length%3;for(let s=0;s<e.length;){if((a=e.charCodeAt(s++))>255||(r=e.charCodeAt(s++))>255||(n=e.charCodeAt(s++))>255)throw TypeError("invalid character found");l+=o[(t=a<<16|r<<8|n)>>18&63]+o[t>>12&63]+o[t>>6&63]+o[63&t]}return s?l.slice(0,s-3)+"===".substring(s):l},u="function"==typeof Uint8Array.prototype.toBase64?e=>e.toBase64():e=>{let t=[];for(let a=0,r=e.length;a<r;a+=4096)t.push(s.apply(null,e.subarray(a,a+4096)));return c(t.join(""))},d=(e,t=!1)=>t?i(u(e)):u(e),p=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?s(192|t>>>6)+s(128|63&t):s(224|t>>>12&15)+s(128|t>>>6&63)+s(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return s(240|t>>>18&7)+s(128|t>>>12&63)+s(128|t>>>6&63)+s(128|63&t)},m=/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\x00-\x7F]/g,h=n?e=>u(n.encode(e)):e=>c(e.replace(m,p)),f=(e,t=!1)=>t?i(h(e)):h(e);Uint8Array.fromBase64},5356:(e,t,a)=>{"use strict";a.d(t,{L:()=>o});let r=["localhost","127.0.0.1","[::1]","0.0.0.0"],n=["test","example","invalid","localhost"];function o(e){try{let{hostname:t}=new URL(e);if(r.includes(t))return!0;let a=t.split(".").pop();if(a&&n.includes(a))return!0;return!1}catch{return!0}}},5412:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconPlus",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},5582:(e,t,a)=>{"use strict";a.d(t,{A:()=>g});var r=a(348),n=a(38547),o=a(10779),l=a(61930),s=a(37862),i=a(41283),c=["aria-labelledby"],u={class:"text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]"},d=["id"],p={key:0,class:"sr-only"},m={key:0,class:"bg-b-2 text-c-2 inline-flex h-5 w-5 items-center justify-center rounded-full border text-xs font-semibold"},h={class:"sr-only"},f={key:0,class:"ui-not-open:hidden flex items-center gap-2 pr-0.75"},g=(0,n.pM)({name:"CollapsibleSection",props:{defaultOpen:{type:Boolean,default:!0},itemCount:{default:0},isStatic:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){let a=(0,n.Bi)();return(g,v)=>((0,n.uX)(),(0,n.Wv)((0,o.R1)(i.EN),{as:"div",class:(0,l.C4)(["group/collapse text-c-2 focus-within:text-c-1 last:ui-open:border-b-0",{"last-of-type:first-of-type:border-b-0":e.isStatic,"border-b":!e.isStatic}]),defaultOpen:e.defaultOpen,static:e.isStatic},{default:(0,n.k6)(({open:y})=>[(0,n.bF)(r.A,{value:y,onChange:v[0]||(v[0]=e=>t("update:modelValue",e))},null,8,["value"]),(0,n.Lk)("section",{"aria-labelledby":(0,o.R1)(a),class:"contents"},[(0,n.Lk)("div",{class:(0,l.C4)(["bg-b-2 flex items-center",e.isStatic&&"rounded-t-xl border-x border-t"])},[(0,n.bF)((0,o.R1)(i._q),{class:(0,l.C4)(["hover:text-c-1 group box-content flex max-h-8 flex-1 items-center gap-2.5 overflow-hidden px-1 py-1.5 text-base font-medium outline-none md:px-1.5 xl:pr-0.5 xl:pl-2",e.isStatic&&"!pl-3"]),disabled:e.isStatic},{default:(0,n.k6)(()=>[e.isStatic?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)((0,o.R1)(s.k),{key:0,class:"text-c-3 group-hover:text-c-1 rounded-px ui-open:rotate-90 ui-not-open:rotate-0 outline-offset-2 group-focus-visible:outline",icon:"ChevronRight",size:"md"})),(0,n.Lk)("h2",u,[(0,n.Lk)("span",{id:(0,o.R1)(a),class:"contents"},[(0,n.RG)(g.$slots,"title",{open:y}),y?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("span",p," (Collapsed) "))],8,d),!y&&e.itemCount?((0,n.uX)(),(0,n.CE)("span",m,[(0,n.eW)((0,l.v_)(e.itemCount)+" ",1),(0,n.Lk)("span",h,"Item"+(0,l.v_)(1===e.itemCount?"":"s"),1)])):(0,n.Q3)("",!0)])]),_:2},1032,["class","disabled"]),g.$slots.actions?((0,n.uX)(),(0,n.CE)("div",f,[(0,n.RG)(g.$slots,"actions",{open:y})])):(0,n.Q3)("",!0)],2),(0,n.bF)((0,o.R1)(i.kS),(0,n.v6)(g.$attrs,{class:"diclosure-panel h-full max-h-fit roun
1ded-b"}),{default:(0,n.k6)(()=>[(0,n.RG)(g.$slots,"default",{open:y})]),_:2},1040)],8,c)]),_:3},8,["class","defaultOpen","static"]))}})},6518:(e,t,a)=>{"use strict";a.d(t,{$w:()=>r,AP:()=>o,NO:()=>l,uh:()=>i,uj:()=>n,vp:()=>s});let r="x-scalar-cookie",n="x-scalar-set-cookie",o="x-scalar-user-agent",l="x-scalar-date",s="x-scalar-dnt",i="x-scalar-referer"},6798:(e,t,a)=>{"use strict";a.d(t,{s_:()=>i});var r={decodeValues:!0,map:!1,silent:!1,split:"auto"};function n(e){return"string"!=typeof e||e in{}}function o(){return Object.create(null)}function l(e){return"string"==typeof e&&!!e.trim()}function s(e,t){var a,s,i,c,u=e.split(";").filter(l),d=(a=u.shift(),s="",i="",(c=a.split("=")).length>1?(s=c.shift(),i=c.join("=")):i=a,{name:s,value:i}),p=d.name,m=d.value;if(t=t?Object.assign({},r,t):r,n(p))return null;try{m=t.decodeValues?decodeURIComponent(m):m}catch(e){console.error("set-cookie-parser: failed to decode cookie value. Set options.decodeValues=false to disable decoding.",e)}var h=o();return h.name=p,h.value=m,u.forEach(function(e){var t=e.split("="),a=t.shift().trimLeft().toLowerCase();if(!n(a)){var r=t.join("=");if("expires"===a)h.expires=new Date(r);else if("max-age"===a){var o=parseInt(r,10);Number.isNaN(o)||(h.maxAge=o)}else"secure"===a?h.secure=!0:"httponly"===a?h.httpOnly=!0:"samesite"===a?h.sameSite=r:"partitioned"===a?h.partitioned=!0:a&&(h[a]=r)}}),h}function i(e,t){if(t=t?Object.assign({},r,t):r,!e)if(!t.map)return[];else return o();if(e.headers)if("function"==typeof e.headers.getSetCookie)e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var a=e.headers[Object.keys(e.headers).find(function(e){return"set-cookie"===e.toLowerCase()})];a||!e.headers.cookie||t.silent||console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=a}var i=t.split,u=Array.isArray(e);if("auto"===i&&(i=!u),u||(e=[e]),e=e.filter(l),i&&(e=e.map(c).flat()),!t.map)return e.map(function(e){return s(e,t)}).filter(Boolean);var d=o();return e.reduce(function(e,a){var r=s(a,t);return r&&!n(r.name)&&(e[r.name]=r),e},d)}function c(e){if(Array.isArray(e))return e;if("string"!=typeof e)return[];var t,a,r,n,o,l=[],s=0;function i(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;i();)if(","===(a=e.charAt(s))){for(r=s,s+=1,i(),n=s;s<e.length&&"="!==(a=e.charAt(s))&&";"!==a&&","!==a;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=n,l.push(e.substring(t,r)),t=s):s=r+1}else s+=1;(!o||s>=e.length)&&l.push(e.substring(t,e.length))}return l}i.parseSetCookie=i,i.parse=i,i.parseString=s,i.splitCookiesString=c},6802:(e,t,a)=>{"use strict";a.d(t,{O:()=>r,f:()=>n});let r=e=>{if(e&&"object"==typeof e&&e.$id&&"string"==typeof e.$id)return e.$id},n=(e,t="",a=[],o=new Map,l=new WeakSet)=>{if("object"!=typeof e||null===e||l.has(e))return o;l.add(e);let s=r(e);s&&o.set(s,a.join("/"));let i=s??t;for(let t in e.$anchor&&"string"==typeof e.$anchor&&o.set(`${i}#${e.$anchor}`,a.join("/")),e)"object"==typeof e[t]&&null!==e[t]&&n(e[t],i,[...a,t],o,l);return o}},6962:(e,t,a)=>{"use strict";a.d(t,{Jt:()=>s,vl:()=>i});var r=a(31354),n=a(96466),o=a(9085);class l extends o.i{}function*s(e){return"and"===e.type?yield*function*(e){return yield*function* e(t){if(1===t.length)return yield*t[0];for(let a of t[0])for(let r of e(t.slice(1)))yield`${a}${r}`}(e.expr.map(e=>[...s(e)]))}(e):"or"===e.type?yield*function*(e){for(let t of e.expr)yield*s(t)}(e):"const"===e.type?yield*function*(e){return yield e.const}(e):(()=>{throw new l("Unknown expression")})()}function i(e){let t=(0,n.gL)(e.pattern);return(0,r.vu)(t)?[...s(t)]:[]}},6974:(e,t,a)=>{"use strict";function r(e,t,...a){if(e in t){let r=t[e];return"function"==typeof r?r(...a):r}let n=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,r),n}a.d(t,{Y:()=>r})},7041:(e,t,a)=>{"use strict";a.d(t,{L$:()=>u,O$:()=>c,ic:()=>o,pn:()=>s});var r=a(42694),n=a(92412);let o=r.ZU.Object({name:r.ZU.String(),value:r.ZU.Union([r.ZU.Object({description:r.ZU.Optional(r.ZU.String()),default:r.ZU.String({default:""})}
1),r.ZU.String()])}),l=(0,n.Ik)({name:(0,n.Yj)(),value:(0,n.KC)([(0,n.Ik)({description:(0,n.lq)((0,n.Yj)()),default:(0,n.Yj)()}),(0,n.Yj)()])},{typeName:"XScalarEnvVar"}),s=r.ZU.Object({description:r.ZU.Optional(r.ZU.String()),color:r.ZU.String({default:"#FFFFFF"}),variables:r.ZU.Array(o)}),i=(0,n.Ik)({description:(0,n.lq)((0,n.Yj)()),color:(0,n.Yj)({typeComment:"Color for the environment"}),variables:(0,n.YO)(l,{typeComment:"An array of variables"})},{typeName:"XScalarEnvironment",typeComment:"A map of environments by name"}),c=r.ZU.Object({"x-scalar-environments":r.ZU.Optional(r.ZU.Record(r.ZU.String(),s))}),u=(0,n.Ik)({"x-scalar-environments":(0,n.lq)((0,n.g1)((0,n.Yj)(),i))},{typeName:"XScalarEnvironments",typeComment:"A record of environments by name"})},7228:(e,t,a)=>{"use strict";a.d(t,{Sr:()=>r,cQ:()=>o});let r={BUILDING_REQUEST_FAILED:"An error occurred while building the request",DEFAULT:"An unknown error has occurred.",INVALID_URL:"The URL seems to be invalid. Try adding a valid URL.",INVALID_URL_PROTOCOL:"The URL must start with http:// or https://.",INVALID_HEADER:"There is an invalid header present, please double check your params.",MISSING_FILE:"File uploads are not saved in history, you must re-upload the file.",REQUEST_ABORTED:"The request has been cancelled",REQUEST_FAILED:"An error occurred while making the request",URL_EMPTY:"The address bar input seems to be empty. Try adding a URL.",ON_BEFORE_REQUEST_FAILED:"onBeforeRequest request hook failed"},n=e=>"Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'."===e?r.MISSING_FILE:"Failed to construct 'URL': Invalid URL"===e?r.INVALID_URL:e.includes("Invalid URL protocol")?r.INVALID_URL_PROTOCOL:"Failed to execute 'fetch' on 'Window': Invalid name"===e?r.INVALID_HEADER:e,o=(e,t=r.DEFAULT)=>(console.error(e),e instanceof Error)?(e.message=n(e.message),e):"string"==typeof e?Error(n(e)):Error(t)},8348:()=>{},8544:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconX",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},8669:(e,t,a)=>{"use strict";a.d(t,{X:()=>s,k:()=>o});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-enumDescriptions":r.ZU.Optional(r.ZU.Union([r.ZU.Record(r.ZU.String(),r.ZU.Str
1ing()),r.ZU.Array(r.ZU.String())])),"x-enum-descriptions":r.ZU.Optional(r.ZU.Union([r.ZU.Record(r.ZU.String(),r.ZU.String()),r.ZU.Array(r.ZU.String())]))}),l=(0,n.KC)([(0,n.g1)((0,n.Yj)(),(0,n.Yj)()),(0,n.YO)((0,n.Yj)())]),s=(0,n.Ik)({"x-enumDescriptions":(0,n.lq)(l),"x-enum-descriptions":(0,n.lq)(l)},{typeName:"XEnumDescriptions",typeComment:"Descriptions for enum values"})},8726:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>i,interface_content_folder_exports:()=>o,render:()=>s});var r=Object.defineProperty,n=a(38547),o=(e=>{let t={};for(var a in e)r(t,a,{get:e[a],enumerable:!0});return r(t,Symbol.toStringTag,{value:"Module"}),t})({default:()=>i,render:()=>s}),l={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"};function s(e,t){return(0,n.uX)(),(0,n.CE)("svg",l,[...t[0]||(t[0]=[(0,n.Lk)("path",{d:"M216 72h-85.33l-27.74-20.8a16.12 16.12 0 0 0-9.6-3.2H40a16 16 0 0 0-16 16v136a16 16 0 0 0 16 16h176.89A15.13 15.13 0 0 0 232 200.89V88a16 16 0 0 0-16-16m0 128H40V64h53.33l29.87 22.4A8 8 0 0 0 128 88h88Z"},null,-1)])])}var i={render:s}},8873:(e,t,a)=>{"use strict";a.d(t,{Fj:()=>eC,cx:()=>e$,AX:()=>eE});var r=a(71623);let n=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=e=>{let t=function(){for(var t,a,n=arguments.length,o=Array(n),l=0;l<n;l++)o[l]=arguments[l];return void 0!==(null==e||null==(t=e.hooks)?void 0:t["cx:done"])?null==e?void 0:e.hooks["cx:done"]((0,r.$)(o)):void 0!==(null==e||null==(a=e.hooks)?void 0:a.onComplete)?null==e?void 0:e.hooks.onComplete((0,r.$)(o)):(0,r.$)(o)};return{compose:function(){for(var e=arguments.length,a=Array(e),r=0;r<e;r++)a[r]=arguments[r];return e=>{let r=Object.fromEntries(Object.entries(e||{}).filter(e=>{let[t]=e;return!["class","className"].includes(t)}));return t(a.map(e=>e(r)),null==e?void 0:e.class,null==e?void 0:e.className)}},cva:e=>a=>{var r;if((null==e?void 0:e.variants)==null)return t(null==e?void 0:e.base,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:o,defaultVariants:l}=e,s=Object.keys(o).map(e=>{let t=null==a?void 0:a[e],r=null==l?void 0:l[e],s=n(t)||n(r);return o[e][s]}),i={...l,...a&&Object.entries(a).reduce((e,t)=>{let[a,r]=t;return void 0===r?e:{...e,[a]:r}},{})},c=null==e||null==(r=e.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:a,className:r,...n}=t;return Object.entries(n).every(e=>{let[t,a]=e,r=i[t];return Array.isArray(a)?a.includes(r):r===a})?[...e,a,r]:e},[]);return t(null==e?void 0:e.base,s,c,null==a?void 0:a.class,null==a?void 0:a.className)},cx:t}},{compose:l,cva:s,cx:i}=o(),c=(e=new Map,t=null,a)=>({nextPart:e,validators:t,classGroupId:a}),u=[],d=(e,t,a)=>{if(0==e.length-t)return a.classGroupId;let r=e[t],n=a.nextPart.get(r);if(n){let a=d(e,t+1,n);if(a)return a}let o=a.validators;if(null===o)return;let l=0===t?e.join("-"):e.slice(t).join("-"),s=o.length;for(let e=0;e<s;e++){let t=o[e];if(t.validator(l))return t.classGroupId}},p=(e,t)=>{let a=c();for(let r in e)m(e[r],a,r,t);return a},m=(e,t,a,r)=>{let n=e.length;for(let o=0;o<n;o++)h(e[o],t,a,r)},h=(e,t,a,r)=>{"string"==typeof e?f(e,t,a):"function"==typeof e?g(e,t,a,r):v(e,t,a,r)},f=(e,t,a)=>{(""===e?t:y(t,e)).classGroupId=a},g=(e,t,a,r)=>{b(e)?m(e(r),t,a,r):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:a,validator:e}))},v=(e,t,a,r)=>{let n=Object.entries(e),o=n.length;for(let e=0;e<o;e++){let[o,l]=n[e];m(l,y(t,o),a,r)}},y=(e,t)=>{let a=e,r=t.split("-"),n=r.length;for(let e=0;e<n;e++){let t=r[e],n=a.nextPart.get(t);n||(n=c(),a.nextPart.set(t,n)),a=n}return a},b=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,O=[],k=(e,t,a,r,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:a,maybePostfixModifierPosition:r,isExternal:n}),x=/\s+/,w=e=>{let t;if("string"==typeof e)return e;let a="";for(let r=0;r<e.length;r++)e[r]&&(t=w(e[r]))&&(a&&(a+=" "),a+=t);return a},S=(e,...t)=>{let a,r,n,o,l=e=>{let t=r(e);if(t)return t;let o=((e,t)=>{let{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:o}=t,l=[],s=e.trim().split(x),i="";for(let e=s.length-1;e>=0;e-=1){let t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:m}=a(t);if(c){i=t+(i.length>0?" "+i:i);continue}let h=!!m,f=r(h?p.substring(0,m):p);if(!f){if(!h||!(f=r(p))){i=t+(i.length>0?" "+i:i);continue}h=!1}let g=0===u.length?"":1===u.length?u[0]:o(u).join(":"),v=d?g+"!":g,y=v+f;if(l.indexOf(y)>-1)continue;l.push(y);let b=n(f,h);for(let e=0;e<b.length;++e){let t=b[e];l.push(v+t)}i=t+(i.length>0?" "+i:i)}return i})(e,a);return n(e,o),o};return o=s=>{var i;let c;return r=(a={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,a=Object.create(null),r=Object.create(null),n=(n,o)=>{a[n]=o,++t>e&&(t=0,r=a,a=Object.create(null))};return{get(e){let t=a[e];return void 0!==t?t:void 0!==(t=r[e])?(n(e,t),t):void 0},set(e,t){e in a?a[e]=t:n(e,t)}}})((i=t.reduce((e,t)=>
1t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:a}=e,r=e=>{let t,a=[],r=0,n=0,o=0,l=e.length;for(let s=0;s<l;s++){let l=e[s];if(0===r&&0===n){if(":"===l){a.push(e.slice(o,s)),o=s+1;continue}if("/"===l){t=s;continue}}"["===l?r++:"]"===l?r--:"("===l?n++:")"===l&&n--}let s=0===a.length?e:e.slice(o),i=s,c=!1;return s.endsWith("!")?(i=s.slice(0,-1),c=!0):s.startsWith("!")&&(i=s.slice(1),c=!0),k(a,c,i,t&&t>o?t-o:void 0)};if(t){let e=t+":",a=r;r=t=>t.startsWith(e)?a(t.slice(e.length)):k(O,!1,t,void 0,!0)}if(a){let e=r;r=t=>a({className:t,parseClassName:e})}return r})(i),sortModifiers:(c=new Map,i.orderSensitiveModifiers.forEach((e,t)=>{c.set(e,1e6+t)}),e=>{let t=[],a=[];for(let r=0;r<e.length;r++){let n=e[r],o="["===n[0],l=c.has(n);o||l?(a.length>0&&(a.sort(),t.push(...a),a=[]),t.push(n)):a.push(n)}return a.length>0&&(a.sort(),t.push(...a)),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:a}=e;return p(a,t)})(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var a;let t,r,n;return -1===(a=e).slice(1,-1).indexOf(":")?void 0:(r=(t=a.slice(1,-1)).indexOf(":"),(n=t.slice(0,r))?"arbitrary.."+n:void 0)}let r=e.split("-"),n=+(""===r[0]&&r.length>1);return d(r,n,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],n=a[e];if(t){if(n){let e=Array(n.length+t.length);for(let t=0;t<n.length;t++)e[t]=n[t];for(let a=0;a<t.length;a++)e[n.length+a]=t[a];return e}return t}return n||u}return a[e]||u}}})(i)}).cache.get,n=a.cache.set,o=l,l(s)},(...e)=>o(((...e)=>{let t,a,r=0,n="";for(;r<e.length;)(t=e[r++])&&(a=w(t))&&(n&&(n+=" "),n+=a);return n})(...e))},C=[],$=e=>{let t=t=>t[e]||C;return t.isThemeGetter=!0,t},A=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,R=/^\((?:(\w[\w-]*):)?(.+)\)$/i,E=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,P=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,T=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,j=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Q=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,L=e=>E.test(e),M=e=>!!e&&!Number.isNaN(Number(e)),Z=e=>!!e&&Number.isInteger(Number(e)),U=e=>e.endsWith("%")&&M(e.slice(0,-1)),X=e=>P.test(e),I=()=>!0,B=e=>T.test(e)&&!_.test(e),q=()=>!1,W=e=>j.test(e),D=e=>Q.test(e),N=e=>!F(e)&&!et(e),V=e=>ec(e,em,q),F=e=>A.test(e),z=e=>ec(e,eh,B),H=e=>ec(e,ef,M),Y=e=>ec(e,ev,I),G=e=>ec(e,eg,q),K=e=>ec(e,ed,q),J=e=>ec(e,ep,D),ee=e=>ec(e,ey,W),et=e=>R.test(e),ea=e=>eu(e,eh),er=e=>eu(e,eg),en=e=>eu(e,ed),eo=e=>eu(e,em),el=e=>eu(e,ep),es=e=>eu(e,ey,!0),ei=e=>eu(e,ev,!0),ec=(e,t,a)=>{let r=A.exec(e);return!!r&&(r[1]?t(r[1]):a(r[2]))},eu=(e,t,a=!1)=>{let r=R.exec(e);return!!r&&(r[1]?t(r[1]):a)},ed=e=>"position"===e||"percentage"===e,ep=e=>"image"===e||"url"===e,em=e=>"length"===e||"size"===e||"bg-size"===e,eh=e=>"length"===e,ef=e=>"number"===e,eg=e=>"family-name"===e,ev=e=>"number"===e||"weight"===e,ey=e=>"shadow"===e,eb=()=>{let e=$("color"),t=$("font"),a=$("text"),r=$("font-weight"),n=$("tracking"),o=$("leading"),l=$("breakpoint"),s=$("container"),i=$("spacing"),c=$("radius"),u=$("shadow"),d=$("inset-shadow"),p=$("text-shadow"),m=$("drop-shadow"),h=$("blur"),f=$("perspective"),g=$("aspect"),v=$("ease"),y=$("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...O(),et,F],x=()=>["auto","hidden","clip","visible","scroll"],w=()=>["auto","contain","none"],S=()=>[et,F,i],C=()=>[L,"full","auto",...S()],A=()=>[Z,"none","subgrid",et,F],R=()=>["auto",{span:["full",Z,et,F]},Z,et,F],E=()=>[Z,"auto",et,F],P=()=>["auto","min","max","fr",et,F],T=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],_=()=>["start","end","center","stretch","center-safe","end-safe"],j=()=>["auto",...S()],Q=()=>[L,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],B=()=>[L,"screen","full","dvw","lvw","svw","min","max","fit",...S()],q=()=>[L,"screen","full","lh","dvh","lvh","svh","min","max","fit",...S()],W=()=>[e,et,F],D=()=>[...O(),en,K,{position:[et,F]}],ec=()=>["no-repeat",{repeat:["","x","y","space","round"]}],eu=()=>["auto","cover","contain",eo,V,{size:[et,F]}],ed=()=>[U,ea,z],ep=()=>["","none","full",c,et,F],em=()=>["",M,ea,z],eh=()=>["solid","dashed","dotted","double"],ef=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],eg=()=>[M,U,en,K],ev=()=>["","none",h,et,F],ey=()=>["none",M,et,F],eb=()=>["none",M,et,F],eO=()=>
vendor: 6,711 bytes, line 1
1[M,et,F],ek=()=>[L,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[X],breakpoint:[X],color:[I],container:[X],"drop-shadow":[X],ease:["in","out","in-out"],font:[N],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[X],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[X],shadow:[X],spacing:["px",M],text:[X],"text-shadow":[X],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",L,F,et,g]}],container:["container"],columns:[{columns:[M,F,et,s]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:x()}],"overflow-x":[{"overflow-x":x()}],"overflow-y":[{"overflow-y":x()}],overscroll:[{overscroll:w()}],"overscroll-x":[{"overscroll-x":w()}],"overscroll-y":[{"overscroll-y":w()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{"inset-s":C(),start:C()}],end:[{"inset-e":C(),end:C()}],"inset-bs":[{"inset-bs":C()}],"inset-be":[{"inset-be":C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[Z,"auto",et,F]}],basis:[{basis:[L,"full","auto",s,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[M,L,"auto","initial","none",F]}],grow:[{grow:["",M,et,F]}],shrink:[{shrink:["",M,et,F]}],order:[{order:[Z,"first","last","none",et,F]}],"grid-cols":[{"grid-cols":A()}],"col-start-end":[{col:R()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":A()}],"row-start-end":[{row:R()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":P()}],"auto-rows":[{"auto-rows":P()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...T(),"normal"]}],"justify-items":[{"justify-items":[..._(),"normal"]}],"justify-self":[{"justify-self":["auto",..._()]}],"align-content":[{content:["normal",...T()]}],"align-items":[{items:[..._(),{baseline:["","last"]}]}],"align-self":[{self:["auto",..._(),{baseline:["","last"]}]}],"place-content":[{"place-content":T()}],"place-items":[{"place-items":[..._(),"baseline"]}],"place-self":[{"place-self":["auto",..._()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pbs:[{pbs:S()}],pbe:[{pbe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mbs:[{mbs:j()}],mbe:[{mbe:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:Q()}],"inline-size":[{inline:["auto",...B()]}],"min-inline-size":[{"min-inline":["auto",...B()]}],"max-inline-size":[{"max-inline":["none",...B()]}],"block-size":[{block:["auto",...q()]}],"min-block-size":[{"min-block":["auto",...q()]}],"max-block-size":[{"max-block":["none",...q()]}],w:[{w:[s,"screen",...Q()]}],"min-w":[{"min-w":[s,"screen","none",...Q()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[l]},...Q()]}],h:[{h:["screen","lh",...Q()]}],"min-h":[{"min-h":["screen","lh","none",...Q()]}],"max-h":[{"max-h":["screen","lh",...Q()]}],"font-size":[{text:["base",a,ea,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ei,Y]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",U,F]}],"font-family":[{font:[er,G,t]}],"font-features":[{"font-features":[F]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,et,F]}],"line-clamp":[{"line-clamp":[M,"none",et,H]}],leading:[{leading:[o,...S()]}],"list-image":[{"list-image":["none",et,F]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",et,F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:W()}],"text-color":[{text:W()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...eh(),"wavy"]}],"text-decoration-thickness":[{decoration:[M,"from-font","auto",et,z]}],"text-decoration-color":[{decoration:W()}],"underline-offset":[{"underline-offset":[M,"auto",et,F]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",et,F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",et,F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:D()}],"bg-repeat":[{bg:ec()}],"bg-size":[{bg:eu()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Z,et,F],radial:["",et,F],conic:[Z,et,F]},el,J]}],"bg-color":[{bg:W()}],"gradient-from-pos":[{from:ed()}
vendor: 7,351 bytes, line 1
1],"gradient-via-pos":[{via:ed()}],"gradient-to-pos":[{to:ed()}],"gradient-from":[{from:W()}],"gradient-via":[{via:W()}],"gradient-to":[{to:W()}],rounded:[{rounded:ep()}],"rounded-s":[{"rounded-s":ep()}],"rounded-e":[{"rounded-e":ep()}],"rounded-t":[{"rounded-t":ep()}],"rounded-r":[{"rounded-r":ep()}],"rounded-b":[{"rounded-b":ep()}],"rounded-l":[{"rounded-l":ep()}],"rounded-ss":[{"rounded-ss":ep()}],"rounded-se":[{"rounded-se":ep()}],"rounded-ee":[{"rounded-ee":ep()}],"rounded-es":[{"rounded-es":ep()}],"rounded-tl":[{"rounded-tl":ep()}],"rounded-tr":[{"rounded-tr":ep()}],"rounded-br":[{"rounded-br":ep()}],"rounded-bl":[{"rounded-bl":ep()}],"border-w":[{border:em()}],"border-w-x":[{"border-x":em()}],"border-w-y":[{"border-y":em()}],"border-w-s":[{"border-s":em()}],"border-w-e":[{"border-e":em()}],"border-w-bs":[{"border-bs":em()}],"border-w-be":[{"border-be":em()}],"border-w-t":[{"border-t":em()}],"border-w-r":[{"border-r":em()}],"border-w-b":[{"border-b":em()}],"border-w-l":[{"border-l":em()}],"divide-x":[{"divide-x":em()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":em()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...eh(),"hidden","none"]}],"divide-style":[{divide:[...eh(),"hidden","none"]}],"border-color":[{border:W()}],"border-color-x":[{"border-x":W()}],"border-color-y":[{"border-y":W()}],"border-color-s":[{"border-s":W()}],"border-color-e":[{"border-e":W()}],"border-color-bs":[{"border-bs":W()}],"border-color-be":[{"border-be":W()}],"border-color-t":[{"border-t":W()}],"border-color-r":[{"border-r":W()}],"border-color-b":[{"border-b":W()}],"border-color-l":[{"border-l":W()}],"divide-color":[{divide:W()}],"outline-style":[{outline:[...eh(),"none","hidden"]}],"outline-offset":[{"outline-offset":[M,et,F]}],"outline-w":[{outline:["",M,ea,z]}],"outline-color":[{outline:W()}],shadow:[{shadow:["","none",u,es,ee]}],"shadow-color":[{shadow:W()}],"inset-shadow":[{"inset-shadow":["none",d,es,ee]}],"inset-shadow-color":[{"inset-shadow":W()}],"ring-w":[{ring:em()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:W()}],"ring-offset-w":[{"ring-offset":[M,z]}],"ring-offset-color":[{"ring-offset":W()}],"inset-ring-w":[{"inset-ring":em()}],"inset-ring-color":[{"inset-ring":W()}],"text-shadow":[{"text-shadow":["none",p,es,ee]}],"text-shadow-color":[{"text-shadow":W()}],opacity:[{opacity:[M,et,F]}],"mix-blend":[{"mix-blend":[...ef(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ef()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[M]}],"mask-image-linear-from-pos":[{"mask-linear-from":eg()}],"mask-image-linear-to-pos":[{"mask-linear-to":eg()}],"mask-image-linear-from-color":[{"mask-linear-from":W()}],"mask-image-linear-to-color":[{"mask-linear-to":W()}],"mask-image-t-from-pos":[{"mask-t-from":eg()}],"mask-image-t-to-pos":[{"mask-t-to":eg()}],"mask-image-t-from-color":[{"mask-t-from":W()}],"mask-image-t-to-color":[{"mask-t-to":W()}],"mask-image-r-from-pos":[{"mask-r-from":eg()}],"mask-image-r-to-pos":[{"mask-r-to":eg()}],"mask-image-r-from-color":[{"mask-r-from":W()}],"mask-image-r-to-color":[{"mask-r-to":W()}],"mask-image-b-from-pos":[{"mask-b-from":eg()}],"mask-image-b-to-pos":[{"mask-b-to":eg()}],"mask-image-b-from-color":[{"mask-b-from":W()}],"mask-image-b-to-color":[{"mask-b-to":W()}],"mask-image-l-from-pos":[{"mask-l-from":eg()}],"mask-image-l-to-pos":[{"mask-l-to":eg()}],"mask-image-l-from-color":[{"mask-l-from":W()}],"mask-image-l-to-color":[{"mask-l-to":W()}],"mask-image-x-from-pos":[{"mask-x-from":eg()}],"mask-image-x-to-pos":[{"mask-x-to":eg()}],"mask-image-x-from-color":[{"mask-x-from":W()}],"mask-image-x-to-color":[{"mask-x-to":W()}],"mask-image-y-from-pos":[{"mask-y-from":eg()}],"mask-image-y-to-pos":[{"mask-y-to":eg()}],"mask-image-y-from-color":[{"mask-y-from":W()}],"mask-image-y-to-color":[{"mask-y-to":W()}],"mask-image-radial":[{"mask-radial":[et,F]}],"mask-image-radial-from-pos":[{"mask-radial-from":eg()}],"mask-image-radial-to-pos":[{"mask-radial-to":eg()}],"mask-image-radial-from-color":[{"mask-radial-from":W()}],"mask-image-radial-to-color":[{"mask-radial-to":W()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":O()}],"mask-image-conic-pos":[{"mask-conic":[M]}],"mask-image-conic-from-pos":[{"mask-conic-from":eg()}],"mask-image-conic-to-pos":[{"mask-conic-to":eg()}],"mask-image-conic-from-color":[{"mask-conic-from":W()}],"mask-image-conic-to-color":[{"mask-conic-to":W()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:D()}],"mask-repeat":[{mask:ec()}],"mask-size":[{mask:eu()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",et,F]}],filter:[{filter:["","none",et,F]}],blur:[{blur:ev()}],brightness:[{brightness:[M,et,F]}],contrast:[{contrast:[M,et,F]}],"drop-shadow":[{"drop-shadow":["","none",m,es,ee]}],"drop-shadow-color":[{"drop-shadow":W()}],grayscale:[{grayscale:["",M,et,F]}],"hue-rotate":[{"hue-rotate":[M,et,F]}],invert:[{invert:["",M,et,F]}],saturate:[{saturate:[M,et,F]}],sepia:[{sepia:["",M,et,F]}],"backdrop-filter":[{"backdrop-filter":["","none",et,F]}],"backdrop-blur":[{"backdrop-blur":ev()}],"backdrop-brightness":[{"backdrop-brightness":[M,et,F]}],"backdrop-contrast":[{"backdrop-contrast":[M,et,F]}],"backdrop-grayscale":[{"backdrop-grayscale":["",M,et,F]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[M,et,F]}],"backdrop-invert":[{"backdrop-invert":["",M,et,F]}],"backdrop-opacity":[{"backdrop-opacity":[M,et,F]}],"backdrop-saturate":[{"backdrop-saturate":[M,et,F]}],"backdrop-sepia":[{"backdrop-sepia":["",M,et,F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",et,F]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[M,"initial",et,F]}],ease:[{ease:["linear","initial",v,et,F]}],delay:[{delay:[M,et,F]}],animate:[{animate:["none",y,et,F]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,et,F]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:ey()}],"rotate-x":[{"rotate-x":ey()}],"rotate-y":[{"rotate-y":ey()}],"rotate-z":[{"rotate-z":ey()}],scale:[{scale:eb()}],"scale-x":[{"scale-x":eb()}],"scale-y":[{"scale-y":eb()}],"scale-z":[{"scale-z":eb()}],"scale-3d":["scale-3d"],skew:[{skew:eO()}],"skew-x":[{"skew-x":eO()}],"skew-y":[{"skew-y":eO()}],transform:[{transform:[et,F,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ek()}],"translate-x":[{"translate-x":ek()}],"translate-y":[{"translate-y":ek()}],"translate-z":[{"translate-z":ek()}],"translate-none":["translate-none"],accent:[{accent:W()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:W()}
vendor: 4,717 bytes, line 1
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",et,F]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mbs":[{"scroll-mbs":S()}],"scroll-mbe":[{"scroll-mbe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pbs":[{"scroll-pbs":S()}],"scroll-pbe":[{"scroll-pbe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",et,F]}],fill:[{fill:["none",...W()]}],"stroke-w":[{stroke:[M,ea,z,H]}],stroke:[{stroke:["none",...W()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}
1,eO=(e,t,a)=>{void 0!==a&&(e[t]=a)},ek=(e,t)=>{if(t)for(let a in t)eO(e,a,t[a])},ex=(e,t)=>{if(t)for(let a in t)ew(e,t,a)},ew=(e,t,a)=>{let r=t[a];void 0!==r&&(e[a]=e[a]?e[a].concat(r):r)},eS=((e,...t)=>"function"==typeof e?S(eb,e,...t):S(()=>((e,{cacheSize:t,prefix:a,experimentalParseClassName:r,extend:n={},override:o={}})=>(eO(e,"cacheSize",t),eO(e,"prefix",a),eO(e,"experimentalParseClassName",r),ek(e.theme,o.theme),ek(e.classGroups,o.classGroups),ek(e.conflictingClassGroups,o.conflictingClassGroups),ek(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),eO(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),ex(e.theme,n.theme),ex(e.classGroups,n.classGroups),ex(e.conflictingClassGroups,n.conflictingClassGroups),ex(e.conflictingClassGroupModifiers,n.conflictingClassGroupModifiers),ew(e,n,"orderSensitiveModifiers"),e))(eb(),e),...t))({extend:{classGroups:{"font-size":["text-3xs","text-xxs"],"font-weight":["font-sidebar","font-sidebar-active"],"max-w":[{"max-w":[e=>!!e]}],w:[{w:[e=>!!e]}]}}}),{cva:eC,cx:e$,compose:eA}=o({hooks:{onComplete:e=>eS(e)}});var eR=a(38547);function eE(){let e=(0,eR.OA)(),t=(0,eR.EW)(()=>{let{class:t,style:a,...r}=e;return{class:t||"",style:a,rest:r}});return{cx:function(...e){return{class:e$(...e,t.value.class),style:t.value.style,...t.value.rest}},stylingAttrsCx:function(...e){return{class:e$(...e,t.value.class),style:t.value.style}},otherAttrs:(0,eR.EW)(()=>t.value.rest)}}},8922:(e,t,a)=>{"use strict";a.d(t,{d:()=>r});let r=e=>!!(e?.["x-internal"]||e?.["x-scalar-ignore"])},9e3:(e,t,a)=>{"use strict";a.d(t,{T:()=>o});var r=a(96691),n=a(56992);function o(e){if(n._.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(null!=e&&e.hasOwnProperty("value")){let t=(0,r.t)(e);if(t)return t.ownerDocument}return document}},9085:(e,t,a)=>{"use strict";a.d(t,{i:()=>r});class r extends Error{constructor(e){super(e)}}},9611:(e,t,a)=>{"use strict";a.d(t,{p:()=>r});let r=e=>void 0!==e&&Object.keys(e).length>0},10363:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var r=a(38547),n=a(61930),o=a(10779),l=a(8873),s=["role"],i={key:0,class:"sr-only"},c=(0,r.pM)({__name:"DataTable",props:{columns:{},scroll:{type:Boolean},presentational:{type:Boolean}},setup(e){let{cx:t}=(0,l.AX)();return(a,l)=>((0,r.uX)(),(0,r.CE)("div",(0,n._B)((0,r.Ng)((0,o.R1)(t)(e.scroll?"overflow-x-auto custom-scroll":"overflow-visible","scalar-data-table"))),[(0,r.Lk)("table",{class:(0,n.C4)(["mb-0 grid min-h-8 auto-rows-auto",{"w-max min-w-full":e.scroll}]),role:e.presentational?"presentation":"table",style:(0,n.Tr)({gridTemplateColumns:e.columns.map(e=>e||"1fr").join(" ")})},[a.$slots.caption?((0,r.uX)(),(0,r.CE)("caption",i,[(0,r.RG)(a.$slots,"caption")])):(0,r.Q3)("",!0),(0,r.RG)(a.$slots,"default")],14,s)],16))}})},10518:(e,t,a)=>{"use strict";a.d(t,{L:()=>n,W:()=>r});let r="Models",n=e=>!!(!Array.isArray(e)&&e&&"sources"in e&&Array.isArray(e.sources))},10779:(e,t,a)=>{"use strict";let r,n,o,l,s;a.d(t,{BA:()=>eQ,C4:()=>C,EW:()=>eD,Gc:()=>ef,IG:()=>eS,IJ:()=>eE,KR:()=>eR,Kh:()=>eh,Pr:()=>eM,QW:()=>eX,R1:()=>ej,Tm:()=>eO,X2:()=>h,a1:()=>e$,bl:()=>$,fE:()=>ek,g8:()=>eb,hV:()=>ez,hZ:()=>M,i9:()=>eA,jr:()=>p,ju:()=>ex,lJ:()=>eC,lW:()=>eq,mu:()=>e_,nD:()=>ev,o5:()=>d,qA:()=>U,rY:()=>eU,tB:()=>eg,u4:()=>L,uY:()=>u,ux:()=>ew,wB:()=>eF,yC:()=>c});var i=a(61930);class c{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&r&&(r.active?(this.parent=r,this.index=(r.scopes||(r.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes){let a=this.scopes.slice();for(e=0,t=a.length;e<t;e++)a[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes){let a=this.scopes.slice();for(e=0,t=a.length;e<t;e++)a[e].resume()}let a=this.effects.slice();for(e=0,t=a.length;e<t;e++)a[e].resume()}}run(e){if(this._active){let t=r;try{return r=this,e()}finally{r=t}}}on(){1==++this._on&&(this.prevScope=r,r=this)}off(){if(this._on>0&&0==--this._on){if(r===this)r=this.prevScope;else{let e=r;
vendor: 5,352 bytes, line 1
1for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){let t,a;for(this._active=!1,t=0,a=this.effects.length;t<a;t++)this.effects[t].stop();for(this.effects.length=0,t=0,a=this.cleanups.length;t<a;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,a=e.length;t<a;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function u(e){return new c(e)}function d(){return r}function p(e,t=!1){r&&r.cleanups.push(e)}let m=new WeakSet;class h{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,r&&(r.active?r.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,m.has(this)&&(m.delete(this),this.trigger()))}notify(){(!(2&this.flags)||32&this.flags)&&(8&this.flags||g(this))}run(){if(!(1&this.flags))return this.fn();this.flags|=2,A(this),y(this);let e=n,t=w;n=this,w=!0;try{return this.fn()}finally{b(this),n=e,w=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)x(e);this.deps=this.depsTail=void 0,A(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?m.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){O(this)&&this.run()}get dirty(){return O(this)}}let f=0;function g(e,t=!1){if(e.flags|=8,t){e.next=l,l=e;return}e.next=o,o=e}function v(){let e;if(!(--f>0)){if(l){let e=l;for(l=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}for(;o;){let t=o;for(o=void 0;t;){let a=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=a}}if(e)throw e}}function y(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function b(e){let t,a=e.depsTail,r=a;for(;r;){let e=r.prevDep;-1===r.version?(r===a&&(a=e),x(r),function(e){let{prevDep:t,nextDep:a}=e;t&&(t.nextDep=a,e.prevDep=void 0),a&&(a.prevDep=t,e.nextDep=void 0)}(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=a}function O(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(k(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function k(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===R)||(e.globalVersion=R,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!O(e))))return;e.flags|=2;let t=e.dep,a=n,r=w;n=e,w=!0;try{y(e);let a=e.fn(e._value);(0===t.version||(0,i.$H)(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(e){throw t.version++,e}finally{n=a,w=r,b(e),e.flags&=-3}}function x(e,t=!1){let{dep:a,prevSub:r,nextSub:n}=e;if(r&&(r.nextSub=n,e.prevSub=void 0),n&&(n.prevSub=r,e.nextSub=void 0),a.subs===e&&(a.subs=r,!r&&a.computed)){a.computed.flags&=-5;for(let e=a.computed.deps;e;e=e.nextDep)x(e,!0)}t||--a.sc||!a.map||a.map.delete(a.key)}let w=!0,S=[];function C(){S.push(w),w=!1}function $(){let e=S.pop();w=void 0===e||e}function A(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=n;n=void 0;try{t()}finally{n=e}}}let R=0;class E{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class P{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!n||!w||n===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==n)t=this.activeLink=new E(n,this),n.deps?(t.prevDep=n.depsTail,n.depsTail.nextDep=t,n.depsTail=t):n.deps=n.depsTail=t,function e(t){if(t.dep.sc++,4&t.sub.flags){let a=t.dep.computed;if(a&&!t.dep.subs){a.flags|=20;for(let t=a.deps;t;t=t.nextDep)e(t)}let r=t.dep.subs;r!==t&&(t.prevSub=r,r&&(r.nextSub=t)),t.dep.subs=t}}(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=n.depsTail,t.nextDep=void 0,n.depsTail.nextDep=t,n.depsTail=t,n.deps===t&&(n.deps=e)}return t}trigger(e){this.version++,R++,this.notify(e)}notify(e){f++;try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{v()}}}let T=new WeakMap,_=Symbol(""),j=Symbol(""),Q=Symbol("");function L(e,t,a){if(w&&n){let t=T.get(e);t||T.set(e,t=new Map);let r=t.get(a);r||(t.set(a,r=new P),r.map=t,r.key=a),r.track()}}function M(e,t,a,r,n,o){let l=T.get(e);if(!l)return void R++;let s=e=>{e&&e.trigger()};if(f++,"clear"===t)l.forEach(s);else{let n=(0,i.cy)(e),o=n&&(0,i.yI)(a);if(n&&"length"===a){let e=Number(r);l.forEach((t,a)=>{("length"===a||a===Q||!(0,i.Bm)(a)&&a>=e)&&s(t)})}else switch((void 0!==a||l.has(void 0))&&s(l.get(a)),o&&s(l.get(Q)),t){case"add":n?o&&s(l.get("length")):(s(l.get(_)),(0,i.CE)(e)&&s(l.get(j)));break;case"delete":!n&&(s(l.get(_)),(0,i.CE)(e)&&s(l.get(j)));break;case"set":(0,i.CE)(e)&&s(l.get(_))}}v()}function Z(e){let t=ew(e);return t===e?t:(L(t,"iterate",Q),ek(e)?t:t.map(eC))}function U(e){return L(e=ew(e),"iterate",Q),e}function X(e,t){return eO(e)?eb(e)?e$(eC(t)):e$(t):eC(t)}let I={__proto__:null,[Symbol.iterator](){return B(this,Symbol.iterator,e=>X(this,e))},concat(...e){return Z(this).concat(...e.map(e=>(0,i.cy)(e)?Z(e):e))}
1,entries(){return B(this,"entries",e=>(e[1]=X(this,e[1]),e))},every(e,t){return W(this,"every",e,t,void 0,arguments)},filter(e,t){return W(this,"filter",e,t,e=>e.map(e=>X(this,e)),arguments)},find(e,t){return W(this,"find",e,t,e=>X(this,e),arguments)},findIndex(e,t){return W(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return W(this,"findLast",e,t,e=>X(this,e),arguments)},findLastIndex(e,t){return W(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return W(this,"forEach",e,t,void 0,arguments)},includes(...e){return N(this,"includes",e)},indexOf(...e){return N(this,"indexOf",e)},join(e){return Z(this).join(e)},lastIndexOf(...e){return N(this,"lastIndexOf",e)},map(e,t){return W(this,"map",e,t,void 0,arguments)},pop(){return V(this,"pop")},push(...e){return V(this,"push",e)},reduce(e,...t){return D(this,"reduce",e,t)},reduceRight(e,...t){return D(this,"reduceRight",e,t)},shift(){return V(this,"shift")},some(e,t){return W(this,"some",e,t,void 0,arguments)},splice(...e){return V(this,"splice",e)},toReversed(){return Z(this).toReversed()},toSorted(e){return Z(this).toSorted(e)},toSpliced(...e){return Z(this).toSpliced(...e)},unshift(...e){return V(this,"unshift",e)},values(){return B(this,"values",e=>X(this,e))}};function B(e,t,a){let r=U(e),n=r[t]();return r===e||ek(e)||(n._next=n.next,n.next=()=>{let e=n._next();return e.done||(e.value=a(e.value)),e}),n}let q=Array.prototype;function W(e,t,a,r,n,o){let l=U(e),s=l!==e&&!ek(e),i=l[t];if(i!==q[t]){let t=i.apply(e,o);return s?eC(t):t}let c=a;l!==e&&(s?c=function(t,r){return a.call(this,X(e,t),r,e)}:a.length>2&&(c=function(t,r){return a.call(this,t,r,e)}));let u=i.call(l,c,r);return s&&n?n(u):u}function D(e,t,a,r){let n=U(e),o=n!==e&&!ek(e),l=a,s=!1;n!==e&&(o?(s=0===r.length,l=function(t,r,n){return s&&(s=!1,t=X(e,t)),a.call(this,t,X(e,r),n,e)}):a.length>3&&(l=function(t,r,n){return a.call(this,t,r,n,e)}));let i=n[t](l,...r);return s?X(e,i):i}function N(e,t,a){let r=ew(e);L(r,"iterate",Q);let n=r[t](...a);return(-1===n||!1===n)&&ex(a[0])?(a[0]=ew(a[0]),r[t](...a)):n}function V(e,t,a=[]){C(),f++;let r=ew(e)[t].apply(e,a);return v(),$(),r}let F=(0,i.pD)("__proto__,__v_isRef,__isVue"),z=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(i.Bm));function H(e){(0,i.Bm)(e)||(e=String(e));let t=ew(this);return L(t,"has",e),t.hasOwnProperty(e)}class Y{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,a){if("__v_skip"===t)return e.__v_skip;let r=this._isReadonly,n=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return n;if("__v_raw"===t)return a===(r?n?em:ep:n?ed:eu).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(a)?e:void 0;let o=(0,i.cy)(e);if(!r){let e;if(o&&(e=I[t]))return e;if("hasOwnProperty"===t)return H}let l=Reflect.get(e,t,eA(e)?e:a);if(((0,i.Bm)(t)?z.has(t):F(t))||(r||L(e,"get",t),n))return l;if(eA(l)){let e=o&&(0,i.yI)(t)?l:l.value;return r&&(0,i.Gv)(e)?eg(e):e}return(0,i.Gv)(l)?r?eg(l):eh(l):l}}class G extends Y{constructor(e=!1){super(!1,e)}set(e,t,a,r){let n=e[t],o=(0,i.cy)(e)&&(0,i.yI)(t);if(!this._isShallow){let e=eO(n);if(ek(a)||eO(a)||(n=ew(n),a=ew(a)),!o&&eA(n)&&!eA(a))if(e)return!0;else return n.value=a,!0}let l=o?Number(t)<e.length:(0,i.$3)(e,t),s=Reflect.set(e,t,a,eA(e)?e:r);return e===ew(r)&&s&&(l?(0,i.$H)(a,n)&&M(e,"set",t,a,n):M(e,"add",t,a)),s}deleteProperty(e,t){let a=(0,i.$3)(e,t),r=e[t],n=Reflect.deleteProperty(e,t);return n&&a&&M(e,"delete",t,void 0,r),n}has(e,t){let a=Reflect.has(e,t);return(0,i.Bm)(t)&&z.has(t)||L(e,"has",t),a}ownKeys(e){return L(e,"iterate",(0,i.cy)(e)?"length":_),Reflect.ownKeys(e)}}class K extends Y{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}let J=new G,ee=new K,et=new G(!0),ea=new K(!0),er=e=>e;function en(e){return function(){return"delete"!==e&&("clear"===e?void 0:this)}}function eo(e,t){let a,r=(a={get(a){let r=this.__v_raw,n=ew(r),o=ew(a);e||((0,i.$H)(a,o)&&L(n,"get",a),L(n,"get",o));let{has:l}=Reflect.getPrototypeOf(n),s=t?er:e?e$:eC;return l.call(n,a)?s(r.get(a)):l.call(n,o)?s(r.get(o)):void(r!==n&&r.get(a))},get size(){let t=this.__v_raw;return e||L(ew(t),"iterate",_),t.size},has(t){let a=this.__v_raw,r=ew(a),n=ew(t);return e||((0,i.$H)(t,n)&&L(r,"has",t),L(r,"has",n)),t===n?a.has(t):a.has(t)||a.has(n)}
1,forEach(a,r){let n=this,o=n.__v_raw,l=ew(o),s=t?er:e?e$:eC;return e||L(l,"iterate",_),o.forEach((e,t)=>a.call(r,s(e),s(t),n))}},(0,i.X$)(a,e?{add:en("add"),set:en("set"),delete:en("delete"),clear:en("clear")}:{add(e){let a=ew(this),r=Reflect.getPrototypeOf(a),n=ew(e),o=t||ek(e)||eO(e)?e:n;return r.has.call(a,o)||(0,i.$H)(e,o)&&r.has.call(a,e)||(0,i.$H)(n,o)&&r.has.call(a,n)||(a.add(o),M(a,"add",o,o)),this},set(e,a){t||ek(a)||eO(a)||(a=ew(a));let r=ew(this),{has:n,get:o}=Reflect.getPrototypeOf(r),l=n.call(r,e);l||(e=ew(e),l=n.call(r,e));let s=o.call(r,e);return r.set(e,a),l?(0,i.$H)(a,s)&&M(r,"set",e,a,s):M(r,"add",e,a),this},delete(e){let t=ew(this),{has:a,get:r}=Reflect.getPrototypeOf(t),n=a.call(t,e);n||(e=ew(e),n=a.call(t,e));let o=r?r.call(t,e):void 0,l=t.delete(e);return n&&M(t,"delete",e,void 0,o),l},clear(){let e=ew(this),t=0!==e.size,a=e.clear();return t&&M(e,"clear",void 0,void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(r=>{a[r]=function(...a){let n=this.__v_raw,o=ew(n),l=(0,i.CE)(o),s="entries"===r||r===Symbol.iterator&&l,c=n[r](...a),u=t?er:e?e$:eC;return e||L(o,"iterate","keys"===r&&l?j:_),(0,i.X$)(Object.create(c),{next(){let{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}}})}}),a);return(t,a,n)=>"__v_isReactive"===a?!e:"__v_isReadonly"===a?e:"__v_raw"===a?t:Reflect.get((0,i.$3)(r,a)&&a in t?r:t,a,n)}let el={get:eo(!1,!1)},es={get:eo(!1,!0)},ei={get:eo(!0,!1)},ec={get:eo(!0,!0)},eu=new WeakMap,ed=new WeakMap,ep=new WeakMap,em=new WeakMap;function eh(e){return eO(e)?e:ey(e,!1,J,el,eu)}function ef(e){return ey(e,!1,et,es,ed)}function eg(e){return ey(e,!0,ee,ei,ep)}function ev(e){return ey(e,!0,ea,ec,em)}function ey(e,t,a,r,n){if(!(0,i.Gv)(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let o=n.get(e);if(o)return o;let l=function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((0,i.Zf)(e));if(0===l)return e;let s=new Proxy(e,2===l?r:a);return n.set(e,s),s}function eb(e){return eO(e)?eb(e.__v_raw):!!(e&&e.__v_isReactive)}function eO(e){return!!(e&&e.__v_isReadonly)}function ek(e){return!!(e&&e.__v_isShallow)}function ex(e){return!!e&&!!e.__v_raw}function ew(e){let t=e&&e.__v_raw;return t?ew(t):e}function eS(e){return!(0,i.$3)(e,"__v_skip")&&Object.isExtensible(e)&&(0,i.yQ)(e,"__v_skip",!0),e}let eC=e=>(0,i.Gv)(e)?eh(e):e,e$=e=>(0,i.Gv)(e)?eg(e):e;function eA(e){return!!e&&!0===e.__v_isRef}function eR(e){return eP(e,!1)}function eE(e){return eP(e,!0)}function eP(e,t){return eA(e)?e:new eT(e,t)}class eT{constructor(e,t){this.dep=new P,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:ew(e),this._value=t?e:eC(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,a=this.__v_isShallow||ek(e)||eO(e);e=a?e:ew(e),(0,i.$H)(e,t)&&(this._rawValue=e,this._value=a?e:eC(e),this.dep.trigger())}}function e_(e){e.dep&&e.dep.trigger()}function ej(e){return eA(e)?e.value:e}function eQ(e){return(0,i.Tn)(e)?e():ej(e)}let eL={get:(e,t,a)=>"__v_raw"===t?e:ej(Reflect.get(e,t,a)),set:(e,t,a,r)=>{let n=e[t];return eA(n)&&!eA(a)?(n.value=a,!0):Reflect.set(e,t,a,r)}};function eM(e){return eb(e)?e:new Proxy(e,eL)}class eZ{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new P,{get:a,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=a,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function eU(e){return new eZ(e)}function eX(e){let t=(0,i.cy)(e)?Array(e.length):{};for(let a in e)t[a]=new eI(e,a,void 0);return t}class eI{constructor(e,t,a){this._object=e,this._defaultValue=a,this.__v_isRef=!0,this._value=void 0,this._key=(0,i.Bm)(t)?t:String(t),this._raw=ew(e);let r=!0,n=e;if(!(0,i.cy)(e)||(0,i.Bm)(this._key)||!(0,i.yI)(this._key))do r=!ex(n)||ek(n);while(r&&(n=n.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=ej(e)),this._value=void 0===e?this._defaultValue:e}set value(e){if(this._shallow&&eA(this._raw[this._key])){let t=this._object[this._key];if(eA(t)){t.value=e;return}}this._object[this._key]=e}get dep(){var e,t;let a;return e=this._raw,t=this._key,(a=T.get(e))&&a.get(t)}}class eB{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function eq(e,t,a){if(eA(e))return e;if((0,i.Tn)(e))return new eB(e);if(!(0,i.Gv)(e)||!(arguments.length>1))return eR(e);return new eI(e,t,a)}class eW{constructor(e,t,a){this.fn=e,this.setter=t,this._value=void 0,this.dep=new P(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=R-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=a}notify(){if(this.flags|=16,!(8&this.flags)&&n!==this)return g(this,!0),!0}get value(){let e=this.dep.track();return k(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function eD(e,t,a=!1){let r,n;return(0,i.Tn)(e)?r=e:(r=e.get,n=e.set),new eW(r,n,a)}let eN={},eV=new WeakMap;function eF(e,t,a=i.MZ){let n,o,l,c,{immediate:u,deep:d,once:p,scheduler:m,augmentJob:f,call:g}=a,v=e=>d?e:ek(e)||!1===d||0===d?ez(e,1):ez(e),y=!1,b=!1;if(eA(e)?(o=()=>e.value,y=ek(e)):eb(e)?(o=()=>v(e),y=!0):(0,i.cy)(e)?(b=!0,y=e.some(e=>eb(e)||ek(e)),o=()=>e.map(e=>eA(e)?e.value:eb(e)?v(e):(0,i.Tn)(e)?g?g(e,2):e():void 0)):o=(0,i.Tn)(e)?t?g?()=>
1g(e,2):e:()=>{if(l){C();try{l()}finally{$()}}let t=s;s=n;try{return g?g(e,3,[c]):e(c)}finally{s=t}}:i.tE,t&&d){let e=o,t=!0===d?1/0:d;o=()=>ez(e(),t)}let O=r,k=()=>{n.stop(),O&&O.active&&(0,i.TF)(O.effects,n)};if(p&&t){let e=t;t=(...t)=>{let a=e(...t);return k(),a}}let x=b?Array(e.length).fill(eN):eN,w=e=>{if(1&n.flags&&(n.dirty||e))if(t){let a=n.run();if(e||d||y||(b?a.some((e,t)=>(0,i.$H)(e,x[t])):(0,i.$H)(a,x))){l&&l();let e=s;s=n;try{let e=[a,x===eN?void 0:b&&x[0]===eN?[]:x,c];x=a,g?g(t,3,e):t(...e)}finally{s=e}}}else n.run()};return f&&f(w),(n=new h(o)).scheduler=m?()=>m(w,!1):w,c=e=>(function(e,t=!1,a=s){if(a){let t=eV.get(a);t||eV.set(a,t=[]),t.push(e)}})(e,!1,n),l=n.onStop=()=>{let e=eV.get(n);if(e){if(g)g(e,4);else for(let t of e)t();eV.delete(n)}},t?u?w(!0):x=n.run():m?m(w.bind(null,!0),!0):n.run(),k.pause=n.pause.bind(n),k.resume=n.resume.bind(n),k.stop=k,k}function ez(e,t=1/0,a){if(t<=0||!(0,i.Gv)(e)||e.__v_skip||((a=a||new Map).get(e)||0)>=t)return e;if(a.set(e,t),t--,eA(e))ez(e.value,t,a);else if((0,i.cy)(e))for(let r=0;r<e.length;r++)ez(e[r],t,a);else if((0,i.vM)(e)||(0,i.CE)(e))e.forEach(e=>{ez(e,t,a)});else if((0,i.Qd)(e)){for(let r in e)ez(e[r],t,a);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&ez(e[r],t,a)}return e}},11125:(e,t,a)=>{"use strict";a.d(t,{m:()=>o,p:()=>l});var r=a(5356),n=a(18967);let o=(e,t)=>{try{if(!l(e,t))return t??"";let a=new URL(t);return a.href=(0,n.K)(e)?`http://localhost${e}`:e,a.searchParams.append("scalar_url",t),(0,n.K)(e)?a.toString().replace(/^http:\/\/localhost/,""):a.toString()}catch{return t??""}},l=(e,t)=>
1{try{if(!e||!t||(0,n.K)(t))return!1;if((0,n.K)(e)||(0,r.L)(e))return!0;if((0,r.L)(t))return!1;return!0}catch{return!1}}},11283:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconWarning",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},11305:(e,t,a)=>{"use strict";a.d(t,{Lq:()=>v,a3:()=>f,ov:()=>g,wz:()=>h});var r=a(42694),n=a(72560),o=a(55465),l=a(18826),s=a(64518),i=a(47605),c=a(81235),u=a(87890),d=a(77745),p=a(35398);let m=(0,n.Z)(r.ZU.Object({refreshUrl:r.ZU.String(),scopes:r.ZU.Record(r.ZU.String(),r.ZU.Str
1ing())}),c.W,i.Y,d.y,u.JK,u.OX,l.y,o.o),h=(0,n.Z)(m,r.ZU.Object({authorizationUrl:r.ZU.String()})),f=(0,n.Z)(m,r.ZU.Object({tokenUrl:r.ZU.String()}),s.F),g=(0,n.Z)(m,r.ZU.Object({tokenUrl:r.ZU.String()}),s.F),v=(0,n.Z)(m,r.ZU.Object({authorizationUrl:r.ZU.String(),tokenUrl:r.ZU.String()}),p.m,s.F)},11420:(e,t,a)=>{"use strict";let r,n,o,l;a.d(t,{A:()=>pi});var s,i,c,u,d,p,m,h,f,g,v,y,b,O=a(38547),k=a(61930),x=a(10779),w=a(8873),S=(0,O.pM)({__name:"ViewLayout",setup(e){let{cx:t}=(0,w.AX)();return(e,a)=>((0,O.uX)(),(0,O.CE)("div",(0,k._B)((0,O.Ng)((0,x.R1)(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-5"))),[(0,O.RG)(e.$slots,"default")],16))}}),C=a(13416),$={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"},A=(0,C.A)({},[["render",function(e,t){return(0,O.uX)(),(0,O.CE)("div",$,[(0,O.RG)(e.$slots,"default")])}]]),R=a(64356),E=a(80574),P=({harResponse:e,url:t="",method:a,path:r,duration:n=0})=>{let o=T(e),{body:l,data:s,size:i}=_(e),c=(0,E.o)(o);return{...new Response(l,{status:e.status,statusText:e.statusText,headers:o}),headers:Object.fromEntries(o.entries()),cookieHeaderKeys:c,duration:n,status:e.status,statusText:e.statusText,method:a,path:r,data:s,size:i,url:t}},T=e=>{let t=new Headers;return e.headers.forEach(({name:e,value:a})=>{t.append(e,a)}),t},_=e=>{if(!e.content.text)return{body:null,data:"",size:0};let{text:t,encoding:a}=e.content;if(a)return{body:null,data:t,size:t.length};let r=new TextEncoder().encode(t).buffer;return{body:r,data:t,size:r.byteLength}},j=a(6798),Q=(e,t)=>e.name===t.name&&(e.domain??"")===(t.domain??"")&&(e.path??"")===(t.path??""),L=a(602),M=new Map;function Z(e,t,a,r){return[r,e,t,a].filter(L.O).join("|")}var U=a(23373),X=a(51316),I=e=>null==e||"string"==typeof e&&""===e.trim(),B={key:0,class:"request-response-header bg-b-1 -mb-1/2 sticky top-0 z-1 flex min-h-11 items-center border-b px-2.5 text-base font-medium xl:rounded-none"},q=(0,O.pM)({inheritAttrs:!1,__name:"ViewLayoutSection",setup(e){let{cx:t}=(0,w.AX)();return(e,a)=>((0,O.uX)(),(0,O.CE)("section",(0,k._B)((0,O.Ng)((0,x.R1)(t)("xl:custom-scroll bg-b-1 flex flex-1 flex-col xl:h-full xl:min-w-0"))),[e.$slots.title?((0,O.uX)(),(0,O.CE)("div",B,[(0,O.RG)(e.$slots,"title")])):(0,O.Q3)("",!0),(0,O.RG)(e.$slots,"default")],16))}}),W=["aria-controls","aria-selected","tabindex"],D=(0,O.pM)({__name:"SectionFilterButton",props:{selected:{type:Boolean},controls:{}},setup:e=>(t,a)=>((0,O.uX)(),(0,O.CE)("button",{"aria-controls":e.controls??"","aria-selected":!!e.selected,class:(0,k.C4)(["hover:bg-b-2 flex w-fit cursor-pointer items-center rounded p-1 px-2 text-center font-medium whitespace-nowrap has-[:focus-visible]:outline",{"text-c-1 pointer-events-none":e.selected}]),role:"tab",tabindex:e.selected?0:-1,type:"button"},[(0,O.RG)(t.$slots,"default")],10,W))}),N=a(56942),V=a(37862),F={class:"request-section-content request-section-content-filter fade-request-section-content text-c-3 pointer-events-auto relative hidden w-full justify-end gap-[1.5px] rounded py-1.75 text-xs xl:flex"},z={class:"filter-button context-bar-group-hover:text-c-1 absolute -right-[30px] flex items-center"},H={class:"context-bar-group-hover:hidden mr-1.5"},Y=(0,O.pM)({__name:"SectionFilter",props:(0,O.zz)({filters:{default:()=>[]},filterIds:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,O.fn)(e,"modelValue"),a=(0,x.KR)(),r=r=>{let n=t.value?e.filters.indexOf(t.value):0,o=e.filters.length;t.value=e.filters[(n+("prev"===r?-1:1)+o)%o],(0,O.dY)(()=>{if(a.value){let e=a.value.querySelector('button[aria-selected="true"]');e&&e.focus()}})};return(n,o)=>((0,O.uX)(),(0,O.CE)("div",{ref_key:"tablist",ref:a,class:"filter-hover context-bar-group ml-auto hidden lg:flex",role:"tablist",onKeydown:[o[0]||(o[0]=(0,N.jR)(e=>r("prev"),["left"])),o[1]||(o[1]=(0,N.jR)(e=>r("next"),["right"]))]},[(0,O.Lk)("div",F,[((0,O.uX)(!0),(0,O.CE)(O.FK,null,(0,O.pI)(e.filters,a=>((0,O.uX)(),(0,O.Wv)(D,{key:a,class:"filter-hover-item",controls:e.filterIds?.[a],role:"tab",selected:t.value===a,onClick:e=>t.value=a},{default:(0,O.k6)(()=>[(0,O.eW)((0,k.v_)(a),1)]),_:2},1032,["controls","selected","onClick"]))),128)),(0,O.Lk)("div",z,[(0,O.Lk)("span",H,(0,k.v_)(t.value),1),(0,O.bF)((0,x.R1)(V.k),{icon:"FilterList",size:"md",thickness:"2"})])])],544))}}),G=(0,C.A)(Y,[["__scopeId","data-v-07ff8fc3"]]);function K({multiple:e,accept:t,onChange:a,onError:r}={}){let n,o=(0,x.KR)(null);return"u">typeof document&&((n=document.createElement("input")).type="file",n.onchange=e=>{o.value=e.target.files,a?.(o.value)},n.onerror=()=>r?.(),n.multiple=e,n.accept=t),{files:(0,x.tB)(o),open:()=>
1{if(!n)return r?.();n.click()}}}var J=a(91565),ee=a(93514),et=a(75439),ea=a(62906),er=a(18551);let en=0;class eo{constructor(e,t){this.from=e,this.to=t}}class el{constructor(e={}){this.id=en++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=ec.match(e)),t=>{let a=e(t);return void 0===a?null:[this,a]}}}el.closedBy=new el({deserialize:e=>e.split(" ")}),el.openedBy=new el({deserialize:e=>e.split(" ")}),el.group=new el({deserialize:e=>e.split(" ")}),el.isolate=new el({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw RangeError("Invalid value for isolate: "+e);return e||"auto"}}),el.contextHash=new el({perNode:!0}),el.lookAhead=new el({perNode:!0}),el.mounted=new el({perNode:!0});class es{constructor(e,t,a,r=!1){this.tree=e,this.overlay=t,this.parser=a,this.bracketed=r}static get(e){return e&&e.props&&e.props[el.mounted.id]}}let ei=Object.create(null);class ec{constructor(e,t,a,r=0){this.name=e,this.props=t,this.id=a,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):ei,a=!!e.top|2*!!e.skipped|4*!!e.error|8*(null==e.name),r=new ec(e.name||"",t,e.id,a);if(e.props){for(let a of e.props)if(Array.isArray(a)||(a=a(r)),a){if(a[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[a[0].id]=a[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(el.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let a in e)for(let r of a.split(" "))t[r]=e[a];return e=>{for(let a=e.prop(el.group),r=-1;r<(a?a.length:0);r++){let n=t[r<0?e.name:a[r]];if(n)return n}}}}ec.none=new ec("",Object.create(null),0,8);class eu{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let a of this.types){let r=null;for(let t of e){let e=t(a);if(e){r||(r=Object.assign({},a.props));let t=e[1],n=e[0];n.combine&&n.id in r&&(t=n.combine(r[n.id],t)),r[n.id]=t}}t.push(r?new ec(a.name,r,a.id,a.flags):a)}return new eu(t)}}let ed=new WeakMap,ep=new WeakMap;(s=m||(m={}
1))[s.ExcludeBuffers=1]="ExcludeBuffers",s[s.IncludeAnonymous=2]="IncludeAnonymous",s[s.IgnoreMounts=4]="IgnoreMounts",s[s.IgnoreOverlays=8]="IgnoreOverlays",s[s.EnterBracketed=16]="EnterBracketed";class em{constructor(e,t,a,r,n){if(this.type=e,this.children=t,this.positions=a,this.length=r,this.props=null,n&&n.length)for(let[e,t]of(this.props=Object.create(null),n))this.props["number"==typeof e?e:e.id]=t}toString(){let e=es.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let e of this.children){let a=e.toString();a&&(t&&(t+=","),t+=a)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new e$(this.topNode,e)}cursorAt(e,t=0,a=0){let r=new e$(ed.get(this)||this.topNode);return r.moveTo(e,t),ed.set(this,r._tree),r}get topNode(){return new eb(this,0,0,null)}resolve(e,t=0){let a=ev(ed.get(this)||this.topNode,e,t,!1);return ed.set(this,a),a}resolveInner(e,t=0){let a=ev(ep.get(this)||this.topNode,e,t,!0);return ep.set(this,a),a}resolveStack(e,t=0){return function(e,t,a){let r=e.resolveInner(t,a),n=null;for(let e=r instanceof eb?r:r.context.parent;e;e=e.parent)if(e.index<0){let o=e.parent;(n||(n=[r])).push(o.resolve(t,a)),e=o}else{let o=es.get(e.tree);if(o&&o.overlay&&o.overlay[0].from<=t&&o.overlay[o.overlay.length-1].to>=t){let l=new eb(o.tree,o.overlay[0].from+e.from,-1,e);(n||(n=[r])).push(ev(l,t,a,!1))}}return n?eS(n):r}(this,e,t)}iterate(e){let{enter:t,leave:a,from:r=0,to:n=this.length}=e,o=e.mode||0,l=(o&m.IncludeAnonymous)>0;for(let e=this.cursor(o|m.IncludeAnonymous);;){let o=!1;if(e.from<=n&&e.to>=r&&(!l&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;o=!0}for(;o&&a&&(l||!e.type.isAnonymous)&&a(e),!e.nextSibling();){if(!e.parent())return;o=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];
1if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:eP(ec.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,a)=>new em(this.type,e,t,a,this.propValues),e.makeTree||((e,t,a)=>new em(ec.none,e,t,a)))}static build(e){return function(e){var t;let{buffer:a,nodeSet:r,maxBufferLength:n=1024,reused:o=[],minRepeatType:l=r.types.length}=e,s=Array.isArray(a)?new eh(a,a.length):a,i=r.types,c=0,u=0;function d(e,t,a,n,o,l,s,i,c){let u=[],d=[];for(;e.length>n;)u.push(e.pop()),d.push(t.pop()+a-o);e.push(p(r.types[s],u,d,l-o,i-l,c)),t.push(o-a)}function p(e,t,a,r,n,o,l){if(o){let e=[el.contextHash,o];l=l?[e].concat(l):[e]}if(n>25){let e=[el.lookAhead,n];l=l?[e].concat(l):[e]}return new em(e,t,a,r,l)}let m=[],h=[];for(;s.pos>0;)!function e(t,a,m,h,f,g){let{id:v,start:y,end:b,size:O}=s,k=u,x=c;if(O<0){if(s.next(),-1==O){let e=o[v];m.push(e),h.push(y-t);return}if(-3==O){c=v;return}if(-4==O){u=v;return}else throw RangeError(`Unrecognized record size: ${O}`)}let w=i[v],S,C,$=y-t;if(b-y<=n&&(C=function(e,t){let a=s.fork(),r=0,o=0,i=0,c=a.end-n,u={size:0,start:0,skip:0};e:for(let n=a.pos-e;a.pos>n;){let e=a.size;if(a.id==t&&e>=0){u.size=r,u.start=o,u.skip=i,i+=4,r+=4,a.next();continue}let s=a.pos-e;if(e<0||s<n||a.start<c)break;let d=4*(a.id>=l),p=a.start;for(a.next();a.pos>s;){if(a.size<0)if(-3==a.size||-4==a.size)d+=4;else break e;else a.id>=l&&(d+=4);a.next()}o=p,r+=e,i+=d}return(t<0||r==e)&&(u.size=r,u.start=o,u.skip=i),u.size>4?u:void 0}(s.pos-a,f))){let e=new Uint16Array(C.size-C.skip),a=s.pos-C.size,n=e.length;for(;s.pos>a;)n=function e(t,a,r){let{id:n,start:o,end:i,size:d}=s;if(s.next(),d>=0&&n<l){let l=r;if(d>4){let n=s.pos-(d-4);for(;s.pos>n;)r=e(t,a,r)}a[--r]=l,a[--r]=i-t,a[--r]=o-t,a[--r]=n}else -3==d?c=n:-4==d&&(u=n);return r}(C.start,e,n);S=new ef(e,b-C.start,r),$=C.start-t}else{let t=s.pos-O;s.next();let a=[],o=[],i=v>=l?v:-1,c=0,u=b;for(;s.pos>t;)i>=0&&s.id==i&&s.size>=0?(s.end<=u-n&&(d(a,o,y,c,s.end,u,i,k,x),c=a.length,u=s.end),s.next()):g>2500?function(e,t,a,o){let l=[],i=0,c=-1;for(;s.pos>t;){let{id:e,start:t,end:a,size:r}=s;if(r>4)s.next();else if(c>-1&&t<c)break;else c<0&&(c=a-n),l.push(e,t,a),i++,s.next()}if(i){let t=new Uint16Array(4*i),n=l[l.length-2];for(let e=l.length-3,a=0;e>=0;e-=3)t[a++]=l[e],t[a++]=l[e+1]-n,t[a++]=l[e+2]-n,t[a++]=a;a.push(new ef(t,l[2]-n,r)),o.push(n-e)}}(y,t,a,o):e(y,t,a,o,i,g+1);if(i>=0&&c>0&&c<a.length&&d(a,o,y,c,y,u,i,k,x),a.reverse(),o.reverse(),i>-1&&c>0){let e=function(e,t){return(a,r,n)=>{let o=0,l=a.length-1,s,i;if(l>=0&&(s=a[l])instanceof em){if(!l&&s.type==e&&s.length==n)return s;(i=s.prop(el.lookAhead))&&(o=r[l]+s.length+i)}return p(e,a,r,n,o,t)}}(w,x);S=eP(w,a,o,0,a.length,0,b-y,e,e)}else S=p(w,a,o,b-y,k-b,x)}m.push(S),h.push($)}(e.start||0,e.bufferStart||0,m,h,-1,0);let f=null!=(t=e.length)?t:m.length?h[0]+m[0].length:0;return new em(i[e.topID],m.reverse(),h.reverse(),f)}(e)}}em.empty=new em(ec.none,[],[],0);class eh{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new eh(this.buffer,this.index)}}class ef{constructor(e,t,a){this.buffer=e,this.length=t,this.set=a}get type(){return ec.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],a=this.buffer[e+3],r=this.set.types[t],n=r.name;if(/\W/.test(n)&&!r.isError&&(n=JSON.stringify(n)),a==(e+=4))return n;let o=[];for(;e<a;)o.push(this.childString(e)),e=this.buffer[e+3];return n+"("+o.join(",")+")"}findChild(e,t,a,r,n){let{buffer:o}=this,l=-1;for(let s=e;s!=t&&(!eg(n,r,o[s+1],o[s+2])||(l=s,!(a>0)));s=o[s+3]);return l}slice(e,t,a){let r=this.buffer,n=new Uint16Array(t-e),o=0;for(let l=e,s=0;l<t;){n[s++]=r[l++],n[s++]=r[l++]-a;let t=n[s++]=r[l++]-a;n[s++]=r[l++]-e,o=Math.max(o,t)}return new ef(n,o,this.set)}}function eg(e,t,a,r){switch(e){case -2:return a<t;case -1:return r>=t&&a<t;
1case 0:return a<t&&r>t;case 1:return a<=t&&r>t;case 2:return r>t;case 4:return!0}}function ev(e,t,a,r){for(var n;e.from==e.to||(a<1?e.from>=t:e.from>t)||(a>-1?e.to<=t:e.to<t);){let t=!r&&e instanceof eb&&e.index<0?null:e.parent;if(!t)return e;e=t}let o=r?0:m.IgnoreOverlays;if(r)for(let r=e,l=r.parent;l;l=(r=l).parent)r instanceof eb&&r.index<0&&(null==(n=l.enter(t,a,o))?void 0:n.from)!=r.from&&(e=l);for(;;){let r=e.enter(t,a,o);if(!r)return e;e=r}}class ey{cursor(e=0){return new e$(this,e)}getChild(e,t=null,a=null){let r=eO(this,e,t,a);return r.length?r[0]:null}getChildren(e,t=null,a=null){return eO(this,e,t,a)}resolve(e,t=0){return ev(this,e,t,!1)}resolveInner(e,t=0){return ev(this,e,t,!0)}matchContext(e){return ek(this.parent,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),a=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(a=t,t=e.prevSibling):t=e}return a}get node(){return this}get next(){return this.parent}}class eb extends ey{constructor(e,t,a,r){super(),this._tree=e,this.from=t,this.index=a,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,a,r,n=0){for(let o=this;;){for(let{children:l,positions:s}=o._tree,i=t>0?l.length:-1;e!=i;e+=t){let i=l[e],c=s[e]+o.from,u;if(n&m.EnterBracketed&&i instanceof em&&(u=es.get(i))&&!u.overlay&&u.bracketed&&a>=c&&a<=c+i.length||eg(r,a,c,c+i.length)){if(i instanceof ef){if(n&m.ExcludeBuffers)continue;let l=i.findChild(0,i.buffer.length,t,a-c,r);if(l>-1)return new ew(new ex(o,i,e,c),null,l)}else if(n&m.IncludeAnonymous||!i.type.isAnonymous||eA(i)){let l;if(!(n&m.IgnoreMounts)&&(l=es.get(i))&&!l.overlay)return new eb(l.tree,c,e,o);let s=new eb(i,c,e,o);return n&m.IncludeAnonymous||!s.type.isAnonymous?s:s.nextChild(t<0?i.children.length-1:0,t,a,r,n)}}}if(n&m.IncludeAnonymous||!o.type.isAnonymous||(e=o.index>=0?o.index+t:t<0?-1:o._parent._tree.children.length,!(o=o._parent)))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,t,a=0){let r;if(!(a&m.IgnoreOverlays)&&(r=es.get(this._tree))&&r.overlay){let n=e-this.from,o=a&m.EnterBracketed&&r.bracketed;for(let{from:e,to:a}of r.overlay)if((t>0||o?e<=n:e<n)&&(t<0||o?a>=n:a>n))return new eb(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,a)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function eO(e,t,a,r){let n=e.cursor(),o=[];if(!n.firstChild())return o;if(null!=a){for(let e=!1;!e;)if(e=n.type.is(a),!n.nextSibling())return o}for(;;){if(null!=r&&n.type.is(r))return o;if(n.type.is(t)&&o.push(n.node),!n.nextSibling())return null==r?o:[]}}function ek(e,t,a=t.length-1){for(let r=e;a>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[a]&&t[a]!=r.name)return!1;a--}}return!0}class ex{constructor(e,t,a,r){this.parent=e,this.buffer=t,this.index=a,this.start=r}}class ew extends ey{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,a){super(),this.context=e,this._parent=t,this.index=a,this.type=e.buffer.set.types[e.buffer.buffer[a]]}child(e,t,a){let{buffer:r}=this.context,n=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,a);return n<0?null:new ew(this.context,this,n)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,t,a=0){if(a&m.ExcludeBuffers)return null;let{buffer:r}=this.context,n=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return n<0?null:new ew(this.context,this,n)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.
1index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new ew(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new ew(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:a}=this.context,r=this.index+4,n=a.buffer[this.index+3];if(n>r){let o=a.buffer[this.index+1];e.push(a.slice(r,n,o)),t.push(0)}return new em(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function eS(e){if(!e.length)return null;let t=0,a=e[0];for(let r=1;r<e.length;r++){let n=e[r];(n.from>a.from||n.to<a.to)&&(a=n,t=r)}let r=a instanceof eb&&a.index<0?null:a.parent,n=e.slice();return r?n[t]=r:n.splice(t,1),new eC(n,a)}class eC{constructor(e,t){this.heads=e,this.node=t}get next(){return eS(this.heads)}}class e${get name(){return this.type.name}constructor(e,t=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=t&~m.EnterBracketed,e instanceof eb)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;
vendor: 10,438 bytes, line 1
1for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:a,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=a+r.buffer[e+1],this.to=a+r.buffer[e+2],!0}yield(e){return!!e&&(e instanceof eb?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,a){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,a,this.mode));let{buffer:r}=this.buffer,n=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,a);return!(n<0)&&(this.stack.push(this.index),this.yieldBuf(n))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,a=this.mode){return this.buffer?!(a&m.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,a))}parent(){if(!this.buffer)return this.yieldNode(this.mode&m.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&m.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,a=this.stack.length-1;if(e<0){let e=a<0?0:this.stack[a]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(a<0?t.buffer.length:t.buffer[this.stack[a]+3]))return this.yieldBuf(e)}return a<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,a,{buffer:r}=this;if(r){if(e>0){if(this.index<r.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(r.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:a}=r)}else({index:t,_parent:a}=this._tree);for(;a;{index:t,_parent:a}=a)if(t>-1)for(let r=t+e,n=e<0?-1:a._tree.children.length;r!=n;r+=e){let e=a._tree.children[r];if(this.mode&m.IncludeAnonymous||e instanceof ef||!e.type.isAnonymous||eA(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,a=0;if(e&&e.context==this.buffer)e:for(let r=this.index,n=this.stack.length;n>=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;t=o,a=n+1;break e}r=this.stack[--n]}for(let e=a;e<this.stack.length;e++)t=new ew(this.buffer,t,this.stack[e]);return this.bufferNode=new ew(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let a=0;;){let r=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){a++;continue}this.type.isAnonymous||(r=!0)}for(;;){if(r&&t&&t(this),r=this.type.isAnonymous,!a)return;if(this.nextSibling())break;this.parent(),a--,r=!0}}}matchContext(e){if(!this.buffer)return ek(this.node.parent,e);let{buffer:t}=this.buffer,{types:a}=t.set;for(let r=e.length-1,n=this.stack.length-1;r>=0;n--){if(n<0)return ek(this._tree,e,r);let o=a[t.buffer[this.stack[n]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function eA(e){return e.children.some(e=>e instanceof ef||!e.type.isAnonymous||eA(e))}let eR=new WeakMap;function eE(e,t){if(!e.isAnonymous||t instanceof ef||t.type!=e)return 1;let a=eR.get(t);if(null==a){for(let r of(a=1,t.children)){if(r.type!=e||!(r instanceof em)){a=1;break}a+=eE(e,r)}eR.set(t,a)}return a}function eP(e,t,a,r,n,o,l,s,i){let c=0;for(let a=r;a<n;a++)c+=eE(e,t[a]);let u=Math.ceil(1.5*c/8),d=[],p=[];return!function t(a,r,n,l,s){for(let c=n;c<l;){let n=c,m=r[c],h=eE(e,a[c]);for(c++;c<l;c++){let t=eE(e,a[c]);if(h+t>=u)break;h+=t}if(c==n+1){if(h>u){let e=a[n];t(e.children,e.positions,0,e.children.length,r[n]+s);continue}d.push(a[n])}else{let t=r[c-1]+a[c-1].length-m;d.push(eP(e,a,r,n,c,m,t,null,i))}p.push(m+s-o)}}(t,a,r,n,0),(s||i)(d,p,l)}class eT{constructor(){this.map=new WeakMap}setBuffer(e,t,a){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,a)}getBuffer(e,t){let a=this.map.get(e);return a&&a.get(t)}set(e,t){e instanceof ew?this.setBuffer(e.context.buffer,e.index,t):e instanceof eb&&this.map.set(e.tree,t)}get(e){return e instanceof ew?this.getBuffer(e.context.buffer,e.index):e instanceof eb?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class e_{constructor(e,t,a,r,n=!1,o=!1){this.from=e,this.to=t,this.tree=a,this.offset=r,this.open=!!n|2*!!o}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],a=!1){let r=[new e_(0,e.length,e,0,!1,a)];for(let a of t)a.to>e.length&&r.push(a);return r}static applyChanges(e,t,a=128){if(!t.length)return e;let r=[],n=1,o=e.length?e[0]:null;for(let l=0,s=0,i=0;;l++){let c=l<t.length?t[l]:null,u=c?c.fromA:1e9;if(u-s>=a)for(;o&&o.from<u;){let t=o;if(s>=t.from||u<=t.to||i){let e=Math.max(t.from,s)-i,a=Math.min(t.to,u)-i;t=e>=a?null:new e_(e,a,t.tree,t.offset+i,l>0,!!c)}if(t&&r.push(t),o.to>u)break;o=n<e.length?e[n++]:null}if(!c)break;s=c.toA,i=c.toA-c.toB}return r}}class ej{startParse(e,t,a){return"string"==typeof e&&(e=new eQ(e)),a=a?a.length?a.map(e=>new eo(e.from,e.to)):[new eo(0,0)]:[new eo(0,e.length)],this.createParse(e,t||[],a)}parse(e,t,a){let r=this.startParse(e,t,a);for(;;){let e=r.advance();if(e)return e}}}class eQ{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}class eL{constructor(e,t,a,r,n,o){this.parser=e,this.parse=t,this.overlay=a,this.bracketed=r,this.target=n,this.from=o}}function eM(e){if(!e.length||e.some(e=>e.from>=e.to))throw RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class eZ{constructor(e,t,a,r,n,o,l,s){this.parser=e,this.predicate=t,this.mounts=a,this.index=r,this.start=n,this.bracketed=o,this.target=l,this.prev=s,this.depth=0,this.ranges=[]}}let eU=new el({perNode:!0});class eX{constructor(e,t,a,r,n){this.nest=t,this.input=a,this.fragments=r,this.ranges=n,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new em(e.type,e.children,e.positions,e.length,e.propValues.concat([[eU,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let a=Object.assign(Object.create(null),e.target.props);a[el.mounted.id]=new es(t,e.overlay,e.parser,e.bracketed),e.target.props=a}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new eq(this.fragments),t=null,a=null,r=new e$(new eb(this.baseTree,this.ranges[0].from,0,null),m.IncludeAnonymous|m.IgnoreMounts);e:for(let n,o;;){let l=!0,s;if(null!=this.stoppedAt&&r.from>=this.stoppedAt)l=!1;else if(e.hasNode(r)){if(t){let e=t.mounts.find(e=>e.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay);if(e)for(let a of e.mount.overlay){let n=a.from+e.pos,o=a.to+e.pos;n>=r.from&&o<=r.to&&!t.ranges.some(e=>e.from<o&&e.to>n)&&t.ranges.push({from:n,to:o})}}l=!1}else if(a&&(o=function(e,t,a){for(let r of e){if(r.from>=a)break;if(r.to>t)return r.from<=t&&r.to>=a?2:1}return 0}(a.ranges,r.from,r.to)))l=2!=o;else if(!r.type.isAnonymous&&(n=this.nest(r,this.input))&&(r.from<r.to||!n.overlay)){!r.tree&&(function(e){let{node:t}=e,a=[],r=t.context.buffer;do a.push(e.index),e.parent();while(!e.tree);let n=e.tree,o=n.children.indexOf(r),l=n.children[o],s=l.buffer,i=[o];for(let r of(n.children[o]=function e(r,n,o,c,u,d){let p=a[d],m=[],h=[];eI(l,r,p,m,h,c);let f=s[p+1],g=s[p+2];i.push(m.length);let v=d?e(p+4,s[p+3],l.set.types[s[p]],f,g-f,d-1):t.toTree();return m.push(v),h.push(f-c),eI(l,s[p+3],n,m,h,c),new em(o,m,h,u)}(0,s.length,ec.none,0,l.length,a.length-1),i)){let t=e.tree.children[r],a=e.tree.positions[r];e.yield(new eb(t,a+e.from,r,e._tree))}}(r),t&&t.depth++,a&&a.depth++);let o=e.findMounts(r.from,n.parser);if("function"==typeof n.overlay)t=new eZ(n.parser,n.overlay,o,this.inner.length,r.from,!!n.bracketed,r.tree,t);else{let e=eW(this.ranges,n.overlay||(r.from<r.to?[new eo(r.from,r.to)]:[]));e.length&&eM(e),(e.length||!n.overlay)&&this.inner.push(new eL(n.parser,e.length?n.parser.startParse(this.input,eD(o,e),e):n.parser.startParse(""),n.overlay?n.overlay.map(e=>new eo(e.from-r.from,e.to-r.from)):null,!!n.bracketed,r.tree,e.length?e[0].from:r.from)),n.overlay?e.length&&(a={ranges:e,depth:0,prev:a}):l=!1}}else if(t&&(s=t.predicate(r))&&(!0===s&&(s=new eo(r.from,r.to)),s.from<s.to)){let e=t.ranges.length-1;e>=0&&t.ranges[e].to==s.from?t.ranges[e]={from:t.ranges[e].from,to:s.to}:t.ranges.push(s)}if(l&&r.firstChild())t&&t.depth++,a&&a.depth++;else for(;!r.nextSibling();){if(!r.parent())break e;if(t&&!--t.depth){let e=eW(this.ranges,t.ranges);e.length&&(eM(e),this.inner.splice(t.index,0,new eL(t.parser,t.parser.startParse(this.input,eD(t.mounts,e),e),t.ranges.map(e=>new eo(e.from-t.start,e.to-t.start)),t.bracketed,t.target,e[0].from))),t=t.prev}!a||--a.depth||(a=a.prev)}}}}function eI(e,t,a,r,n,o){if(t<a){let l=e.buffer[t+1];
1r.push(e.slice(t,a,l)),n.push(l-o)}}class eB{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(m.IncludeAnonymous|m.IgnoreMounts)}moveTo(e){let{cursor:t}=this,a=e-this.offset;for(;!this.done&&t.from<a;)if(t.to>=e&&t.enter(a,1,m.IgnoreOverlays|m.ExcludeBuffers));else if(t.to<=e)t.next(!1)||(this.done=!0);else break}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&0==t.positions[0]&&t.children[0]instanceof em)t=t.children[0];else break}return!1}}class eq{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let a=this.curFrag=e[0];this.curTo=null!=(t=a.tree.prop(eU))?t:a.to,this.inner=new eB(a.tree,-a.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!=(e=t.tree.prop(eU))?e:t.to,this.inner=new eB(t.tree,-t.offset)}}findMounts(e,t){var a;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let n=null==(a=e.tree)?void 0:a.prop(el.mounted);if(n&&n.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let a=this.fragments[t];if(a.from>=e.to)break;a.tree==this.curFrag.tree&&r.push({frag:a,pos:e.from-a.offset,mount:n})}}}return r}}function eW(e,t){let a=null,r=t;for(let n=1,o=0;n<e.length;n++){let l=e[n-1].to,s=e[n].from;for(;o<r.length;o++){let e=r[o];if(e.from>=s)break;!(e.to<=l)&&(a||(r=a=t.slice()),e.from<l?(a[o]=new eo(e.from,l),e.to>s&&a.splice(o+1,0,new eo(s,e.to))):e.to>s?a[o--]=new eo(s,e.to):a.splice(o--,1))}}return r}function eD(e,t){let a=[];for(let{pos:r,mount:n,frag:o}of e){let e=r+(n.overlay?n.overlay[0].from:0),l=e+n.tree.length,s=Math.max(o.from,e),i=Math.min(o.to,l);if(n.overlay){let l=function(e,t,a,r){let n=0,o=0,l=!1,s=!1,i=-1e9,c=[];for(;;){let u=n==e.length?1e9:l?e[n].to:e[n].from,d=o==t.length?1e9:s?t[o].to:t[o].from;if(l!=s){let e=Math.max(i,a),t=Math.min(u,d,r);e<t&&c.push(new eo(e,t))}if(1e9==(i=Math.min(u,d)))break;u==i&&(l?(l=!1,n++):l=!0),d==i&&(s?(s=!1,o++):s=!0)}return c}(t,n.overlay.map(e=>new eo(e.from+r,e.to+r)),s,i);for(let t=0,r=s;;t++){let s=t==l.length,c=s?i:l[t].from;if(c>r&&a.push(new e_(r,c,n.tree,-e,o.from>=r||o.openStart,o.to<=c||o.openEnd)),s)break;r=l[t].to}}else a.push(new e_(s,i,n.tree,-e,o.from>=e||o.openStart,o.to<=l||o.openEnd))}return a}let eN=0;class eV{constructor(e,t,a,r){this.name=e,this.set=t,this.base=a,this.modified=r,this.id=eN++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(e,t){if(e instanceof eV&&(t=e),null==t?void 0:t.base)throw Error("Can not derive from a modified tag");let a=new eV("string"==typeof e?e:"?",[],null,[]);if(a.set.push(a),t)for(let e of t.set)a.set.push(e);return a}static defineModifier(e){let t=new ez(e);return e=>e.modified.indexOf(t)>-1?e:ez.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}}let eF=0;class ez{constructor(e){this.name=e,this.instances=[],this.id=eF++}static get(e,t){if(!t.length)return e;let a=t[0].instances.find(a=>{var r,n;return a.base==e&&(r=t,n=a.modified,r.length==n.length&&r.every((e,t)=>e==n[t]))});if(a)return a;let r=[],n=new eV(e.name,r,e,t);for(let e of t)e.instances.push(n);let o=function(e){let t=[[]];for(let a=0;a<e.length;a++)for(let r=0,n=t.length;r<n;r++)t.push(t[r].concat(e[a]));return t.sort((e,t)=>t.length-e.length)}(t);for(let t of e.set)if(!t.modified.length)for(let e of o)r.push(ez.get(t,e));return n}}function eH(e){let t=Object.create(null);for(let a in e){let r=e[a];for(let e of(Array.isArray(r)||(r=[r]),a.split(" ")))if(e){let a=[],n=2,o=e;for(let t=0;;){if("..."==o&&t>0&&t+3==e.length){n=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!r)throw RangeError("Invalid path: "+e);if(a.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),(t+=r[0].length)==e.length)break;let l=e[t++];if(t==e.length&&"!"==l){n=0;break}if("/"!=l)throw RangeError("Invalid path: "+e);o=e.slice(t)}let l=a.length-1,s=a[l];if(!s)throw RangeError("Invalid path: "+e);let i=new eG(r,n,l>0?a.slice(0,l):null);t[s]=i.sort(t[s])}}return eY.add(t)}let eY=new el({combine(e,t){let a,r,n;for(;e||t;){if(!e||t&&e.depth>=t.depth?(n=t,t=t.next):(n=e,e=e.next),a&&a.mode==n.mode&&!n.context&&!a.context)continue;let o=new eG(n.tags,n.mode,n.context);a?a.next=o:r=o,a=o}return r}});class eG{constructor(e,t,a,r){this.tags=e,this.mode=t,this.context=a,this.next=r}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}function eK(e,t){let a=Object.create(null);for(let t of e)if(Array.isArray(t.tag))for(let e of t.tag)a[e.id]=t.class;else a[t.tag.id]=t.class;let{scope:r,all:n=null}=t||{};return{style:e=>{let t=n;for(let r of e)for(let e of r.set){let r=a[e.id];if(r){t=t?t+" "+r:r;break}}return t},scope:r}}eG.empty=new eG([],2,null);class eJ{constructor(e,t,a){this.at=e,this.highlighters=t,this.span=a,this.class=""}
1startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,a,r,n){let{type:o,from:l,to:s}=e;if(l>=a||s<=t)return;o.isTop&&(n=this.highlighters.filter(e=>!e.scope||e.scope(o)));let i=r,c=function(e){let t=e.type.prop(eY);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||eG.empty,u=function(e,t){let a=null;for(let r of e){let e=r.style(t);e&&(a=a?a+" "+e:e)}return a}(n,c.tags);if(u&&(i&&(i+=" "),i+=u,1==c.mode&&(r+=(r?" ":"")+u)),this.startSpan(Math.max(t,l),i),c.opaque)return;let d=e.tree&&e.tree.prop(el.mounted);if(d&&d.overlay){let o=e.node.enter(d.overlay[0].from+l,1),c=this.highlighters.filter(e=>!e.scope||e.scope(d.tree.type)),u=e.firstChild();for(let p=0,m=l;;p++){let h=p<d.overlay.length?d.overlay[p]:null,f=h?h.from+l:s,g=Math.max(t,m),v=Math.min(a,f);if(g<v&&u)for(;e.from<v&&(this.highlightRange(e,g,v,r,n),this.startSpan(Math.min(v,e.to),i),!(e.to>=f)&&e.nextSibling()););if(!h||f>a)break;(m=h.to+l)>t&&(this.highlightRange(o.cursor(),Math.max(t,h.from+l),Math.min(a,m),"",c),this.startSpan(Math.min(a,m),i))}u&&e.parent()}else if(e.firstChild()){d&&(r="");do{if(e.to<=t)continue;if(e.from>=a)break;this.highlightRange(e,t,a,r,n),this.startSpan(Math.min(a,e.to),i)}while(e.nextSibling());e.parent()}}}let e0=eV.define,e1=e0(),e2=e0(),e4=e0(e2),e8=e0(e2),e3=e0(),e6=e0(e3),e5=e0(e3),e7=e0(),e9=e0(e7),te=e0(),tt=e0(),ta=e0(),tr=e0(ta),tn=e0(),to={comment:e1,lineComment:e0(e1),blockComment:e0(e1),docComment:e0(e1),name:e2,variableName:e0(e2),typeName:e4,tagName:e0(e4),propertyName:e8,attributeName:e0(e8),className:e0(e2),labelName:e0(e2),namespace:e0(e2),macroName:e0(e2),literal:e3,string:e6,docString:e0(e6),character:e0(e6),attributeValue:e0(e6),number:e5,integer:e0(e5),float:e0(e5),bool:e0(e3),regexp:e0(e3),escape:e0(e3),color:e0(e3),url:e0(e3),keyword:te,self:e0(te),null:e0(te),atom:e0(te),unit:e0(te),modifier:e0(te),operatorKeyword:e0(te),controlKeyword:e0(te),definitionKeyword:e0(te),moduleKeyword:e0(te),operator:tt,derefOperator:e0(tt),arithmeticOperator:e0(tt),logicOperator:e0(tt),bitwiseOperator:e0(tt),compareOperator:e0(tt),updateOperator:e0(tt),definitionOperator:e0(tt),typeOperator:e0(tt),controlOperator:e0(tt),punctuation:ta,separator:e0(ta),bracket:tr,angleBracket:e0(tr),squareBracket:e0(tr),paren:e0(tr),brace:e0(tr),content:e7,heading:e9,heading1:e0(e9),heading2:e0(e9),heading3:e0(e9),heading4:e0(e9),heading5:e0(e9),heading6:e0(e9),contentSeparator:e0(e7),list:e0(e7),quote:e0(e7),emphasis:e0(e7),strong:e0(e7),link:e0(e7),monospace:e0(e7),strikethrough:e0(e7),inserted:e0(),deleted:e0(),changed:e0(),invalid:e0(),meta:tn,documentMeta:e0(tn),annotation:e0(tn),processingInstruction:e0(tn),definition:eV.defineModifier("definition"),constant:eV.defineModifier("constant"),function:eV.defineModifier("function"),standard:eV.defineModifier("standard"),local:eV.defineModifier("local"),special:eV.defineModifier("special")};for(let e in to){let t=to[e];t instanceof eV&&(t.name=e)}eK([{tag:to.link,class:"tok-link"},{tag:to.heading,class:"tok-heading"},{tag:to.emphasis,class:"tok-emphasis"},{tag:to.strong,class:"tok-strong"},{tag:to.keyword,class:"tok-keyword"},{tag:to.atom,class:"tok-atom"},{tag:to.bool,class:"tok-bool"},{tag:to.url,class:"tok-url"},{tag:to.labelName,class:"tok-labelName"},{tag:to.inserted,class:"tok-inserted"},{tag:to.deleted,class:"tok-deleted"},{tag:to.literal,class:"tok-literal"},{tag:to.string,class:"tok-string"},{tag:to.number,class:"tok-number"},{tag:[to.regexp,to.escape,to.special(to.string)],class:"tok-string2"},{tag:to.variableName,class:"tok-variableName"},{tag:to.local(to.variableName),class:"tok-variableName tok-local"},{tag:to.definition(to.variableName),class:"tok-variableName tok-definition"},{tag:to.special(to.variableName),class:"tok-variableName2"},{tag:to.definition(to.propertyName),class:"tok-propertyName tok-definition"},{tag:to.typeName,class:"tok-typeName"},{tag:to.namespace,class:"tok-namespace"},{tag:to.className,class:"tok-className"},{tag:to.macroName,class:"tok-macroName"},{tag:to.propertyName,class:"tok-propertyName"},{tag:to.operator,class:"tok-operator"},{tag:to.comment,class:"tok-comment"},{tag:to.meta,class:"tok-meta"},{tag:to.invalid,class:"tok-invalid"},{tag:to.punctuation,class:"tok-punctuation"}]);var tl=a(85938);let ts=new el;function ti(e){return ea.sj.define({combine:e?t=>t.concat(e):void 0})}let tc=new el;class tu{constructor(e,t,a=[],r=""){this.data=e,this.name=r,ea.$t.prototype.hasOwnProperty("tree")||Object.defineProperty(ea.$t.prototype,"tree",{get(){return tm(this)}}),this.parser=t,this.extension=[tx.of(this),ea.$t.languageData.of((e,t,a)=>{let r=td(e,t,a),n=r.type.prop(ts);if(!n)return[];let o=e.facet(n),l=r.type.prop(tc);if(l){let n=r.resolve(t-r.from,a);for(let t of l)if(t.test(n,e)){let a=e.facet(t.facet);return"replace"==t.type?a:a.concat(o)}}return o}
1)].concat(a)}isActiveAt(e,t,a=-1){return td(e,t,a).type.prop(ts)==this.data}findRegions(e){let t=e.facet(tx);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let a=[],r=(e,t)=>{if(e.prop(ts)==this.data)return void a.push({from:t,to:t+e.length});let n=e.prop(el.mounted);if(n){if(n.tree.prop(ts)==this.data){if(n.overlay)for(let e of n.overlay)a.push({from:e.from+t,to:e.to+t});else a.push({from:t,to:t+e.length});return}else if(n.overlay){let e=a.length;if(r(n.tree,n.overlay[0].from+t),a.length>e)return}}for(let a=0;a<e.children.length;a++){let n=e.children[a];n instanceof em&&r(n,e.positions[a]+t)}};return r(tm(e),0),a}get allowsNesting(){return!0}}function td(e,t,a){let r=e.facet(tx),n=tm(e).topNode;if(!r||r.allowsNesting)for(let e=n;e;e=e.enter(t,a,m.ExcludeBuffers|m.EnterBracketed))e.type.isTop&&(n=e);return n}tu.setState=ea.Pe.define();class tp extends tu{constructor(e,t,a){super(e,t,[],a),this.parser=t}static define(e){let t=ti(e.languageData);return new tp(t,e.parser.configure({props:[ts.add(e=>e.isTop?t:void 0)]}),e.name)}configure(e,t){return new tp(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function tm(e){let t=e.field(tu.state,!1);return t?t.tree:em.empty}class th{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let a=this.cursorPos-this.string.length;return e<a||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-a,t-a)}}let tf=null;class tg{constructor(e,t,a=[],r,n,o,l,s){this.parser=e,this.state=t,this.fragments=a,this.tree=r,this.treeLen=n,this.viewport=o,this.skipped=l,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}static create(e,t,a){return new tg(e,t,[],em.empty,0,a,[],null)}startParse(){return this.parser.startParse(new th(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=em.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var a;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let r=this.parse.advance();if(r){if(this.fragments=this.withoutTempSkipped(e_.addTree(r,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!=(a=this.parse.stoppedAt)?a:this.state.doc.length,this.tree=r,this.parse=null,!(this.treeLen<(null!=t?t:this.state.doc.length)))return!0;this.parse=this.startParse()}if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(e_.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=tf;tf=this;try{return e()}finally{tf=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=tv(e,t.from,t.to);return e}changes(e,t){let{fragments:a,tree:r,treeLen:n,viewport:o,skipped:l}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges((e,a,r,n)=>t.push({fromA:e,toA:a,fromB:r,toB:n})),a=e_.applyChanges(a,t),r=em.empty,n=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length)for(let t of(l=[],this.skipped)){let a=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);a<r&&l.push({from:a,to:r})}}return new tg(this.parser,t,a,r,n,o,l,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let t=0;t<this.skipped.length;t++){let{from:a,to:r}=this.skipped[t];a<e.to&&r>e.from&&(this.fragments=tv(this.fragments,a,r),this.skipped.splice(t--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends ej{createParse(t,a,r){let n=r[0].from,o=r[r.length-1].to;return{parsedPos:n,advance(){let t=tf;if(t){for(let e of r)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new em(ec.none,[],[],o-n)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return tf}}function tv(e,t,a){return e_.applyChanges(e,[{fromA:t,toA:a,fromB:t,toB:a}])}class ty{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),a=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,a)||t.takeTree(),new ty(t)}static init(e){let t=Math.min(3e3,e.doc.length),a=tg.create(e.facet(tx).parser,e,{from:0,to:t});return a.work(20,t)||a.takeTree(),new ty(a)}}tu.state=ea.sU.define({create:ty.init,update(e,t){for(let e of t.effects)if(e.is(tu.setState))return e.value;return t.startState.facet(tx)!=t.state.facet(tx)?ty.init(t.state):e.apply(t)}});let tb=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"u">typeof requestIdleCallback&&(tb=e=>{let t=-1,a=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(a):cancelIdleCallback(t)});let tO="u">typeof navigator&&(null==(h=navigator.scheduling)?void 0:h.isInputPending)?()=>navigator.scheduling.isInputPending():null,tk=er.Z9.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(tu.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(tu.state);
1t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=tb(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:a,viewport:{to:r}}=this.view,n=a.field(tu.state);if(n.tree==n.context.tree&&n.context.isDone(r+1e5))return;let o=Date.now()+Math.min(this.chunkBudget,100,e&&!tO?Math.max(25,e.timeRemaining()-5):1e9),l=n.context.treeLen<r&&a.doc.length>r+1e3,s=n.context.work(()=>tO&&tO()||Date.now()>o,r+1e5*!l);this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(n.context.takeTree(),this.view.dispatch({effects:tu.setState.of(new ty(n.context))})),this.chunkBudget>0&&!(s&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(n.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,er.c_)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),tx=ea.sj.define({combine:e=>e.length?e[0]:null,enables:e=>[tu.state,tk,er.Lz.contentAttributes.compute([e],t=>{let a=t.facet(e);return a&&a.name?{"data-language":a.name}:{}})]});class tw{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}let tS=ea.sj.define(),tC=ea.sj.define({combine:e=>{if(!e.length)return"  ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function t$(e){let t=e.facet(tC);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function tA(e,t){let a="",r=e.tabSize,n=e.facet(tC)[0];if("	"==n){for(;t>=r;)a+="	",t-=r;n=" "}for(let e=0;e<t;e++)a+=n;return a}class tR{constructor(e,t={}){this.state=e,this.options=t,this.unit=t$(e)}lineAt(e,t=1){let a=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:n}=this.options;if(null!=r&&r>=a.from&&r<=a.to)if(n&&r==e)return{text:"",from:e};else if(t<0?r<e:r<=e)return{text:a.text.slice(r-a.from),from:r};else return{text:a.text.slice(0,r-a.from),from:a.from};return a}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:a,from:r}=this.lineAt(e,t);return a.slice(e-r,Math.min(a.length,e+100-r))}column(e,t=1){let{text:a,from:r}=this.lineAt(e,t),n=this.countColumn(a,e-r),o=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;return o>-1&&(n+=o-this.countColumn(a,a.search(/\S|$/))),n}countColumn(e,t=e.length){return(0,ea.y$)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:a,from:r}=this.lineAt(e,t),n=this.options.overrideIndentation;if(n){let e=n(r);if(e>-1)return e}return this.countColumn(a,a.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let tE=new el;function tP(e,t,a){for(let r=e;r;r=r.next){let e=function(e){let t=e.type.prop(tE);if(t)return t;let a=e.firstChild,r;if(a&&(r=a.type.prop(el.closedBy))){let t=e.lastChild,a=t&&r.indexOf(t.name)>-1;return e=>tQ(e,!0,1,void 0,a&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?t.from:void 0)}return null==e.parent?tT:null}(r.node);if(e)return e(t_.create(t,a,r))}return 0}function tT(){return 0}class t_ extends tR{constructor(e,t,a){super(e.state,e.options),this.base=e,this.pos=t,this.context=a}get node(){return this.context.node}static create(e,t,a){return new t_(e,t,a)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let a=e.resolve(t.from);for(;a.parent&&a.parent.from==a.from;)a=a.parent;if(function(e,t){for(let a=t;a;a=a.parent)if(e==a)return!0;return!1}(a,e))break;t=this.state.doc.lineAt(a.from)}return this.lineIndent(t.from)}continue(){return tP(this.context.next,this.base,this.pos)}}function tj({closing:e,align:t=!0,units:a=1}){return r=>tQ(r,t,a,e)}function tQ(e,t,a,r,n){let o=e.textAfter,l=o.match(/^\s*/)[0].length,s=r&&o.slice(l,l+r.length)==r||n==e.pos+l,i=t?function(e){let t=e.node,a=t.childAfter(t.from),r=t.lastChild;if(!a)return null;let n=e.options.simulateBreak,o=e.state.doc.lineAt(a.from),l=null==n||n<=o.from?o.to:Math.min(o.to,n);for(let e=a.to;;){let n=t.childAfter(e);if(!n||n==r)return null;if(!n.type.isSkipped){if(n.from>=l)return null;let e=/^ */.exec(o.text.slice(a.to-o.from))[0].length;return{from:a.from,to:a.to+e}}e=n.to}}(e):null;return i?s?e.column(i.from):e.column(i.to):e.baseIndent+(s?0:e.unit*a)}function tL({except:e,units:t=1}={}){return a=>{let r=e&&e.test(a.textAfter);return a.baseIndent+(r?0:t*a.unit)}}let tM=ea.sj.define(),tZ=new el;
1function tU(e){let t=e.firstChild,a=e.lastChild;return t&&t.to<a.from?{from:t.to,to:a.type.isError?e.to:a.from}:null}function tX(e,t,a){for(let r of e.facet(tM)){let n=r(e,t,a);if(n)return n}return function(e,t,a){let r=tm(e);if(r.length<a)return null;let n=r.resolveStack(a,1),o=null;for(let l=n;l;l=l.next){let n=l.node;if(n.to<=a||n.from>a)continue;if(o&&n.from<t)break;let s=n.type.prop(tZ);if(s&&(n.to<r.length-50||r.length==e.doc.length||!function(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}(n))){let r=s(n,e);r&&r.from<=a&&r.from>=t&&r.to>a&&(o=r)}}return o}(e,t,a)}function tI(e,t){let a=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return a>=r?void 0:{from:a,to:r}}let tB=ea.Pe.define({map:tI}),tq=ea.Pe.define({map:tI}),tW=ea.sU.define({create:()=>er.NZ.none,update(e,t){t.isUserEvent("delete")&&t.changes.iterChangedRanges((t,a)=>e=tD(e,t,a)),e=e.map(t.changes);let a=[];for(let r of t.effects)r.is(tB)&&!function(e,t,a){let r=!1;return e.between(t,t,(e,n)=>{e==t&&n==a&&(r=!0)}),r}(e,r.value.from,r.value.to)?a.push(r.value):r.is(tq)&&(e=e.update({filter:(e,t)=>r.value.from!=e||r.value.to!=t,filterFrom:r.value.from,filterTo:r.value.to}));if(a.length){let{preparePlaceholder:r}=t.state.facet(tF),n=a.map(e=>(r?er.NZ.replace({widget:new tG(r(t.state,e))}):tY).range(e.from,e.to));e=e.update({add:n})}return t.selection&&(e=tD(e,t.selection.main.head)),e},provide:e=>er.Lz.decorations.from(e),toJSON(e,t){let a=[];return e.between(0,t.doc.length,(e,t)=>{a.push(e,t)}),a},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let a=0;a<e.length;){let r=e[a++],n=e[a++];if("number"!=typeof r||"number"!=typeof n)throw RangeError("Invalid JSON for fold state");t.push(tY.range(r,n))}return er.NZ.set(t,!0)}});function tD(e,t,a=t){let r=!1;return e.between(t,a,(e,n)=>{e<a&&n>t&&(r=!0)}),r?e.update({filterFrom:t,filterTo:a,filter:(e,r)=>e>=a||r<=t}):e}function tN(e,t,a){var r;let n=null;return null==(r=e.field(tW,!1))||r.between(t,a,(e,t)=>{(!n||n.from>e)&&(n={from:e,to:t})}),n}let tV={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},tF=ea.sj.define({combine:e=>(0,ea.QR)(e,tV)});function tz(e){let t=[tW,t1];return e&&t.push(tF.of(e)),t}function tH(e,t){let{state:a}=e,r=a.facet(tF),n=t=>{let a=e.lineBlockAt(e.posAtDOM(t.target)),r=tN(e.state,a.from,a.to);r&&e.dispatch({effects:tq.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,n,t);let o=document.createElement("span");return o.textContent=r.placeholderText,o.setAttribute("aria-label",a.phrase("folded code")),o.title=a.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=n,o}let tY=er.NZ.replace({widget:new class extends er.xO{toDOM(e){return tH(e,null)}}});class tG extends er.xO{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return tH(e,this.value)}}let tK={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class tJ extends er.wJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function t0(e={}){let t={...tK,...e},a=new tJ(t,!0),r=new tJ(t,!1),n=er.Z9.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(tx)!=e.state.facet(tx)||e.startState.field(tW,!1)!=e.state.field(tW,!1)||tm(e.startState)!=tm(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new ea.vB;for(let n of e.viewportLineBlocks){let o=tN(e.state,n.from,n.to)?r:tX(e.state,n.from,n.to)?a:null;o&&t.add(n.from,n.from,o)}return t.finish()}}),{domEventHandlers:o}=t;return[n,(0,er.cU)({class:"cm-foldGutter",markers(e){var t;return(null==(t=e.plugin(n))?void 0:t.markers)||ea.om.empty},initialSpacer:()=>new tJ(t,!1),domEventHandlers:{...o,click:(e,t,a)=>{if(o.click&&o.click(e,t,a))return!0;let r=tN(e.state,t.from,t.to);if(r)return e.dispatch({effects:tq.of(r)}),!0;let n=tX(e.state,t.from,t.to);return!!n&&(e.dispatch({effects:tB.of(n)}),!0)}}}),tz()]}let t1=er.Lz.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class t2{constructor(e,t){let a;function r(e){let t=tl.G.newName();return(a||(a=Object.create(null)))["."+t]=e,t}this.specs=e;const n="string"==typeof t.all?t.all:t.all?r(t.all):void 0,o=t.scope;this.scope=o instanceof tu?e=>e.prop(ts)==o.data:o?e=>e==o:void 0,this.style=eK(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:n}).style,this.module=a?new tl.G(a):null,this.themeType=t.themeType}static define(e,t){return new t2(e,t||{})}}let t4=ea.sj.define(),t8=ea.sj.define({combine:e=>e.length?[e[0]]:null});function t3(e){let t=e.facet(t4);return t.length?t:e.facet(t8)}function t6(e,t){let a=[t7],r;return e instanceof t2&&(e.module&&a.push(er.Lz.styleModule.of(e.module)),r=e.themeType),
1(null==t?void 0:t.fallback)?a.push(t8.of(e)):r?a.push(t4.computeN([er.Lz.darkTheme],t=>t.facet(er.Lz.darkTheme)==("dark"==r)?[e]:[])):a.push(t4.of(e)),a}class t5{constructor(e){this.markCache=Object.create(null),this.tree=tm(e.state),this.decorations=this.buildDeco(e,t3(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=tm(e.state),a=t3(e.state),r=a!=t3(e.startState),{viewport:n}=e.view,o=e.changes.mapPos(this.decoratedTo,1);t.length<n.to&&!r&&t.type==this.tree.type&&o>=n.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,a),this.decoratedTo=n.to)}buildDeco(e,t){if(!t||!this.tree.length)return er.NZ.none;let a=new ea.vB;for(let{from:r,to:n}of e.visibleRanges)!function(e,t,a,r=0,n=e.length){let o=new eJ(r,Array.isArray(t)?t:[t],a);o.highlightRange(e.cursor(),r,n,"",o.highlighters),o.flush(n)}(this.tree,t,(e,t,r)=>{a.add(e,t,this.markCache[r]||(this.markCache[r]=er.NZ.mark({class:r})))},r,n);return a.finish()}}let t7=ea.Nb.high(er.Z9.fromClass(t5,{decorations:e=>e.decorations})),t9=t2.define([{tag:to.meta,color:"#404740"},{tag:to.link,textDecoration:"underline"},{tag:to.heading,textDecoration:"underline",fontWeight:"bold"},{tag:to.emphasis,fontStyle:"italic"},{tag:to.strong,fontWeight:"bold"},{tag:to.strikethrough,textDecoration:"line-through"},{tag:to.keyword,color:"#708"},{tag:[to.atom,to.bool,to.url,to.contentSeparator,to.labelName],color:"#219"},{tag:[to.literal,to.inserted],color:"#164"},{tag:[to.string,to.deleted],color:"#a11"},{tag:[to.regexp,to.escape,to.special(to.string)],color:"#e40"},{tag:to.definition(to.variableName),color:"#00f"},{tag:to.local(to.variableName),color:"#30a"},{tag:[to.typeName,to.namespace],color:"#085"},{tag:to.className,color:"#167"},{tag:[to.special(to.variableName),to.macroName],color:"#256"},{tag:to.definition(to.propertyName),color:"#00c"},{tag:to.comment,color:"#940"},{tag:to.invalid,color:"#f00"}]),ae=er.Lz.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),at="()[]{}",aa=ea.sj.define({combine:e=>(0,ea.QR)(e,{afterCursor:!0,brackets:at,maxScanDistance:1e4,renderMatch:ao})}),ar=er.NZ.mark({class:"cm-matchingBracket"}),an=er.NZ.mark({class:"cm-nonmatchingBracket"});function ao(e){let t=[],a=e.matched?ar:an;return t.push(a.range(e.start.from,e.start.to)),e.end&&t.push(a.range(e.end.from,e.end.to)),t}function al(e){let t=[],a=e.facet(aa);for(let r of e.selection.ranges){if(!r.empty)continue;let n=ap(e,r.head,-1,a)||r.head>0&&ap(e,r.head-1,1,a)||a.afterCursor&&(ap(e,r.head,1,a)||r.head<e.doc.length&&ap(e,r.head+1,-1,a));n&&(t=t.concat(a.renderMatch(n,e)))}return er.NZ.set(t,!0)}let as=[er.Z9.fromClass(class{constructor(e){this.paused=!1,this.decorations=al(e.state)}update(e){(e.docChanged||e.selectionSet||this.paused)&&(e.view.composing?(this.decorations=this.decorations.map(e.changes),this.paused=!0):(this.decorations=al(e.state),this.paused=!1))}},{decorations:e=>e.decorations}),ae];function ai(e={}){return[aa.of(e),as]}let ac=new el;function au(e,t,a){let r=e.prop(t<0?el.openedBy:el.closedBy);if(r)return r;if(1==e.name.length){let r=a.indexOf(e.name);if(r>-1&&r%2==+(t<0))return[a[r+t]]}return null}function ad(e){let t=e.type.prop(ac);return t?t(e.node):e}function ap(e,t,a,r={}){let n=r.maxScanDistance||1e4,o=r.brackets||at,l=tm(e),s=l.resolveInner(t,a);for(let e=s;e;e=e.parent){let r=au(e.type,a,o);if(r&&e.from<e.to){let n=ad(e);if(n&&(a>0?t>=n.from&&t<n.to:t>n.from&&t<=n.to))return function(e,t,a,r,n){let o=t.parent,l={from:a.from,to:a.to},s=0,i=null==o?void 0:o.cursor();if(i&&(e<0?i.childBefore(t.from):i.childAfter(t.to)))do if(e<0?i.to<=t.from:i.from>=t.to){if(0==s&&r.indexOf(i.type.name)>-1&&i.from<i.to){let e=ad(i);return{start:l,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}else if(au(i.type,e,n))s++;else if(au(i.type,-e,n)){if(0==s){let e=ad(i);return{start:l,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}s--}}while(e<0?i.prevSibling():i.nextSibling());return{start:l,matched:!1}}(a,e,n,r,o)}}return function(e,t,a,r,n,o,l){if(a<0?!t:t==e.doc.length)return null;let s=a<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),i=l.indexOf(s);if(i<0||i%2==0!=a>0)return null;
1let c={from:a<0?t-1:t,to:a>0?t+1:t},u=e.doc.iterRange(t,a>0?e.doc.length:0),d=0;for(let e=0;!u.next().done&&e<=o;){let o=u.value;a<0&&(e+=o.length);let s=t+e*a;for(let e=a>0?0:o.length-1,t=a>0?o.length:-1;e!=t;e+=a){let t=l.indexOf(o[e]);if(!(t<0)&&r.resolveInner(s+e,1).type==n)if(t%2==0==a>0)d++;else{if(1==d)return{start:c,end:{from:s+e,to:s+e+1},matched:t>>1==i>>1};d--}}a>0&&(e+=o.length)}return u.done?{start:c,matched:!1}:null}(e,t,a,l,s.type,n,o)}let am=Object.create(null),ah=[ec.none],af=[],ag=Object.create(null),av=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])av[e]=function(e,t){let a=[];for(let r of t.split(" ")){let t=[];for(let a of r.split(".")){let r=e[a]||to[a];r?"function"==typeof r?t.length?t=t.map(r):ay(a,`Modifier ${a} used at start of tag`):t.length?ay(a,`Tag ${a} used as modifier`):t=Array.isArray(r)?r:[r]:ay(a,`Unknown highlighting tag ${a}`)}for(let e of t)a.push(e)}if(!a.length)return 0;let r=t.replace(/ /g,"_"),n=r+" "+a.map(e=>e.id),o=ag[n];if(o)return o.id;let l=ag[n]=ec.define({id:ah.length,name:r,props:[eH({[r]:a})]});return ah.push(l),l.id}(am,t);function ay(e,t){af.indexOf(e)>-1||(af.push(e),console.warn(t))}er.OP.RTL,er.OP.LTR;let ab=new Map([["aliceblue","#f0f8ff"],["antiquewhite","#faebd7"],["aqua","#00ffff"],["aquamarine","#7fffd4"],["azure","#f0ffff"],["beige","#f5f5dc"],["bisque","#ffe4c4"],["black","#000000"],["blanchedalmond","#ffebcd"],["blue","#0000ff"],["blueviolet","#8a2be2"],["brown","#a52a2a"],["burlywood","#deb887"],["cadetblue","#5f9ea0"],["chartreuse","#7fff00"],["chocolate","#d2691e"],["coral","#ff7f50"],["cornflowerblue","#6495ed"],["cornsilk","#fff8dc"],["crimson","#dc143c"],["cyan","#00ffff"],["darkblue","#00008b"],["darkcyan","#008b8b"],["darkgoldenrod","#b8860b"],["darkgray","#a9a9a9"],["darkgreen","#006400"],["darkgrey","#a9a9a9"],["darkkhaki","#bdb76b"],["darkmagenta","#8b008b"],["darkolivegreen","#556b2f"],["darkorange","#ff8c00"],["darkorchid","#9932cc"],["darkred","#8b0000"],["darksalmon","#e9967a"],["darkseagreen","#8fbc8f"],["darkslateblue","#483d8b"],["darkslategray","#2f4f4f"],["darkslategrey","#2f4f4f"],["darkturquoise","#00ced1"],["darkviolet","#9400d3"],["deeppink","#ff1493"],["deepskyblue","#00bfff"],["dimgray","#696969"],["dimgrey","#696969"],["dodgerblue","#1e90ff"],["firebrick","#b22222"],["floralwhite","#fffaf0"],["forestgreen","#228b22"],["fuchsia","#ff00ff"],["gainsboro","#dcdcdc"],["ghostwhite","#f8f8ff"],["goldenrod","#daa520"],["gold","#ffd700"],["gray","#808080"],["green","#008000"],["greenyellow","#adff2f"],["grey","#808080"],["honeydew","#f0fff0"],["hotpink","#ff69b4"],["indianred","#cd5c5c"],["indigo","#4b0082"],["ivory","#fffff0"],["khaki","#f0e68c"],["lavenderblush","#fff0f5"],["lavender","#e6e6fa"],["lawngreen","#7cfc00"],["lemonchiffon","#fffacd"],["lightblue","#add8e6"],["lightcoral","#f08080"],["lightcyan","#e0ffff"],["lightgoldenrodyellow","#fafad2"],["lightgray","#d3d3d3"],["lightgreen","#90ee90"],["lightgrey","#d3d3d3"],["lightpink","#ffb6c1"],["lightsalmon","#ffa07a"],["lightseagreen","#20b2aa"],["lightskyblue","#87cefa"],["lightslategray","#778899"],["lightslategrey","#778899"],["lightsteelblue","#b0c4de"],["lightyellow","#ffffe0"],["lime","#00ff00"],["limegreen","#32cd32"],["linen","#faf0e6"],["magenta","#ff00ff"],["maroon","#800000"],["mediumaquamarine","#66cdaa"],["mediumblue","#0000cd"],["mediumorchid","#ba55d3"],["mediumpurple","#9370db"],["mediumseagreen","#3cb371"],["mediumslateblue","#7b68ee"],["mediumspringgreen","#00fa9a"],["mediumturquoise","#48d1cc"],["mediumvioletred","#c71585"],["midnightblue","#191970"],["mintcream","#f5fffa"],["mistyrose","#ffe4e1"],["moccasin","#ffe4b5"],["navajowhite","#ffdead"],["navy","#000080"],["oldlace","#fdf5e6"],["olive","#808000"],["olivedrab","#6b8e23"],["orange","#ffa500"],["orangered","#ff4500"],["orchid","#da70d6"],["palegoldenrod","#eee8aa"],["palegreen","#98fb98"],["paleturquoise","#afeeee"],["palevioletred","#db7093"],["papayawhip","#ffefd5"],["peachpuff","#ffdab9"],["peru","#cd853f"],["pink","#ffc0cb"],["plum","#dda0dd"],["powderblue","#b0e0e6"],["purple","#800080"],["rebeccapurple","#663399"],["red","#ff0000"],["rosybrown","#bc8f8f"],["royalblue","#4169e1"],["saddlebrown","#8b4513"],["salmon","#fa8072"],["sandybrown","#f4a460"],["seagreen","#2e8b57"],["seashell","#fff5ee"],["sienna","#a0522d"],["silver","#c0c0c0"],["skyblue","#87ceeb"],["slateblue","#6a5acd"],["slategray","#708090"],["slategrey","#708090"],["snow","#fffafa"],["springgreen","#00ff7f"],["steelblue","#4682b4"],["tan","#d2b48c"],["teal","#008080"],["thistle","#d8bfd8"],["tomato","#ff6347"],["turquoise","#40e0d0"],["violet","#ee82ee"],["wheat","#f5deb3"],["
1white","#ffffff"],["whitesmoke","#f5f5f5"],["yellow","#ffff00"],["yellowgreen","#9acd32"]]);var aO=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a};let ak=new WeakMap;var ax=((i=ax||(ax={})).rgb="RGB",i.hex="HEX",i.named="NAMED",i.hsl="HSL",i);let aw=/rgb(?:a)?\(\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*([,/]\s*0?\.?\d+%?)?\)/,aS=/hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*0?\.\d+)?\)/,aC=/(^|\b)(#[0-9a-f]{3,9})(\b|$)/i;function a$(e,t){let a=[],r=tm(e.state);for(let n of e.visibleRanges)r.iterate({from:n.from,to:n.to,enter:({type:n,from:o,to:l})=>{var s;let i=t(r,o,l,n.name,e.state.doc,null==(s=e.state.facet(tx))?void 0:s.name);if(i){if(!Array.isArray(i))return void a.push(er.NZ.widget({widget:new aj(i),side:1}).range(i.from));for(let e of i)a.push(er.NZ.widget({widget:new aj(e),side:1}).range(e.from))}}});return er.NZ.set(a)}function aA(e){return aR(e.endsWith("%")?Math.round(Number(e.slice(0,-1))/100*255):Number(e))}function aR(e){let t=e.toString(16);return 1===t.length?"0"+t:t}function aE(e){let t=e.slice(1,3),a=e.slice(3,5),r=e.slice(5,7);return[parseInt(t,16),parseInt(a,16),parseInt(r,16)]}function aP(e){return e<0?e+1:e>1?e-1:e}function aT(e,t,a){return 6*a<1?t+(e-t)*6*a:2*a<1?e:3*a<2?t+(e-t)*(.666-a)*6:t}let a_="cm-css-color-picker-wrapper";class aj extends er.xO{constructor(e){var{color:t}=e,a=aO(e,["color"]);super(),this.state=a,this.color=t}eq(e){return e.state.colorType===this.state.colorType&&e.color===this.color&&e.state.from===this.state.from&&e.state.to===this.state.to&&e.state.alpha===this.state.alpha}toDOM(){let e=document.createElement("input");ak.set(e,this.state),e.type="color",e.value=this.color;let t=document.createElement("span");return t.appendChild(e),t.className=a_,t}ignoreEvent(){return!1}}let aQ=er.Lz.baseTheme({[`.${a_}`]:{display:"inline-block",outline:"1px solid #eee",marginRight:"0.6ch",height:"1em",width:"1em",transform:"translateY(1px)"},[`.${a_} input[type="color"]`]:{cursor:"pointer",height:"100%",width:"100%",padding:0,border:"none","&::-webkit-color-swatch-wrapper":{padding:0},"&::-webkit-color-swatch":{border:"none"},"&::-moz-color-swatch":{border:"none"}}}),aL=[(r={discoverColors:function e(t,a,r,n,o,l){var s,i;switch(n){case"AttributeValue":{let r=t.resolveInner(a,0).tree;if(!r)return null;let n=null==(s=r.prop(el.mounted))?void 0:s.tree;if((null==n?void 0:n.type.name)!=="Styles")return null;let l=[];return n.iterate({from:0,to:n.length,enter:({type:r,from:n,to:s})=>{let i=e(t,a+1+n,a+1+s,r.name,o);if(i){if(Array.isArray(i))throw Error("Unexpected nested overlays");l.push(i)}}}),l}case"CallExpression":{let e=function(e){switch(e.slice(0,3)){case"rgb":{var t,a,r;let n=aw.exec(e);if(!n)return null;let[o,l,s,i,c]=n,u=(t=l,a=s,r=i,`#${aA(t)}${aA(a)}${aA(r)}`);return{colorType:ax.rgb,color:u,alpha:c||""}}case"hsl":{let t=aS.exec(e);if(!t)return null;let[a,r,n,o,l]=t,s=function(e,t,a){let r=Number(t)/100,n=Number(a)/100,[o,l,s]=function(e,t,a){let r;if(0===t){let e=Math.round(255*a);return[e,e,e]}r=a<.5?a*(1+t):a+t-a*t;let n=2*a-r,o=aP((e/=360)+.333),l=e,s=aP(e-.333);return[Math.round(255*aT(r,n,o)),Math.round(255*aT(r,n,l)),Math.round(255*aT(r,n,s))]}(Number(e),r,n);return`#${aR(o)}${aR(l)}${aR(s)}`}(r,n,o);return{colorType:ax.hsl,color:s,alpha:l||""}}default:return null}}(o.sliceString(a,r));if(!e)return null;return Object.assign(Object.assign({},e),{from:a,to:r})}case"ColorLiteral":{let e=function(e){var t;if(!aC.exec(e))return null;let[a,r]=4===(t=e).length?[`#${t[1].repeat(2)}${t[2].repeat(2)}${t[3].repeat(2)}`,""]:5===t.length?[`#${t[1].repeat(2)}${t[2].repeat(2)}${t[3].repeat(2)}`,t[4].repeat(2)]:9===t.length?[`#${t.slice(1,-2)}`,t.slice(-2)]:[t,""];return{colorType:ax.hex,color:a,alpha:r}}(o.sliceString(a,r));if(!e)return null;return Object.assign(Object.assign({},e),{from:a,to:r})}case"ValueName":{let e,t=(i=o.sliceString(a,r),(e=ab.get(i))?{colorType:ax.named,color:e,alpha:""}:null);if(!t)return null;return Object.assign(Object.assign({},t),{from:a,to:r})}default:return null}}},er.Z9.fromClass(class{constructor(e){this.decorations=a$(e,r.discoverColors)}update(e){(e.docChanged||e.viewportChanged)&&(this.decorations=a$(e.view,r.discoverColors))}},{decorations:e=>e.decorations,eventHandlers:{change:(e,t)=>
1{let a=e.target;if("INPUT"!==a.nodeName||!a.parentElement||!a.parentElement.classList.contains(a_))return!1;let r=ak.get(a),n=a.value+r.alpha;if(r.colorType===ax.rgb)n=`rgb(${aE(a.value).join(", ")}${r.alpha})`;else if(r.colorType===ax.named)for(let[e,t]of ab.entries())t===a.value&&(n=e);else if(r.colorType===ax.hsl){let[e,t,o]=aE(a.value),[l,s,i]=function(e,t,a){let r,n,o=e/255,l=t/255,s=a/255,i=Math.min(o,l,s),c=Math.max(o,l,s),u=(c+i)/2;if(c===i)return[0,0,u];for(r=u<=.5?(c-i)/(c+i):(c-i)/(2-c-i),n=Math.round(60*(n=c===o?(l-s)/(c-i):l===c?2+(s-o)/(c-i):4+(o-l)/(c-i)));n<0;)n+=360;return[n,r,u]}(e,t,o);n=`hsl(${l}, ${Math.round(100*s)}%, ${Math.round(100*i)}%${r.alpha})`}return t.dispatch({changes:{from:r.from,to:r.to,insert:n}}),!0}}})),aQ];class aM{constructor(e,t,a,r){this.state=e,this.pos=t,this.explicit=a,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=tm(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),a=Math.max(t.from,this.pos-250),r=t.text.slice(a-t.from,this.pos-t.from),n=r.search(aB(e,!1));return n<0?null:{from:a+n,to:this.pos,text:r.slice(n)}}get aborted(){return null==this.abortListeners}addEventListener(e,t,a){"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),a&&a.onDocChange&&(this.abortOnDocChange=!0))}}function aZ(e){let t=Object.keys(e).join(""),a=/\w/.test(t);return a&&(t=t.replace(/\w/g,"")),`[${a?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function aU(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[a,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),a=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e<r.length;e++)a[r[e]]=!0}let r=aZ(t)+aZ(a)+"*$";return[RegExp("^"+r),new RegExp(r)]}(t);return e=>{let n=e.matchBefore(r);return n||e.explicit?{from:n?n.from:e.pos,options:t,validFor:a}:null}}class aX{constructor(e,t,a,r){this.completion=e,this.source=t,this.match=a,this.score=r}}function aI(e){return e.selection.main.from}function aB(e,t){var a;let{source:r}=e,n=t&&"^"!=r[0],o="$"!=r[r.length-1];return n||o?RegExp(`${n?"^":""}(?:${r})${o?"$":""}`,null!=(a=e.flags)?a:e.ignoreCase?"i":""):e}let aq=ea.YH.define(),aW=new WeakMap;function aD(e){if(!Array.isArray(e))return e;let t=aW.get(e);return t||aW.set(e,t=aU(e)),t}let aN=ea.Pe.define(),aV=ea.Pe.define();class aF{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t<e.length;){let a=(0,ea.vS)(e,t),r=(0,ea.Fh)(a);this.chars.push(a);let n=e.slice(t,t+r),o=n.toUpperCase();this.folded.push((0,ea.vS)(o==n?n.toLowerCase():o,0)),t+=r}this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,this}match(e){if(0==this.pattern.length)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:t,folded:a,any:r,precise:n,byWord:o}=this;if(1==t.length){let r=(0,ea.vS)(e,0),n=(0,ea.Fh)(r),o=n==e.length?0:-100;if(r==t[0]);else{if(r!=a[0])return null;o+=-200}return this.ret(o,[0,n])}let l=e.indexOf(this.pattern);if(0==l)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let s=t.length,i=0;if(l<0){for(let n=0,o=Math.min(e.length,200);n<o&&i<s;){let o=(0,ea.vS)(e,n);(o==t[i]||o==a[i])&&(r[i++]=n),n+=(0,ea.Fh)(o)}if(i<s)return null}let c=0,u=0,d=!1,p=0,m=-1,h=-1,f=/[a-z]/.test(e),g=!0;for(let r=0,i=Math.min(e.length,200),v=0;r<i&&u<s;){let i=(0,ea.vS)(e,r);l<0&&(c<s&&i==t[c]&&(n[c++]=r),p<s&&(i==t[p]||i==a[p]?(0==p&&(m=r),h=r+1,p++):p=0));let y,b=i<255?i>=48&&i<=57||i>=97&&i<=122?2:+(i>=65&&i<=90):(y=(0,ea.MK)(i))!=y.toLowerCase()?1:2*(y!=y.toUpperCase());(!r||1==b&&f||0==v&&0!=b)&&(t[u]==i||a[u]==i&&(d=!0)?o[u++]=r:o.length&&(g=!1)),v=b,r+=(0,ea.Fh)(i)}return u==s&&0==o[0]&&g?this.result(-100+(d?-200:0),o,e):p==s&&0==m?this.ret(-200-e.length+(h==e.length?0:-100),[0,h]):l>-1?this.ret(-700-e.length,[l,l+this.pattern.length]):p==s?this.ret(-900-e.length,[m,h]):u==s?this.result(-100+(d?-200:0)+-700+(g?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,a){let r=[],n=0;
1for(let e of t){let t=e+(this.astral?(0,ea.Fh)((0,ea.vS)(a,e)):1);n&&r[n-1]==e?r[n-1]=t:(r[n++]=e,r[n++]=t)}return this.ret(e-a.length,r)}}class az{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let t=e.slice(0,this.pattern.length),a=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null;return null==a?null:(this.matched=[0,t.length],this.score=a+(e.length==this.pattern.length?0:-100),this)}}let aH=ea.sj.define({combine:e=>(0,ea.QR)(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:aG,filterStrict:!1,compareCompletions:(e,t)=>(e.sortText||e.label).localeCompare(t.sortText||t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>a=>aY(e(a),t(a)),optionClass:(e,t)=>a=>aY(e(a),t(a)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})});function aY(e,t){return e?t?e+" "+t:e:t}function aG(e,t,a,r,n,o){let l=e.textDirection==er.OP.RTL,s=l,i=!1,c="top",u,d,p=t.left-n.left,m=n.right-t.right,h=r.right-r.left,f=r.bottom-r.top;if(s&&p<Math.min(h,m)?s=!1:!s&&m<Math.min(h,p)&&(s=!0),h<=(s?p:m))u=Math.max(n.top,Math.min(a.top,n.bottom-f))-t.top,d=Math.min(400,s?p:m);else{i=!0,d=Math.min(400,(l?t.right:n.right-t.left)-30);let e=n.bottom-t.bottom;e>=f||e>t.top?u=a.bottom-t.top:(c="bottom",u=t.bottom-a.top)}let g=(t.bottom-t.top)/o.offsetHeight,v=(t.right-t.left)/o.offsetWidth;return{style:`${c}: ${u/g}px; max-width: ${d/v}px`,class:"cm-completionInfo-"+(i?l?"left-narrow":"right-narrow":s?"left":"right")}}let aK=ea.Pe.define();function aJ(e,t,a){if(e<=a)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/a);return{from:e*a,to:(e+1)*a}}let r=Math.ceil((e-t)/a);return{from:e-r*a,to:e-(r-1)*a}}class a0{constructor(e,t,a){this.view=e,this.stateField=t,this.applyCompletion=a,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let r=e.state.field(t),{options:n,selected:o}=r.open,l=e.state.facet(aH);this.optionContent=function(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),t.push({render(e,t,a,r){let n=document.createElement("span");n.className="cm-completionLabel";let o=e.displayLabel||e.label,l=0;for(let e=0;e<r.length;){let t=r[e++],a=r[e++];t>l&&n.appendChild(document.createTextNode(o.slice(l,t)));let s=n.appendChild(document.createElement("span"));s.appendChild(document.createTextNode(o.slice(t,a))),s.className="cm-completionMatchedText",l=a}return l<o.length&&n.appendChild(document.createTextNode(o.slice(l))),n},position:50},{render(e){if(!e.detail)return null;let t=document.createElement("span");return t.className="cm-completionDetail",t.textContent=e.detail,t},position:80}),t.sort((e,t)=>e.position-t.position).map(e=>e.render)}(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=aJ(n.length,o,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",a=>{let{options:r}=e.state.field(t).open;for(let t=a.target,n;t&&t!=this.dom;t=t.parentNode)if("LI"==t.nodeName&&(n=/-(\d+)$/.exec(t.id))&&+n[1]<r.length){this.applyCompletion(e,r[+n[1]]),a.preventDefault();return}if(a.target==this.list){let t=this.list.classList.contains("cm-completionListIncompleteTop")&&a.clientY<this.list.firstChild.getBoundingClientRect().top?this.range.from-1:this.list.classList.contains("cm-completionListIncompleteBottom")&&a.clientY>this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;
1null!=t&&(e.dispatch({effects:aK.of(t)}),a.preventDefault())}}),this.dom.addEventListener("focusout",t=>{let a=e.state.field(this.stateField,!1);a&&a.tooltip&&e.state.facet(aH).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:aV.of(null)})}),this.showOptions(n,r.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let a=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),a!=r){let{options:n,selected:o,disabled:l}=a.open;r.open&&r.open.options==n||(this.range=aJ(n.length,o,e.state.facet(aH).maxRenderedOptions),this.showOptions(n,a.id)),this.updateSel(),l!=(null==(t=r.open)?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!l)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(" "))e&&this.dom.classList.remove(e);for(let e of t.split(" "))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;(t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=aJ(t.options.length,t.selected,this.view.state.facet(aH).maxRenderedOptions),this.showOptions(t.options,e.id));let a=this.updateSelectedOption(t.selected);if(a){this.destroyInfo();
1let{completion:r}=t.options[t.selected],{info:n}=r;if(!n)return;let o="string"==typeof n?document.createTextNode(n):n(r);if(!o)return;"then"in o?o.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,r)}).catch(e=>(0,er.c_)(this.view.state,e,"completion info")):(this.addInfoPane(o,r),a.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,t){this.destroyInfo();let a=this.info=document.createElement("div");if(a.className="cm-tooltip cm-completionInfo",a.id="cm-completionInfo-"+Math.floor(65535*Math.random()).toString(16),null!=e.nodeType)a.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:r}=e;a.appendChild(t),this.infoDestroy=r||null}this.dom.appendChild(a),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){var t,a;let r,n,o,l=null;for(let t=this.list.firstChild,a=this.range.from;t;t=t.nextSibling,a++)"LI"==t.nodeName&&t.id?a==e?t.hasAttribute("aria-selected")||(t.setAttribute("aria-selected","true"),l=t):t.hasAttribute("aria-selected")&&(t.removeAttribute("aria-selected"),t.removeAttribute("aria-describedby")):a--;return l&&(t=this.list,a=l,r=t.getBoundingClientRect(),n=a.getBoundingClientRect(),o=r.height/t.offsetHeight,n.top<r.top?t.scrollTop-=(r.top-n.top)/o:n.bottom>r.bottom&&(t.scrollTop+=(n.bottom-r.bottom)/o)),l}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),a=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),n=this.space;if(!n){let e=this.dom.ownerDocument.documentElement;n={left:0,top:0,right:e.clientWidth,bottom:e.clientHeight}}return r.top>Math.min(n.bottom,t.bottom)-10||r.bottom<Math.max(n.top,t.top)+10?null:this.view.state.facet(aH).positionInfo(this.view,t,r,a,n,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,t,a){let r=document.createElement("ul");r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions")),r.addEventListener("mousedown",e=>{e.target==r&&e.preventDefault()});let n=null;for(let o=a.from;o<a.to;o++){let{completion:l,match:s}=e[o],{section:i}=l;if(i){let e="string"==typeof i?i:i.name;e!=n&&(o>a.from||0==a.from)&&(n=e,"string"!=typeof i&&i.header?r.appendChild(i.header(i)):r.appendChild(document.createElement("completion-section")).textContent=e)}let c=r.appendChild(document.createElement("li"));c.id=t+"-"+o,c.setAttribute("role","option");let u=this.optionClass(l);for(let e of(u&&(c.className=u),this.optionContent)){let t=e(l,this.view.state,this.view,s);t&&c.appendChild(t)}}return a.from&&r.classList.add("cm-completionListIncompleteTop"),a.to<e.length&&r.classList.add("cm-completionListIncompleteBottom"),r}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function a1(e){return 100*(e.boost||0)+10*!!e.apply+5*!!e.info+ +!!e.type}class a2{constructor(e,t,a,r,n,o){this.options=e,this.attrs=t,this.tooltip=a,this.timestamp=r,this.selected=n,this.disabled=o}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new a2(this.options,a6(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,a,r,n,o){if(r&&!o&&e.some(e=>e.isPending))return r.setDisabled();let l=function(e,t){let a=[],r=null,n=null,o=e=>{a.push(e);let{section:t}=e.completion;if(t){r||(r=[]);let e="string"==typeof t?t:t.name;r.some(t=>t.name==e)||r.push("string"==typeof t?{name:e}:t)}},l=t.facet(aH);for(let r of e)if(r.hasResult()){let e=r.result.getMatch;if(!1===r.result.filter)for(let t of r.result.options)o(new aX(t,r.source,e?e(t):[],1e9-a.length));else{let a=t.sliceDoc(r.from,r.to),s,i=l.filterStrict?new az(a):new aF(a);for(let t of r.result.options)if(s=i.match(t.label)){let a=t.displayLabel?e?e(t,s.matched):[]:s.matched,l=s.score+(t.boost||0);if(o(new aX(t,r.source,a,l)),"object"==typeof t.section&&"dynamic"===t.section.rank){let{name:e}=t.section;n||(n=Object.create(null)),n[e]=Math.max(l,n[e]||-1e9)}}}}if(r){let e=Object.create(null),t=0;for(let a of r.sort((e,t)=>
1("dynamic"===e.rank&&"dynamic"===t.rank?n[t.name]-n[e.name]:0)||("number"==typeof e.rank?e.rank:1e9)-("number"==typeof t.rank?t.rank:1e9)||(e.name<t.name?-1:1)))t-=1e5,e[a.name]=t;for(let t of a){let{section:a}=t.completion;a&&(t.score+=e["string"==typeof a?a:a.name])}}let s=[],i=null,c=l.compareCompletions;for(let e of a.sort((e,t)=>t.score-e.score||c(e.completion,t.completion))){let t=e.completion;i&&i.label==t.label&&i.detail==t.detail&&(null==i.type||null==t.type||i.type==t.type)&&i.apply==t.apply&&i.boost==t.boost?a1(e.completion)>a1(i)&&(s[s.length-1]=e):s.push(e),i=e.completion}return s}(e,t);if(!l.length)return r&&e.some(e=>e.isPending)?r.setDisabled():null;let s=t.facet(aH).selectOnOpen?0:-1;if(r&&r.selected!=s&&-1!=r.selected){let e=r.options[r.selected].completion;for(let t=0;t<l.length;t++)if(l[t].completion==e){s=t;break}}return new a2(l,a6(a,s),{pos:e.reduce((e,t)=>t.hasResult()?Math.min(e,t.from):e,1e8),create:rn,above:n.aboveCursor},r?r.timestamp:Date.now(),s,!1)}map(e){return new a2(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new a2(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class a4{constructor(e,t,a){this.active=e,this.id=t,this.open=a}static start(){return new a4(a5,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,a=t.facet(aH),r=(a.override||t.languageDataAt("autocomplete",aI(t)).map(aD)).map(t=>(this.active.find(e=>e.source==t)||new a9(t,+!!this.active.some(e=>0!=e.state))).update(e,a));r.length==this.active.length&&r.every((e,t)=>e==this.active[t])&&(r=this.active);let n=this.open,o=e.effects.some(e=>e.is(rt));for(let l of(n&&e.docChanged&&(n=n.map(e.changes)),e.selection||r.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let a=0,r=0;;){for(;a<e.length&&!e[a].hasResult();)a++;for(;r<t.length&&!t[r].hasResult();)r++;let n=a==e.length,o=r==t.length;if(n||o)return n==o;if(e[a++].result!=t[r++].result)return!1}}(r,this.active)||o?n=a2.build(r,t,this.id,n,a,o):n&&n.disabled&&!r.some(e=>e.isPending)&&(n=null),!n&&r.every(e=>!e.isPending)&&r.some(e=>e.hasResult())&&(r=r.map(e=>e.hasResult()?new a9(e.source,0):e)),e.effects))l.is(aK)&&(n=n&&n.setSelected(l.value,this.id));return r==this.active&&n==this.open?this:new a4(r,this.id,n)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?a8:a3}}let a8={"aria-autocomplete":"list"},a3={};function a6(e,t){let a={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(a["aria-activedescendant"]=e+"-"+t),a}let a5=[];function a7(e,t){if(e.isUserEvent("input.complete")){let a=e.annotation(aq);if(a&&t.activateOnCompletion(a))return 12}let a=e.isUserEvent("input.type");return a&&t.activateOnTyping?5:a?1:e.isUserEvent("delete.backward")?2:e.selection?8:16*!!e.docChanged}class a9{constructor(e,t,a=!1){this.source=e,this.state=t,this.explicit=a}hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){let a=a7(e,t),r=this;for(let t of((8&a||16&a&&this.touches(e))&&(r=new a9(r.source,0)),4&a&&0==r.state&&(r=new a9(this.source,1)),r=r.updateFor(e,a),e.effects))if(t.is(aN))r=new a9(r.source,1,t.value);else if(t.is(aV))r=new a9(r.source,0);else if(t.is(rt))for(let e of t.value)e.source==r.source&&(r=e);return r}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(aI(e.state))}}class re extends a9{constructor(e,t,a,r,n,o){super(e,3,t),this.limit=a,this.result=r,this.from=n,this.to=o}hasResult(){return!0}updateFor(e,t){var a;if(!(3&t))return this.map(e.changes);let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes));let n=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),l=aI(e.state);if(l>o||!r||2&t&&(aI(e.startState)==this.from||l<this.limit))return new a9(this.source,4&t?1:0);let s=e.changes.mapPos(this.limit);return!function(e,t,a,r){if(!e)return!1;let n=t.sliceDoc(a,r);return"function"==typeof e?e(n,a,r,t):aB(e,!0).test(n)}(r.validFor,e.state,n,o)?r.update&&(r=r.update(r,n,o,new aM(e.state,l,!1)))?new re(this.source,this.explicit,s,r,r.from,null!=(a=r.to)?a:aI(e.state)):new a9(this.source,1,this.explicit):new re(this.source,this.explicit,s,r,n,o)}map(e){if(e.empty)return this;let t=this.result.map?this.result.map(this.result,e):this.result;return t?new re(this.source,this.explicit,e.mapPos(this.limit),t,e.mapPos(this.from),e.mapPos(this.to,1)):new a9(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}let rt=ea.Pe.define({map:(e,t)=>e.map(e=>e.map(t))}),ra=ea.sU.define({create:()=>a4.start(),update:(e,t)=>
1e.update(t),provide:e=>[er.DK.from(e,e=>e.tooltip),er.Lz.contentAttributes.from(e,e=>e.attrs)]});function rr(e,t){let a=t.completion.apply||t.completion.label,r=e.state.field(ra).active.find(e=>e.source==t.source);return r instanceof re&&("string"==typeof a?e.dispatch({...function(e,t,a,r){let{main:n}=e.selection,o=a-n.from,l=r-n.from;return{...e.changeByRange(s=>{if(s!=n&&a!=r&&e.sliceDoc(s.from+o,s.from+l)!=e.sliceDoc(a,r))return{range:s};let i=e.toText(t);return{changes:{from:s.from+o,to:r==n.from?s.to:s.from+l,insert:i},range:ea.OF.cursor(s.from+o+i.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}(e.state,a,r.from,r.to),annotations:aq.of(t.completion)}):a(e,t.completion,r.from,r.to),!0)}let rn=e=>new a0(e,ra,rr);function ro(e,t="option"){return a=>{let r=a.state.field(ra,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<a.state.facet(aH).interactionDelay)return!1;let n=1,o;"page"==t&&(o=(0,er.Eg)(a,r.open.tooltip))&&(n=Math.max(2,Math.floor(o.dom.offsetHeight/o.dom.querySelector("li").offsetHeight)-1));let{length:l}=r.open.options,s=r.open.selected>-1?r.open.selected+n*(e?1:-1):e?0:l-1;return s<0?s="page"==t?0:l-1:s>=l&&(s="page"==t?l-1:0),a.dispatch({effects:aK.of(s)}),!0}}let rl=e=>!!e.state.field(ra,!1)&&(e.dispatch({effects:aN.of(!0)}),!0);class rs{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let ri=er.Z9.fromClass(class{constructor(e){for(let t of(this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0,e.state.field(ra).active))t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(ra),a=e.state.facet(aH);if(!e.selectionSet&&!e.docChanged&&e.startState.field(ra)==t)return;let r=e.transactions.some(e=>{let t=a7(e,a);return 8&t||(e.selection||e.docChanged)&&!(3&t)});for(let t=0;t<this.running.length;t++){let a=this.running[t];if(r||a.context.abortOnDocChange&&e.docChanged||a.updates.length+e.transactions.length>50&&Date.now()-a.time>1e3){for(let e of a.context.abortListeners)try{e()}catch(e){(0,er.c_)(this.view.state,e)}a.context.abortListeners=null,this.running.splice(t--,1)}else a.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(aN)))&&(this.pendingStart=!0);let n=this.pendingStart?50:a.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>e.isPending&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),n):-1,0!=this.composing)for(let t of e.transactions)t.isUserEvent("input.type")?this.composing=2:2==this.composing&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(ra);for(let e of t.active)e.isPending&&!this.running.some(t=>t.active.source==e.source)&&this.startQuery(e);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(aH).updateSyncTime))}startQuery(e){let{state:t}=this.view,a=aI(t),r=new aM(t,a,e.explicit,this.view),n=new rs(e,r);this.running.push(n),Promise.resolve(e.source(r)).then(e=>{n.context.aborted||(n.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:aV.of(null)}),(0,er.c_)(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(aH).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],a=this.view.state.facet(aH),r=this.view.state.field(ra);for(let n=0;n<this.running.length;n++){let o=this.running[n];if(void 0===o.done)continue;if(this.running.splice(n--,1),o.done){let r=aI(o.updates.length?o.updates[0].startState:this.view.state),n=Math.min(r,o.done.from+ +!o.active.explicit),l=new re(o.active.source,o.active.explicit,n,o.done,o.done.from,null!=(e=o.done.to)?e:r);for(let e of o.updates)l=l.update(e,a);if(l.hasResult()){t.push(l);continue}}let l=r.active.find(e=>e.source==o.active.source);if(l&&l.isPending)if(null==o.done){let e=new a9(o.active.source,0);for(let t of o.updates)e=e.update(t,a);e.isPending||t.push(e)}else this.startQuery(l)}(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:rt.of(t)}
1)}},{eventHandlers:{blur(e){let t=this.view.state.field(ra,!1);if(t&&t.tooltip&&this.view.state.facet(aH).closeOnBlur){let a=t.open&&(0,er.Eg)(this.view,t.open.tooltip);a&&a.dom.contains(e.relatedTarget)||setTimeout(()=>this.view.dispatch({effects:aV.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:aN.of(!1)}),20),this.composing=0}}}),rc="object"==typeof navigator&&/Win/.test(navigator.platform),ru=ea.Nb.highest(er.Lz.domEventHandlers({keydown(e,t){let a=t.state.field(ra,!1);if(!a||!a.open||a.open.disabled||a.open.selected<0||e.key.length>1||e.ctrlKey&&!(rc&&e.altKey)||e.metaKey)return!1;let r=a.open.options[a.open.selected],n=a.active.find(e=>e.source==r.source),o=r.completion.commitCharacters||n.result.commitCharacters;return o&&o.indexOf(e.key)>-1&&rr(t,r),!1}})),rd=er.Lz.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center",cursor:"pointer"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class rp{constructor(e,t,a,r){this.field=e,this.line=t,this.from=a,this.to=r}}class rm{constructor(e,t,a){this.field=e,this.from=t,this.to=a}map(e){let t=e.mapPos(this.from,-1,ea.iR.TrackDel),a=e.mapPos(this.to,1,ea.iR.TrackDel);return null==t||null==a?null:new rm(this.field,t,a)}}class rh{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let a=[],r=[t],n=e.doc.lineAt(t),o=/^\s*/.exec(n.text)[0];for(let n of this.lines){if(a.length){let a=o,l=/^\t*/.exec(n)[0].length;for(let t=0;t<l;t++)a+=e.facet(tC);r.push(t+a.length-l),n=a+n.slice(l)}a.push(n),t+=n.length+1}return{text:a,ranges:this.fieldPositions.map(e=>new rm(e.field,r[e.line]+e.from,r[e.line]+e.to))}}static parse(e){let t=[],a=[],r=[],n;for(let o of e.split(/\r\n?|\n/)){for(;n=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(o);){let e=n[1]?+n[1]:null,l=n[2]||n[3]||"",s=-1;0===e&&(e=1e9);let i=l.replace(/\\[{}]/g,e=>e[1]);for(let a=0;a<t.length;a++)(null!=e?t[a].seq==e:i&&t[a].name==i)&&(s=a);if(s<0){let a=0;for(;a<t.length&&(null==e||null!=t[a].seq&&t[a].seq<e);)a++;for(let n of(t.splice(a,0,{seq:e,name:i}),s=a,r))n.field>=s&&n.field++}for(let e of r)if(e.line==a.length&&e.from>n.index){let t=n[2]?3+(n[1]||"").length:2;e.from-=t,e.to-=t}r.push(new rp(s,a.length,n.index,n.index+i.length)),o=o.slice(0,n.index)+l+o.slice(n.index+n[0].length)}o=o.replace(/\\([{}])/g,(e,t,n)=>{for(let e of r)e.line==a.length&&e.from>n&&(e.from--,e.to--);return t}),a.push(o)}return new rh(a,r)}}let rf=er.NZ.widget({widget:new class extends er.xO{toDOM(){let e=document.createElement("span");
1return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),rg=er.NZ.mark({class:"cm-snippetField"});class rv{constructor(e,t){this.ranges=e,this.active=t,this.deco=er.NZ.set(e.map(e=>(e.from==e.to?rf:rg).range(e.from,e.to)),!0)}map(e){let t=[];for(let a of this.ranges){let r=a.map(e);if(!r)return null;t.push(r)}return new rv(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let ry=ea.Pe.define({map:(e,t)=>e&&e.map(t)}),rb=ea.Pe.define(),rO=ea.sU.define({create:()=>null,update(e,t){for(let a of t.effects){if(a.is(ry))return a.value;if(a.is(rb)&&e)return new rv(e.ranges,a.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>er.Lz.decorations.from(e,e=>e?e.deco:er.NZ.none)});function rk(e,t){return ea.OF.create(e.filter(e=>e.field==t).map(e=>ea.OF.range(e.from,e.to)))}function rx(e){return({state:t,dispatch:a})=>{let r=t.field(rO,!1);if(!r||e<0&&0==r.active)return!1;let n=r.active+e,o=e>0&&!r.ranges.some(t=>t.field==n+e);return a(t.update({selection:rk(r.ranges,n),effects:ry.of(o?null:new rv(r.ranges,n)),scrollIntoView:!0})),!0}}let rw=[{key:"Tab",run:rx(1),shift:rx(-1)},{key:"Escape",run:({state:e,dispatch:t})=>!!e.field(rO,!1)&&(t(e.update({effects:ry.of(null)})),!0)}],rS=ea.sj.define({combine:e=>e.length?e[0]:rw}),rC=ea.Nb.highest(er.w4.compute([rS],e=>e.facet(rS)));function r$(e,t){let a;return{...t,apply:(a=rh.parse(e),(e,t,r,n)=>{let{text:o,ranges:l}=a.instantiate(e.state,r),{main:s}=e.state.selection,i={changes:{from:r,to:n==s.from?s.to:n,insert:ea.EY.of(o)},scrollIntoView:!0,annotations:t?[aq.of(t),ea.ZX.userEvent.of("input.complete")]:void 0};if(l.length&&(i.selection=rk(l,0)),l.some(e=>e.field>0)){let t=new rv(l,0),a=i.effects=[ry.of(t)];void 0===e.state.field(rO,!1)&&a.push(ea.Pe.appendConfig.of([rO,rC,rA,rd]))}e.dispatch(e.state.update(i))})}}let rA=er.Lz.domEventHandlers({mousedown(e,t){let a=t.state.field(rO,!1),r;if(!a||null==(r=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let n=a.ranges.find(e=>e.from<=r&&e.to>=r);return!!n&&n.field!=a.active&&(t.dispatch({selection:rk(a.ranges,n.field),effects:ry.of(a.ranges.some(e=>e.field>n.field)?new rv(a.ranges,n.field):null),scrollIntoView:!0}),!0)}}),rR={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},rE=ea.Pe.define({map(e,t){let a=t.mapPos(e,-1,ea.iR.TrackAfter);return null==a?void 0:a}}),rP=new class extends ea.FB{};rP.startSide=1,rP.endSide=-1;let rT=ea.sU.define({create:()=>ea.om.empty,update(e,t){if(e=e.map(t.changes),t.selection){let a=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=a.from&&e<=a.to})}for(let a of t.effects)a.is(rE)&&(e=e.update({add:[rP.range(a.value,a.value+1)]}));return e}}),r_="()[]{}<>\xab\xbb\xbb\xab[]{}";function rj(e){for(let t=0;t<r_.length;t+=2)if(r_.charCodeAt(t)==e)return r_.charAt(t+1);return(0,ea.MK)(e<128?e:e+1)}function rQ(e,t){return e.languageDataAt("closeBrackets",t)[0]||rR}let rL="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),rM=er.Lz.inputHandler.of((e,t,a,r)=>{if((rL?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let n=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,ea.Fh)((0,ea.vS)(r,0))||t!=n.from||a!=n.to)return!1;let o=function(e,t){let a=rQ(e,e.selection.main.head),r=a.brackets||rR.brackets;for(let n of r){let o=rj((0,ea.vS)(n,0));if(t==n)return o==n?function(e,t,a,r){let n=r.stringPrefixes||rR.stringPrefixes,o=null,l=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:rE.of(r.to+t.length),range:ea.OF.range(r.anchor+t.length,r.head+t.length)};let l=r.head,s=rX(e.doc,l),i;if(s==t){if(rI(e,l))return{changes:{insert:t+t,from:l},effects:rE.of(l+t.length),range:ea.OF.cursor(l+t.length)};else if(rU(e,l)){let r=a&&e.sliceDoc(l,l+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:l,to:l+r.length,insert:r},range:ea.OF.cursor(l+r.length)}}}else if(a&&e.sliceDoc(l-2*t.length,l)==t+t&&(i=rB(e,l-2*t.length,n))>-1&&rI(e,i))return{changes:{insert:t+t+t+t,from:l},effects:rE.of(l+t.length),range:ea.OF.cursor(l+t.length)};else if(e.charCategorizer(l)(s)!=ea.Je.Word&&rB(e,l,n)>-1&&!function(e,t,a,r){let n=tm(e).resolveInner(t,-1),o=r.reduce((e,t)=>
1Math.max(e,t.length),0);for(let l=0;l<5;l++){let l=e.sliceDoc(n.from,Math.min(n.to,n.from+a.length+o)),s=l.indexOf(a);if(!s||s>-1&&r.indexOf(l.slice(0,s))>-1){let t=n.firstChild;for(;t&&t.from==n.from&&t.to-t.from>a.length+s;){if(e.sliceDoc(t.to-a.length,t.to)==a)return!1;t=t.firstChild}return!0}let i=n.to==t&&n.parent;if(!i)break;n=i}return!1}(e,l,t,n))return{changes:{insert:t+t,from:l},effects:rE.of(l+t.length),range:ea.OF.cursor(l+t.length)};return{range:o=r}});return o?null:e.update(l,{scrollIntoView:!0,userEvent:"input.type"})}(e,n,r.indexOf(n+n+n)>-1,a):function(e,t,a,r){let n=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:a,from:o.to}],effects:rE.of(o.to+t.length),range:ea.OF.range(o.anchor+t.length,o.head+t.length)};let l=rX(e.doc,o.head);return!l||/\s/.test(l)||r.indexOf(l)>-1?{changes:{insert:t+a,from:o.head},effects:rE.of(o.head+t.length),range:ea.OF.cursor(o.head+t.length)}:{range:n=o}});return n?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(e,n,o,a.before||rR.before);if(t==o&&rU(e,e.selection.main.from))return function(e,t){let a=null,r=e.changeByRange(r=>r.empty&&rX(e.doc,r.head)==t?{changes:{from:r.head,to:r.head+t.length,insert:t},range:ea.OF.cursor(r.head+t.length)}:a={range:r});return a?null:e.update(r,{scrollIntoView:!0,userEvent:"input.type"})}(e,o)}return null}(e.state,r);return!!o&&(e.dispatch(o),!0)}),rZ=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let a=rQ(e,e.selection.main.head).brackets||rR.brackets,r=null,n=e.changeByRange(t=>{if(t.empty){var n,o;let r,l=(n=e.doc,o=t.head,r=n.sliceString(o-2,o),(0,ea.Fh)((0,ea.vS)(r,0))==r.length?r:r.slice(1));for(let r of a)if(r==l&&rX(e.doc,t.head)==rj((0,ea.vS)(r,0)))return{changes:{from:t.head-r.length,to:t.head+r.length},range:ea.OF.cursor(t.head-r.length)}}return{range:r=t}});return r||t(e.update(n,{scrollIntoView:!0,userEvent:"delete.backward"})),!r}}];function rU(e,t){let a=!1;return e.field(rT).between(0,e.doc.length,e=>{e==t&&(a=!0)}),a}function rX(e,t){let a=e.sliceString(t,t+2);return a.slice(0,(0,ea.Fh)((0,ea.vS)(a,0)))}function rI(e,t){let a=tm(e).resolveInner(t+1);return a.parent&&a.from==t}function rB(e,t,a){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=ea.Je.Word)return t;for(let n of a){let a=t-n.length;if(e.sliceDoc(a,t)==n&&r(e.sliceDoc(a-1,a))!=ea.Je.Word)return a}return -1}let rq=[{key:"Ctrl-Space",run:rl},{mac:"Alt-`",run:rl},{mac:"Alt-i",run:rl},{key:"Escape",run:e=>{let t=e.state.field(ra,!1);return!!t&&!!t.active.some(e=>0!=e.state)&&(e.dispatch({effects:aV.of(null)}),!0)}},{key:"ArrowDown",run:ro(!0)},{key:"ArrowUp",run:ro(!1)},{key:"PageDown",run:ro(!0,"page")},{key:"PageUp",run:ro(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(ra,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(aH).interactionDelay)&&rr(e,t.open.options[t.open.selected])}}],rW=ea.Nb.highest(er.w4.computeN([aH],e=>e.facet(aH).defaultKeymap?[rq]:[])),rD=ea.YH.define(),rN=ea.YH.define(),rV=ea.sj.define(),rF=ea.sj.define({combine:e=>(0,ea.QR)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(a,r)=>e(a,r)||t(a,r)})}),rz=ea.sU.define({create:()=>r5.empty,update(e,t){let a=t.state.facet(rF),r=t.annotation(rD);if(r){let n=r0.fromTransaction(t,r.selection),o=r.side,l=0==o?e.undone:e.done;return l=n?r1(l,l.length,a.minDepth,n):r8(l,t.startState.selection),new r5(0==o?r.rest:l,0==o?l:r.rest)}let n=t.annotation(rN);if(("full"==n||"before"==n)&&(e=e.isolate()),!1===t.annotation(ea.ZX.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let o=r0.fromTransaction(t),l=t.annotation(ea.ZX.time),s=t.annotation(ea.ZX.userEvent);return o?e=e.addChanges(o,l,s,a,t):t.selection&&(e=e.addSelection(t.startState.selection,l,s,a.newGroupDelay)),("full"==n||"after"==n)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new r5(e.done.map(r0.fromJSON),e.undone.map(r0.fromJSON))});function rH(e,t){return function({state:a,dispatch:r}){if(!t&&a.readOnly)return!1;let n=a.field(rz,!1);if(!n)return!1;let o=n.pop(e,a,t);return!!o&&(r(o),!0)}}let rY=rH(0,!1),rG=rH(1,!1),rK=rH(0,!0),rJ=rH(1,!0);class r0{constructor(e,t,a,r,n){this.changes=e,this.effects=t,this.mapped=a,this.startSelection=r,this.selectionsAfter=n}setSelAfter(e){return new r0(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,a;return{changes:null==(e=this.changes)?void 0:e.toJSON(),mapped:null==(t=this.mapped)?void 0:t.toJSON(),startSelection:null==(a=this.startSelection)?void 0:a.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new r0(e.changes&&ea.VR.fromJSON(e.changes),[],e.mapped&&ea.Gu.fromJSON(e.mapped),e.startSelection&&ea.OF.fromJSON(e.startSelection),e.selectionsAfter.map(ea.OF.fromJSON))}static fromTransaction(e,t){let a=r4;for(let t of e.startState.facet(rV)){let r=t(e);r.length&&(a=a.concat(r))}return!a.length&&e.changes.empty?null:new r0(e.changes.invert(e.startState.doc),a,void 0,t||e.startState.selection,r4)}static selection(e){return new r0(void 0,r4,void 0,void 0,e)}}function r1(e,t,a,r){let n=e.slice(t+1>a+20?t-a-1:0,t);return n.push(r),n}function r2(e,t){return e.length?t.length?e.concat(t):e:t}let r4=[];function r8(e,t){if(!e.length)return[r0.selection([t])];{let a=e[e.length-1],r=a.selectionsAfter.slice(Math.max(0,a.selectionsAfter.length-200));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),r1(e,e.length-1,1e9,a.setSelAfter(r)))}}function r3(e,t){if(!e.length)return e;let a=e.length,r=r4;for(;a;){let n=function(e,t,a){let r=r2(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):r4,a);if(!e.changes)return r0.selection(r);let n=e.changes.map(t),o=t.mapDesc(e.changes,!0),l=e.mapped?e.mapped.composeDesc(o):o;return new r0(n,ea.Pe.mapEffects(e.effects,t),l,e.startSelection.map(o),r)}(e[a-1],t,r);if(n.changes&&!n.changes.empty||n.effects.length){let t=e.slice(0,a);return t[a-1]=n,t}t=n.mapped,a--,r=n.selectionsAfter}return r.length?[r0.selection(r)]:r4}let r6=/^(input\.type|delete)($|\.)/;class r5{constructor(e,t,a=0,r){this.done=e,this.undone=t,this.prevTime=a,this.prevUserEvent=r}isolate(){return this.prevTime?new r5(this.done,this.undone):this}addChanges(e,t,a,r,n){var o,l;let s,i,c=this.done,u=c[c.length-1];return new r5(c=u&&u.changes&&!u.changes.empty&&e.changes&&(!a||r6.test(a))&&(!u.selectionsAfter.length&&t-this.prevTime<r.newGroupDelay&&r.joinToEvent(n,(o=u.changes,l=e.changes,s=[],i=!1,o.iterChangedRanges((e,t)=>s.push(e,t)),l.iterChangedRanges((e,t,a,r)=>{for(let e=0;e<s.length;){let t=s[e++],n=s[e++];r>=t&&a<=n&&(i=!0)}}),i))||"input.type.compose"==a)?r1(c,c.length-1,r.minDepth,new r0(e.changes.compose(u.changes),r2(ea.Pe.mapEffects(e.effects,u.changes),u.effects),u.mapped,u.startSelection,r4)):r1(c,c.length,r.minDepth,e),r4,t,a)}addSelection(e,t,a,r){var n;let o=this.done.length?this.done[this.done.length-1].selectionsAfter:r4;return o.length>0&&t-this.prevTime<r&&a==this.prevUserEvent&&a&&/^select($|\.)/.test(a)&&(n=o[o.length-1],n.ranges.length==e.ranges.length&&0===n.ranges.filter((t,a)=>t.empty!=e.ranges[a].empty).length)?this:new r5(r8(this.done,e),this.undone,t,a)}addMapping(e){return new r5(r3(this.done,e),r3(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,a){let r=0==e?this.done:this.undone;if(0==r.length)return null;let n=r[r.length-1],o=n.selectionsAfter[0]||(n.startSelection?n.startSelection.map(n.changes.invertedDesc,1):t.selection);if(a&&n.selectionsAfter.length){let a,l;return t.update({selection:n.selectionsAfter[n.selectionsAfter.length-1],annotations:rD.of({side:e,rest:(a=r[r.length-1],(l=r.slice())[r.length-1]=a.setSelAfter(a.selectionsAfter.slice(0,a.selectionsAfter.length-1)),l),selection:o}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}{if(!n.changes)return null;let a=1==r.length?r4:r.slice(0,r.length-1);return n.mapped&&(a=r3(a,n.mapped)),t.update({changes:n.changes,selection:n.startSelection,effects:n.effects,annotations:rD.of({side:e,rest:a,selection:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}r5.empty=new r5(r4,r4);let r7=[{key:"Mod-z",run:rY,preventDefault:!0}
1,{key:"Mod-y",mac:"Mod-Shift-z",run:rG,preventDefault:!0},{linux:"Ctrl-Shift-z",run:rG,preventDefault:!0},{key:"Mod-u",run:rK,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:rJ,preventDefault:!0}];"u">typeof Intl&&Intl.Segmenter;let r9=({state:e,dispatch:t})=>(t(e.update(e.replaceSelection(e.lineBreak),{scrollIntoView:!0,userEvent:"input"})),!0);function ne(e,t){let a=-1;return e.changeByRange(r=>{let n=[];for(let o=r.from;o<=r.to;){let l=e.doc.lineAt(o);l.number>a&&(r.empty||r.to>l.from)&&(t(l,n,r),a=l.number),o=l.to+1}let o=e.changes(n);return{changes:n,range:ea.OF.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}})}let nt={key:"Tab",run:({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(ne(e,(t,a)=>{a.push({from:t.from,insert:e.facet(tC)})}),{userEvent:"input.indent"})),!0),shift:({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(ne(e,(t,a)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let n=(0,ea.y$)(r,e.tabSize),o=0,l=tA(e,Math.max(0,n-t$(e)));for(;o<r.length&&o<l.length&&r.charCodeAt(o)==l.charCodeAt(o);)o++;a.push({from:t.from+o,to:t.from+r.length,insert:l.slice(o)})}),{userEvent:"delete.dedent"})),!0)};var na=a(2272);class nr{constructor(e,t,a,r,n,o,l,s,i,c=0,u){this.p=e,this.stack=t,this.state=a,this.reducePos=r,this.pos=n,this.score=o,this.buffer=l,this.bufferBase=s,this.curContext=i,this.lookAhead=c,this.parent=u}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,a=0){let r=e.parser.context;return new nr(e,[],t,a,a,0,[],0,r?new nn(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let a=e>>19,r=65535&e,{parser:n}=this.p,o=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),l=n.dynamicPrecedence(r);if(l&&(this.score+=l),0==a){r<n.minRepeatTerm&&this.reducePos<this.pos&&(this.reducePos=this.pos),this.pushState(n.getGoto(this.state,r,!0),this.reducePos),r<n.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,o?8:4,!0),this.reduceContext(r,this.reducePos);return}let s=this.stack.length-(a-1)*3-(262144&e?6:0),i=s?this.stack[s-2]:this.p.ranges[0].from;r<n.minRepeatTerm&&i==this.reducePos&&this.reducePos<this.pos&&(this.reducePos=this.pos);let c=this.reducePos-i;c>=2e3&&!(null==(t=this.p.parser.nodeSet.types[r])?void 0:t.isAnonymous)&&(i==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=i,this.p.lastBigReductionSize=c));let u=s?this.stack[s-1]:0,d=this.bufferBase+this.buffer.length-u;if(r<n.minRepeatTerm||131072&e){let e=n.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,i,e,d+4,!0)}if(262144&e)this.state=this.stack[s];else{let e=this.stack[s-3];this.state=n.getGoto(e,r,!0)}for(;this.stack.length>s;)this.stack.pop();this.reduceContext(r,i)}storeNode(e,t,a,r=4,n=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this.buffer.length;if(e>0&&0==this.buffer[e-4]&&this.buffer[e-1]>-1){if(t==a)return;if(this.buffer[e-2]>=t){this.buffer[e-2]=a;return}}}if(n&&this.pos!=a){let n=this.buffer.length;if(n>0&&(0!=this.buffer[n-4]||this.buffer[n-1]<0)){let e=!1;for(let t=n;t>0&&this.buffer[t-2]>a;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;n>0&&this.buffer[n-2]>a;)this.buffer[n]=this.buffer[n-4],this.buffer[n+1]=this.buffer[n-3],this.buffer[n+2]=this.buffer[n-2],this.buffer[n+3]=this.buffer[n-1],n-=4,r>4&&(r-=4)}this.buffer[n]=e,this.buffer[n+1]=t,this.buffer[n+2]=a,this.buffer[n+3]=r}else this.buffer.push(e,t,a,r)}shift(e,t,a,r){if(131072&e)this.pushState(65535&e,this.pos);else if((262144&e)==0){let{parser:n}=this.p;this.pos=r;let o=n.stateFlag(e,1);!o&&(r>a||t<=n.maxNode)&&(this.reducePos=r),this.pushState(e,o?a:Math.min(a,this.reducePos)),this.shiftContext(t,a),t<=n.maxNode&&this.buffer.push(t,a,r,4)}else this.pos=r,this.shiftContext(t,a),t<=this.p.parser.maxNode&&this.buffer.push(t,a,r,4)}
1apply(e,t,a,r){65536&e?this.reduce(e):this.shift(e,t,a,r)}useNode(e,t){let a=this.p.reused.length-1;(a<0||this.p.reused[a]!=e)&&(this.p.reused.push(e),a++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(a,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(t&&0==e.buffer[t-4]&&(t-=4);t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let a=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new nr(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,a,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let a=e<=this.p.parser.maxNode;a&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,a?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new no(this);;){let a=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==a)return!1;if((65536&a)==0)return!0;t.reduce(a)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let a=[];for(let r=0,n;r<t.length;r+=2)(n=t[r+1])!=this.state&&this.p.parser.hasAction(n,e)&&a.push(t[r],n);if(this.stack.length<120)for(let e=0;a.length<8&&e<t.length;e+=2){let r=t[e+1];a.some((e,t)=>1&t&&e==r)||a.push(t[e],r)}t=a}let a=[];for(let e=0;e<t.length&&a.length<4;e+=2){let r=t[e+1];if(r==this.state)continue;let n=this.split();n.pushState(r,this.pos),n.storeNode(0,n.pos,n.pos,4,!0),n.shiftContext(t[e],this.pos),n.reducePos=this.pos,n.score-=200,a.push(n)}return a}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if((65536&t)==0)return!1;if(!e.validAction(this.state,t)){let a=t>>19,r=65535&t,n=this.stack.length-3*a;if(n<0||0>e.getGoto(this.stack[n],r,!1)){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],a=(r,n)=>{if(!t.includes(r))return t.push(r),e.allActions(r,t=>{if(393216&t);else if(65536&t){let a=(t>>19)-n;if(a>1){let r=65535&t,n=this.stack.length-3*a;if(n>=0&&e.getGoto(this.stack[n],r,!1)>=0)return a<<19|65536|r}}else{let e=a(t,n+1);if(null!=e)return e}})};return a(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new nn(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){return!(e<=this.lookAhead)&&(this.emitLookAhead(),this.lookAhead=e,!0)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class nn{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class no{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e>>19;0==t?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0
1),this.base+=3):this.base-=(t-1)*3;let a=this.start.p.parser.getGoto(this.stack[this.base-3],65535&e,!0);this.state=a}}class nl{constructor(e,t,a){this.stack=e,this.pos=t,this.index=a,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new nl(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new nl(this.stack,this.pos,this.index)}}function ns(e,t=Uint16Array){if("string"!=typeof e)return e;let a=null;for(let r=0,n=0;r<e.length;){let o=0;for(;;){let t=e.charCodeAt(r++),a=!1;if(126==t){o=65535;break}t>=92&&t--,t>=34&&t--;let n=t-32;if(n>=46&&(n-=46,a=!0),o+=n,a)break;o*=46}a?a[n++]=o:a=new t(o)}return a}class ni{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let nc=new ni;class nu{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=nc,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let a=this.range,r=this.rangeIndex,n=this.pos+e;for(;n<a.from;){if(!r)return null;let e=this.ranges[--r];n-=a.from-e.to,a=e}for(;t<0?n>a.to:n>=a.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];n+=e.from-a.to,a=e}return n}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,a,r;if(t>=0&&t<this.chunk.length)a=this.pos+e,r=this.chunk.charCodeAt(t);else{let t=this.resolveOffset(e,1);if(null==t)return -1;if((a=t)>=this.chunk2Pos&&a<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(a-this.chunk2Pos);else{let e=this.rangeIndex,t=this.range;for(;t.to<=a;)t=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=a),a+this.chunk2.length>t.to&&(this.chunk2=this.chunk2.slice(0,t.to-a)),r=this.chunk2.charCodeAt(0)}}return a>=this.token.lookAhead&&(this.token.lookAhead=a+1),r}acceptToken(e,t=0){let a=t?this.resolveOffset(t,-1):this.pos;if(null==a||a<this.token.start)throw RangeError("Token end out of bounds");this.token.value=e,this.token.end=a}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=nc,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let a="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(a+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return a}}class nd{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:a}=t.p;nh(this.data,e,t,this.id,a.data,a.tokenPrecTable)}}nd.prototype.contextual=nd.prototype.fallback=nd.prototype.extend=!1;class np{constructor(e,t,a){this.precTable=t,this.elseToken=a,this.data="string"==typeof e?ns(e):e}token(e,t){let a=e.pos,r=0;for(;;){let a=e.next<0,n=e.resolveOffset(1,1);if(nh(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(!a&&r++,null==n)break;e.reset(n,e.token)}r&&(e.reset(a,e.token),e.acceptToken(this.elseToken,r))}}np.prototype.contextual=nd.prototype.fallback=nd.prototype.extend=!1;class nm{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function nh(e,t,a,r,n,o){let l=0,s=1<<r,{dialect:i}=a.p.parser;e:for(;(s&e[l])!=0;){let a=e[l+1];for(let r=l+3;r<a;r+=2)if((e[r+1]&s)>0){let a=e[r];if(i.allows(a)&&(-1==t.token.value||t.token.value==a||function(e,t,a,r){let n=nf(a,r,t);return n<0||nf(a,r,e)<n}(a,t.token.value,n,o))){t.acceptToken(a);break}}let r=t.next,c=0,u=e[l+2];if(t.next<0&&u>c&&65535==e[a+3*u-3]){l=e[a+3*u-1];continue}for(;c<u;){let n=c+u>>1,o=a+n+(n<<1),s=e[o],i=e[o+1]||65536;if(r<s)u=n;else if(r>=i)c=n+1;else{l=e[o+2],t.advance();continue e}}break}}function nf(e,t,a){for(let r=t,n;65535!=(n=e[r]);r++)if(n==a)return r-t;return -1}let ng=void 0!==na&&na.env&&/\bparse\b/.test(na.env.LOG),nv=null;function ny(e,t,a){let r=e.cursor(m.IncludeAnonymous);for(r.moveTo(t);;)if(!(a<0?r.childBefore(t):r.childAfter(t)))for(;;){if((a<0?r.to<t:r.from>t)&&!r.type.isError)return a<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(a<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return a<0?0:e.length}}class nb{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?ny(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?ny(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let a=this.trees[t],r=this.index[t];if(r==a.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let n=a.children[r],o=this.start[t]+a.positions[r];if(o>e)return this.nextStart=o,null;if(n instanceof em){if(o==e){if(o<this.safeFrom)return null;let e=o+n.length;if(e<=this.safeTo){let t=n.prop(el.lookAhead);if(!t||e+t<this.fragment.to)return n}}this.index[t]++,o+n.length>=Math.max(this.safeFrom,e)&&(this.trees.push(n),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+n.length}}}class nO{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new ni)}getActions(e){let t=0,a=null,{parser:r}=e.p,{tokenizers:n}=r,o=r.stateSlot(e.state,3),l=e.curContext?e.curContext.hash:0,s=0;for(let r=0;r<n.length;r++){if((1<<r&o)==0)continue;let i=n[r],c=this.tokens[r];if((!a||i.fallback)&&((i.contextual||c.start!=e.pos||c.mask!=o||c.context!=l)&&(this.updateCachedToken(c,i,e),c.mask=o,c.context=l),c.lookAhead>c.end+25&&(s=Math.max(c.lookAhead,s)),0!=c.value)){let r=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!i.extend&&(a=c,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),a||e.pos!=this.stream.end||((a=new ni).value=e.p.parser.eofTerm,a.start=a.end=e.pos,t=this.addActions(e,a.value,a.end,t)),this.mainToken=a,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new ni,{pos:a,p:r}=e;return t.start=a,t.end=Math.min(a+1,r.stream.end),t.value=a==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,a){let r=this.stream.clipPos(a.pos);if(t.token(this.stream.reset(r,e),a),e.value>-1){let{parser:t}=a.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let n=t.specializers[r](this.stream.read(e.start,e.end),a);if(n>=0&&a.p.parser.dialect.allows(n>>1)){(1&n)==0?e.value=n>>1:e.extended=n>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,a,r){for(let t=0;t<r;t+=3)if(this.actions[t]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=a,r}addActions(e,t,a,r){let{state:n}=e,{parser:o}=e.p,{data:l}=o;for(let e=0;e<2;e++)for(let s=o.stateSlot(n,e?2:1);;s+=3){if(65535==l[s])if(1==l[s+1])s=nA(l,s+2);else{0==r&&2==l[s+1]&&(r=this.putAction(nA(l,s+2),t,a,r));break}l[s]==t&&(r=this.putAction(nA(l,s+1),t,a,r))}return r}}class nk{constructor(e,t,a,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new nu(t,r),this.tokens=new nO(e,this.stream),this.topTerm=e.top[1];let{from:n}=r[0];this.stacks=[nr.start(this,e.top[0],n)],this.fragments=a.length&&this.stream.end-n>4*e.bufferLength?new nb(a,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,a=this.stacks,r=this.minStackPos,n=this.stacks=[];if(this.bigReductionCount>300&&1==a.length){let[e]=a;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<a.length;o++){let l=a[o];for(;;){if(this.tokens.mainToken=null,l.pos>r)n.push(l);else{if(this.advanceStack(l,n,a))continue;e||(e=[],t=[]),e.push(l);let r=this.tokens.getMainToken(l);t.push(r.value,r.end)}break}}if(!n.length){let t=e&&function(e){let t=null;for(let a of e){let e=a.p.stoppedAt;(a.pos==a.p.stream.end||null!=e&&a.pos>e)&&a.p.parser.stateFlag(a.state,2)&&(!t||t.score<a.score)&&(t=a)}return t}(e);if(t)return ng&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw ng&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&e){let a=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,n);if(a)return ng&&console.log("Force-finish "+this.stackID(a)),this.stackToTree(a.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(n.length>e)for(n.sort((e,t)=>
1t.score-e.score);n.length>e;)n.pop();n.some(e=>e.reducePos>r)&&this.recovering--}else if(n.length>1){t:for(let e=0;e<n.length-1;e++){let t=n[e];for(let a=e+1;a<n.length;a++){let r=n[a];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500)if((t.score-r.score||t.buffer.length-r.buffer.length)>0)n.splice(a--,1);else{n.splice(e--,1);continue t}}}n.length>12&&(n.sort((e,t)=>t.score-e.score),n.splice(12,n.length-12))}this.minStackPos=n[0].pos;for(let e=1;e<n.length;e++)n[e].pos<this.minStackPos&&(this.minStackPos=n[e].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,a){let r=e.pos,{parser:n}=this,o=ng?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,a=t?e.curContext.hash:0;for(let l=this.fragments.nodeAt(r);l;){let r=this.parser.nodeSet.types[l.type.id]==l.type?n.getGoto(e.state,l.type.id):-1;if(r>-1&&l.length&&(!t||(l.prop(el.contextHash)||0)==a))return e.useNode(l,r),ng&&console.log(o+this.stackID(e)+` (via reuse of ${n.getName(l.type.id)})`),!0;if(!(l instanceof em)||0==l.children.length||l.positions[0]>0)break;let s=l.children[0];if(s instanceof em&&0==l.positions[0])l=s;else break}}let l=n.stateSlot(e.state,4);if(l>0)return e.reduce(l),ng&&console.log(o+this.stackID(e)+` (via always-reduce ${n.getName(65535&l)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let s=this.tokens.getActions(e);for(let l=0;l<s.length;){let i=s[l++],c=s[l++],u=s[l++],d=l==s.length||!a,p=d?e:e.split(),m=this.tokens.mainToken;if(p.apply(i,c,m?m.start:p.pos,u),ng&&console.log(o+this.stackID(p)+` (via ${(65536&i)==0?"shift":`reduce of ${n.getName(65535&i)}`} for ${n.getName(c)} @ ${r}${p==e?"":", split"})`),d)return!0;p.pos>r?t.push(p):a.push(p)}return!1}advanceFully(e,t){let a=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>a)return nx(e,t),!0}}runRecovery(e,t,a){let r=null,n=!1;for(let o=0;o<e.length;o++){let l=e[o],s=t[o<<1],i=t[(o<<1)+1],c=ng?this.stackID(l)+" -> ":"";if(l.deadEnd&&(n||(n=!0,l.restart(),ng&&console.log(c+this.stackID(l)+" (restarted)"),this.advanceFully(l,a))))continue;let u=l.split(),d=c;for(let e=0;e<10&&u.forceReduce()&&(ng&&console.log(d+this.stackID(u)+" (via force-reduce)"),!this.advanceFully(u,a));e++)ng&&(d=this.stackID(u)+" -> ");for(let e of l.recoverByInsert(s))ng&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,a);this.stream.end>l.pos?(i==l.pos&&(i++,s=0),l.recoverByDelete(s,i),ng&&console.log(c+this.stackID(l)+` (via recover-delete ${this.parser.getName(s)})`),nx(l,a)):(!r||r.score<u.score)&&(r=u)}return r}stackToTree(e){return e.close(),em.build({buffer:nl.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(nv||(nv=new WeakMap)).get(e);return t||nv.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function nx(e,t){for(let a=0;a<t.length;a++){let r=t[a];if(r.pos==e.pos&&r.sameState(e)){t[a].score<e.score&&(t[a]=e);return}}t.push(e)}class nw{constructor(e,t,a){this.source=e,this.flags=t,this.disabled=a}allows(e){return!this.disabled||0==this.disabled[e]}}let nS=e=>e;class nC{constructor(e){this.start=e.start,this.shift=e.shift||nS,this.reduce=e.reduce||nS,this.reuse=e.reuse||nS,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class n$ extends ej{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let a=0;a<e.repeatNodeCount;a++)t.push("");let a=Object.keys(e.topRules).map(t=>e.topRules[t][1]),r=[];for(let e=0;e<t.length;e++)r.push([]);function n(e,t,a){r[e].push([t,t.deserialize(String(a))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=el[e]);for(let a=1;a<t.length;){let r=t[a++];if(r>=0)n(r,e,t[a++]);else{let o=t[a+-r];for(let l=-r;l>0;l--)n(t[a++],e,o);a++}}}this.nodeSet=new eu(t.map((t,n)=>ec.define({name:n>=this.minRepeatTerm?void 0:t,id:n,props:r[n],top:a.indexOf(n)>-1,error:0==n,skipped:e.skippedNodes&&e.skippedNodes.indexOf(n)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=1024;let o=ns(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(nR),this.states=ns(e.states,Uint32Array),this.data=ns(e.stateData),this.goto=ns(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new nd(o,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,a){let r=new nk(this,e,t,a);for(let n of this.wrappers)r=n(r,e,t,a);return r}getGoto(e,t,a=!1){let r=this.goto;if(t>=r[0])return -1;for(let n=r[t+1];;){let t=r[n++],o=1&t,l=r[n++];if(o&&a)return l;for(let a=n+(t>>1);n<a;n++)if(r[n]==e)return l;if(o)return -1}}hasAction(e,t){let a=this.data;for(let r=0;r<2;r++)for(let n=this.stateSlot(e,r?2:1),o;;n+=3){if(65535==(o=a[n]))if(1==a[n+1])o=a[n=nA(a,n+2)];else if(2==a[n+1])return nA(a,n+2);else break;if(o==t||0==o)return nA(a,n+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t||null)}
1allActions(e,t){let a=this.stateSlot(e,4),r=a?t(a):void 0;for(let a=this.stateSlot(e,1);null==r;a+=3){if(65535==this.data[a])if(1==this.data[a+1])a=nA(this.data,a+2);else break;r=t(nA(this.data,a+1))}return r}nextStates(e){let t=[];for(let a=this.stateSlot(e,1);;a+=3){if(65535==this.data[a])if(1==this.data[a+1])a=nA(this.data,a+2);else break;if((1&this.data[a+2])==0){let e=this.data[a+1];t.some((t,a)=>1&a&&t==e)||t.push(this.data[a],e)}}return t}configure(e){let t=Object.assign(Object.create(n$.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let a=this.topRules[e.top];if(!a)throw RangeError(`Invalid top rule name ${e.top}`);t.top=a}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(t=>{let a=e.tokenizers.find(e=>e.from==t);return a?a.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((a,r)=>{let n=e.specializers.find(e=>e.from==a.external);if(!n)return a;let o=Object.assign(Object.assign({},a),{external:n.to});return t.specializers[r]=nR(o),o})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),a=t.map(()=>!1);if(e)for(let r of e.split(" ")){let e=t.indexOf(r);e>=0&&(a[e]=!0)}let r=null;for(let e=0;e<t.length;e++)if(!a[e])for(let a=this.dialects[t[e]],n;65535!=(n=this.data[a++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[n]=1;return new nw(e,a,r)}static deserialize(e){return new n$(e)}}function nA(e,t){return e[t]|e[t+1]<<16}function nR(e){if(e.external){let t=+!!e.extend;return(a,r)=>e.external(a,r)<<1|t}return e.get}let nE=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function nP(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function nT(e){return e>=48&&e<=57}function n_(e){return nT(e)||e>=97&&e<=102||e>=65&&e<=70}let nj=(e,t,a)=>(r,n)=>{for(let o=!1,l=0,s=0;;s++){let{next:i}=r;if(nP(i)||45==i||95==i||o&&nT(i))!o&&(45!=i||s>0)&&(o=!0),l===s&&45==i&&l++,r.advance();else if(92==i&&10!=r.peek(1)){if(r.advance(),n_(r.next)){do r.advance();while(n_(r.next));32==r.next&&r.advance()}else r.next>-1&&r.advance();o=!0}else{o&&r.acceptToken(2==l&&n.canShift(2)?t:40==i?a:e);break}}},nQ=new nm(nj(146,2,147),{contextual:!0}),nL=new nm(nj(148,3,4),{contextual:!0}),nM=new nm(e=>{if(nE.includes(e.peek(-1))){let{next:t}=e;(nP(t)||95==t||35==t||46==t||42==t||91==t||58==t&&nP(e.peek(1))||45==t||38==t)&&e.acceptToken(145)}}),nZ=new nm(e=>{if(!nE.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),nP(t)){do e.advance();while(nP(e.next)||nT(e.next));e.acceptToken(1)}}}),nU=eH({"AtKeyword import charset namespace keyframes media supports font-feature-values":to.definitionKeyword,"from to selector scope MatchFlag":to.keyword,NamespaceName:to.namespace,KeyframeName:to.labelName,KeyframeRangeName:to.operatorKeyword,TagName:to.tagName,ClassName:to.className,PseudoClassName:to.constant(to.className),IdName:to.labelName,"FeatureName PropertyName":to.propertyName,AttributeName:to.attributeName,NumberLiteral:to.number,KeywordQuery:to.keyword,UnaryQueryOp:to.operatorKeyword,"CallTag ValueName FontName":to.atom,VariableName:to.variableName,Callee:to.operatorKeyword,Unit:to.unit,"UniversalSelector NestingSelector":to.definitionOperator,"MatchOp CompareOp":to.compareOperator,"ChildOp SiblingOp, LogicOp":to.logicOperator,BinOp:to.arithmeticOperator,Important:to.modifier,Comment:to.blockComment,ColorLiteral:to.color,"ParenthesizedContent StringLiteral":to.string,":":to.punctuation,"PseudoOp #":to.derefOperator,"; , |":to.separator,"( )":to.paren,"[ ]":to.squareBracket,"{ }":to.brace}),nX={__proto__:null,lang:44,"nth-child":44,"nth-last-child":44,"nth-of-type":44,"nth-last-of-type":44,dir:44,"host-context":44,if:90,url:152,"url-prefix":152,domain:152,regexp:152},nI={__proto__:null,or:104,and:104,not:112,only:112,layer:206},nB={__proto__:null,selector:118,style:124,layer:202},nq={__proto__:null,"@import":198,"@media":210,"@charset":214,"@namespace":218,"@keyframes":224,"@supp
1orts":236,"@scope":240,"@font-feature-values":246},nW={__proto__:null,to:243},nD=n$.deserialize({version:14,states:"MlQYQdOOO#}QdOOP$UO`OOO%OQaO'#CfOOQP'#Ce'#CeO%VQdO'#CgO%[Q`O'#CgO%aQaO'#FnO&XQdO'#CkO&xQaO'#CcO'SQdO'#CnO'_QdO'#EOO'dQdO'#EQO'oQdO'#EXO'oQdO'#E[OOQP'#Fn'#FnO)RQhO'#E}OOQS'#Fm'#FmOOQS'#FQ'#FQQYQdOOO)YQdO'#EbO*iQhO'#EhO)YQdO'#EjO*pQdO'#ElO*{QdO'#EoO)}QhO'#EuO+TQdO'#EwO+`QdO'#EzO+eQaO'#CfO+lQ`O'#E_O+qQ`O'#F{O+|QdO'#F{QOQ`OOP,WO&jO'#CaPOOO)CA])CA]OOQP'#Ci'#CiOOQP,59R,59RO%VQdO,59ROOQP'#Cm'#CmOOQP,59V,59VO&XQdO,59VO,cQdO,59YO'_QdO,5:jO'dQdO,5:lO'oQdO,5:sO'oQdO,5:uO'oQdO,5:vO'oQdO'#FXO,nQ`O,58}O,vQdO'#E^OOQS,58},58}OOQP'#Cq'#CqOOQO'#D|'#D|OOQP,59Y,59YO,}Q`O,59YO-SQ`O,59YOOQP'#EP'#EPOOQP,5:j,5:jO-XQpO'#ERO-dQdO'#ESO-iQ`O'#ESO-nQpO,5:lO.XQaO,5:sO.oQaO,5:vOOQW'#D^'#D^O/nQhO'#DgO0RQhO,5;iO)}QhO'#DeO0`Q`O'#DnO0eQhO'#DxOOQW'#Ft'#FtOOQS,5;i,5;iO0jQ`O'#DhO0oQ`O'#DkOOQS-E9O-E9OOOQ['#Cv'#CvO0tQdO'#CwO1[QdO'#C}O1rQdO'#DQO2YQ!pO'#DSO4fQ!jO,5:|OOQO'#DX'#DXO-SQ`O'#DWO4vQ!nO'#FqO6|Q`O'#DYO7RQ`O'#DyOOQ['#Fq'#FqO7WQhO'#GOO7fQ`O,5;SO7kQ!bO,5;UOOQS'#En'#EnO7sQ`O,5;WO7xQdO,5;WOOQO'#Eq'#EqO8QQ`O,5;ZO8VQhO,5;aO'oQdO'#DjOOQS,5;c,5;cO0jQ`O,5;cO8_QdO,5;cOOQS'#F`'#F`O8gQdO'#E|O7fQ`O,5;fO8oQdO,5:yO9PQdO'#FZO9^Q`O,5<gO9^Q`O,5<gPOOO'#FP'#FPP9iO&jO,58{POOO,58{,58{OOQP1G.m1G.mOOQP1G.q1G.qOOQP1G.t1G.tO,}Q`O1G.tO-SQ`O1G.tOOQP1G0U1G0UO9tQpO1G0WO9|QaO1G0_O:dQaO1G0aO:zQaO1G0bO;bQaO,5;sOOQO-E9V-E9VOOQS1G.i1G.iO;lQ`O,5:xO;qQdO'#D}O;xQdO'#CuOOQO'#EU'#EUOOQO,5:n,5:nO-dQdO,5:nOOQP1G0W1G0WO)YQdO1G0WO<PQ!jO'#D^O<_Q!bO,59yO<gQhO,5:ROOQO'#Fu'#FuO<bQ!bO,59}O<oQhO'#FaO)}QhO,59{O)}QhO'#FaO=gQhO1G1TOOQS1G1T1G1TO=qQhO,5:PO>lQhO'#DoOOQW,5:Y,5:YOOQW,5:d,5:dOOQW,5:S,5:SO>vQhO,5:VO?bQ!fO'#FrOOQS'#Fr'#FrOOQS'#FS'#FSO@rQdO,59cOOQ[,59c,59cOAYQdO,59iOOQ[,59i,59iOApQdO,59lOOQ[,59l,59lOOQ[,59n,59nO)YQdO,59pOBWQhO'#EdOOQW'#Ed'#EdOBuQ`O1G0hO4oQhO1G0hOOQ[,59r,59rO)}QhO'#D[OOQ[,59t,59tOBzQ#tO,5:eOCVQhO'#F]OCdQ`O,5<jOOQS1G0n1G0nOOQS1G0p1G0pOOQS1G0r1G0rOCoQ`O1G0rOCtQdO'#ErOOQS1G0u1G0uOOQS1G0{1G0{ODPQaO,5:UO7fQ`O1G0}OOQS1G0}1G0}O0jQ`O1G0}OOQS-E9^-E9^OOQS1G1Q1G1QODWQ!fO1G0eODnQ`O'#EaOOQO1G0e1G0eOOQO,5;u,5;uODsQdO,5;uOOQO-E9X-E9XOEQQ`O1G2RPOOO-E8}-E8}POOO1G.g1G.gOOQP7+$`7+$`OOQP7+%r7+%rO)YQdO7+%rOOQS1G0d1G0dOE]QaO'#FzOEgQ`O,5:iOElQ!fO'#FROFjQdO'#FpOFtQ`O,59aOOQO1G0Y1G0YOFyQ!bO7+%rO)YQdO1G/eOGUQhO1G/iOOQW1G/m1G/mOOQW1G/g1G/gOGgQhO,5;{OOQW-E9_-E9_OOQS7+&o7+&oOH_QhO'#D^OHmQhO'#FxOHxQ`O'#FxOH}Q`O,5:ZOISQ!bO'#D`O>vQhO'#DmOI_QhO'#DqOIgQhO'#DsOIlQhO'#FwOOQO'#Fw'#FwOItQ!bO'#DwOOQO'#Fy'#FyOOQO'#Fv'#FvOIyQ`O1G/qOOQS-E9Q-E9QOOQ[1G.}1G.}OOQ[1G/T1G/TOOQ[1G/W1G/WOOQ[1G/[1G/[OJOQdO,5;OOOQS7+&S7+&SOJTQ`O7+&SOJYQhO'#D]OJbQ`O,59vO)}QhO,59vOOQ[1G0P1G0POJjQ`O1G0POJoQhO,5;wOOQO-E9Z-E9ZOOQS7+&^7+&^OJ}QbO'#DSOOQO'#Et'#EtOK]Q`O'#EsOOQO'#Es'#EsOKhQ`O'#F^OKpQdO,5;^OOQS,5;^,5;^OOQ[1G/p1G/pOOQS7+&i7+&iO7fQ`O7+&iOK{Q!fO'#FYO)YQdO'#FYOMSQdO7+&POOQO7+&P7+&POOQO,5:{,5:{OOQO1G1a1G1aOMgQ!bO<<I^OMrQdO'#FWOM|Q`O,5<fOOQP1G0T1G0TOOQS-E9P-E9PONUQdO'#FVON`Q`O,5<[OOQ]1G.{1G.{OOQP<<I^<<I^ONhQ`O<<I^ONmQdO7+%POOQO'#D`'#D`ONtQ!bO7+%TON|QhO'#FUO! ZQ`O,5<dO)YQdO,5<dOOQW1G/u1G/uO)YQdO,5:bO! cQ`O,5:XO>vQhO'#DrOOQO,5:],5:]O! hQhO,5:_OGUQhO,5:cOOQW7+%]7+%]OOQO'#Ef'#EfO! pQ`O1G0jOOQS<<In<<InO)YQdO,59wO!!dQhO1G/bOOQ[1G/b1G/bO!!kQ`O1G/bOOQW-E9R-E9ROOQ[7+%k7+%kOOQO,5;_,5;_OCwQdO'#F_OKhQ`O,5;xOOQS,5;x,5;xOOQS-E9[-E9[OOQS1G0x1G0xOOQS<<JT<<JTO!!sQ!fO,5;tOOQS-E9W-E9WOOQO<<Ik<<IkOOQPAN>xAN>xO!#zQ`OAN>xO!$PQaO,5;rOOQO-E9U-E9UO!$ZQdO,5;qOOQO-E9T-E9TOOQW<<Hk<<HkOOQW<<Ho<<HoO!$eQhO<<HoO!$vQhO,5;pO!%RQ`O,5;pOOQO-E9S-E9SO!%WQdO1G2OO!%bQdO1G/|O!%iQhO1G/sO!%qQ`O,5:^O>vQhO'#DuOOQO1G/y1G/yO!%vQ!bO1G/}OJOQdO'#F[O!&OQ`O7+&UOOQW7+&U7+&UO!&WQ!bO1G/cOOQ[7+$|7+$|O!&cQhO7+$|P!&jQ`O'#FTOOQO,5;y,5;yOOQO-E9]-E9]OOQS1G1d1G1dOOQPG24dG24dO!&oQ`OAN>ZO)YQdO1G1[O!&tQ`O7+'jOOQO1G/x1G/xO!&|Q`O,5:aO!$eQhO7+%iOOQO,5;v,5;vOOQO-E9Y-E9YOOQW<<Ip<<IpOOQ[<<Hh<<HhPOQW,5;o,5;oOOQWG23uG23uO!'RQdO7+&vOOQO1G/{1G/{OOQO<<IT<<IT",stateData:"!'f~O$[OS$]QQ~OWVO^_O`WOcYOdYOl`OmZOp[O!|]O#P^O#VdO#]eO#_fO#agO#dhO#jiO#ljO#okO$WRO$cTO~OQmOWVO^_O`WOcYOdYOl`OmZOp[O!|]O#P^O#VdO#]eO#_fO#agO#dhO#jiO#ljO#okO$WlO$cTO~O$U$oP~P!jO$]qO~O`YXcYXdYXmYXpYXsYX!dYX!|YX#PYX$VYX$c[X~OgYX~P$ZO$WsO~O$cuO~O$cuO`$bXc$bXd$bXm$bXp$bXs$bX!d$bX!|$bX#P$bX$V$bXg$bX~O$WvO~O`xOcyOdyOmzOp{O!||O#P!OO$V}O~Os!RO!d!PO~P&^Of!XO$W!TO$X!UO~O$W!YO~OW!^O$W![O$c!]O~OWVO^_O`WOcYOdYOmZOp[O!|]O#P^O$WRO$cTO~OS!fOc!gOd!gOh!cOs!RO!Y!eO!]!jO!`!kO$Y!bO~On!iO~P(dOQ!uOh!nOp!oOs!pOu!xOw!xO}!vO!n!wO$W!mO$X!sO$g!qO~OS!fOc!gOd!gOh!cO!Y!eO!]!jO!`!kO$Y!bO~Os$rP~P)}Ow!}O!n!wO$W!|O~Ow#PO$W#PO~Oh#SOs!RO#m#UO~O$W#WO~Oc#SX~P$ZOc#ZO~On#[O$U$oXr$oX~O$U$oXr$oX~P!jO$^#_O$_#_O$`#aO~Of#fO$W!TO$X!UO~Os!RO!d!PO~Or$oP~P!jOh#pO~Oh#qO~Oo!uX!y!uX$c!wX~O$W#rO~O$c#tO~Oo#uO!y#vO~O`xOcyOdyOmzOp{O~Os!{a!d!{a!|!{a#P!{a$V!{ag!{a~P-vOs#Oa!d#Oa!|#Oa#P#Oa$V#Oag#Oa~P-vOS!fOc!gOd!gOh!cO!Y!eO!]!jO!`!kO~OR#zOu#zOw#zO$Y#wO$g!qO~P/VOn$QO!U#}O!d$OO~P(dOh$SO~O$Y$UO~Oh#SO~Oh$WO~O`$YOc$YOg$]Ol$YOm$YOn$YO~P)YO`$YOc$YOl$YOm$YOn$YOo$_O~P)YO`$YOc$YOl$YOm$YOn$YOr$aO~P)YOP$bOSvXcvXdvXhvXnvXyvX!YvX!]vX!`vX#XvX#ZvX$YvX!WvXQvX`vXgvXlvXmvXpvXsvXuvXwvX}vX!nvX$WvX$XvX$gvXovXrvX!dvX$UvX$qvX!zvX~Oy$cO#X$dO#Z$eOn$rP~P)}Oh#qOS$eXc$eXd$eXn$eXy$eX!Y$eX!]$eX!`$eX#X$eX#Z$eX$Y$eXQ$eX`$eXg$eXl$eXm$eXp$eXs$eXu$eXw$eX}$eX!n$eX$W$eX$X$eX$g$eXo$eXr$eX!d$eX$U$eX$q$eX!z$eX~Oh$iO~Oh$kO~O!U#}O!d$lOs$rXn$rX~Os!RO~On$oOy$cO~On$pO~Ow$qO!n!wO~Os$rO~Os!RO!U#}O~Os!RO#m$xO~O$W#WOs#pX~O$q$|On#Ra$U#Rar#Ra~P)YOn#}X$U#}Xr#}X~P!jOn#[O$U$oar$oa~O$^#_O$_#_O$`%TO~Oo%VO!y%WO~Os!{i!d!{i!|!{i#P!{i$V!{ig!{i~P-vOs!}i!d!}i!|!}i#P!}i$V!}ig!}i~P-vOs#Oi!d#Oi!|#Oi#P#Oi$V#Oig#Oi~P-vOs#{a!d#{a~P&^Or%XO~Og$nP~P'oOg$dP~P)YOc!SXg!QX!U!QX!W!SX~Oc%aO!W%bO~Og%cO!U#}O~O!U#}OS$TXc$TXd$TXh$TXn$TXs$TX!Y$TX!]$TX!`$TX!d$TX$Y$TX~On%gO!d$OO~P(dO!U#}OS!Xac!Xad!Xah!Xan!Xas!Xa!Y!Xa!]!Xa!`!Xa!d!Xa$Y!Xag!Xa~O$Y%hOg$lP~P/VOR#zOS!fOh%mOu#zOw#zO!Y%nO$Y%lO$g!qO~Oy$cOQ$fX`$fXc$fXg$fXh$fXl$fXm$fXn$fXp$fXs$fXu$fXw$fX}$fX!n$fX$W$fX$X$fX$g$fXo$fXr$fX~O`$YOc$YOg%wOl$YOm$YOn$YO~P)YO`$YOc$YOl$YOm$YOn$YOo%xO~P)YO`$YOc$YOl$YOm$YOn$YOr%yO~P)YOh%{OS#WXc#WXd#WXn#WX!Y#WX!]#WX!`#WX$Y#WX~On%|O~Og&ROw&SO!o&SO~Os$PX!d$PXn$PX~P)}O!d$lOs$ran$ra~On&VO~Or&^O$W&XO$g&WO~Og&_O~P&^Oy$cO!d&cO$q$|On#Ri$U#Rir#Ri~P)YO$p&fO~On#}a$U#}ar#}a~P!jOn#[O$U$oir$oi~O!d&iOg$nX~P&^Og&kO~Oy$cOQ#uXg#uXh#uXp#uXs#uXu#uXw#uX}#uX!d#uX!n#uX$W#uX$X#uX$g#uX~O!d&mOg$dX~P)YOg&oO~Oo&pOy$cO!z&qO~OR#zOu#zOw#zO$Y&sO$g!qO~O!U#}OS$Tac$Tad$Tah$Tan$Tas$Ta!Y$Ta!]$Ta!`$Ta!d$Ta$Y$Ta~Oc!SXg!QX!U!QX!d!QX~O!U#}O!d&uOg$lX~Oc&wO~Og&xO~Oc&yOg!jX!W!SX~OS!fOh&{O~O!U&}O~O!U&}Og$kX~O!W'OO~Og'PO~O$W'QO~On'SO~Oc'TO!U#}O~Og'VOn'UO~Og'YO~O!U#}Os$Pa!d$Pan$Pa~OP$bOsvX!dvXgvX~O$g&WOs#gX!d#gX~Os!RO!d'[O~Or'`O$W&XO$g&WO~Oy$cOQ#|Xh#|Xn#|Xp#|Xs#|Xu#|Xw#|X}#|X!d#|X!n#|X$U#|X$W#|X$X#|X$g#|X$q#|Xr#|X~O!d&cO$q$|On#Rq$U#Rqr#Rq~P)YOo'eOy$cO!z'fO~Og#zX!d#zX~P'oO!d&iOg$na~Og#yX!d#yX~P)YO!d&mOg$da~Oo'eO~Og'kO~P)YOg'lO!W'mO~O$Y%hOg#xX!d#xX~P/VO!d&uOg$la~Og'sO~OS!fOh'uO~O`'xOg'zO~OS#wac#wad#wah#wa!Y#wa!]#wa!`#wa$Y#wa~Og'|O~P! xOg'|On'}O~Oy$cOQ#|ah#|an#|ap#|as#|au#|aw#|a}#|a!d#|a!n#|a$U#|a$W#|a$X#|a$g#|a$q#|ar#|a~Oo(SO~Og#za!d#za~P&^Og#ya!d#ya~P)YOR#zOu#zOw#zO$Y&sO$g&WO~O!U#}Og#xa!d#xa~Oc(UO~O!d&uOg$li~P)YOg!ji~P)YOg!ai!U!hi~Og(WO~O!W(YOg!ki~O`'xOg(]O~Oy$cOg!Pin!Pi~Og(^O~P! xOn(_O~Og(`O~O!d&uOg$lq~Og(bO~Og#xq!d#xq~P)YO$[!o$]$g`$gy#P~",goto:"7[$sPPPPP$tP$wP%Q%d%Q%v&YP%QP&`%QPP&fPPP&l&v&vPPPPP&vPP&vP'fP&vP&v(i&vP)X)[)b)b)t)bP)bP)bP)b)bP*a)bP*m*s+cP*m+f*m+i+`+o+o)b+uPP,k,q%Q,w%Q,},}-T-XPP%QP%Q%QP-_.Z.h.o$wP.xP.{P$wP$wP$wP/R$wP/U/X/[/c$wP$wPP$wP/h$wP/k/q0Q0l0z1Q1[1b1h1n1t2O2U2[2b2h2nPPPPPPPPPPP2t2}P3s3v4zP5S5|6c6o6u6o6x6{PP7RRrQ_aOPco!R#[%Pq_OP]^co|}!O!P!R#S#[#p%P&iqSOP]^co|}!O!P!R#S#[#p%P&iqUOP]^co|}!O!P!R#S#[#p%P&iQtTR#buQwWR#cxQ!VYR#dyQ#d!XS$h!t!uR%U#f!Z!xdf!n!o!p#Z#q#v$[$^$`$c${%W%]%a&c&d&m&r&w&y'T'i'q'r(U(a!Y!x
1df!n!o!p#Z#q#v$[$^$`$c${%W%]%a&c&d&m&r&w&y'T'i'q'r(U(ab#z!c$W%b%m&{'O'm'u(YU&Z$r&]'[R'Z&Y!Z!tdf!n!o!p#Z#q#v$[$^$`$c${%W%]%a&c&d&m&r&w&y'T'i'q'r(U(aR$j!vQ&P$iR'W&Qq!h`ei!c!d!e!r#}$O$P$S$g$i$l&Q&uQ#x!cQ%j$SW%r$W%m&{'uQ&t%bQ'o&uQ'w'OQ(T'mR(c(YQ#VjQ$V!jQ$v#UR&a$xX%q$W%m&{'up!h`ei!c!d!e!r#}$O$P$S$g$i$l&Q&uW%p$W%m&{'uQ&|%nR'v&}R$T!fR&|%nX%o$W%m&{'uX%s$W%m&{'u!Y!xdf!n!o!p#Z#q#v$[$^$`$c${%W%]%a&c&d&m&r&w&y'T'i'q'r(U(aQ!}gR$q#OQ!WYR#eyQ#d!WR%U#eQ!ZZR#gzQ!_[R#h{T!^[{Q#s!]R%_#tQ!SXQ!i`Q#TjQ#n!QQ$Q!dQ$n!zQ$t#RQ$w#VQ$z#YQ%g$PQ&`$vQ'^&[Q'a&aR(R']SnP!RQ#^oQ%O#[R&g%PZmPo!R#[%PQ$}#ZQ&e${R'd&dR$g!rQ'R%{R(Z'xR#OgR#QhR$s#QS&[$r&]R(P'[V&Y$r&]'[R#YkQ#`qR%S#`QcOSoP!RU!lco%PR%P#[Q%]#q[&l%]&r'i'q'r(aQ&r%aQ'i&mQ'q&wQ'r&yR(a(UQ$[!nQ$^!oQ$`!pV%v$[$^$`Q&Q$iR'X&QQ&v%iS'p&v(VR(V'qQ&n%]R'j&nQ&j%YR'h&jQ!QXR#m!QQ&d${R'c&dQ#]nS%Q#]%RR%R#^Q'y'RR(['yQ$m!yR&U$mQ&]$rR'_&]Q']&[R(Q']Q#XkR$y#XQ$P!dR%f$P_bOPco!R#[%P^XOPco!R#[%PQ!`]Q!a^Q#i|Q#j}Q#k!OQ#l!PQ$u#SQ%Y#pR'g&iR%^#qQ!rdQ!{f[$X!n!o!p$[$^$`Q${#Zh%[#q%]%a&m&r&w&y'i'q'r(U(aQ%`#vQ%z$cS&b${&dQ&h%WQ'b&cR'{'T]$Z!n!o!p$[$^$`Q!d`U!ye!r$gQ#RiQ#y!cS#|!d$PQ$R!eQ%d#}Q%e$OQ%i$SS&O$i&QQ&T$lR'n&uQ#{!cW%r$W%m&{'uQ&t%bQ'w'OQ(T'mR(c(YQ%u$WQ&z%mQ't&{R(X'uX%t$W%m&{'uR%k$SR%Z#pQpPR#o!RQ!zeQ$f!rR%}$g",nodeNames:"⚠ Unit VariableName VariableName QueryCallee Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NamespacedTagSelector NamespaceName TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue AtKeyword # ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector StyleQuery style ParenthesedQuery CallQuery ArgList , UnaryQuery ParenthesedQuery BinaryQuery ParenthesedQuery ParenthesedQuery StyleFeature StyleRange PseudoQuery CallLiteral CallTag ParenthesizedContent PseudoClassName ArgList IdSelector IdName AttributeSelector AttributeName NamespacedAttribute NamespaceName AttributeName MatchOp MatchFlag ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to FontFeatureStatement font-feature-values FontName AtRule Styles",maxTerm:172,nodeProps:[["isolate",-2,5,39,""],["openedBy",23,"(",31,"[",34,"{"],["closedBy",24,")",32,"]",35,"}"]],propSources:[nU],skippedNodes:[0,5,127],repeatNodeCount:17,tokenData:"K`~R!bOX%ZX^&R^p%Zpq&Rqr)ers)vst+jtu2Xuv%Zvw3Rwx3dxy5Ryz5dz{5i{|6S|}:u}!O;W!O!P;u!P!Q<^!Q![=V![!]>Q!]!^>|!^!_?_!_!`@Z!`!a@n!a!b%Z!b!cAo!c!k%Z!k!lC|!l!u%Z!u!vC|!v!}%Z!}#OD_#O#P%Z#P#QDp#Q#R2X#R#]%Z#]#^ER#^#g%Z#g#hC|#h#o%Z#o#pIf#p#qIw#q#rJ`#r#sJq#s#y%Z#y#z&R#z$f%Z$f$g&R$g#BY%Z#BY#BZ&R#BZ$IS%Z$IS$I_&R$I_$I|%Z$I|$JO&R$JO$JT%Z$JT$JU&R$JU$KV%Z$KV$KW&R$KW&FU%Z&FU&FV&R&FV;'S%Z;'S;=`KY<%lO%Z`%^SOy%jz;'S%j;'S;=`%{<%lO%j`%oS!o`Oy%jz;'S%j;'S;=`%{<%lO%j`&OP;=`<%l%j~&Wh$[~OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$KV%j$KV$KW'r$KW&FU%j&FU&FV'r&FV;'S%j;'S;=`%{<%lO%j~'yh$[~!o`OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$KV%j$KV$KW'r$KW&FU%j&FU&FV'r&FV;'S%j;'S;=`%{<%lO%jj)jS$qYOy%jz;'S%j;'S;=`%{<%lO%j~)yWOY)vZr)vrs*cs#O)v#O#P*h#P;'S)v;'S;=`+d<%lO)v~*hOw~~*kRO;'S)v;'S;=`*t;=`O)v~*wXOY)vZr)vrs*cs#O)v#O#P*h#P;'S)v;'S;=`+d;=`<%l)v<%lO)v~+gP;=`<%l)vj+oYmYOy%jz!Q%j!Q![,_![!c%j!c!i,_!i#T%j#T#Z,_#Z;'S%j;'S;=`%{<%lO%jj,dY!o`Oy%jz!Q%j!Q![-S![!c%j!c!i-S!i#T%j#T#Z-S#Z;'S%j;'S;=`%{<%lO%jj-XY!o`Oy%jz!Q%j!Q![-w![!c%j!c!i-w!i#T%j#T#Z-w#Z;'S%j;'S;=`%{<%lO%jj.OYuY!o`Oy%jz!Q%j!Q![.n![!c%j!c!i.n!i#T%j#T#Z.n#Z;'S%j;'S;=`%{<%lO%jj.uYuY!o`Oy%jz!Q%j!Q![/e![!c%j!c!i/e!i#T%j#T#Z/e#Z;'S%j;'S;
1=`%{<%lO%jj/jY!o`Oy%jz!Q%j!Q![0Y![!c%j!c!i0Y!i#T%j#T#Z0Y#Z;'S%j;'S;=`%{<%lO%jj0aYuY!o`Oy%jz!Q%j!Q![1P![!c%j!c!i1P!i#T%j#T#Z1P#Z;'S%j;'S;=`%{<%lO%jj1UY!o`Oy%jz!Q%j!Q![1t![!c%j!c!i1t!i#T%j#T#Z1t#Z;'S%j;'S;=`%{<%lO%jj1{SuY!o`Oy%jz;'S%j;'S;=`%{<%lO%jd2[UOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%jd2uS!yS!o`Oy%jz;'S%j;'S;=`%{<%lO%jb3WS^QOy%jz;'S%j;'S;=`%{<%lO%j~3gWOY3dZw3dwx*cx#O3d#O#P4P#P;'S3d;'S;=`4{<%lO3d~4SRO;'S3d;'S;=`4];=`O3d~4`XOY3dZw3dwx*cx#O3d#O#P4P#P;'S3d;'S;=`4{;=`<%l3d<%lO3d~5OP;=`<%l3dj5WShYOy%jz;'S%j;'S;=`%{<%lO%j~5iOg~n5pUWQyWOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%jj6ZWyW#PQOy%jz!O%j!O!P6s!P!Q%j!Q![9x![;'S%j;'S;=`%{<%lO%jj6xU!o`Oy%jz!Q%j!Q![7[![;'S%j;'S;=`%{<%lO%jj7cY!o`$gYOy%jz!Q%j!Q![7[![!g%j!g!h8R!h#X%j#X#Y8R#Y;'S%j;'S;=`%{<%lO%jj8WY!o`Oy%jz{%j{|8v|}%j}!O8v!O!Q%j!Q![9_![;'S%j;'S;=`%{<%lO%jj8{U!o`Oy%jz!Q%j!Q![9_![;'S%j;'S;=`%{<%lO%jj9fU!o`$gYOy%jz!Q%j!Q![9_![;'S%j;'S;=`%{<%lO%jj:P[!o`$gYOy%jz!O%j!O!P7[!P!Q%j!Q![9x![!g%j!g!h8R!h#X%j#X#Y8R#Y;'S%j;'S;=`%{<%lO%jj:zS!dYOy%jz;'S%j;'S;=`%{<%lO%jj;]WyWOy%jz!O%j!O!P6s!P!Q%j!Q![9x![;'S%j;'S;=`%{<%lO%jj;zU`YOy%jz!Q%j!Q![7[![;'S%j;'S;=`%{<%lO%j~<cTyWOy%jz{<r{;'S%j;'S;=`%{<%lO%j~<yS!o`$]~Oy%jz;'S%j;'S;=`%{<%lO%jj=[[$gYOy%jz!O%j!O!P7[!P!Q%j!Q![9x![!g%j!g!h8R!h#X%j#X#Y8R#Y;'S%j;'S;=`%{<%lO%jj>VUcYOy%jz![%j![!]>i!];'S%j;'S;=`%{<%lO%jj>pSdY!o`Oy%jz;'S%j;'S;=`%{<%lO%jj?RSnYOy%jz;'S%j;'S;=`%{<%lO%jh?dU!WWOy%jz!_%j!_!`?v!`;'S%j;'S;=`%{<%lO%jh?}S!WW!o`Oy%jz;'S%j;'S;=`%{<%lO%jl@bS!WW!ySOy%jz;'S%j;'S;=`%{<%lO%jj@uV!|Q!WWOy%jz!_%j!_!`?v!`!aA[!a;'S%j;'S;=`%{<%lO%jbAcS!|Q!o`Oy%jz;'S%j;'S;=`%{<%lO%jjArYOy%jz}%j}!OBb!O!c%j!c!}CP!}#T%j#T#oCP#o;'S%j;'S;=`%{<%lO%jjBgW!o`Oy%jz!c%j!c!}CP!}#T%j#T#oCP#o;'S%j;'S;=`%{<%lO%jjCW[lY!o`Oy%jz}%j}!OCP!O!Q%j!Q![CP![!c%j!c!}CP!}#T%j#T#oCP#o;'S%j;'S;=`%{<%lO%jhDRS!zWOy%jz;'S%j;'S;=`%{<%lO%jjDdSpYOy%jz;'S%j;'S;=`%{<%lO%jnDuSo^Oy%jz;'S%j;'S;=`%{<%lO%jjEWU!zWOy%jz#a%j#a#bEj#b;'S%j;'S;=`%{<%lO%jbEoU!o`Oy%jz#d%j#d#eFR#e;'S%j;'S;=`%{<%lO%jbFWU!o`Oy%jz#c%j#c#dFj#d;'S%j;'S;=`%{<%lO%jbFoU!o`Oy%jz#f%j#f#gGR#g;'S%j;'S;=`%{<%lO%jbGWU!o`Oy%jz#h%j#h#iGj#i;'S%j;'S;=`%{<%lO%jbGoU!o`Oy%jz#T%j#T#UHR#U;'S%j;'S;=`%{<%lO%jbHWU!o`Oy%jz#b%j#b#cHj#c;'S%j;'S;=`%{<%lO%jbHoU!o`Oy%jz#h%j#h#iIR#i;'S%j;'S;=`%{<%lO%jbIYS$pQ!o`Oy%jz;'S%j;'S;=`%{<%lO%jjIkSsYOy%jz;'S%j;'S;=`%{<%lO%jfI|U$cUOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%jjJeSrYOy%jz;'S%j;'S;=`%{<%lO%jfJvU#PQOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%j`K]P;=`<%l%Z",tokenizers:[nM,nZ,nQ,nL,1,2,3,4,new np("m~RRYZ[z{a~~g~aO$_~~dP!P!Qg~lO$`~~",28,152)],topRules:{StyleSheet:[0,6],Styles:[1,126]},dynamicPrecedences:{94:1},specialized:[{term:147,get:e=>nX[e]||-1},{term:148,get:e=>nI[e]||-1},{term:4,get:e=>nB[e]||-1},{term:28,get:e=>nq[e]||-1},{term:146,get:e=>nW[e]||-1}],tokenPrec:2405}),nN=null;function nV(){if(!nN&&"object"==typeof document&&document.body){let{style:e}=document.body,t=[],a=new Set;for(let r in e)"cssText"!=r&&"cssFloat"!=r&&"string"==typeof e[r]&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())),a.has(r)||(t.push(r),a.add(r)));nN=t.sort().map(e=>({type:"property",label:e,apply:e+": "}))}return nN||[]}let nF=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),nz=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","
1initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),nH=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),nY=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supp
1orts","@view-transition"].map(e=>({type:"keyword",label:e})),nG=/^(\w[\w-]*|-\w[\w-]*|)$/,nK=/^-(-[\w-]*)?$/,nJ=new eT,n0=["Declaration"],n1=(n=e=>"VariableName"==e.name,e=>{let{state:t,pos:a}=e,r=tm(t).resolveInner(a,-1),o=r.type.isError&&r.from==r.to-1&&"-"==t.doc.sliceString(r.from,r.to);if("PropertyName"==r.name||(o||"TagName"==r.name)&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:nV(),validFor:nG};if("ValueName"==r.name)return{from:r.from,options:nz,validFor:nG};if("PseudoClassName"==r.name)return{from:r.from,options:nF,validFor:nG};if(n(r)||(e.explicit||o)&&function(e,t){var a;if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1;let r=null==(a=e.parent)?void 0:a.firstChild;return(null==r?void 0:r.name)=="Callee"&&"var"==t.sliceString(r.from,r.to)}(r,t.doc))return{from:n(r)||o?r.from:a,options:function e(t,a,r){if(a.to-a.from>4096){let n=nJ.get(a);if(n)return n;let o=[],l=new Set,s=a.cursor(m.IncludeAnonymous);if(s.firstChild())do for(let a of e(t,s.node,r))l.has(a.label)||(l.add(a.label),o.push(a));while(s.nextSibling());return nJ.set(a,o),o}{let e=[],n=new Set;return a.cursor().iterate(a=>{var o;if(r(a)&&a.matchContext(n0)&&(null==(o=a.node.nextSibling)?void 0:o.name)==":"){let r=t.sliceString(a.from,a.to);n.has(r)||(n.add(r),e.push({label:r,type:"variable"}))}}),e}}(t.doc,function(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}(r),n),validFor:nK};if("TagName"==r.name){for(let{parent:e}=r;e;e=e.parent)if("Block"==e.name)return{from:r.from,options:nV(),validFor:nG};return{from:r.from,options:nH,validFor:nG}}if("AtKeyword"==r.name)return{from:r.from,options:nY,validFor:nG};if(!e.explicit)return null;let l=r.resolve(a),s=l.childBefore(a);return s&&":"==s.name&&"PseudoClassSelector"==l.name?{from:a,options:nF,validFor:nG}:s&&":"==s.name&&"Declaration"==l.name||"ArgList"==l.name?{from:a,options:nz,validFor:nG}:"Block"==l.name||"Styles"==l.name?{from:a,options:nV(),validFor:nG}:null}),n2=tp.define({name:"css",parser:nD.configure({props:[tE.add({Declaration:tL()}),tZ.add({"Block KeyframeList":tU})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function n4(){return new tw(n2,n2.data.of({autocomplete:n1}))}let n8={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},n3={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},n6={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},n5=null,n7=null,n9=0;function oe(e,t){var a;let r=e.pos+t;if(n9==r&&n7==e)return n5;let n=e.peek(t),o="";for(;45==(a=n)||46==a||58==a||a>=65&&a<=90||95==a||a>=97&&a<=122||a>=161;)o+=String.fromCharCode(n),n=e.peek(++t);return n7=e,n9=r,n5=o?o.toLowerCase():n==ot||n==oa?void 0:null}let ot=63,oa=33;function or(e,t){this.name=e,this.parent=t}let on=[6,10,7,8,9],oo=new nC({start:null,shift:(e,t,a,r)=>on.indexOf(t)>-1?new or(oe(r,1)||"",e):e,reduce:(e,t)=>21==t&&e?e.parent:e,reuse(e,t,a,r){let n=t.type.id;return 6==n||37==n?new or(oe(r,1)||"",e):e},strict:!1}),ol=new nm((e,t)=>{if(60!=e.next){e.next<0&&t.context&&e.acceptToken(58);return}e.advance();let a=47==e.next;a&&e.advance();let r=oe(e,0);if(void 0===r)return;if(!r)return e.acceptToken(a?15:14);let n=t.context?t.context.name:null;if(a){if(r==n)return e.acceptToken(11);if(n&&n3[n])return e.acceptToken(58,-2);if(t.dialectEnabled(0))return e.acceptToken(12);for(let e=t.context;e;e=e.parent)if(e.name==r)return;e.acceptToken(13)}else{if("script"==r)return e.acceptToken(7);if("style"==r)return e.acceptToken(8);if("textarea"==r)return e.acceptToken(9);
1if(n8.hasOwnProperty(r))return e.acceptToken(10);n&&n6[n]&&n6[n][r]?e.acceptToken(58,-1):e.acceptToken(6)}},{contextual:!0}),os=new nm(e=>{for(let t=0,a=0;;a++){if(e.next<0){a&&e.acceptToken(59);break}if(45==e.next)t++;else if(62==e.next&&t>=2){a>=3&&e.acceptToken(59,-2);break}else t=0;e.advance()}}),oi=new nm((e,t)=>{if(47==e.next&&62==e.peek(1)){let a=t.dialectEnabled(1)||function(e){for(;e;e=e.parent)if("svg"==e.name||"math"==e.name)return!0;return!1}(t.context);e.acceptToken(a?5:4,2)}else 62==e.next&&e.acceptToken(4,1)});function oc(e,t,a){let r=2+e.length;return new nm(n=>{for(let o=0,l=0,s=0;;s++){if(n.next<0){s&&n.acceptToken(t);break}if(0==o&&60==n.next||1==o&&47==n.next||o>=2&&o<r&&n.next==e.charCodeAt(o-2))o++,l++;else if(o==r&&62==n.next){s>l?n.acceptToken(t,-l):n.acceptToken(a,-(l-2));break}else if((10==n.next||13==n.next)&&s){n.acceptToken(t,1);break}else o=l=0;n.advance()}})}let ou=oc("script",55,1),od=oc("style",56,2),op=oc("textarea",57,3),om=eH({"Text RawText IncompleteTag IncompleteCloseTag":to.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":to.angleBracket,TagName:to.tagName,"MismatchedCloseTag/TagName":[to.tagName,to.invalid],AttributeName:to.attributeName,"AttributeValue UnquotedAttributeValue":to.attributeValue,Is:to.definitionOperator,"EntityReference CharacterReference":to.character,Comment:to.blockComment,ProcessingInst:to.processingInstruction,DoctypeDecl:to.documentMeta}),oh=n$.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O&}ObO,59]OOOd'#Da'#DaO'VOdO'#DPO'bOdO,59]OOO`'#Db'#DbO'jO!rO,59]O'qQ#tO'#DSOOO`,59],59]OOOp'#Dc'#DcO'vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO'#CtOOQW'#D['#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#tO'#CzOOO`1G.w1G.wOOOb-E7^-E7^O)vQ#tO'#C}OOOd-E7_-E7_O){Q#tO'#DQOOO`-E7`-E7`O*QQ#|O,59nOOOp-E7a-E7aOOO`1G/[1G/[OOO`1G/^1G/^OOO`1G/_1G/_O*VQ,UO,59`OOQW-E7Y-E7YOOOa7+$d7+$dOOO`7+$u7+$uOOOb7+$m7+$mOOOd7+$p7+$pOOO`7+$s7+$sO*bQ#|O,59fO*gQ#|O,59iO*lQ#|O,59lOOO`1G/Y1G/YO*qO7[O'#CwO+SOMhO'#CwOOQW1G.z1G.zOOO`1G/Q1G/QOOO`1G/T1G/TOOO`1G/W1G/WOOOO'#D]'#D]O+eO7[O,59cOOQW,59c,59cOOOO'#D^'#D^O+vOMhO,59cOOOO-E7Z-E7ZOOQW1G.}1G.}OOOO-E7[-E7[",stateData:",c~O!_OS~OUSOVPOWQOXROYTO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O|_O!eZO~OgaO~OgbO~OgcO~OgdO~OgeO~O!XfOPmP![mP~O!YiOQpP![pP~O!ZlORsP![sP~OUSOVPOWQOXROYTOZqO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O!eZO~O![rO~P#gO!]sO!fuO~OgvO~OgwO~OS|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~",goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:68,context:oo,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,31,34,37,"CloseTag"],["o
1penedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,30,33,36,38,"OpenTag"],["group",-10,14,15,18,19,20,21,40,41,42,43,"Entity",17,"Entity TextContent",-3,29,32,35,"TextContent Entity"],["isolate",-11,22,30,31,33,34,36,37,38,39,42,43,"ltr",-3,27,28,40,""]],propSources:[om],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UVaP!dpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pTaPOv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!dpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({WaP!b`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!b`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!b`!dpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYlWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]`aP!b`!dp!_^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebiSlWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXiSqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vciSaP!b`!dpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;'S1k;'S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!ahaP!dpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_4WiiSlWd!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zblWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOb!R!R7tP;=`<%l7S!Z8OYlWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{iiSlWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbiSlWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QciSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;'S;{;'S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXiSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TalWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOc!R!RAwP;=`<%lAY!ZBRYlWc!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbiSlWc!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbiSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXiSc!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!cxaP!b`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYliSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_kiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_XaP!b`!dp!fQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZiSgQaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!b`!dpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;
1=`*s<%lO*V!R!%Q]!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!b`!dp!ePOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!b`!dpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!b`!dpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!b`!dpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!b`!dpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!b`!dpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!b`!dpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!b`!dpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!dpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO|PP!-nP;=`<%l!-Sq!-xS!dp|POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!b`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!b`|POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!b`!dp|POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!b`!dpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!b`!dpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!b`!dpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!b`!dpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!b`!dpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!b`!dpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!dpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[ou,od,op,oi,ol,os,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function of(e,t){let a=Object.create(null);for(let r of e.getChildren(24)){let e=r.getChild(25),n=r.getChild(27)||r.getChild(28);e&&(a[t.read(e.from,e.to)]=n?27==n.type.id?t.read(n.from+1,n.to-1):t.read(n.from,n.to):"")}return a}function og(e,t){let a=e.getChild(23);return a?t.read(a.from,a.to):" "}function ov(e,t,a){let r;for(let n of a)if(!n.attrs||n.attrs(r||(r=of(e.node.parent.firstChild,t))))return{parser:n.parser,bracketed:!0};return null}function oy(e=[],t=[]){var a;let r=[],n=[],o=[],l=[];for(let t of e)("script"==t.tag?r:"style"==t.tag?n:"textarea"==t.tag?o:l).push(t);let s=t.length?Object.create(null):null;for(let e of t)(s[e.name]||(s[e.name]=[])).push(e);return a=(e,t)=>{let a=e.type.id;if(29==a)return ov(e,t,r);if(32==a)return ov(e,t,n);if(35==a)return ov(e,t,o);if(21==a&&l.length){let a=e.node,r=a.firstChild,n=r&&og(r,t),o;if(n){for(let e of l)if(e.tag==n&&(!e.attrs||e.attrs(o||(o=of(r,t))))){let t=a.lastChild,n=38==t.type.id?t.from:a.to;if(n>r.to)return{parser:e.parser,overlay:[{from:r.to,to:n}]}}}}if(s&&24==a){let a=e.node,r;if(r=a.firstChild){let e=s[t.read(r.from,r.to)];if(e)for(let r of e){if(r.tagName&&r.tagName!=og(a.parent,t))continue;let e=a.lastChild;if(27==e.type.id){let t=e.from+1,a=e.lastChild,n=e.to-(a&&a.isError?0:1);if(n>t)return{parser:r.parser,overlay:[{from:t,to:n}],bracketed:!0}}else if(28==e.type.id)return{parser:r.parser,overlay:[{from:e.from,to:e.to}]}}}}return null},(e,t,r,n)=>new eX(e,a,t,r,n)}let ob=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],oO=new nC({start:!1,shift:(e,t)=>5==t||6==t||320==t?e:321==t,strict:!1}),ok=new nm((e,t)=>{let{next:a}=e;(125==a||-1==a||t.context)&&e.acceptToken(318)},{contextual:!0,fallback:!0}),ox=new nm((e,t)=>{let{next:a}=e,r;ob.indexOf(a)>-1||(47!=a||47!=(r=e.peek(1))&&42!=r)&&(125==a||59==a||-1==a||t.context||e.acceptToken(316))},{contextual:!0}),ow=new nm((e,t)=>
1{91!=e.next||t.context||e.acceptToken(317)},{contextual:!0}),oS=new nm((e,t)=>{let{next:a}=e;if(43==a||45==a){if(e.advance(),a==e.next){e.advance();let a=!t.context&&t.canShift(1);e.acceptToken(a?1:2)}}else 63==a&&46==e.peek(1)&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(3))},{contextual:!0});function oC(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}let o$=new nm((e,t)=>{if(60!=e.next||!t.dialectEnabled(0)||(e.advance(),47==e.next))return;let a=0;for(;ob.indexOf(e.next)>-1;)e.advance(),a++;if(oC(e.next,!0)){for(e.advance(),a++;oC(e.next,!1);)e.advance(),a++;for(;ob.indexOf(e.next)>-1;)e.advance(),a++;if(44==e.next)return;for(let t=0;;t++){if(7==t){if(!oC(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),a++}}e.acceptToken(4,-a)}),oA=eH({"get set async static":to.modifier,"for while do if else switch try catch finally return throw break continue default case defer":to.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":to.operatorKeyword,"let var const using function class extends":to.definitionKeyword,"import export from":to.moduleKeyword,"with debugger new":to.keyword,TemplateString:to.special(to.string),super:to.atom,BooleanLiteral:to.bool,this:to.self,null:to.null,Star:to.modifier,VariableName:to.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":to.function(to.variableName),VariableDefinition:to.definition(to.variableName),Label:to.labelName,PropertyName:to.propertyName,PrivatePropertyName:to.special(to.propertyName),"CallExpression/MemberExpression/PropertyName":to.function(to.propertyName),"FunctionDeclaration/VariableDefinition":to.function(to.definition(to.variableName)),"ClassDeclaration/VariableDefinition":to.definition(to.className),"NewExpression/VariableName":to.className,PropertyDefinition:to.definition(to.propertyName),PrivatePropertyDefinition:to.definition(to.special(to.propertyName)),UpdateOp:to.updateOperator,"LineComment Hashbang":to.lineComment,BlockComment:to.blockComment,Number:to.number,String:to.string,Escape:to.escape,ArithOp:to.arithmeticOperator,LogicOp:to.logicOperator,BitOp:to.bitwiseOperator,CompareOp:to.compareOperator,RegExp:to.regexp,Equals:to.definitionOperator,Arrow:to.function(to.punctuation),": Spread":to.punctuation,"( )":to.paren,"[ ]":to.squareBracket,"{ }":to.brace,"InterpolationStart InterpolationEnd":to.special(to.brace),".":to.derefOperator,", ;":to.separator,"@":to.meta,TypeName:to.typeName,TypeDefinition:to.definition(to.typeName),"type enum interface implements namespace module declare":to.definitionKeyword,"abstract global Privacy readonly override":to.modifier,"is keyof unique infer asserts":to.operatorKeyword,JSXAttributeValue:to.attributeValue,JSXText:to.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":to.angleBracket,"JSXIdentifier JSXNameSpacedName":to.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":to.attributeName,"JSXBuiltin/JSXIdentifier":to.standard(to.tagName)}),oR={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,defer:471,for:476,of:485,while:488,with:492,do:496,if:500,else:502,switch:506,case:512,try:518,catch:522,finally:526,return:530,throw:534,break:538,continue:542,debugger:546},oE={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},oP={__proto__:null,"<":193},oT=n$.deserialize({version:14,states:"$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Il'#IlO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JrO6[Q!0MxO'#JsO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#Ff'#FfO7VO7dO'#FfO9XQMhO'#F|O9`Q`O'#F{OOQ!0Lf'#Js'#JsOOQ!0Lb'#Jr'#JrO9eQ`O'#GwOOQ['#K_'#K_O9pQ`O'#IYO9uQ!0LrO'#IZOOQ['#J`'#J`OOQ['#I_'#I_Q`QlOOQ`QlOOO9}Q!L^O'#DvO:UQlO'#EOO:]QlO'#EQO9kQ`O'#GsO:dQMhO'#CoO:rQ`O'#EnO:}Q`O'#EyO;hQMhO'#FeO;xQ`O'#GsOOQO'#K`'#K`O;}
1Q`O'#K`O<]Q`O'#G{O<]Q`O'#G|O<]Q`O'#HOO9kQ`O'#HRO=SQ`O'#HUO>kQ`O'#CeO>{Q`O'#HcO?TQ`O'#HiO?TQ`O'#HkO`QlO'#HmO?TQ`O'#HoO?TQ`O'#HrO?YQ`O'#HxO?_Q!0LsO'#IOO%[QlO'#IQO?jQ!0LsO'#ISO?uQ!0LsO'#IUO9uQ!0LrO'#IWO@QQ!0MxO'#CiOASQpO'#DlQOQ`OOO%[QlO'#EQOAjQ`O'#ETO:dQMhO'#EnOAuQ`O'#EnOBQQ!bO'#FeOOQ['#Cg'#CgOOQ!0Lb'#Dq'#DqOOQ!0Lb'#Jv'#JvO%[QlO'#JvOOQO'#Jy'#JyOOQO'#Ih'#IhOCQQpO'#EgOOQ!0Lb'#Ef'#EfOOQ!0Lb'#J}'#J}OC|Q!0MSO'#EgODWQpO'#EWOOQO'#Jx'#JxODlQpO'#JyOEyQpO'#EWODWQpO'#EgPFWO&2DjO'#CbPOOO)CD})CD}OOOO'#I`'#I`OFcO#tO,59UOOQ!0Lh,59U,59UOOOO'#Ia'#IaOFqO&jO,59UOGPQ!L^O'#DcOOOO'#Ic'#IcOGWO#@ItO,59{OOQ!0Lf,59{,59{OGfQlO'#IdOGyQ`O'#JtOIxQ!fO'#JtO+}QlO'#JtOJPQ`O,5:ROJgQ`O'#EpOJtQ`O'#KTOKPQ`O'#KSOKPQ`O'#KSOKXQ`O,5;^OK^Q`O'#KROOQ!0Ln,5:^,5:^OKeQlO,5:^OMcQ!0MxO,5:fONSQ`O,5:nONmQ!0LrO'#KQONtQ`O'#KPO9eQ`O'#KPO! YQ`O'#KPO! bQ`O,5;]O! gQ`O'#KPO!#lQ!fO'#JsOOQ!0Lh'#Ci'#CiO%[QlO'#ESO!$[Q!fO,5:sOOQS'#Jz'#JzOOQO-E<j-E<jO9kQ`O,5=_O!$rQ`O,5=_O!$wQlO,5;ZO!&zQMhO'#EkO!(eQ`O,5;ZO!(jQlO'#DyO!(tQpO,5;dO!(|QpO,5;dO%[QlO,5;dOOQ['#FT'#FTOOQ['#FV'#FVO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eOOQ['#FZ'#FZO!)[QlO,5;tOOQ!0Lf,5;y,5;yOOQ!0Lf,5;z,5;zOOQ!0Lf,5;|,5;|O%[QlO'#IpO!+_Q!0LrO,5<iO%[QlO,5;eO!&zQMhO,5;eO!+|QMhO,5;eO!-nQMhO'#E^O%[QlO,5;wOOQ!0Lf,5;{,5;{O!-uQ,UO'#FjO!.rQ,UO'#KXO!.^Q,UO'#KXO!.yQ,UO'#KXOOQO'#KX'#KXO!/_Q,UO,5<SOOOW,5<`,5<`O!/pQlO'#FvOOOW'#Io'#IoO7VO7dO,5<QO!/wQ,UO'#FxOOQ!0Lf,5<Q,5<QO!0hQ$IUO'#CyOOQ!0Lh'#C}'#C}O!0{O#@ItO'#DRO!1iQMjO,5<eO!1pQ`O,5<hO!3YQ(CWO'#GXO!3jQ`O'#GYO!3oQ`O'#GYO!5_Q(CWO'#G^O!6dQpO'#GbOOQO'#Gn'#GnO!,TQMhO'#GmOOQO'#Gp'#GpO!,TQMhO'#GoO!7VQ$IUO'#JlOOQ!0Lh'#Jl'#JlO!7aQ`O'#JkO!7oQ`O'#JjO!7wQ`O'#CuOOQ!0Lh'#C{'#C{O!8YQ`O'#C}OOQ!0Lh'#DV'#DVOOQ!0Lh'#DX'#DXO!8_Q`O,5<eO1SQ`O'#DZO!,TQMhO'#GPO!,TQMhO'#GRO!8gQ`O'#GTO!8lQ`O'#GUO!3oQ`O'#G[O!,TQMhO'#GaO<]Q`O'#JkO!8qQ`O'#EqO!9`Q`O,5<gOOQ!0Lb'#Cr'#CrO!9hQ`O'#ErO!:bQpO'#EsOOQ!0Lb'#KR'#KRO!:iQ!0LrO'#KaO9uQ!0LrO,5=cO`QlO,5>tOOQ['#Jh'#JhOOQ[,5>u,5>uOOQ[-E<]-E<]O!<hQ!0MxO,5:bO!:]QpO,5:`O!?RQ!0MxO,5:jO%[QlO,5:jO!AiQ!0MxO,5:lOOQO,5@z,5@zO!BYQMhO,5=_O!BhQ!0LrO'#JiO9`Q`O'#JiO!ByQ!0LrO,59ZO!CUQpO,59ZO!C^QMhO,59ZO:dQMhO,59ZO!CiQ`O,5;ZO!CqQ`O'#HbO!DVQ`O'#KdO%[QlO,5;}O!:]QpO,5<PO!D_Q`O,5=zO!DdQ`O,5=zO!DiQ`O,5=zO!DwQ`O,5=zO9uQ!0LrO,5=zO<]Q`O,5=jOOQO'#Cy'#CyO!EOQpO,5=gO!EWQMhO,5=hO!EcQ`O,5=jO!EhQ!bO,5=mO!EpQ`O'#K`O?YQ`O'#HWO9kQ`O'#HYO!EuQ`O'#HYO:dQMhO'#H[O!EzQ`O'#H[OOQ[,5=p,5=pO!FPQ`O'#H]O!FbQ`O'#CoO!FgQ`O,59PO!FqQ`O,59PO!HvQlO,59POOQ[,59P,59PO!IWQ!0LrO,59PO%[QlO,59PO!KcQlO'#HeOOQ['#Hf'#HfOOQ['#Hg'#HgO`QlO,5=}O!KyQ`O,5=}O`QlO,5>TO`QlO,5>VO!LOQ`O,5>XO`QlO,5>ZO!LTQ`O,5>^O!LYQlO,5>dOOQ[,5>j,5>jO%[QlO,5>jO9uQ!0LrO,5>lOOQ[,5>n,5>nO#!dQ`O,5>nOOQ[,5>p,5>pO#!dQ`O,5>pOOQ[,5>r,5>rO##QQpO'#D_O%[QlO'#JvO##sQpO'#JvO##}QpO'#DmO#$`QpO'#DmO#&qQlO'#DmO#&xQ`O'#JuO#'QQ`O,5:WO#'VQ`O'#EtO#'eQ`O'#KUO#'mQ`O,5;_O#'rQpO'#DmO#(PQpO'#EVOOQ!0Lf,5:o,5:oO%[QlO,5:oO#(WQ`O,5:oO?YQ`O,5;YO!CUQpO,5;YO!C^QMhO,5;YO:dQMhO,5;YO#(`Q`O,5@bO#(eQ07dO,5:sOOQO-E<f-E<fO#)kQ!0MSO,5;RODWQpO,5:rO#)uQpO,5:rODWQpO,5;RO!ByQ!0LrO,5:rOOQ!0Lb'#Ej'#EjOOQO,5;R,5;RO%[QlO,5;RO#*SQ!0LrO,5;RO#*_Q!0LrO,5;RO!CUQpO,5:rOOQO,5;X,5;XO#*mQ!0LrO,5;RPOOO'#I^'#I^P#+RO&2DjO,58|POOO,58|,58|OOOO-E<^-E<^OOQ!0Lh1G.p1G.pOOOO-E<_-E<_OOOO,59},59}O#+^Q!bO,59}OOOO-E<a-E<aOOQ!0Lf1G/g1G/gO#+cQ!fO,5?OO+}QlO,5?OOOQO,5?U,5?UO#+mQlO'#IdOOQO-E<b-E<bO#+zQ`O,5@`O#,SQ!fO,5@`O#,ZQ`O,5@nOOQ!0Lf1G/m1G/mO%[QlO,5@oO#,cQ`O'#IjOOQO-E<h-E<hO#,ZQ`O,5@nOOQ!0Lb1G0x1G0xOOQ!0Ln1G/x1G/xOOQ!0Ln1G0Y1G0YO%[QlO,5@lO#,wQ!0LrO,5@lO#-YQ!0LrO,5@lO#-aQ`O,5@kO9eQ`O,5@kO#-iQ`O,5@kO#-wQ`O'#ImO#-aQ`O,5@kOOQ!0Lb1G0w1G0wO!(tQpO,5:uO!)PQpO,5:uOOQS,5:w,5:wO#.iQdO,5:wO#.qQMhO1G2yO9kQ`O1G2yOOQ!0Lf1G0u1G0uO#/PQ!0MxO1G0uO#0UQ!0MvO,5;VOOQ!0Lh'#GW'#GWO#0rQ!0MzO'#JlO!$wQlO1G0uO#2}Q!fO'#JwO%[QlO'#JwO#3XQ`O,5:eOOQ!0Lh'#D_'#D_OOQ!0Lf1G1O1G1OO%[QlO1G1OOOQ!0Lf1G1f1G1fO#3^Q`O1G1OO#5rQ!0MxO1G1PO#5yQ!0MxO1G1PO#8aQ!0MxO1G1PO#8hQ!0MxO1G1PO#;OQ!0MxO1G1PO#=fQ!0MxO1G1PO#=mQ!0MxO1G1PO#=tQ!0MxO1G1PO#@[Q!0MxO1G1PO#@cQ!0MxO1G1PO#BpQ?MtO'#CiO#DkQ?MtO1G1`O#DrQ?MtO'#JsO#EVQ!0MxO,5?[OOQ!0Lb-E<n-E<nO#GdQ!0MxO1G1PO#HaQ!0MzO1G1POOQ!0Lf1G1P1G1PO#IdQMjO'#J|O#InQ`O,5:xO#IsQ!0MxO1G1cO#JgQ,UO,5<WO#JoQ,UO,5<XO#JwQ,UO'#FoO#K`Q`O'#FnOOQO'#KY'#KYOOQO'#In'#InO#KeQ,UO1G1nOOQ!0Lf1G1n1G1nOOOW1G1y1G1yO#KvQ?MtO'#JrO#LQQ`O,5<bO!)[QlO,5<bOOOW-E<m-E<mOOQ!0Lf1G1l1G1lO#LVQpO'#KXOOQ!0Lf,5<d,5<dO#L_QpO,5<dO#LdQMhO'#DTOOOO'#Ib'#IbO#LkO#@ItO,59mOOQ!0Lh,59m,59mO%[QlO1G2PO!8lQ`O'#IrO#LvQ`O,5<zOOQ!0Lh,5<w,5<wO!,TQMhO'#IuO#MdQMjO,5=XO!,TQMhO'#IwO#NVQMjO,5=ZO!&zQMhO,5=]OOQO1G2S1G2SO#NaQ!dO'#CrO#NtQ(CWO'#ErO$ |QpO'#GbO$!dQ!dO,5<sO$!kQ`O'#
1K[O9eQ`O'#K[O$!yQ`O,5<uO$#aQ!dO'#C{O!,TQMhO,5<tO$#kQ`O'#GZO$$PQ`O,5<tO$$UQ!dO'#GWO$$cQ!dO'#K]O$$mQ`O'#K]O!&zQMhO'#K]O$$rQ`O,5<xO$$wQlO'#JvO$%RQpO'#GcO#$`QpO'#GcO$%dQ`O'#GgO!3oQ`O'#GkO$%iQ!0LrO'#ItO$%tQpO,5<|OOQ!0Lp,5<|,5<|O$%{QpO'#GcO$&YQpO'#GdO$&kQpO'#GdO$&pQMjO,5=XO$'QQMjO,5=ZOOQ!0Lh,5=^,5=^O!,TQMhO,5@VO!,TQMhO,5@VO$'bQ`O'#IyO$'vQ`O,5@UO$(OQ`O,59aOOQ!0Lh,59i,59iO$(TQ`O,5@VO$)TQ$IYO,59uOOQ!0Lh'#Jp'#JpO$)vQMjO,5<kO$*iQMjO,5<mO@zQ`O,5<oOOQ!0Lh,5<p,5<pO$*sQ`O,5<vO$*xQMjO,5<{O$+YQ`O'#KPO!$wQlO1G2RO$+_Q`O1G2RO9eQ`O'#KSO9eQ`O'#EtO%[QlO'#EtO9eQ`O'#I{O$+dQ!0LrO,5@{OOQ[1G2}1G2}OOQ[1G4`1G4`OOQ!0Lf1G/|1G/|OOQ!0Lf1G/z1G/zO$-fQ!0MxO1G0UOOQ[1G2y1G2yO!&zQMhO1G2yO%[QlO1G2yO#.tQ`O1G2yO$/jQMhO'#EkOOQ!0Lb,5@T,5@TO$/wQ!0LrO,5@TOOQ[1G.u1G.uO!ByQ!0LrO1G.uO!CUQpO1G.uO!C^QMhO1G.uO$0YQ`O1G0uO$0_Q`O'#CiO$0jQ`O'#KeO$0rQ`O,5=|O$0wQ`O'#KeO$0|Q`O'#KeO$1[Q`O'#JRO$1jQ`O,5AOO$1rQ!fO1G1iOOQ!0Lf1G1k1G1kO9kQ`O1G3fO@zQ`O1G3fO$1yQ`O1G3fO$2OQ`O1G3fO!DiQ`O1G3fO9uQ!0LrO1G3fOOQ[1G3f1G3fO!EcQ`O1G3UO!&zQMhO1G3RO$2TQ`O1G3ROOQ[1G3S1G3SO!&zQMhO1G3SO$2YQ`O1G3SO$2bQpO'#HQOOQ[1G3U1G3UO!6_QpO'#I}O!EhQ!bO1G3XOOQ[1G3X1G3XOOQ[,5=r,5=rO$2jQMhO,5=tO9kQ`O,5=tO$%dQ`O,5=vO9`Q`O,5=vO!CUQpO,5=vO!C^QMhO,5=vO:dQMhO,5=vO$2xQ`O'#KcO$3TQ`O,5=wOOQ[1G.k1G.kO$3YQ!0LrO1G.kO@zQ`O1G.kO$3eQ`O1G.kO9uQ!0LrO1G.kO$5mQ!fO,5AQO$5zQ`O,5AQO9eQ`O,5AQO$6VQlO,5>PO$6^Q`O,5>POOQ[1G3i1G3iO`QlO1G3iOOQ[1G3o1G3oOOQ[1G3q1G3qO?TQ`O1G3sO$6cQlO1G3uO$:gQlO'#HtOOQ[1G3x1G3xO$:tQ`O'#HzO?YQ`O'#H|OOQ[1G4O1G4OO$:|QlO1G4OO9uQ!0LrO1G4UOOQ[1G4W1G4WOOQ!0Lb'#G_'#G_O9uQ!0LrO1G4YO9uQ!0LrO1G4[O$?TQ`O,5@bO!)[QlO,5;`O9eQ`O,5;`O?YQ`O,5:XO!)[QlO,5:XO!CUQpO,5:XO$?YQ?MtO,5:XOOQO,5;`,5;`O$?dQpO'#IeO$?zQ`O,5@aOOQ!0Lf1G/r1G/rO$@SQpO'#IkO$@^Q`O,5@pOOQ!0Lb1G0y1G0yO#$`QpO,5:XOOQO'#Ig'#IgO$@fQpO,5:qOOQ!0Ln,5:q,5:qO#(ZQ`O1G0ZOOQ!0Lf1G0Z1G0ZO%[QlO1G0ZOOQ!0Lf1G0t1G0tO?YQ`O1G0tO!CUQpO1G0tO!C^QMhO1G0tOOQ!0Lb1G5|1G5|O!ByQ!0LrO1G0^OOQO1G0m1G0mO%[QlO1G0mO$@mQ!0LrO1G0mO$@xQ!0LrO1G0mO!CUQpO1G0^ODWQpO1G0^O$AWQ!0LrO1G0mOOQO1G0^1G0^O$AlQ!0MxO1G0mPOOO-E<[-E<[POOO1G.h1G.hOOOO1G/i1G/iO$AvQ!bO,5<iO$BOQ!fO1G4jOOQO1G4p1G4pO%[QlO,5?OO$BYQ`O1G5zO$BbQ`O1G6YO$BjQ!fO1G6ZO9eQ`O,5?UO$BtQ!0MxO1G6WO%[QlO1G6WO$CUQ!0LrO1G6WO$CgQ`O1G6VO$CgQ`O1G6VO9eQ`O1G6VO$CoQ`O,5?XO9eQ`O,5?XOOQO,5?X,5?XO$DTQ`O,5?XO$+YQ`O,5?XOOQO-E<k-E<kOOQS1G0a1G0aOOQS1G0c1G0cO#.lQ`O1G0cOOQ[7+(e7+(eO!&zQMhO7+(eO%[QlO7+(eO$DcQ`O7+(eO$DnQMhO7+(eO$D|Q!0MzO,5=XO$GXQ!0MzO,5=ZO$IdQ!0MzO,5=XO$KuQ!0MzO,5=ZO$NWQ!0MzO,59uO%!]Q!0MzO,5<kO%$hQ!0MzO,5<mO%&sQ!0MzO,5<{OOQ!0Lf7+&a7+&aO%)UQ!0MxO7+&aO%)xQlO'#IfO%*VQ`O,5@cO%*_Q!fO,5@cOOQ!0Lf1G0P1G0PO%*iQ`O7+&jOOQ!0Lf7+&j7+&jO%*nQ?MtO,5:fO%[QlO7+&zO%*xQ?MtO,5:bO%+VQ?MtO,5:jO%+aQ?MtO,5:lO%+kQMhO'#IiO%+uQ`O,5@hOOQ!0Lh1G0d1G0dOOQO1G1r1G1rOOQO1G1s1G1sO%+}Q!jO,5<ZO!)[QlO,5<YOOQO-E<l-E<lOOQ!0Lf7+'Y7+'YOOOW7+'e7+'eOOOW1G1|1G1|O%,YQ`O1G1|OOQ!0Lf1G2O1G2OOOOO,59o,59oO%,_Q!dO,59oOOOO-E<`-E<`OOQ!0Lh1G/X1G/XO%,fQ!0MxO7+'kOOQ!0Lh,5?^,5?^O%-YQMhO1G2fP%-aQ`O'#IrPOQ!0Lh-E<p-E<pO%-}QMjO,5?aOOQ!0Lh-E<s-E<sO%.pQMjO,5?cOOQ!0Lh-E<u-E<uO%.zQ!dO1G2wO%/RQ!dO'#CrO%/iQMhO'#KSO$$wQlO'#JvOOQ!0Lh1G2_1G2_O%/sQ`O'#IqO%0[Q`O,5@vO%0[Q`O,5@vO%0dQ`O,5@vO%0oQ`O,5@vOOQO1G2a1G2aO%0}QMjO1G2`O$+YQ`O'#K[O!,TQMhO1G2`O%1_Q(CWO'#IsO%1lQ`O,5@wO!&zQMhO,5@wO%1tQ!dO,5@wOOQ!0Lh1G2d1G2dO%4UQ!fO'#CiO%4`Q`O,5=POOQ!0Lb,5<},5<}O%4hQpO,5<}OOQ!0Lb,5=O,5=OOCwQ`O,5<}O%4sQpO,5<}OOQ!0Lb,5=R,5=RO$+YQ`O,5=VOOQO,5?`,5?`OOQO-E<r-E<rOOQ!0Lp1G2h1G2hO#$`QpO,5<}O$$wQlO,5=PO%5RQ`O,5=OO%5^QpO,5=OO!,TQMhO'#IuO%6WQMjO1G2sO!,TQMhO'#IwO%6yQMjO1G2uO%7TQMjO1G5qO%7_QMjO1G5qOOQO,5?e,5?eOOQO-E<w-E<wOOQO1G.{1G.{O!,TQMhO1G5qO!,TQMhO1G5qO!:]QpO,59wO%[QlO,59wOOQ!0Lh,5<j,5<jO%7lQ`O1G2ZO!,TQMhO1G2bO%7qQ!0MxO7+'mOOQ!0Lf7+'m7+'mO!$wQlO7+'mO%8eQ`O,5;`OOQ!0Lb,5?g,5?gOOQ!0Lb-E<y-E<yO%8jQ!dO'#K^O#(ZQ`O7+(eO4UQ!fO7+(eO$DfQ`O7+(eO%8tQ!0MvO'#CiO%9XQ!0MvO,5=SO%9lQ`O,5=SO%9tQ`O,5=SOOQ!0Lb1G5o1G5oOOQ[7+$a7+$aO!ByQ!0LrO7+$aO!CUQpO7+$aO!$wQlO7+&aO%9yQ`O'#JQO%:bQ`O,5APOOQO1G3h1G3hO9kQ`O,5APO%:bQ`O,5APO%:jQ`O,5APOOQO,5?m,5?mOOQO-E=P-E=POOQ!0Lf7+'T7+'TO%:oQ`O7+)QO9uQ!0LrO7+)QO9kQ`O7+)QO@zQ`O7+)QO%:tQ`O7+)QOOQ[7+)Q7+)QOOQ[7+(p7+(pO%:yQ!0MvO7+(mO!&zQMhO7+(mO!E^Q`O7+(nOOQ[7+(n7+(nO!&zQMhO7+(nO%;TQ`O'#KbO%;`Q`O,5=lOOQO,5?i,5?iOOQO-E<{-E<{OOQ[7+(s7+(sO%<rQpO'#HZOOQ[1G3`1G3`O!&zQMhO1G3`O%[QlO1G3`O%<yQ`O1G3`O%=UQMhO1G3`O9uQ!0LrO1G3bO$%dQ`O1G3bO9`Q`O1G3bO!CUQpO1G3bO!C^QMhO1G3bO%=dQ`O'#JPO%=xQ`O,5@}O%>QQpO,5@}OOQ!0Lb1G3c1G3cOOQ[7+$V7+$VO@zQ`O7+$VO9uQ!0LrO7+$VO%>]Q`O7+$VO%[QlO1G6lO%[QlO1G6mO%>bQ!0LrO1G6lO%>lQlO1G3kO%>sQ`O1G3kO%>xQlO1G3kOOQ[7+)T7+)TO9uQ!0LrO7+)_O`QlO7+)aOOQ['#Kh'#KhOOQ['#JS'#JSO%?PQlO,5>`OOQ[,5>`,5>`O%[QlO'#HuO%?^Q`O'#HwOOQ[,5>f,5>fO9eQ`O,5>fOOQ[,5>h,5>hOOQ[7+)j7+)jOOQ[7+)p7+)pOOQ[7+)t7+)tOOQ[7+)v7+)vO%?cQpO1G5|O%?}Q?MtO1G0zO%@XQ`O1G0zOOQO1G/s1G/sO%@dQ?MtO1G/sO?YQ`O1G/sO!)[QlO'#DmOOQO,5?P,5?POOQO-E<c-E<cOOQO,5?V,5?VOOQO-E<i-E<iO!CUQpO1G/sOOQO-E<e-E<eOOQ!0Ln1G0]1G0]OOQ!0Lf7+%u7+%uO#(ZQ`O7+%uOOQ!0Lf7+&`7+&`O?YQ`O7+&`O!CUQpO7+&`OOQO7+%x7+%xO$AlQ!0MxO7+&XOOQO7+&X7+&XO%[QlO7+&XO%@nQ!0LrO7+&XO!ByQ!0LrO7+%xO!CUQpO7+%xO%@yQ!0LrO7+&XO%AXQ!0MxO7++rO%[QlO7++rO%AiQ`O7++qO%AiQ`O7++qOOQO1G4s1G4sO9eQ`O1G4sO%AqQ`O1G4sOOQS7+%}7+%}O#(ZQ`O<<LPO4UQ!fO<<LPO%BPQ`O<<LPOOQ[<<LP<<LPO!&zQMhO<<LPO%[QlO<<LPO%BXQ`O<<LPO%BdQ!0MzO,5?aO%DoQ!0MzO,5?cO%FzQ!0MzO1G2`O%I]Q!0MzO1G2sO%KhQ!0MzO1G2uO%MsQ!fO,5?QO%[QlO,5?QOOQO-E<d-E<dO%M}Q`O1G5}OOQ!0Lf<<JU<<JUO%NVQ?MtO1G0uO&!^Q?MtO1G1PO&!eQ?MtO1G1PO&$fQ?MtO1G1PO&$mQ?MtO1G1PO&&nQ?MtO1G1PO&(oQ?MtO1G1PO&(vQ?MtO1G1PO&(}Q?MtO1G1PO&+OQ?MtO1G1PO&+VQ?MtO1G1PO&+^Q!0MxO<<JfO&-UQ?MtO1G1PO&.RQ?MvO1G1PO&/UQ?MvO'#JlO&1[Q?MtO1G1cO&1iQ?MtO1G0UO&1sQMjO,5?TOOQO-E<g-E<gO!)[QlO'#FqOOQO'#KZ'#KZOOQO1G1u1G1uO&1}Q`O1G1tO&2SQ?MtO,5?[OOOW7+'h7+'hOOOO1G/Z1G/ZO&2^Q!dO1G4xOOQ!0Lh7+(Q7+(QP!&zQMhO,5?^O!,TQMhO7+(cO&2eQ`O,5?]O9eQ`O,5?]O$+YQ`O,5?]OOQO-E<o-E<oO&2sQ`O1G6bO&2sQ`O1G6bO&2{Q`O1G6bO&3WQMjO7+'zO&3hQ!dO,5?_O&3rQ`O,5?_O!&zQMhO,5?_OOQO-E<q-E<qO&3wQ!dO1G6cO&4RQ`O1G6cO&4ZQ`O1G2kO!&zQMhO1G2kOOQ!0Lb1G2i1G2iOOQ!0Lb1G2j1G2jO%4hQpO1G2iO!CUQpO1G2iOCwQ`O1G2iOOQ!0Lb1G2q1G2qO&4`QpO1G2iO&4nQ`O1G2kO$+YQ`O1G2jOCwQ`O1G2jO$$wQlO1G2kO&4vQ`O1G2jO&5jQMjO,5?aOOQ!0Lh-E<t-E<tO&6]QMjO,5?cOOQ!0Lh-E<v-E<vO!,TQMhO7++]O&6gQMjO7++]O&6qQMjO7++]OOQ!0Lh1G/c1G/cO&7OQ`O1G/cOOQ!0Lh7+'u7+'uO&7TQMjO7+'|O&7eQ!0MxO<<KXOOQ!0Lf<<KX<<KXO&8XQ`O1G0zO!&zQMhO'#IzO&8^Q`O,5@xO&:`Q!fO<<LPO!&zQMhO1G2nO&:gQ!0LrO1G2nOOQ[<<G{<<G{O!ByQ!0LrO<<G{O&:xQ!0MxO<<I{OOQ!0Lf<<I{<<I{OOQO,5?l,5?lO&;lQ`O,5?lO&;qQ`O,5?lOOQO-E=O-E=OO&<PQ`O1G6kO&<PQ`O1G6kO9kQ`O1G6kO@zQ`O<<LlOOQ[<<Ll<<LlO&<XQ`O<<LlO9uQ!0LrO<<LlO9kQ`O<<LlOOQ[<<LX<<LXO%:yQ!0MvO<<LXOOQ[<<LY<<LYO!E^Q`O<<LYO&<^QpO'#I|O&<iQ`O,5@|O!)[QlO,5@|OOQ[1G3W1G3WOOQO'#JO'#JOO9uQ!0LrO'#JOO&<qQpO,5=uOOQ[,5=u,5=uO&<xQpO'#EgO&=PQpO'#GeO&=UQ`O7+(zO&=ZQ`O7+(zOOQ[7+(z7+(zO!&zQMhO7+(zO%[QlO7+(zO&=cQ`O7+(zOOQ[7+(|7+(|O9uQ!0LrO7+(|O$%dQ`O7+(|O9`Q`O7+(|O!CUQpO7+(|O&=nQ`O,5?kOOQO-E<}-E<}OOQO'#H^'#H^O&=yQ`O1G6iO9uQ!0LrO<<GqOOQ[<<Gq<<GqO@zQ`O<<GqO&>RQ`O7+,WO&>WQ`O7+,XO%[QlO7+,WO%[QlO7+,XOOQ[7+)V7+)VO&>]Q`O7+)VO&>bQlO7+)VO&>iQ`O7+)VOOQ[<<Ly<<LyOOQ[<<L{<<L{OOQ[-E=Q-E=QOOQ[1G3z1G3zO&>nQ`O,5>aOOQ[,5>c,5>cO&>sQ`O1G4QO9eQ`O7+&fO!)[QlO7+&fOOQO7+%_7+%_O&>xQ?MtO1G6ZO?YQ`O7+%_OOQ!0Lf<<Ia<<IaOOQ!0Lf<<Iz<<IzO?YQ`O<<IzOOQO<<Is<<IsO$AlQ!0MxO<<IsO%[QlO<<IsOOQO<<Id<<IdO!ByQ!0LrO<<IdO&?SQ!0LrO<<IsO&?_Q!0MxO<= ^O&?oQ`O<= ]OOQO7+*_7+*_O9eQ`O7+*_OOQ[ANAkANAkO&?wQ!fOANAkO!&zQMhOANAkO#(ZQ`OANAkO4UQ!fOANAkO&@OQ`OANAkO%[QlOANAkO&@WQ!0MzO7+'zO&BiQ!0MzO,5?aO&DtQ!0MzO,5?cO&GPQ!0MzO7+'|O&IbQ!fO1G4lO&IlQ?MtO7+&aO&KpQ?MvO,5=XO&MwQ?MvO,5=ZO&NXQ?MvO,5=XO&NiQ?MvO,5=ZO&NyQ?MvO,59uO'#PQ?MvO,5<kO'%SQ?MvO,5<mO''hQ?MvO,5<{O')^Q?MtO7+'kO')kQ?MtO7+'mO')xQ`O,5<]OOQO7+'`7+'`OOQ!0Lh7+*d7+*dO')}QMjO<<K}OOQO1G4w1G4wO'*UQ`O1G4wO'*aQ`O1G4wO'*oQ`O7++|O'*oQ`O7++|O!&zQMhO1G4yO'*wQ!dO1G4yO'+RQ`O7++}O'+ZQ`O7+(VO'+fQ!dO7+(VOOQ!0Lb7+(T7+(TOOQ!0Lb7+(U7+(UO!CUQpO7+(TOCwQ`O7+(TO'+pQ`O7+(VO!&zQMhO7+(VO$+YQ`O7+(UO'+uQ`O7+(VOCwQ`O7+(UO'+}QMjO<<NwO!,TQMhO<<NwOOQ!0Lh7+$}7+$}O',XQ!dO,5?fOOQO-E<x-E<xO',cQ!0MvO7+(YO!&zQMhO7+(YOOQ[AN=gAN=gO9kQ`O1G5WOOQO
11G5W1G5WO',sQ`O1G5WO',xQ`O7+,VO',xQ`O7+,VO9uQ!0LrOANBWO@zQ`OANBWOOQ[ANBWANBWO'-QQ`OANBWOOQ[ANAsANAsOOQ[ANAtANAtO'-VQ`O,5?hOOQO-E<z-E<zO'-bQ?MtO1G6hOOQO,5?j,5?jOOQO-E<|-E<|OOQ[1G3a1G3aO'-lQ`O,5=POOQ[<<Lf<<LfO!&zQMhO<<LfO&=UQ`O<<LfO'-qQ`O<<LfO%[QlO<<LfOOQ[<<Lh<<LhO9uQ!0LrO<<LhO$%dQ`O<<LhO9`Q`O<<LhO'-yQpO1G5VO'.UQ`O7+,TOOQ[AN=]AN=]O9uQ!0LrOAN=]OOQ[<= r<= rOOQ[<= s<= sO'.^Q`O<= rO'.cQ`O<= sOOQ[<<Lq<<LqO'.hQ`O<<LqO'.mQlO<<LqOOQ[1G3{1G3{O?YQ`O7+)lO'.tQ`O<<JQO'/PQ?MtO<<JQOOQO<<Hy<<HyOOQ!0LfAN?fAN?fOOQOAN?_AN?_O$AlQ!0MxOAN?_OOQOAN?OAN?OO%[QlOAN?_OOQO<<My<<MyOOQ[G27VG27VO!&zQMhOG27VO#(ZQ`OG27VO'/ZQ!fOG27VO4UQ!fOG27VO'/bQ`OG27VO'/jQ?MtO<<JfO'/wQ?MvO1G2`O'1mQ?MvO,5?aO'3pQ?MvO,5?cO'5sQ?MvO1G2sO'7vQ?MvO1G2uO'9yQ?MtO<<KXO':WQ?MtO<<I{OOQO1G1w1G1wO!,TQMhOANAiOOQO7+*c7+*cO':eQ`O7+*cO':pQ`O<= hO':xQ!dO7+*eOOQ!0Lb<<Kq<<KqO$+YQ`O<<KqOCwQ`O<<KqO';SQ`O<<KqO!&zQMhO<<KqOOQ!0Lb<<Ko<<KoO!CUQpO<<KoO';_Q!dO<<KqOOQ!0Lb<<Kp<<KpO';iQ`O<<KqO!&zQMhO<<KqO$+YQ`O<<KpO';nQMjOANDcO';xQ!0MvO<<KtOOQO7+*r7+*rO9kQ`O7+*rO'<YQ`O<= qOOQ[G27rG27rO9uQ!0LrOG27rO@zQ`OG27rO!)[QlO1G5SO'<bQ`O7+,SO'<jQ`O1G2kO&=UQ`OANBQOOQ[ANBQANBQO!&zQMhOANBQO'<oQ`OANBQOOQ[ANBSANBSO9uQ!0LrOANBSO$%dQ`OANBSOOQO'#H_'#H_OOQO7+*q7+*qOOQ[G22wG22wOOQ[ANE^ANE^OOQ[ANE_ANE_OOQ[ANB]ANB]O'<wQ`OANB]OOQ[<<MW<<MWO!)[QlOAN?lOOQOG24yG24yO$AlQ!0MxOG24yO#(ZQ`OLD,qOOQ[LD,qLD,qO!&zQMhOLD,qO'<|Q!fOLD,qO'=TQ?MvO7+'zO'>yQ?MvO,5?aO'@|Q?MvO,5?cO'CPQ?MvO7+'|O'DuQMjOG27TOOQO<<M}<<M}OOQ!0LbANA]ANA]O$+YQ`OANA]OCwQ`OANA]O'EVQ!dOANA]OOQ!0LbANAZANAZO'E^Q`OANA]O!&zQMhOANA]O'EiQ!dOANA]OOQ!0LbANA[ANA[OOQO<<N^<<N^OOQ[LD-^LD-^O9uQ!0LrOLD-^O'EsQ?MtO7+*nOOQO'#Gf'#GfOOQ[G27lG27lO&=UQ`OG27lO!&zQMhOG27lOOQ[G27nG27nO9uQ!0LrOG27nOOQ[G27wG27wO'E}Q?MtOG25WOOQOLD*eLD*eOOQ[!$(!]!$(!]O#(ZQ`O!$(!]O!&zQMhO!$(!]O'FXQ!0MzOG27TOOQ!0LbG26wG26wO$+YQ`OG26wO'HjQ`OG26wOCwQ`OG26wO'HuQ!dOG26wO!&zQMhOG26wOOQ[!$(!x!$(!xOOQ[LD-WLD-WO&=UQ`OLD-WOOQ[LD-YLD-YOOQ[!)9Ew!)9EwO#(ZQ`O!)9EwOOQ!0LbLD,cLD,cO$+YQ`OLD,cOCwQ`OLD,cO'H|Q`OLD,cO'IXQ!dOLD,cOOQ[!$(!r!$(!rOOQ[!.K;c!.K;cO'I`Q?MvOG27TOOQ!0Lb!$( }!$( }O$+YQ`O!$( }OCwQ`O!$( }O'KUQ`O!$( }OOQ!0Lb!)9Ei!)9EiO$+YQ`O!)9EiOCwQ`O!)9EiOOQ!0Lb!.K;T!.K;TO$+YQ`O!.K;TOOQ!0Lb!4/0o!4/0oO!)[QlO'#DzO1PQ`O'#EXO'KaQ!fO'#JrO'KhQ!L^O'#DvO'KoQlO'#EOO'KvQ!fO'#CiO'N^Q!fO'#CiO!)[QlO'#EQO'NnQlO,5;ZO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO'#IpO(!qQ`O,5<iO!)[QlO,5;eO(!yQMhO,5;eO($dQMhO,5;eO!)[QlO,5;wO!&zQMhO'#GmO(!yQMhO'#GmO!&zQMhO'#GoO(!yQMhO'#GoO1SQ`O'#DZO1SQ`O'#DZO!&zQMhO'#GPO(!yQMhO'#GPO!&zQMhO'#GRO(!yQMhO'#GRO!&zQMhO'#GaO(!yQMhO'#GaO!)[QlO,5:jO($kQpO'#D_O($uQpO'#JvO!)[QlO,5@oO'NnQlO1G0uO(%PQ?MtO'#CiO!)[QlO1G2PO!&zQMhO'#IuO(!yQMhO'#IuO!&zQMhO'#IwO(!yQMhO'#IwO(%ZQ!dO'#CrO!&zQMhO,5<tO(!yQMhO,5<tO'NnQlO1G2RO!)[QlO7+&zO!&zQMhO1G2`O(!yQMhO1G2`O!&zQMhO'#IuO(!yQMhO'#IuO!&zQMhO'#IwO(!yQMhO'#IwO!&zQMhO1G2bO(!yQMhO1G2bO'NnQlO7+'mO'NnQlO7+&aO!&zQMhOANAiO(!yQMhOANAiO(%nQ`O'#EoO(%sQ`O'#EoO(%{Q`O'#F]O(&QQ`O'#EyO(&VQ`O'#KTO(&bQ`O'#KRO(&mQ`O,5;ZO(&rQMjO,5<eO(&yQ`O'#GYO('OQ`O'#GYO('TQ`O,5<eO(']Q`O,5<gO('eQ`O,5;ZO('mQ?MtO1G1`O('tQ`O,5<tO('yQ`O,5<tO((OQ`O,5<vO((TQ`O,5<vO((YQ`O1G2RO((_Q`O1G0uO((dQMjO<<K}O((kQMjO<<K}O((rQMhO'#F|O9`Q`O'#F{OAuQ`O'#EnO!)[QlO,5;tO!3oQ`O'#GYO!3oQ`O'#GYO!3oQ`O'#G[O!3oQ`O'#G[O!,TQMhO7+(cO!,TQMhO7+(cO%.zQ!dO1G2wO%.zQ!dO1G2wO!&zQMhO,5=]O!&zQMhO,5=]",stateData:"()x~O'|OS'}OSTOS(ORQ~OPYOQYOSfOY!VOaqOdzOeyOl!POpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!uwO!xxO!|]O$W|O$niO%h}O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO&W!WO&^!XO&`!YO&b!ZO&d![O&g!]O&m!^O&s!_O&u!`O&w!aO&y!bO&{!cO(TSO(VTO(YUO(aVO(o[O~OWtO~P`OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa!wOs!nO!S!oO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!xO#W!pO#X!pO#[!zO#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O(O!{O~OP]XR]X[]Xa]Xj]Xr]X!Q]X!S]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X'z]X(a]X(r]X(y]X(z]X~O!g%RX~P(qO_!}O(V#PO(W!}O(X#PO~O_#QO(X#PO(Y#PO(Z#QO~Ox#SO!U#TO(b#TO(c#VO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T<ZO(VTO(YUO(aVO(o[O~O![#ZO!]#WO!Y(hP!Y(vP~P+}O!^#cO~P`OPYOQYOSfOd!jOe!iOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(VTO(YUO(aVO
1(o[O~Op#mO![#iO!|]O#i#lO#j#iO(T<[O!k(sP~P.iO!l#oO(T#nO~O!x#sO!|]O%h#tO~O#k#uO~O!g#vO#k#uO~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!]$_O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa(fX'z(fX'w(fX!k(fX!Y(fX!_(fX%i(fX!g(fX~P1qO#S$dO#`$eO$Q$eOP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX!_(gX%i(gX~Oa(gX'z(gX'w(gX!Y(gX!k(gXv(gX!g(gX~P4UO#`$eO~O$]$hO$_$gO$f$mO~OSfO!_$nO$i$oO$k$qO~Oh%VOj%dOk%dOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T$sO(VTO(YUO(a$uO(y$}O(z%POg(^P~Ol%[O~P7eO!l%eO~O!S%hO!_%iO(T%gO~O!g%mO~Oa%nO'z%nO~O!Q%rO~P%[O(U!lO~P%[O%n%vO~P%[Oh%VO!l%eO(T%gO(U!lO~Oe%}O!l%eO(T%gO~Oj$RO~O!_&PO(T%gO(U!lO(VTO(YUO`)WP~O!Q&SO!l&RO%j&VO&T&WO~P;SO!x#sO~O%s&YO!S)SX!_)SX(T)SX~O(T&ZO~Ol!PO!u&`O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO~Od&eOe&dO!x&bO%h&cO%{&aO~P<bOd&hOeyOl!PO!_&gO!u&`O!xxO!|]O%h}O%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO~Ob&kO#`&nO%j&iO(U!lO~P=gO!l&oO!u&sO~O!l#oO~O!_XO~Oa%nO'x&{O'z%nO~Oa%nO'x'OO'z%nO~Oa%nO'x'QO'z%nO~O'w]X!Y]Xv]X!k]X&[]X!_]X%i]X!g]X~P(qO!b'_O!c'WO!d'WO(U!lO(VTO(YUO~Os'UO!S'TO!['XO(e'SO!^(iP!^(xP~P@nOn'bO!_'`O(T%gO~Oe'gO!l%eO(T%gO~O!Q&SO!l&RO~Os!nO!S!oO!|<VO#T!pO#U!pO#W!pO#X!pO(U!lO(VTO(YUO(e!mO(o!sO~O!b'mO!c'lO!d'lO#V!pO#['nO#]'nO~PBYOa%nOh%VO!g#vO!l%eO'z%nO(r'pO~O!p'tO#`'rO~PChOs!nO!S!oO(VTO(YUO(e!mO(o!sO~O!_XOs(mX!S(mX!b(mX!c(mX!d(mX!|(mX#T(mX#U(mX#V(mX#W(mX#X(mX#[(mX#](mX(U(mX(V(mX(Y(mX(e(mX(o(mX~O!c'lO!d'lO(U!lO~PDWO(P'xO(Q'xO(R'zO~O_!}O(V'|O(W!}O(X'|O~O_#QO(X'|O(Y'|O(Z#QO~Ov(OO~P%[Ox#SO!U#TO(b#TO(c(RO~O![(TO!Y'WX!Y'^X!]'WX!]'^X~P+}O!](VO!Y(hX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!](VO!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~O!Y(hX~PHRO!Y([O~O!Y(uX!](uX!g(uX!k(uX(r(uX~O#`(uX#k#dX!^(uX~PJUO#`(]O!Y(wX!](wX~O!](^O!Y(vX~O!Y(aO~O#`$eO~PJUO!^(bO~P`OR#zO!Q#yO!S#{O!l#xO(aVOP!na[!naj!nar!na!]!na!p!na#R!na#n!na#o!na#p!na#q!na#r!na#s!na#t!na#u!na#v!na#x!na#z!na#{!na(r!na(y!na(z!na~Oa!na'z!na'w!na!Y!na!k!nav!na!_!na%i!na!g!na~PKlO!k(cO~O!g#vO#`(dO(r'pO!](tXa(tX'z(tX~O!k(tX~PNXO!S%hO!_%iO!|]O#i(iO#j(hO(T%gO~O!](jO!k(sX~O!k(lO~O!S%hO!_%iO#j(hO(T%gO~OP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~O!g#vO!k(gX~P! uOR(nO!Q(mO!l#xO#S$dO!|!{a!S!{a~O!x!{a%h!{a!_!{a#i!{a#j!{a(T!{a~P!#vO!x(rO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~O#k(xO~O![(zO!k(kP~P%[O(e(|O(o[O~O!S)OO!l#xO(e(|O(o[O~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]$_Oa$qa'z$qa'w$qa!k$qa!Y$qa!_$qa%i$qa!g$qa~Ol)dO~P!&zOh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Og(pP~P!,TO!Q)iO!g)hO!_$^X$Z$^X$]$^X$_$^X$f$^X~O!g)hO!_({X$Z({X$]({X$_({X$f({X~O!Q)iO~P!.^O!Q)iO!_({X$Z({X$]({X$_({X$f({X~O!_)kO$Z)oO$])jO$_)jO$f)pO~O![)sO~P!)[O$]$hO$_$gO$f)wO~On$zX!Q$zX#S$zX'y$zX(y$zX(z$zX~OgmXg$zXnmX!]mX#`mX~P!0SOx)yO(b)zO(c)|O~On*VO!Q*OO'y*PO(y$}O(z%PO~Og)}O~P!1WOg*WO~Oh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S*YO!_*ZO!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op*`O![*^O(T*XO!k)OP~P!1uO#k*aO~O!l*bO~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T*dO(VTO(YUO(a$uO(y$}O(z%PO~O![*gO!Y)PP~P!3tOr*sOs!nO!S*iO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO(e!mO~O!^*pO~P!5iO#S$dOn(`X!Q(`X'y(`X(y(`X(z(`X!](`X#`(`X~Og(`X$O(`X~P!6kOn*xO#`*wOg(_X!](_X~O!]*yOg(^X~Oj%dOk%dOl%dO(T&ZOg(^P~Os*|O~Og)}O(T&ZO~O!l+SO~O(T(vO~Op+WO!S%hO![#iO!_%iO!|]O#i#lO#j#iO(T%gO!k(sP~O!g#vO#k+XO~O!S%hO![+ZO!](^O!_%iO(T%gO!Y(vP~Os'[O!S+]O![+[O(VTO(YUO(e(|O~O!^(xP~P!9|O!]+^Oa)TX'z)TX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa!ja!]!ja'z!ja'w!ja!Y!ja!k!jav!ja!_!ja%i!ja!g!ja~P!:tOR#zO!Q#yO!S#{O!l#xO(aVOP!ra[!raj!rar!ra!]!ra!p!ra#R!ra#n!ra#o!ra#p!ra#q!ra#r!ra#s!ra#t!ra#u!ra#v!ra#x!ra#z!ra#{!ra(r!ra(y!ra(z!ra~Oa!ra'z!ra'w!ra!Y!ra!k!rav!ra!_!ra%i!ra!g!ra~P!=[OR#zO!Q#yO!S#{O!l#xO(aVOP!ta[!taj!tar!ta!]!ta!p!ta#R!ta#n!ta#o!ta#p!ta#q!ta#r!ta#s!ta#t!ta#u!ta#v!ta#x!ta#z!ta#{!ta(r!ta(y!ta(z!ta~Oa!ta'z!ta'w!ta!Y!ta!k!tav!ta!_!ta%i!ta!g!ta~P!?rOh%VOn+gO!_'`O%i+fO~O!g+iOa(]X!_(]X'z(]X!](]X~Oa%nO
1!_XO'z%nO~Oh%VO!l%eO~Oh%VO!l%eO(T%gO~O!g#vO#k(xO~Ob+tO%j+uO(T+qO(VTO(YUO!^)XP~O!]+vO`)WX~O[+zO~O`+{O~O!_&PO(T%gO(U!lO`)WP~O%j,OO~P;SOh%VO#`,SO~Oh%VOn,VO!_$|O~O!_,XO~O!Q,ZO!_XO~O%n%vO~O!x,`O~Oe,eO~Ob,fO(T#nO(VTO(YUO!^)VP~Oe%}O~O%j!QO(T&ZO~P=gO[,kO`,jO~OPYOQYOSfOdzOeyOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!iuO!lZO!oYO!pYO!qYO!svO!xxO!|]O$niO%h}O(VTO(YUO(aVO(o[O~O!_!eO!u!gO$W!kO(T!dO~P!FyO`,jOa%nO'z%nO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa,pOl!OO!uwO%l!OO%m!OO%n!OO~P!IcO!l&oO~O&^,vO~O!_,xO~O&o,zO&q,{OP&laQ&laS&laY&laa&lad&lae&lal&lap&lar&las&lat&laz&la|&la!O&la!S&la!W&la!X&la!_&la!i&la!l&la!o&la!p&la!q&la!s&la!u&la!x&la!|&la$W&la$n&la%h&la%j&la%l&la%m&la%n&la%q&la%s&la%v&la%w&la%y&la&W&la&^&la&`&la&b&la&d&la&g&la&m&la&s&la&u&la&w&la&y&la&{&la'w&la(T&la(V&la(Y&la(a&la(o&la!^&la&e&lab&la&j&la~O(T-QO~Oh!eX!]!RX!^!RX!g!RX!g!eX!l!eX#`!RX~O!]!eX!^!eX~P#!iO!g-VO#`-UOh(jX!]#hX!^#hX!g(jX!l(jX~O!](jX!^(jX~P##[Oh%VO!g-XO!l%eO!]!aX!^!aX~Os!nO!S!oO(VTO(YUO(e!mO~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(VTO(YUO(aVO(o[O~O(T=QO~P#$qO!]-]O!^(iX~O!^-_O~O!g-VO#`-UO!]#hX!^#hX~O!]-`O!^(xX~O!^-bO~O!c-cO!d-cO(U!lO~P#$`O!^-fO~P'_On-iO!_'`O~O!Y-nO~Os!{a!b!{a!c!{a!d!{a#T!{a#U!{a#V!{a#W!{a#X!{a#[!{a#]!{a(U!{a(V!{a(Y!{a(e!{a(o!{a~P!#vO!p-sO#`-qO~PChO!c-uO!d-uO(U!lO~PDWOa%nO#`-qO'z%nO~Oa%nO!g#vO#`-qO'z%nO~Oa%nO!g#vO!p-sO#`-qO'z%nO(r'pO~O(P'xO(Q'xO(R-zO~Ov-{O~O!Y'Wa!]'Wa~P!:tO![.PO!Y'WX!]'WX~P%[O!](VO!Y(ha~O!Y(ha~PHRO!](^O!Y(va~O!S%hO![.TO!_%iO(T%gO!Y'^X!]'^X~O#`.VO!](ta!k(taa(ta'z(ta~O!g#vO~P#,wO!](jO!k(sa~O!S%hO!_%iO#j.ZO(T%gO~Op.`O!S%hO![.]O!_%iO!|]O#i._O#j.]O(T%gO!]'aX!k'aX~OR.dO!l#xO~Oh%VOn.gO!_'`O%i.fO~Oa#ci!]#ci'z#ci'w#ci!Y#ci!k#civ#ci!_#ci%i#ci!g#ci~P!:tOn>]O!Q*OO'y*PO(y$}O(z%PO~O#k#_aa#_a#`#_a'z#_a!]#_a!k#_a!_#_a!Y#_a~P#/sO#k(`XP(`XR(`X[(`Xa(`Xj(`Xr(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X'z(`X(a(`X(r(`X!k(`X!Y(`X'w(`Xv(`X!_(`X%i(`X!g(`X~P!6kO!].tO!k(kX~P!:tO!k.wO~O!Y.yO~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mia#mij#mir#mi!]#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#n#mi~P#3cO#n$OO~P#3cOP$[OR#zOr$aO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO[#mia#mij#mi!]#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#r#mi~P#6QO#r$QO~P#6QOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO(aVOa#mi!]#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#v#mi~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO(aVO(z#}Oa#mi!]#mi#z#mi#{#mi'z#mi(r#mi(y#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#x$UO~P#;VO#x#mi~P#;VO#v$SO~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO(aVO(y#|O(z#}Oa#mi!]#mi#{#mi'z#mi(r#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#z#mi~P#={O#z$WO~P#={OP]XR]X[]Xj]Xr]X!Q]X!S]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X!]]X!^]X~O$O]X~P#@jOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO#z<gO#{<hO(aVO(r$YO(y#|O(z#}O~O$O.{O~P#BwO#S$dO#`<nO$Q<nO$O(gX!^(gX~P! uOa'da!]'da'z'da'w'da!k'da!Y'dav'da!_'da%i'da!g'da~P!:tO[#mia#mij#mir#mi!]#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'z#mi(r#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO(y#mi(z#mi~P#EyOn>]O!Q*OO'y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P#EyO!]/POg(pX~P!1WOg/RO~Oa$Pi!]$Pi'z$Pi'w$Pi!Y$Pi!k$Piv$Pi!_$Pi%i$Pi!g$Pi~P!:tO$]/SO$_/SO~O$]/TO$_/TO~O!g)hO#`/UO!_$cX$Z$cX$]$cX$_$cX$f$cX~O![/VO~O!_)kO$Z/XO$])jO$_)jO$f/YO~O!]<iO!^(fX~P#BwO!^/ZO~O!g)hO$f({X~O$f/]O~Ov/^O~P!&zOx)yO(b)zO(c/aO~O!S/dO~O(y$}On%aa!Q%aa'y%aa(z%aa!]%aa#`%aa~Og%aa$O%aa~P#L{O(z%POn%ca!Q%ca'y%ca(y%ca!]%ca#`%ca~Og%ca$O%ca~P#MnO!]fX!gfX!kfX!k$zX(rfX~P!0SOp%WO![/mO!](^O(T/lO!Y(vP!Y)PP~P!1uOr*sO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO~Os<}O!S/nO![+[O!^*pO(e<|O!^(xP~P$ [O!k/oO~P#/sO!]/pO!g#vO(r'pO!k)OX~O!k/uO~OnoX!QoX'yoX(yoX(zoX~O!g#vO!koX~P$#OOp/wO!S%hO![*^O!_%iO(T%gO!k)OP~O#k/xO~O!Y$zX!]$zX!g%RX~P!0SO!]/yO!Y)PX~P#/sO!g/{O~O!Y/}O~OpkO(T0OO~P.iOh%VOr0TO!g#vO!l%eO(r'pO~O!g+iO~Oa%nO!]0XO'z%nO~O!^0ZO~P!5iO!c0[O!d0[O(U!lO~P#$`Os!nO!S0]O(VTO(YUO(e!mO~O#[0_O~Og%aa!]%aa#`
1%aa$O%aa~P!1WOg%ca!]%ca#`%ca$O%ca~P!1WOj%dOk%dOl%dO(T&ZOg'mX!]'mX~O!]*yOg(^a~Og0hO~On0jO#`0iOg(_a!](_a~OR0kO!Q0kO!S0lO#S$dOn}a'y}a(y}a(z}a!]}a#`}a~Og}a$O}a~P$(cO!Q*OO'y*POn$sa(y$sa(z$sa!]$sa#`$sa~Og$sa$O$sa~P$)_O!Q*OO'y*POn$ua(y$ua(z$ua!]$ua#`$ua~Og$ua$O$ua~P$*QO#k0oO~Og%Ta!]%Ta#`%Ta$O%Ta~P!1WO!g#vO~O#k0rO~O!]+^Oa)Ta'z)Ta~OR#zO!Q#yO!S#{O!l#xO(aVOP!ri[!rij!rir!ri!]!ri!p!ri#R!ri#n!ri#o!ri#p!ri#q!ri#r!ri#s!ri#t!ri#u!ri#v!ri#x!ri#z!ri#{!ri(r!ri(y!ri(z!ri~Oa!ri'z!ri'w!ri!Y!ri!k!riv!ri!_!ri%i!ri!g!ri~P$+oOh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op0{O%]0|O(T0zO~P$.VO!g+iOa(]a!_(]a'z(]a!](]a~O#k1SO~O[]X!]fX!^fX~O!]1TO!^)XX~O!^1VO~O[1WO~Ob1YO(T+qO(VTO(YUO~O!_&PO(T%gO`'uX!]'uX~O!]+vO`)Wa~O!k1]O~P!:tO[1`O~O`1aO~O#`1fO~On1iO!_$|O~O(e(|O!^)UP~Oh%VOn1rO!_1oO%i1qO~O[1|O!]1zO!^)VX~O!^1}O~O`2POa%nO'z%nO~O(T#nO(VTO(YUO~O#S$dO#`$eO$Q$eOP(gXR(gX[(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~Oj2SO&[2TOa(gX~P$3pOj2SO#`$eO&[2TO~Oa2VO~P%[Oa2XO~O&e2[OP&ciQ&ciS&ciY&cia&cid&cie&cil&cip&cir&cis&cit&ciz&ci|&ci!O&ci!S&ci!W&ci!X&ci!_&ci!i&ci!l&ci!o&ci!p&ci!q&ci!s&ci!u&ci!x&ci!|&ci$W&ci$n&ci%h&ci%j&ci%l&ci%m&ci%n&ci%q&ci%s&ci%v&ci%w&ci%y&ci&W&ci&^&ci&`&ci&b&ci&d&ci&g&ci&m&ci&s&ci&u&ci&w&ci&y&ci&{&ci'w&ci(T&ci(V&ci(Y&ci(a&ci(o&ci!^&cib&ci&j&ci~Ob2bO!^2`O&j2aO~P`O!_XO!l2dO~O&q,{OP&liQ&liS&liY&lia&lid&lie&lil&lip&lir&lis&lit&liz&li|&li!O&li!S&li!W&li!X&li!_&li!i&li!l&li!o&li!p&li!q&li!s&li!u&li!x&li!|&li$W&li$n&li%h&li%j&li%l&li%m&li%n&li%q&li%s&li%v&li%w&li%y&li&W&li&^&li&`&li&b&li&d&li&g&li&m&li&s&li&u&li&w&li&y&li&{&li'w&li(T&li(V&li(Y&li(a&li(o&li!^&li&e&lib&li&j&li~O!Y2jO~O!]!aa!^!aa~P#BwOs!nO!S!oO![2pO(e!mO!]'XX!^'XX~P@nO!]-]O!^(ia~O!]'_X!^'_X~P!9|O!]-`O!^(xa~O!^2wO~P'_Oa%nO#`3QO'z%nO~Oa%nO!g#vO#`3QO'z%nO~Oa%nO!g#vO!p3UO#`3QO'z%nO(r'pO~Oa%nO'z%nO~P!:tO!]$_Ov$qa~O!Y'Wi!]'Wi~P!:tO!](VO!Y(hi~O!](^O!Y(vi~O!Y(wi!](wi~P!:tO!](ti!k(tia(ti'z(ti~P!:tO#`3WO!](ti!k(tia(ti'z(ti~O!](jO!k(si~O!S%hO!_%iO!|]O#i3]O#j3[O(T%gO~O!S%hO!_%iO#j3[O(T%gO~On3dO!_'`O%i3cO~Oh%VOn3dO!_'`O%i3cO~O#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa'z%aa(a%aa(r%aa!k%aa!Y%aa'w%aav%aa!_%aa%i%aa!g%aa~P#L{O#k%caP%caR%ca[%caa%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca'z%ca(a%ca(r%ca!k%ca!Y%ca'w%cav%ca!_%ca%i%ca!g%ca~P#MnO#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!]%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa'z%aa(a%aa(r%aa!k%aa!Y%aa'w%aa#`%aav%aa!_%aa%i%aa!g%aa~P#/sO#k%caP%caR%ca[%caa%caj%car%ca!S%ca!]%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca'z%ca(a%ca(r%ca!k%ca!Y%ca'w%ca#`%cav%ca!_%ca%i%ca!g%ca~P#/sO#k}aP}a[}aa}aj}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a'z}a(a}a(r}a!k}a!Y}a'w}av}a!_}a%i}a!g}a~P$(cO#k$saP$saR$sa[$saa$saj$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa'z$sa(a$sa(r$sa!k$sa!Y$sa'w$sav$sa!_$sa%i$sa!g$sa~P$)_O#k$uaP$uaR$ua[$uaa$uaj$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua'z$ua(a$ua(r$ua!k$ua!Y$ua'w$uav$ua!_$ua%i$ua!g$ua~P$*QO#k%TaP%TaR%Ta[%Taa%Taj%Tar%Ta!S%Ta!]%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta'z%Ta(a%Ta(r%Ta!k%Ta!Y%Ta'w%Ta#`%Tav%Ta!_%Ta%i%Ta!g%Ta~P#/sOa#cq!]#cq'z#cq'w#cq!Y#cq!k#cqv#cq!_#cq%i#cq!g#cq~P!:tO![3lO!]'YX!k'YX~P%[O!].tO!k(ka~O!].tO!k(ka~P!:tO!Y3oO~O$O!na!^!na~PKlO$O!ja!]!ja!^!ja~P#BwO$O!ra!^!ra~P!=[O$O!ta!^!ta~P!?rOg']X!]']X~P!,TO!]/POg(pa~OSfO!_4TO$d4UO~O!^4YO~Ov4ZO~P#/sOa$mq!]$mq'z$mq'w$mq!Y$mq!k$mqv$mq!_$mq%i$mq!g$mq~P!:tO!Y4]O~P!&zO!S4^O~O!Q*OO'y*PO(z%POn'ia(y'ia!]'ia#`'ia~Og'ia$O'ia~P%-fO!Q*OO'y*POn'ka(y'ka(z'ka!]'ka#`'ka~Og'ka$O'ka~P%.XO(r$YO~P#/sO!YfX!Y$zX!]fX!]$zX!g%RX#`fX~P!0SOp%WO(T=WO~P!1uOp4bO!S%hO![4aO!_%iO(T%gO!]'eX!k'eX~O!]/pO!k)Oa~O!]/pO!g#vO!k)Oa~O!]/pO!g#vO(r'pO!k)Oa~Og$|i!]$|i#`$|i$O$|i~P!1WO![4jO!Y'gX!]'gX~P!3tO!]/yO!Y)Pa~O!]/yO!Y)Pa~P#/sOP]XR]X[]Xj]Xr]X!Q]X!S]X!Y]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~Oj%YX!g%YX~P%2OOj4oO!g#vO~Oh%VO!g#vO!l%eO~Oh%VOr4tO!l%eO(r'pO~Or4yO!g#vO(r'pO~Os!nO!S4zO(VTO(YUO(e!mO~O(y$}On%ai!Q%ai'y%ai(z%ai!]%ai#`%ai~Og%ai$O%ai~P%5oO(z%POn%ci!Q%ci'y%ci(y%ci!]%ci#`%ci~Og%ci$O%ci~P%6bOg(_i!](_i~P!1WO#`5QOg(_i!](_i~P!1WO!k5VO~Oa$oq!]$oq'z$oq'w$oq!Y$oq!k$oqv$oq!_$oq%i$oq!g$oq~P!:tO!Y5ZO~O!]5[O!_)QX~P#/sOa$zX!_$zX%^]X'z$zX!]$zX~P!0SO%^5_OaoX!_oX'zoX!]oX~P$#OOp5`O(T#nO~O%^5_O~Ob5fO%j5gO(T+qO(VTO(YUO!]'tX!^'tX~O!]1TO!^)Xa~O[5kO~O`5lO~O[5pO~Oa%nO'z%nO~P#/sO!]5uO#`5wO!^)UX~O!^5xO~Or6OOs!nO!S*iO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!pO#W!pO#X!pO#[5}O#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O!^5|O~P%;eOn6TO!_1oO%i6SO~Oh%VOn6TO!_1oO%i6SO~Ob6[O(T#nO(VTO(YUO!]'sX!^'sX~O!]1zO!^)Va~O(VTO(YUO(e6^O~O`6bO~Oj6eO&[6fO~PNXO!k6gO~P%[Oa6iO~Oa6iO~P%[Ob2bO!^6nO&j2aO~P`O!g6pO~O!g6rOh(ji!](ji!^(ji!g(ji!l(jir(ji(r(ji~O!]#hi!^#hi~P#BwO#`6sO!]#hi!^#hi~O!]!ai!^!ai~P#BwOa%nO#`6|O'z%nO~Oa%nO!g#vO#`6|O'z%nO~O!](tq!k(tqa(tq'z(tq~P!:tO!](jO!k(sq~O!S%hO!_%iO#j7TO(T%gO~O!_'`O%i7WO~On7[O!_'`O%i7WO~O#k'iaP'iaR'ia['iaa'iaj'iar'ia!S'ia!l'ia!p'ia#R'ia#n'ia#o'ia#p'ia#q'ia#r'ia#s'ia#t'ia#u'ia#v'ia#x'ia#z'ia#{'ia'z'ia(a'ia(r'ia!k'ia!Y'ia'w'iav'ia!_'ia%i'ia!g'ia~P%-fO#k'kaP'kaR'ka['kaa'kaj'kar'ka!S'ka!l'ka!p'ka#R'ka#n'ka#o'
1ka#p'ka#q'ka#r'ka#s'ka#t'ka#u'ka#v'ka#x'ka#z'ka#{'ka'z'ka(a'ka(r'ka!k'ka!Y'ka'w'kav'ka!_'ka%i'ka!g'ka~P%.XO#k$|iP$|iR$|i[$|ia$|ij$|ir$|i!S$|i!]$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i'z$|i(a$|i(r$|i!k$|i!Y$|i'w$|i#`$|iv$|i!_$|i%i$|i!g$|i~P#/sO#k%aiP%aiR%ai[%aia%aij%air%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai'z%ai(a%ai(r%ai!k%ai!Y%ai'w%aiv%ai!_%ai%i%ai!g%ai~P%5oO#k%ciP%ciR%ci[%cia%cij%cir%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci'z%ci(a%ci(r%ci!k%ci!Y%ci'w%civ%ci!_%ci%i%ci!g%ci~P%6bO!]'Ya!k'Ya~P!:tO!].tO!k(ki~O$O#ci!]#ci!^#ci~P#BwOP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mij#mir#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#n#mi~P%NdO#n<_O~P%NdOP$[OR#zOr<kO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO[#mij#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#r#mi~P&!lO#r<aO~P&!lOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO(aVO#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#v#mi~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO(aVO(z#}O#z#mi#{#mi$O#mi(r#mi(y#mi!]#mi!^#mi~O#x<eO~P&&uO#x#mi~P&&uO#v<cO~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO(aVO(y#|O(z#}O#{#mi$O#mi(r#mi!]#mi!^#mi~O#z#mi~P&)UO#z<gO~P&)UOa#|y!]#|y'z#|y'w#|y!Y#|y!k#|yv#|y!_#|y%i#|y!g#|y~P!:tO[#mij#mir#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi!]#mi!^#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO(y#mi(z#mi~P&,QOn>^O!Q*OO'y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P&,QO#S$dOP(`XR(`X[(`Xj(`Xn(`Xr(`X!Q(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X$O(`X'y(`X(a(`X(r(`X(y(`X(z(`X!](`X!^(`X~O$O$Pi!]$Pi!^$Pi~P#BwO$O!ri!^!ri~P$+oOg']a!]']a~P!1WO!^7nO~O!]'da!^'da~P#BwO!Y7oO~P#/sO!g#vO(r'pO!]'ea!k'ea~O!]/pO!k)Oi~O!]/pO!g#vO!k)Oi~Og$|q!]$|q#`$|q$O$|q~P!1WO!Y'ga!]'ga~P#/sO!g7vO~O!]/yO!Y)Pi~P#/sO!]/yO!Y)Pi~O!Y7yO~Oh%VOr8OO!l%eO(r'pO~Oj8QO!g#vO~Or8TO!g#vO(r'pO~O!Q*OO'y*PO(z%POn'ja(y'ja!]'ja#`'ja~Og'ja$O'ja~P&5RO!Q*OO'y*POn'la(y'la(z'la!]'la#`'la~Og'la$O'la~P&5tOg(_q!](_q~P!1WO#`8VOg(_q!](_q~P!1WO!Y8WO~Og%Oq!]%Oq#`%Oq$O%Oq~P!1WOa$oy!]$oy'z$oy'w$oy!Y$oy!k$oyv$oy!_$oy%i$oy!g$oy~P!:tO!g6rO~O!]5[O!_)Qa~O!_'`OP$TaR$Ta[$Taj$Tar$Ta!Q$Ta!S$Ta!]$Ta!l$Ta!p$Ta#R$Ta#n$Ta#o$Ta#p$Ta#q$Ta#r$Ta#s$Ta#t$Ta#u$Ta#v$Ta#x$Ta#z$Ta#{$Ta(a$Ta(r$Ta(y$Ta(z$Ta~O%i7WO~P&8fO%^8[Oa%[i!_%[i'z%[i!]%[i~Oa#cy!]#cy'z#cy'w#cy!Y#cy!k#cyv#cy!_#cy%i#cy!g#cy~P!:tO[8^O~Ob8`O(T+qO(VTO(YUO~O!]1TO!^)Xi~O`8dO~O(e(|O!]'pX!^'pX~O!]5uO!^)Ua~O!^8nO~P%;eO(o!sO~P$&YO#[8oO~O!_1oO~O!_1oO%i8qO~On8tO!_1oO%i8qO~O[8yO!]'sa!^'sa~O!]1zO!^)Vi~O!k8}O~O!k9OO~O!k9RO~O!k9RO~P%[Oa9TO~O!g9UO~O!k9VO~O!](wi!^(wi~P#BwOa%nO#`9_O'z%nO~O!](ty!k(tya(ty'z(ty~P!:tO!](jO!k(sy~O%i9bO~P&8fO!_'`O%i9bO~O#k$|qP$|qR$|q[$|qa$|qj$|qr$|q!S$|q!]$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q'z$|q(a$|q(r$|q!k$|q!Y$|q'w$|q#`$|qv$|q!_$|q%i$|q!g$|q~P#/sO#k'jaP'jaR'ja['jaa'jaj'jar'ja!S'ja!l'ja!p'ja#R'ja#n'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#v'ja#x'ja#z'ja#{'ja'z'ja(a'ja(r'ja!k'ja!Y'ja'w'jav'ja!_'ja%i'ja!g'ja~P&5RO#k'laP'laR'la['laa'laj'lar'la!S'la!l'la!p'la#R'la#n'la#o'la#p'la#q'la#r'la#s'la#t'la#u'la#v'la#x'la#z'la#{'la'z'la(a'la(r'la!k'la!Y'la'w'lav'la!_'la%i'la!g'la~P&5tO#k%OqP%OqR%Oq[%Oqa%Oqj%Oqr%Oq!S%Oq!]%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq'z%Oq(a%Oq(r%Oq!k%Oq!Y%Oq'w%Oq#`%Oqv%Oq!_%Oq%i%Oq!g%Oq~P#/sO!]'Yi!k'Yi~P!:tO$O#cq!]#cq!^#cq~P#BwO(y$}OP%aaR%aa[%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa$O%aa(a%aa(r%aa!]%aa!^%aa~On%aa!Q%aa'y%aa(z%aa~P&IyO(z%POP%caR%ca[%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca$O%ca(a%ca(r%ca!]%ca!^%ca~On%ca!Q%ca'y%ca(y%ca~P&LQOn>^O!Q*OO'y*PO(z%PO~P&IyOn>^O!Q*OO'y*PO(y$}O~P&LQOR0kO!Q0kO!S0lO#S$dOP}a[}aj}an}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a$O}a'y}a(a}a(r}a(y}a(z}a!]}a!^}a~O!Q*OO'y*POP$saR$sa[$saj$san$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa$O$sa(a$sa(r$sa(y$sa(z$sa!]$sa!^$sa~O!Q*OO'y*POP$uaR$ua[$uaj$uan$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua$O$ua(a$ua(r$ua(y$ua(z$ua!]$ua!^$ua~On>^O!Q*OO'y*PO(y$}O(z%PO~OP%TaR%Ta[%Taj%Tar%Ta!S%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta$O%Ta(a%Ta(r%Ta!]%Ta!^%Ta~P''VO$O$mq!]$mq!^$mq~P#BwO$O$oq!]$oq!^$oq~P#BwO!^9oO~O$O9pO~P!1WO!g#vO!]'ei!k'ei~O!g#vO(r'pO!]'ei!k'ei~O!]/pO!k)Oq~O!Y'gi!]'gi~P#/sO!]/yO!Y)Pq~Or9wO!g#vO(r'pO~O[9yO!Y9xO~P#/sO!Y9xO~Oj:PO!g#vO~Og(_y!](_y~P!1WO!]'na!_'na~P#/sOa%[q!_%[q'z%[q!]%[q~P#/sO[:UO~O!]1TO!^)Xq~O`:YO~O#`:ZO!]'pa!^'pa~O!]5uO!^)Ui~P#BwO!S:]O~O!_1oO%i:`O~O(VTO(YUO(e:eO~O!]1zO!^)Vq~O!k:hO~O!k:iO~O!k:jO~O!k:jO~P%[O#`:mO!]#hy!^#hy~O!]#hy!^#hy~P#BwO%i:rO~P&8fO!_'`O%i:rO~O$O#|y!]#|y!^#|y~P#BwOP$|iR$|i[$|ij$|ir$|i!S$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i$O$|i(a$|i(r$|i!]$|i!^$|i~P''VO!Q*OO'y*PO(z%POP'iaR'ia['iaj'ian'iar'ia!S'ia!l'ia!p'ia#R'ia#n'ia#o'ia#p'ia#q'ia#r'ia#s'ia#t'ia#u'ia#v'ia#x'ia#z'ia#{'ia$O'ia(a'ia(r'ia(y'ia!]'ia!^'ia~O!Q*OO'y*POP'kaR'ka['kaj'kan'kar'ka!S'ka!l'ka!p'ka#R'ka#n'ka#o'
1ka#p'ka#q'ka#r'ka#s'ka#t'ka#u'ka#v'ka#x'ka#z'ka#{'ka$O'ka(a'ka(r'ka(y'ka(z'ka!]'ka!^'ka~O(y$}OP%aiR%ai[%aij%ain%air%ai!Q%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai$O%ai'y%ai(a%ai(r%ai(z%ai!]%ai!^%ai~O(z%POP%ciR%ci[%cij%cin%cir%ci!Q%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci$O%ci'y%ci(a%ci(r%ci(y%ci!]%ci!^%ci~O$O$oy!]$oy!^$oy~P#BwO$O#cy!]#cy!^#cy~P#BwO!g#vO!]'eq!k'eq~O!]/pO!k)Oy~O!Y'gq!]'gq~P#/sOr:|O!g#vO(r'pO~O[;QO!Y;PO~P#/sO!Y;PO~Og(_!R!](_!R~P!1WOa%[y!_%[y'z%[y!]%[y~P#/sO!]1TO!^)Xy~O!]5uO!^)Uq~O(T;XO~O!_1oO%i;[O~O!k;_O~O%i;dO~P&8fOP$|qR$|q[$|qj$|qr$|q!S$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q$O$|q(a$|q(r$|q!]$|q!^$|q~P''VO!Q*OO'y*PO(z%POP'jaR'ja['jaj'jan'jar'ja!S'ja!l'ja!p'ja#R'ja#n'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#v'ja#x'ja#z'ja#{'ja$O'ja(a'ja(r'ja(y'ja!]'ja!^'ja~O!Q*OO'y*POP'laR'la['laj'lan'lar'la!S'la!l'la!p'la#R'la#n'la#o'la#p'la#q'la#r'la#s'la#t'la#u'la#v'la#x'la#z'la#{'la$O'la(a'la(r'la(y'la(z'la!]'la!^'la~OP%OqR%Oq[%Oqj%Oqr%Oq!S%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq$O%Oq(a%Oq(r%Oq!]%Oq!^%Oq~P''VOg%e!Z!]%e!Z#`%e!Z$O%e!Z~P!1WO!Y;hO~P#/sOr;iO!g#vO(r'pO~O[;kO!Y;hO~P#/sO!]'pq!^'pq~P#BwO!]#h!Z!^#h!Z~P#BwO#k%e!ZP%e!ZR%e!Z[%e!Za%e!Zj%e!Zr%e!Z!S%e!Z!]%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z'z%e!Z(a%e!Z(r%e!Z!k%e!Z!Y%e!Z'w%e!Z#`%e!Zv%e!Z!_%e!Z%i%e!Z!g%e!Z~P#/sOr;tO!g#vO(r'pO~O!Y;uO~P#/sOr;|O!g#vO(r'pO~O!Y;}O~P#/sOP%e!ZR%e!Z[%e!Zj%e!Zr%e!Z!S%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z$O%e!Z(a%e!Z(r%e!Z!]%e!Z!^%e!Z~P''VOr<QO!g#vO(r'pO~Ov(fX~P1qO!Q%rO~P!)[O(U!lO~P!)[O!YfX!]fX#`fX~P%2OOP]XR]X[]Xj]Xr]X!Q]X!S]X!]]X!]fX!l]X!p]X#R]X#S]X#`]X#`fX#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~O!gfX!k]X!kfX(rfX~P'LTOP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_XO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]<iO!^$qa~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<tO!S${O!_$|O!i>WO!l$xO#j<zO$W%`O$t<vO$v<xO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Ol)dO~P(!yOr!eX(r!eX~P#!iOr(jX(r(jX~P##[O!^]X!^fX~P'LTO!YfX!Y$zX!]fX!]$zX#`fX~P!0SO#k<^O~O!g#vO#k<^O~O#`<nO~Oj<bO~O#`=OO!](wX!^(wX~O#`<nO!](uX!^(uX~O#k=PO~Og=RO~P!1WO#k=XO~O#k=YO~Og=RO(T&ZO~O!g#vO#k=ZO~O!g#vO#k=PO~O$O=[O~P#BwO#k=]O~O#k=^O~O#k=cO~O#k=dO~O#k=eO~O#k=fO~O$O=gO~P!1WO$O=hO~P!1WOl=sO~P7eOk#S#T#U#W#X#[#i#j#u$n$t$v$y%]%^%h%i%j%q%s%v%w%y%{~(OT#o!X'|(U#ps#n#qr!Q'}$]'}(T$_(e~",goto:"$9Y)]PPPPPP)^PP)aP)rP+W/]PPPP6mPP7TPP=QPPP@tPA^PA^PPPA^PCfPA^PA^PA^PCjPCoPD^PIWPPPI[PPPPI[L_PPPLeMVPI[PI[PP! eI[PPPI[PI[P!#lI[P!'S!(X!(bP!)U!)Y!)U!,gPPPPPPP!-W!(XPP!-h!/YP!2iI[I[!2n!5z!:h!:h!>gPPP!>oI[PPPPPPPPP!BOP!C]PPI[!DnPI[PI[I[I[I[I[PI[!FQP!I[P!LbP!Lf!Lp!Lt!LtP!IXP!Lx!LxP#!OP#!SI[PI[#!Y#%_CjA^PA^PA^A^P#&lA^A^#)OA^#+vA^#.SA^A^#.r#1W#1W#1]#1f#1W#1qPP#1WPA^#2ZA^#6YA^A^6mPPP#:_PPP#:x#:xP#:xP#;`#:xPP#;fP#;]P#;]#;y#;]#<e#<k#<n)aP#<q)aP#<z#<z#<zP)aP)aP)aP)aPP)aP#=Q#=TP#=T)aP#=XP#=[P)aP)aP)aP)aP)aP)a)aPP#=b#=h#=s#=y#>P#>V#>]#>k#>q#>{#?R#?]#?c#?s#?y#@k#@}#AT#AZ#Ai#BO#Cs#DR#DY#Et#FS#Gt#HS#HY#H`#Hf#Hp#Hv#H|#IW#Ij#IpPPPPPPPPPPP#IvPPPPPPP#Jk#Mx$ b$ i$ qPPP$']P$'f$*_$0x$0{$1O$1}$2Q$2X$2aP$2g$2jP$3W$3[$4S$5b$5g$5}PP$6S$6Y$6^$6a$6e$6i$7e$7|$8e$8i$8l$8o$8y$8|$9Q$9UR!|RoqOXst!Z#d%m&r&t&u&w,s,x2[2_Y!vQ'`-e1o5{Q%tvQ%|yQ&T|Q&j!VS'W!e-]Q'f!iS'l!r!yU*k$|*Z*oQ+o%}S+|&V&WQ,d&dQ-c'_Q-m'gQ-u'mQ0[*qQ1b,OQ1y,eR<{<Y%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_S#q]<V!r)_$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU+P%]<s<tQ+t&PQ,f&gQ,m&oQ0x+gQ0}+iQ1Y+uQ2R,kQ3`.gQ5`0|Q5f1TQ6[1zQ7Y3dQ8`5gR9e7['QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S!S!nQ!r!v!y!z$|'W'_'`'l'm'n*k*o*q*r-]-c-e-u0[0_1o5{5}%[$ti#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q&X|Q'U!eS'[%i-`Q+t&PQ,P&WQ,f&gQ0n+SQ1Y+uQ1_+{Q2Q,jQ2R,kQ5f1TQ5o1aQ6[1zQ6_1|Q6`2PQ8`5gQ8c5lQ8|6bQ:X8dQ:f8yQ;V:YR<}*ZrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R,h&k&z^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'b'r(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>R>S[#]WZ#W#Z'X(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ%wxQ%{yW&Q|&V&W,OQ&_!TQ'c!hQ'e!iQ(q#sS+n%|%}Q+r&PQ,_&bQ,c&dS-l'f'gQ.i(rQ1R+oQ1X+uQ1Z+vQ1^+zQ1t,`S1x,d,eQ2|-mQ5e1TQ5i1WQ5n1`Q6Z1yQ8_5gQ8b5kQ8f5pQ:T8^R;
1T:U!U$zi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y!^%yy!i!u%{%|%}'V'e'f'g'k'u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{Q+h%wQ,T&[Q,W&]Q,b&dQ.h(qQ1s,_U1w,c,d,eQ3e.iQ6U1tS6Y1x1yQ8x6Z#f>T#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o>U<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hW%Ti%V*y>PS&[!Q&iQ&]!RQ&^!SU*}%[%d=sR,R&Y%]%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^T)z$u){V+P%]<s<tW'[!e%i*Z-`S(}#y#zQ+c%rQ+y&SS.b(m(nQ1j,XQ5T0kR8i5u'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S$i$^c#Y#e%q%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.|.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vT#TV#U'RkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ'Y!eR2q-]!W!nQ!e!r!v!y!z$|'W'_'`'l'm'n*Z*k*o*q*r-]-c-e-u0[0_1o5{5}R1l,ZnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&y!^Q'v!xS(s#u<^Q+l%zQ,]&_Q,^&aQ-j'dQ-w'oS.r(x=PS0q+X=ZQ1P+mQ1n,[Q2c,zQ2e,{Q2m-WQ2z-kQ2}-oS5Y0r=eQ5a1QS5d1S=fQ6t2oQ6x2{Q6}3SQ8]5bQ9Y6vQ9Z6yQ9^7OR:l9V$d$]c#Y#e%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vS(o#p'iQ)P#zS+b%q.|S.c(n(pR3^.d'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS#q]<VQ&t!XQ&u!YQ&w![Q&x!]R2Z,vQ'a!hQ+e%wQ-h'cS.e(q+hQ2x-gW3b.h.i0w0yQ6w2yW7U3_3a3e5^U9a7V7X7ZU:q9c9d9fS;b:p:sQ;p;cR;x;qU!wQ'`-eT5y1o5{!Q_OXZ`st!V!Z#d#h%e%m&i&k&r&t&u&w(j,s,x.[2[2_]!pQ!r'`-e1o5{T#q]<V%^{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S(}#y#zS.b(m(n!s=l$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU$fd)_,mS(p#p'iU*v%R(w4OU0m+O.n7gQ5^0xQ7V3`Q9d7YR:s9em!tQ!r!v!y!z'`'l'm'n-e-u1o5{5}Q't!uS(f#g2US-s'k'wQ/s*]Q0R*jQ3U-vQ4f/tQ4r0TQ4s0UQ4x0^Q7r4`S7}4t4vS8R4y4{Q9r7sQ9v7yQ9{8OQ:Q8TS:{9w9xS;g:|;PS;s;h;iS;{;t;uS<P;|;}R<S<QQ#wbQ's!uS(e#g2US(g#m+WQ+Y%fQ+j%xQ+p&OU-r'k't'wQ.W(fU/r*]*`/wQ0S*jQ0V*lQ1O+kQ1u,aS3R-s-vQ3Z.`S4e/s/tQ4n0PS4q0R0^Q4u0WQ6W1vQ7P3US7q4`4bQ7u4fU7|4r4x4{Q8P4wQ8v6XS9q7r7sQ9u7yQ9}8RQ:O8SQ:c8wQ:y9rS:z9v9xQ;S:QQ;^:dS;f:{;PS;r;g;hS;z;s;uS<O;{;}Q<R<PQ<T<SQ=o=jQ={=tR=|=uV!wQ'`-e%^aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S#wz!j!r=i$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=o>R%^bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Q%fj!^%xy!i!u%{%|%}'V'e'f'g'k'u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{S&Oz!jQ+k%yQ,a&dW1v,b,c,d,eU6X1w1x1yS8w6Y6ZQ:d8x!r=j$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ=t>QR=u>R%QeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{'T'b'r(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Y#bWZ#W#Z(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ,n&o!p=k$Z$n)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=n'XU']!e%i*ZR2s-`%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_!r)_$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ,m&oQ0x+gQ3`.gQ7Y3dR9e7[!b$Tc#Y%q(S(Y(t(y)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!P<d)^)q-Z.|2k2n3p3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!f$Vc#Y%q(S(Y(t(y)W)X)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!T<f)^)q-Z.|2k2n3p3v3w3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!^$Zc#Y%q(S(Y(t(y)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<WQ4_/kz>S)^)q-Z.|2k2n3p4P4X6u7b7k7l8k9X9g9m9n;W;`=vQ>X>ZR>Y>['QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS$oh$pR4U/U'XgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$kf$qQ$ifS)j$l)nR)v$qT$jf$qT)l$l)n'XhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$oh$pQ$rhR)u$p%^jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_!s>Q$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S#glOPXZst!Z!`!o#S#d#o#{$n%m&k&n&o&r&t&u&w&{'T'b)O)s*i+]+g,p,s,x-i.g/V/n0]0l1r2S2T2V2X2[2_2a3d4T4z6T6e6f6i7[8t9T!U%Ri$d%O%Q%^%_%c*R*T*a*w*
1x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^Q+T%aQ/c*Oo4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!U$yi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>YQ*c$zU*l$|*Z*oQ+U%bQ0W*m#f=q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n=r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hQ=w>TQ=x>UQ=y>VR=z>W!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hnoOXst!Z#d%m&r&t&u&w,s,x2[2_S*f${*YQ-R'OQ-S'QR4i/y%[%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q,U&]Q1h,WQ5s1gR8h5tV*n$|*Z*oU*n$|*Z*oT5z1o5{S0P*i/nQ4w0]T8S4z:]Q+j%xQ0V*lQ1O+kQ1u,aQ6W1vQ8v6XQ:c8wR;^:d!U%Oi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Yx*R$v)e*S*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>OS0`*t0a#f<o#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<p<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!d=S(u)c*[*e.j.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[`=T3}7c7f7j9h:t:w;yS=_.l3iT=`7e9k!U%Qi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y|*T$v)e*U*t+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>OS0b*u0c#f<q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!h=U(u)c*[*e.k.l.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[d=V3}7d7e7j9h9i:t:u:w;yS=a.m3jT=b7f9lrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q&f!UR,p&ornOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R&f!UQ,Y&^R1d,RsnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q1p,_S6R1s1tU8p6P6Q6US:_8r8sS;Y:^:aQ;m;ZR;w;nQ&m!VR,i&iR6_1|R:f8yW&Q|&V&W,OR1Z+vQ&r!WR,s&sR,y&xT2],x2_R,}&yQ,|&yR2f,}Q'y!{R-y'ySsOtQ#dXT%ps#dQ#OTR'{#OQ#RUR'}#RQ){$uR/`){Q#UVR(Q#UQ#XWU(W#X(X.QQ(X#YR.Q(YQ-^'YR2r-^Q.u(yS3m.u3nR3n.vQ-e'`R2v-eY!rQ'`-e1o5{R'j!rQ/Q)eR4S/QU#_W%h*YU(_#_(`.RQ(`#`R.R(ZQ-a']R2t-at`OXst!V!Z#d%m&i&k&r&t&u&w,s,x2[2_S#hZ%eU#r`#h.[R.[(jQ(k#jQ.X(gW.a(k.X3X7RQ3X.YR7R3YQ)n$lR/W)nQ$phR)t$pQ$`cU)a$`-|<jQ-|<WR<j)qQ/q*]W4c/q4d7t9sU4d/r/s/tS7t4e4fR9s7u$e*Q$v(u)c)e*[*e*t*u+Q+R+V.l.m.o.p.q/_/g/i/k/v/|0d0e0v1e3f3g3h3}4R4[4g4h4l4|5O5R5S5W5r7]7^7_7`7e7f7h7i7j7p7w7z8U8X8Z9h9i9j9t9|:R:S:t:u:v:w:x:};R;e;j;v;y=p=}>O>Z>[Q/z*eU4k/z4m7xQ4m/|R7x4lS*o$|*ZR0Y*ox*S$v)e*t*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>O!d.j(u)c*[*e.l.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/h*S.j7ca7c3}7e7f7j9h:t:w;yQ0a*tQ3i.lU4}0a3i9kR9k7e|*U$v)e*t*u+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>O!h.k(u)c*[*e.l.m.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/j*U.k7de7d3}7e7f7j9h9i:t:u:w;yQ0c*uQ3j.mU5P0c3j9lR9l7fQ*z%UR0g*zQ5]0vR8Y5]Q+_%kR0u+_Q5v1jS8j5v:[R:[8kQ,[&_R1m,[Q5{1oR8m5{Q1{,fS6]1{8zR8z6_Q1U+rW5h1U5j8a:VQ5j1XQ8a5iR:V8bQ+w&QR1[+wQ2_,xR6m2_YrOXst#dQ&v!ZQ+a%mQ,r&rQ,t&tQ,u&uQ,w&wQ2Y,sS2],x2_R6l2[Q%opQ&z!_Q&}!aQ'P!bQ'R!cQ'q!uQ+`%lQ+l%zQ,Q&XQ,h&mQ-P&|W-p'k's't'wQ-w'oQ0X*nQ1P+mQ1c,PS2O,i,lQ2g-OQ2h-RQ2i-SQ2}-oW3P-r-s-v-xQ5a1QQ5m1_Q5q1eQ6V1uQ6a2QQ6k2ZU6z3O3R3UQ6}3SQ8]5bQ8e5oQ8g5rQ8l5zQ8u6WQ8{6`S9[6{7PQ9^7OQ:W8cQ:b8vQ:g8|Q:n9]Q;U:XQ;]:cQ;a:oQ;l;VR;o;^Q%zyQ'd!iQ'o!uU+m%{%|%}Q-W'VU-k'e'f'gS-o'k'uQ0Q*jS1Q+n+oQ2o-YS2{-l-mQ3S-tS4p0R0UQ5b1RQ6v2uQ6y2|Q7O3TU7{4r4s4vQ9z7}R;O9{S$wi>PR*{%VU%Ui%V>PR0f*yQ$viS(u#v+iS)c$b$cQ)e$dQ*[$xS*e${*YQ*t%OQ*u%QQ+Q%^Q+R%_Q+V%cQ.l<oQ.m<qQ.o<uQ.p<wQ.q<yQ/_)yQ/g*RQ/i*TQ/k*VQ/v*aS/|*g/mQ0d*wQ0e*xl0v+f,V.f1i1q3c6S7W8q9b:`:r;[;dQ1e,SQ3f=SQ3g=UQ3h=XS3}<l<mQ4R/PS4[/d4^Q4g/xQ4h/yQ4l/{Q4|0`Q5O0bQ5R0iQ5S0jQ5W0oQ5r1fQ7]=]Q7^=_Q7_=aQ7`=cQ7e<pQ7f<rQ7h<vQ7i<xQ7j<zQ7p4_Q7w4jQ7z4oQ8U5QQ8X5[Q8Z5_Q9h=YQ9i=TQ9j=VQ9t7vQ9|8QQ:R8VQ:S8[Q:t=^Q:u=`Q:v=bQ:w=dQ:x9pQ:}9yQ;R:PQ;e=gQ;j;QQ;v;kQ;y=hQ=p>PQ=}>XQ>O>YQ>Z>]R>[>^Q+O%]Q.n<sR7g<tnpOXst!Z#d%m&r&t&u&w,s,x2[2_Q!fPS#fZ#oQ&|!`W'h!o*i0]4zQ(P#SQ)Q#{Q)r$nS,l&k&nQ,q&oQ-O&{S-T'T/nQ-g'bQ.x)OQ/[)sQ0s+]Q0y+gQ2W,pQ2y-iQ3a.gQ4W/VQ5U0lQ6Q1rQ6c2SQ6d2TQ6h2VQ6j2XQ6o2aQ7Z3dQ7m4TQ8s6TQ9P6eQ9Q6fQ9S6iQ9f7[Q:a8tR:k9T#[cOPXZst!Z!`!o#d#o#{%m&k&n&o&r&t&u&w&{'T'b)O*i+]+g,p,s,x-i.g/n0]0l1r2S2T2V2X2[2_2a3d4z6T6e6f6i7[8t9TQ#YWQ#eYQ%quQ%svS%uw!gS(S#W(VQ(Y#ZQ(t#uQ(y#xQ)R$OQ)S$PQ)T$QQ)U$RQ)V$SQ)W$TQ)X$UQ)Y$VQ)Z$WQ)[$XQ)^$ZQ)`$_Q)b$aQ)g$eW)q$n)s/V4TQ+d%tQ+x&RS-Z'X2pQ-x'rS-}(T.PQ.S(]Q.U(dQ.s(xQ.v(zQ.z<UQ.|<XQ.}<YQ/O<]Q/b)}
1Q0p+XQ2k-UQ2n-XQ3O-qQ3V.VQ3k.tQ3p<^Q3q<_Q3r<`Q3s<aQ3t<bQ3u<cQ3v<dQ3w<eQ3x<fQ3y<gQ3z<hQ3{.{Q3|<kQ4P<nQ4Q<{Q4X<iQ5X0rQ5c1SQ6u=OQ6{3QQ7Q3WQ7a3lQ7b=PQ7k=RQ7l=ZQ8k5wQ9X6sQ9]6|Q9g=[Q9m=eQ9n=fQ:o9_Q;W:ZQ;`:mQ<W#SR=v>SR#[WR'Z!el!tQ!r!v!y!z'`'l'm'n-e-u1o5{5}S'V!e-]U*j$|*Z*oS-Y'W'_S0U*k*qQ0^*rQ2u-cQ4v0[R4{0_R({#xQ!fQT-d'`-e]!qQ!r'`-e1o5{Q#p]R'i<VR)f$dY!uQ'`-e1o5{Q'k!rS'u!v!yS'w!z5}S-t'l'mQ-v'nR3T-uT#kZ%eS#jZ%eS%km,oU(g#h#i#lS.Y(h(iQ.^(jQ0t+^Q3Y.ZU3Z.[.]._S7S3[3]R9`7Td#^W#W#Z%h(T(^*Y+Z.T/mr#gZm#h#i#l%e(h(i(j+^.Z.[.]._3[3]7TS*]$x*bQ/t*^Q2U,oQ2l-VQ4`/pQ6q2dQ7s4aQ9W6rT=m'X+[V#aW%h*YU#`W%h*YS(U#W(^U(Z#Z+Z/mS-['X+[T.O(T.TV'^!e%i*ZQ$lfR)x$qT)m$l)nR4V/UT*_$x*bT*h${*YQ0w+fQ1g,VQ3_.fQ5t1iQ6P1qQ7X3cQ8r6SQ9c7WQ:^8qQ:p9bQ;Z:`Q;c:rQ;n;[R;q;dnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&l!VR,h&itmOXst!U!V!Z#d%m&i&r&t&u&w,s,x2[2_R,o&oT%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_",nodeNames:"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:380,context:oO,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,237,243,245,247,249,252,258,264,266,268,270,272,274,275,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,12
10,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[oA],skippedNodes:[0,5,6,278],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(Z!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$i&j(WpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(WpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$i&j(Wp(Z!b'|0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(X#S$i&j'}0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$i&j(Wp(Z!b'}0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)3p/x`$i&j!p),Q(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW1V`#v(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW2d_#v(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At3l_(V':f$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$i&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$d`$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$d``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$d`$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(Z!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$d`(Z!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$i&j(Wp(Z!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr(r<__WS$i&j(Wp(Z!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;'S<S;'S;=`Cl<%lO<S(Q=g]WS$i&j(Z!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$i&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSWSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(Z!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]WS$i&j(WpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(WpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Wp(Z!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$i&j(o%1l(Wp(Z!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr%9[EoP;=`<%lCr07[FRk$i&j(Wp(Z!b$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr+dHRk$i&j(Wp(Z!b$]#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;'SGv;'S;=`Iv<%lOGv+dIyP;=`<%lGv07[JPP;=`<%lEr(KWJ_`$i&j(Wp(Z!b#p(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWKl_$i&j$Q(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,#xLva(z+JY$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWNW`$i&j#z(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At! c_(Y';W$i&j(WpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b'l!!i_$i&j(WpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b&z!#mX$i&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;'S!#h;'S;=`!$r<%lO!#h`!$]TOw!$Ywx7]x;'S!$Y;'S;=`!$l<%lO!$Y`!$oP;=`<%l!$Y&z!$uP;=`<%l!#h'l!%R]$d`$i&j(WpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r!Q!&PZ(WpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;'S!%z;'S;=`!']<%lO!%z!Q!&yU$d`(WpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r!Q!'`P;=`<%l!%z'l!'fP;=`<%l!!b/5|!'t_!l/.^$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&U!)O_!k!Lf$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z-!n!*[b$i&j(Wp(Z!b(U%&f#q(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW!+o`$i&j(Wp(Z!b#n(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;x!,|`$i&j(Wp(Z!br+4YOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,$U!.Z_!]+Jf$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!/ec$i&j(Wp(Z!b!Q.2^OY%ZYZ&cZr%Zrs&}
1sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!0ya$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!2Z_![!L^$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!3eg$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!5Vg$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!6wc$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!8_c$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!9uf$i&j(Wp(Z!b#o(ChOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcxz!;Zz{#-}{!P!;Z!P!Q#/d!Q!^!;Z!^!_#(i!_!`#7S!`!a#8i!a!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z?O!;fb$i&j(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z>^!<w`$i&j(Z!b!X7`OY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eq!Q!^!<n!^!_!Gr!_!}!<n!}#O!KS#O#P!Dy#P#o!<n#o#p!Gr#p;'S!<n;'S;=`!L]<%lO!<n<z!>Q^$i&j!X7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!?Td$i&j!X7`O!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&c7`!@hX!X7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!X7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c<z!C][$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DWX$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$i&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$i&j(Z!b!X7`OY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}8r!GyZ(Z!b!X7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse(Z!b!X7`OY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}8r!JZX(Z!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$i&j(Z!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!<n#Q#o!KS#o#p!JU#p;'S!KS;'S;=`!LV<%lO!KS>^!LYP;=`<%l!KS>^!L`P;=`<%l!<n=l!Ll`$i&j(Wp!X7`OY!LcYZ&cZr!Lcrs!=ys!P!Lc!P!Q!Mn!Q!^!Lc!^!_# o!_!}!Lc!}#O#%P#O#P!Dy#P#o!Lc#o#p# o#p;'S!Lc;'S;=`#&Y<%lO!Lc=l!Mwl$i&j(Wp!X7`OY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#W(r#W#X!Mn#X#Z(r#Z#[!Mn#[#](r#]#^!Mn#^#a(r#a#b!Mn#b#g(r#g#h!Mn#h#i(r#i#j!Mn#j#k!Mn#k#m(r#m#n!Mn#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r8Q# vZ(Wp!X7`OY# oZr# ors!@cs!P# o!P!Q#!i!Q!}# o!}#O#$R#O#P!Bq#P;'S# o;'S;=`#$y<%lO# o8Q#!pe(Wp!X7`OY)rZr)rs#O)r#P#W)r#W#X#!i#X#Z)r#Z#[#!i#[#])r#]#^#!i#^#a)r#a#b#!i#b#g)r#g#h#!i#h#i)r#i#j#!i#j#k#!i#k#m)r#m#n#!i#n;'S)r;'S;=`*Z<%lO)r8Q#$WX(WpOY#$RZr#$Rrs!Ars#O#$R#O#P!B[#P#Q# o#Q;'S#$R;'S;=`#$s<%lO#$R8Q#$vP;=`<%l#$R8Q#$|P;=`<%l# o=l#%W^$i&j(WpOY#%PYZ&cZr#%Prs!CWs!^#%P!^!_#$R!_#O#%P#O#P!DR#P#Q!Lc#Q#o#%P#o#p#$R#p;'S#%P;'S;=`#&S<%lO#%P=l#&VP;=`<%l#%P=l#&]P;=`<%l!Lc?O#&kn$i&j(Wp(Z!b!X7`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#W%Z#W#X#&`#X#Z%Z#Z#[#&`#[#]%Z#]#^#&`#^#a%Z#a#b#&`#b#g%Z#g#h#&`#h#i%Z#i#j#&`#j#k#&`#k#m%Z#m#n#&`#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z9d#(r](Wp(Z!b!X7`OY#(iZr#(irs!Grsw#(iwx# ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;'S#(i;'S;=`#,`<%lO#(i9d#)th(Wp(Z!b!X7`OY*gZr*grs'}sw*gwx)rx#O*g#P#W*g#W#X#)k#X#Z*g#Z#[#)k#[#]*g#]#^#)k#^#a*g#a#b#)k#b#g*g#g#h#)k#h#i*g#i#j#)k#j#k#)k#k#m*g#m#n#)k#n;'S*g;'S;=`+Z<%lO*g9d#+gZ(Wp(Z!bOY#+`Zr#+`rs!JUsw#+`wx#$Rx#O#+`#O#P!B[#P#Q#(i#Q;'S#+`;'S;=`#,Y<%lO#+`9d#,]P;=`<%l#+`9d#,cP;=`<%l#(i?O#,o`$i&j(Wp(Z!bOY#,fYZ&cZr#,frs!KSsw#,fwx#%Px!^#,f!^!_#+`!_#O#,f#O#P!DR#P#Q!;Z#Q#o#,f#o#p#+`#p;'S#,f;'S;=`#-q<%lO#,f?O#-tP;=`<%l#,f?O#-zP;=`<%l!;Z07[#.[b$i&j(Wp(Z!b(O0/l!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}
1#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z07[#/o_$i&j(Wp(Z!bT0/lOY#/dYZ&cZr#/drs#0nsw#/dwx#4Ox!^#/d!^!_#5}!_#O#/d#O#P#1p#P#o#/d#o#p#5}#p;'S#/d;'S;=`#6|<%lO#/d06j#0w]$i&j(Z!bT0/lOY#0nYZ&cZw#0nwx#1px!^#0n!^!_#3R!_#O#0n#O#P#1p#P#o#0n#o#p#3R#p;'S#0n;'S;=`#3x<%lO#0n05W#1wX$i&jT0/lOY#1pYZ&cZ!^#1p!^!_#2d!_#o#1p#o#p#2d#p;'S#1p;'S;=`#2{<%lO#1p0/l#2iST0/lOY#2dZ;'S#2d;'S;=`#2u<%lO#2d0/l#2xP;=`<%l#2d05W#3OP;=`<%l#1p01O#3YW(Z!bT0/lOY#3RZw#3Rwx#2dx#O#3R#O#P#2d#P;'S#3R;'S;=`#3r<%lO#3R01O#3uP;=`<%l#3R06j#3{P;=`<%l#0n05x#4X]$i&j(WpT0/lOY#4OYZ&cZr#4Ors#1ps!^#4O!^!_#5Q!_#O#4O#O#P#1p#P#o#4O#o#p#5Q#p;'S#4O;'S;=`#5w<%lO#4O00^#5XW(WpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;'S#5Q;'S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Wp(Z!bT0/lOY#5}Zr#5}rs#3Rsw#5}wx#5Qx#O#5}#O#P#2d#P;'S#5};'S;=`#6v<%lO#5}01p#6yP;=`<%l#5}07[#7PP;=`<%l#/d)3h#7ab$i&j$Q(Ch(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;ZAt#8vb$Z#t$i&j(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z'Ad#:Zp$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#U%Z#U#V#?i#V#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#<jk$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#>j_$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#?rd$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#A]f$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Bzc$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Dbe$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#E|g$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Gpi$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x#Il_!g$b$i&j$O)Lv(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Jv_al$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f#LS^h#)`#R-<U(Wp(Z!b$n7`OY*gZr*grs'}sw*gwx)rx!P*g!P!Q#MO!Q!^*g!^!_#Mt!_!`$ f!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#MXX$k&j(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El#M}Z#r(Ch(Wp(Z!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;'S*g;'S;=`+Z<%lO*g(El#NyX$Q(Ch(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El$ oX#s(Ch(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g*)x$!ga#`*!Y$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$#l!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(K[$#w_#k(Cl$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x$%Vag!*r#s(Ch$f#|$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$&[!`!a$'f!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$&g_#s(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$'qa#r(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$(v!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$)R`#r(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(Kd$*`a(r(Ct$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!a%Z!a!b$+e!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$+p`$i&j#{(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`$,}_!|$Ip$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f$.X_!S0,v$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(n$/]Z$i&jO!^$0O!^!_$0f!_#i$0O#i#j$0k#j#l$0O#l#m$2^#m#o$0O#o#p$0f#p;'S$0O;'S;=`$4i<%lO$0O(n$0VT_#S$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$0kO_#S(n$0p[$i&jO!Q&c!Q![$1f![!^&c!_!c&c!c!i$1f!i#T&c#T#Z$1f#Z#o&c#o#p$3|#p;'S&c;'S;
1=`&w<%lO&c(n$1kZ$i&jO!Q&c!Q![$2^![!^&c!_!c&c!c!i$2^!i#T&c#T#Z$2^#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$2cZ$i&jO!Q&c!Q![$3U![!^&c!_!c&c!c!i$3U!i#T&c#T#Z$3U#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$3ZZ$i&jO!Q&c!Q![$0O![!^&c!_!c&c!c!i$0O!i#T&c#T#Z$0O#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$4PR!Q![$4Y!c!i$4Y#T#Z$4Y#S$4]S!Q![$4Y!c!i$4Y#T#Z$4Y#q#r$0f(n$4lP;=`<%l$0O#1[$4z_!Y#)l$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$6U`#x(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;p$7c_$i&j(Wp(Z!b(a+4QOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$8qk$i&j(Wp(Z!b(T,2j$_#t(e$I[OY%ZYZ&cZr%Zrs&}st%Ztu$8buw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$8b![!^%Z!^!_*g!_!c%Z!c!}$8b!}#O%Z#O#P&c#P#R%Z#R#S$8b#S#T%Z#T#o$8b#o#p*g#p$g%Z$g;'S$8b;'S;=`$<l<%lO$8b+d$:qk$i&j(Wp(Z!b$_#tOY%ZYZ&cZr%Zrs&}st%Ztu$:fuw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$:f![!^%Z!^!_*g!_!c%Z!c!}$:f!}#O%Z#O#P&c#P#R%Z#R#S$:f#S#T%Z#T#o$:f#o#p*g#p$g%Z$g;'S$:f;'S;=`$<f<%lO$:f+d$<iP;=`<%l$:f07[$<oP;=`<%l$8b#Jf$<{X!_#Hb(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g,#x$=sa(y+JY$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+e#q;'S%Z;'S;=`+a<%lO%Z)>v$?V_!^(CdvBr$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z?O$@a_!q7`$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$Aq|$i&j(Wp(Z!b'|0/l$]#t(T,2j(e$I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$i&j(Wp(Z!b'}0/l$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[ox,ow,oS,o$,2,3,4,5,6,7,8,9,10,11,12,13,14,ok,new np("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(c~~",141,340),new np("j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~",25,323)],topRules:{Script:[0,7],SingleExpression:[1,276],SingleClassItem:[2,277]},dialects:{jsx:0,ts:15175},dynamicPrecedences:{80:1,82:1,94:1,169:1,199:1},specialized:[{term:327,get:e=>oR[e]||-1},{term:343,get:e=>oE[e]||-1},{term:95,get:e=>oP[e]||-1}],tokenPrec:15201}),o_=[r$("function ${name}(${params}) {\n	${}\n}",{label:"function",detail:"definition",type:"keyword"}),r$("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n	${}\n}",{label:"for",detail:"loop",type:"keyword"}),r$("for (let ${name} of ${collection}) {\n	${}\n}",{label:"for",detail:"of loop",type:"keyword"}
1),r$("do {\n	${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),r$("while (${}) {\n	${}\n}",{label:"while",detail:"loop",type:"keyword"}),r$("try {\n	${}\n} catch (${error}) {\n	${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),r$("if (${}) {\n	${}\n}",{label:"if",detail:"block",type:"keyword"}),r$("if (${}) {\n	${}\n} else {\n	${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),r$("class ${name} {\n	constructor(${params}) {\n		${}\n	}\n}",{label:"class",detail:"definition",type:"keyword"}),r$('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),r$('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],oj=o_.concat([r$("interface ${name} {\n	${}\n}",{label:"interface",detail:"definition",type:"keyword"}),r$("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),r$("enum ${name} {\n	${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),oQ=new eT,oL=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function oM(e){return(t,a)=>{let r=t.node.getChild("VariableDefinition");return r&&a(r,e),!0}}let oZ=["FunctionDeclaration"],oU={FunctionDeclaration:oM("function"),ClassDeclaration:oM("class"),ClassExpression:()=>!0,EnumDeclaration:oM("constant"),TypeAliasDeclaration:oM("type"),NamespaceDeclaration:oM("namespace"),VariableDefinition(e,t){e.matchContext(oZ)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null},oX=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,oI=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function oB(e){let t=tm(e.state).resolveInner(e.pos,-1);if(oI.indexOf(t.name)>-1)return null;let a="VariableName"==t.name||t.to-t.from<20&&oX.test(e.state.sliceDoc(t.from,t.to));if(!a&&!e.explicit)return null;let r=[];for(let a=t;a;a=a.parent)oL.has(a.name)&&(r=r.concat(function e(t,a){let r=oQ.get(a);if(r)return r;let n=[],o=!0;function l(e,a){let r=t.sliceString(e.from,e.to);n.push({label:r,type:a})}return a.cursor(m.IncludeAnonymous).iterate(a=>{if(o)o=!1;else if(a.name){let e=oU[a.name];if(e&&e(a,l)||oL.has(a.name))return!1}else if(a.to-a.from>8192){for(let r of e(t,a.node))n.push(r);return!1}}),oQ.set(a,n),n}(e.state.doc,a)));return{options:r,from:a?t.from:e.pos,validFor:oX}}let oq=tp.define({name:"javascript",parser:oT.configure({props:[tE.add({IfStatement:tL({except:/^\s*({|else\b)/}),TryStatement:tL({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:e=>e.baseIndent,SwitchBody:e=>{let t=e.textAfter,a=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(a?0:r?1:2)*e.unit},Block:tj({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":tL({except:/^\s*{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),tZ.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":tU,BlockComment:e=>({from:e.from+2,to:e.to-2}),JSXElement(e){let t=e.firstChild;if(!t||"JSXSelfClosingTag"==t.name)return null;let a=e.lastChild;return{from:t.to,to:a.type.isError?e.to:a.from}},"JSXSelfClosingTag JSXOpenTag"(e){var t;let a=null==(t=e.firstChild)?void 0:t.nextSibling,r=e.lastChild;return!a||a.type.isError?null:{from:a.to,to:r.type.isError?e.to:r.from}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),oW={test:e=>/^JSX/.test(e.name),facet:ti({commentTokens:{block:{open:"{/*",close:"*/}"}}})},oD=oq.configure({dialect:"ts"},"typescript"),oN=oq.configure({dialect:"jsx",props:[tc.add(e=>e.isTop?[oW]:void 0)]}),oV=oq.configure({dialect:"jsx ts",props:[tc.add(e=>e.isTop?[oW]:void 0)]},"typescript"),oF=e=>({label:e,type:"keyword"}),oz="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(oF),oH=oz.concat(["declare","implements","private","protected","public"].map(oF));function oY(e,t,a=e.length){for(let r=null==t?void 0:t.firstChild;r;r=r.nextSibling)if("JSXIdentifier"==r.name||"JSXBuiltin"==r.name||"JSXNamespacedName"==r.name||"JSXMemberExpression"==r.name)return e.sliceString(r.from,Math.min(r.to,a));return""}let oG="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),oK=er.Lz.inputHandler.of((e,t,a,r,n)=>{if((oG?e.composing:e.compositionStarted)||e.state.readOnly||t!=a||">"!=r&&"/"!=r||!oq.isActiveAt(e.state,t,-1))return!1;let o=n(),{state:l}=o,s=l.changeByRange(e=>{var t;let{head:a}=e,n=tm(l).resolveInner(a-1,-1),o;if("JSXStartTag"==n.name&&(n=n.parent),l.doc.sliceString(a-1,a)!=r||"JSXAttributeValue"==n.name&&n.to>a);else if(">"==r&&"JSXFragmentTag"==n.name)return{range:e,changes:{from:a,insert:"</>"}};else if("/"==r&&"JSXStartCloseTag"==n.name){let e=n.parent,r=e.parent;if(r&&e.from==a-2&&((o=oY(l.doc,r.firstChild,a))||(null==(t=r.firstChild)?void 0:t.name)=="JSXFragmentTag")){let e=`${o}>`;return{range:ea.OF.cursor(a+e.length,-1),changes:{from:a,insert:e}}}}else if(">"==r){let t=function(e){for(;;){if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e;if("JSXEscape"==e.name||!e.parent)return null;e=e.parent}}(n);if(t&&"JSXOpenTag"==t.name&&!/^\/?>|^<\//.test(l.doc.sliceString(a,a+2))&&(o=oY(l.doc,t,a)))return{range:e,changes:{from:a,insert:`</${o}>`}}}return{range:e}});return!s.changes.empty&&(e.dispatch([o,l.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),oJ=["_blank","_self","_top","_parent"],o0=["ascii","utf-8","utf-16","latin1","latin1"],o1=["get","post","put","delete"],o2=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],o4=["true","false"],o8
vendor: 7,343 bytes, line 1
1={},o3={a:{attrs:{href:null,ping:null,type:null,media:null,target:oJ,hreflang:null}},abbr:o8,address:o8,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:o8,aside:o8,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:o8,base:{attrs:{href:null,target:oJ}},bdi:o8,bdo:o8,blockquote:{attrs:{cite:null}},body:o8,br:o8,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:o2,formmethod:o1,formnovalidate:["novalidate"],formtarget:oJ,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:o8,center:o8,cite:o8,code:o8,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:o8,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:o8,div:o8,dl:o8,dt:o8,em:o8,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:o8,figure:o8,footer:o8,form:{attrs:{action:null,name:null,"accept-charset":o0,autocomplete:["on","off"],enctype:o2,method:o1,novalidate:["novalidate"],target:oJ}},h1:o8,h2:o8,h3:o8,h4:o8,h5:o8,h6:o8,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:o8,hgroup:o8,hr:o8,html:{attrs:{manifest:null}},i:o8,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:o2,formmethod:o1,formnovalidate:["novalidate"],formtarget:oJ,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:o8,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:o8,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:o8,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:o0,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:o8,noscript:o8,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:o8,param:{attrs:{name:null,value:null}},pre:o8,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:o8,rt:o8,ruby:o8,samp:o8,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:o0}},section:o8,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:o8,source:{attrs:{src:null,type:null,media:null}},span:o8,strong:o8,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:o8,summary:o8,sup:o8,table:o8,tbody:o8,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:o8,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:o8,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:o8,time:{attrs:{datetime:null}},title:o8,tr:o8,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:o8,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:o8},o6={accesskey:null,class:null,contenteditable:o4,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:o4,autocorrect:o4,autocapitalize:o4,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":o4,"aria-autocomplete":["inline","list","both","none"],"aria-busy":o4,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":o4,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":o4,"aria-hidden":o4,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":o4,"aria-multiselectable":o4,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":o4,"aria-relevant":null,"aria-required":o4,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},o5="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".
1split(" ").map(e=>"on"+e);for(let e of o5)o6[e]=null;class o7{constructor(e,t){this.tags={...o3,...e},this.globalAttrs={...o6,...t},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function o9(e,t,a=e.length){if(!t)return"";let r=t.firstChild,n=r&&r.getChild("TagName");return n?e.sliceString(n.from,Math.min(n.to,a)):""}function le(e,t=!1){for(;e;e=e.parent)if("Element"==e.name)if(!t)return e;else t=!1;return null}function lt(e,t,a){let r=a.tags[o9(e,le(t))];return(null==r?void 0:r.children)||a.allTags}function la(e,t){let a=[];for(let r=le(t);r&&!r.type.isTop;r=le(r.parent)){let n=o9(e,r);if(n&&"CloseTag"==r.lastChild.name)break;n&&0>a.indexOf(n)&&("EndTag"==t.name||t.from>=r.firstChild.to)&&a.push(n)}return a}o7.default=new o7;let lr=/^[:\-\.\w\u00b7-\uffff]*$/;function ln(e,t,a,r,n){let o=/\s*>/.test(e.sliceDoc(n,n+5))?"":">",l=le(a,"StartTag"==a.name||"TagName"==a.name);return{from:r,to:n,options:lt(e.doc,l,t).map(e=>({label:e,type:"type"})).concat(la(e.doc,a).map((e,t)=>({label:"/"+e,apply:"/"+e+o,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function lo(e,t,a,r){let n=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:a,to:r,options:la(e.doc,t).map((e,t)=>({label:e,apply:e+n,type:"type",boost:99-t})),validFor:lr}}let ll=oq.parser.configure({top:"SingleExpression"}),ls=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:oD.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:oN.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:oV.parser},{tag:"script",attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),parser:ll},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:oq.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:n2.parser}],li=[{name:"style",parser:n2.parser.configure({top:"Styles"})}].concat(o5.map(e=>({name:e,parser:oq.parser}))),lc=tp.define({name:"html",parser:oh.configure({props:[tE.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t=null,a;for(let a=e.node;;){let e=a.lastChild;if(!e||"Element"!=e.name||e.to!=a.to)break;t=a=e}return t&&!((a=t.lastChild)&&("CloseTag"==a.name||"SelfClosingTag"==a.name))?e.lineIndent(t.from)+e.unit:null}}),tZ.add({Element(e){let t=e.firstChild,a=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==a.name?a.from:e.to}:null}}),ac.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),lu=lc.configure({wrap:oy(ls,li)}),ld=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),lp=er.Lz.inputHandler.of((e,t,a,r,n)=>{if(e.composing||e.state.readOnly||t!=a||">"!=r&&"/"!=r||!lu.isActiveAt(e.state,t,-1))return!1;let o=n(),{state:l}=o,s=l.changeByRange(e=>{var t,a,n;let o=l.doc.sliceString(e.from-1,e.to)==r,{head:s}=e,i=tm(l).resolveInner(s,-1),c;if(o&&">"==r&&"EndTag"==i.name){let r=i.parent;if((null==(a=null==(t=r.parent)?void 0:t.lastChild)?void 0:a.name)!="CloseTag"&&(c=o9(l.doc,r.parent,s))&&!ld.has(c)){let t=s+ +(">"===l.doc.sliceString(s,s+1));return{range:e,changes:{from:s,to:t,insert:`</${c}>`}}}}else if(o&&"/"==r&&"IncompleteCloseTag"==i.name){let e=i.parent;if(i.from==s-2&&(null==(n=e.lastChild)?void 0:n.name)!="CloseTag"&&(c=o9(l.doc,e,s))&&!ld.has(c)){let e=s+ +(">"===l.doc.sliceString(s,s+1)),t=`${c}>`;return{range:ea.OF.cursor(s+t.length,-1),changes:{from:s,to:e,insert:t}}}}return{range:e}});return!s.changes.empty&&(e.dispatch([o,l.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),lm=eH({String:to.string,Number:to.number,"True False":to.bool,PropertyName:to.propertyName,Null:to.null,", :":to.separator,"[ ]":to.squareBracket,"{ }":to.brace}),lh=n$.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[lm],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),lf=tp.define({name:"json",parser:lh.configure({props:[tE.add({Object:tL({except:/^\s*\}/}),Array:tL({except:/^\s*\]/})}),tZ.add({"Object Array":tU})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}}),lg=null,lv=null,ly=0;function lb(e,t){var a;let r=e.pos+t;if(lv==e&&ly==r)return lg;for(;9==(a=e.peek(t))||10==a||13==a||32==a;)t++;let n="";for(;;){let a=e.peek(t);if(!(45==a||46==a||58==a||a>=65&&a<=90||95==a||a>=97&&a<=122||a>=161))break;n+=String.fromCharCode(a),t++}return lv=e,ly=r,lg=n||null}function lO(e,t){this.name=e,this.parent=t}let lk=new nC({start:null,shift:(e,t,a,r)=>1==t?new lO(lb(r,1)||"",e):e,reduce:(e,t)=>11==t&&e?e.parent:e,reuse(e,t,a,r){let n=t.type.id;return 1==n||13==n?new lO(lb(r,1)||"",e):e},strict:!1}),lx=new nm((e,t)=>
1{if(60==e.next){if(e.advance(),47==e.next){e.advance();let a=lb(e,0);if(!a)return e.acceptToken(5);if(t.context&&a==t.context.name)return e.acceptToken(2);for(let r=t.context;r;r=r.parent)if(r.name==a)return e.acceptToken(3,-2);e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)}},{contextual:!0});function lw(e,t){return new nm(a=>{let r=0,n=t.charCodeAt(0);e:for(;!(a.next<0);a.advance(),r++)if(a.next==n){for(let e=1;e<t.length;e++)if(a.peek(e)!=t.charCodeAt(e))continue e;break}r&&a.acceptToken(e)})}let lS=lw(36,"--\x3e"),lC=lw(37,"?>"),l$=lw(38,"]]>"),lA=eH({Text:to.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":to.angleBracket,TagName:to.tagName,"MismatchedCloseTag/TagName":[to.tagName,to.invalid],AttributeName:to.attributeName,AttributeValue:to.attributeValue,Is:to.definitionOperator,"EntityReference CharacterReference":to.character,Comment:to.blockComment,ProcessingInst:to.processingInstruction,DoctypeDecl:to.documentMeta,Cdata:to.special(to.string)}),lR=n$.deserialize({version:14,states:",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6z-E6zOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6{-E6{OOOP1G.x1G.xOOOS-E6|-E6|OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'mO!bO,59eOOOO-E6w-E6wO'{OpO1G.uO'{OpO1G.uOOOP1G.u1G.uO(TOpO7+$fOOOP7+$f7+$fO(]O!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(hO#tO'#CnO(vO&jO'#CnOOOO1G.q1G.qO)UOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO)^O#tO,59YOOOO,59Y,59YOOOO'#C{'#C{O)lO&jO,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.tOOOO-E6y-E6y",stateData:")z~OPQOSVOTWOVWOWWOXWOiXOyPO!QTO!SUO~OvZOx]O~O^`Oz^O~OPQOQcOSVOTWOVWOWWOXWOyPO!QTO!SUO~ORdO~P!SOteO!PgO~OuhO!RjO~O^lOz^O~OvZOxoO~O^qOz^O~O[vO`sOdwOz^O~ORyO~P!SO^{Oz^O~OteO!P}O~OuhO!R!PO~O^!QOz^O~O[!SOz^O~O[!VO`sOd!WOz^O~Oa!YOz^O~Oz^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oz^O~O[!_Oz^O~O[!aOz^O~O[!cO`sOd!dOz^O~O[!cO`sOd!dO~Oa!eOz^O~Oz^O{!gO}!hO~Oz^O[ma`madma~O[!kOz^O~O[!lOz^O~O[!mO`sOd!nO~OW!qOX!qO{!sO|!qO~OW!tOX!tO}!sO!O!tO~O[!vOz^O~OW!qOX!qO{!yO|!qO~OW!tOX!tO}!yO!O!tO~O",goto:"%cxPPPPPPPPPPyyP!PP!VPP!`!jP!pyyyP!v!|#S$[$k$q$w$}%TPPPP%ZXWORYbXRORYb_t`qru!T!U!bQ!i!YS!p!e!fR!w!oQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!j!oQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!j!]R!o!eQu`S!UqrU![u!U!bR!b!TQ!r!gR!x!rQ!u!hR!z!uQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:50,context:lk,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["o
1penedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"],["isolate",-6,13,18,19,21,22,24,""]],propSources:[lA
vendor: 4,503 bytes, line 1
1],skippedNodes:[0],repeatNodeCount:9,tokenData:"!)v~R!YOX$qXY)iYZ)iZ]$q]^)i^p$qpq)iqr$qrs*vsv$qvw+fwx/ix}$q}!O0[!O!P$q!P!Q2z!Q![$q![!]4n!]!^$q!^!_8U!_!`!#t!`!a!$l!a!b!%d!b!c$q!c!}4n!}#P$q#P#Q!'W#Q#R$q#R#S4n#S#T$q#T#o4n#o%W$q%W%o4n%o%p$q%p&a4n&a&b$q&b1p4n1p4U$q4U4d4n4d4e$q4e$IS4n$IS$I`$q$I`$Ib4n$Ib$Kh$q$Kh%#t4n%#t&/x$q&/x&Et4n&Et&FV$q&FV;'S4n;'S;:j8O;:j;=`)c<%l?&r$q?&r?Ah4n?Ah?BY$q?BY?Mn4n?MnO$qi$zXVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qa%nVVP!O`Ov%gwx&Tx!^%g!^!_&o!_;'S%g;'S;=`'W<%lO%gP&YTVPOv&Tw!^&T!_;'S&T;'S;=`&i<%lO&TP&lP;=`<%l&T`&tS!O`Ov&ox;'S&o;'S;=`'Q<%lO&o`'TP;=`<%l&oa'ZP;=`<%l%gX'eWVP|WOr'^rs&Tsv'^w!^'^!^!_'}!_;'S'^;'S;=`(i<%lO'^W(ST|WOr'}sv'}w;'S'};'S;=`(c<%lO'}W(fP;=`<%l'}X(lP;=`<%l'^h(vV|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oh)`P;=`<%l(oi)fP;=`<%l$qo)t`VP|W!O`zUOX$qXY)iYZ)iZ]$q]^)i^p$qpq)iqr$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk+PV{YVP!O`Ov%gwx&Tx!^%g!^!_&o!_;'S%g;'S;=`'W<%lO%g~+iast,n![!]-r!c!}-r#R#S-r#T#o-r%W%o-r%p&a-r&b1p-r4U4d-r4e$IS-r$I`$Ib-r$Kh%#t-r&/x&Et-r&FV;'S-r;'S;:j/c?&r?Ah-r?BY?Mn-r~,qQ!Q![,w#l#m-V~,zQ!Q![,w!]!^-Q~-VOX~~-YR!Q![-c!c!i-c#T#Z-c~-fS!Q![-c!]!^-Q!c!i-c#T#Z-c~-ug}!O-r!O!P-r!Q![-r![!]-r!]!^/^!c!}-r#R#S-r#T#o-r$}%O-r%W%o-r%p&a-r&b1p-r1p4U-r4U4d-r4e$IS-r$I`$Ib-r$Je$Jg-r$Kh%#t-r&/x&Et-r&FV;'S-r;'S;:j/c?&r?Ah-r?BY?Mn-r~/cOW~~/fP;=`<%l-rk/rW}bVP|WOr'^rs&Tsv'^w!^'^!^!_'}!_;'S'^;'S;=`(i<%lO'^k0eZVP|W!O`Or$qrs%gsv$qwx'^x}$q}!O1W!O!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk1aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a2S!a;'S$q;'S;=`)c<%lO$qk2_X!PQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qm3TZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a3v!a;'S$q;'S;=`)c<%lO$qm4RXdSVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo4{!P`S^QVP|W!O`Or$qrs%gsv$qwx'^x}$q}!O4n!O!P4n!P!Q$q!Q![4n![!]4n!]!^$q!^!_(o!_!c$q!c!}4n!}#R$q#R#S4n#S#T$q#T#o4n#o$}$q$}%O4n%O%W$q%W%o4n%o%p$q%p&a4n&a&b$q&b1p4n1p4U4n4U4d4n4d4e$q4e$IS4n$IS$I`$q$I`$Ib4n$Ib$Je$q$Je$Jg4n$Jg$Kh$q$Kh%#t4n%#t&/x$q&/x&Et4n&Et&FV$q&FV;'S4n;'S;:j8O;:j;=`)c<%l?&r$q?&r?Ah4n?Ah?BY$q?BY?Mn4n?MnO$qo8RP;=`<%l4ni8]Y|W!O`Oq(oqr8{rs&osv(owx'}x!a(o!a!b!#U!b;'S(o;'S;=`)]<%lO(oi9S_|W!O`Or(ors&osv(owx'}x}(o}!O:R!O!f(o!f!g;e!g!}(o!}#ODh#O#W(o#W#XLp#X;'S(o;'S;=`)]<%lO(oi:YX|W!O`Or(ors&osv(owx'}x}(o}!O:u!O;'S(o;'S;=`)]<%lO(oi;OV!QP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oi;lX|W!O`Or(ors&osv(owx'}x!q(o!q!r<X!r;'S(o;'S;=`)]<%lO(oi<`X|W!O`Or(ors&osv(owx'}x!e(o!e!f<{!f;'S(o;'S;=`)]<%lO(oi=SX|W!O`Or(ors&osv(owx'}x!v(o!v!w=o!w;'S(o;'S;=`)]<%lO(oi=vX|W!O`Or(ors&osv(owx'}x!{(o!{!|>c!|;'S(o;'S;=`)]<%lO(oi>jX|W!O`Or(ors&osv(owx'}x!r(o!r!s?V!s;'S(o;'S;=`)]<%lO(oi?^X|W!O`Or(ors&osv(owx'}x!g(o!g!h?y!h;'S(o;'S;=`)]<%lO(oi@QY|W!O`Or?yrs@psv?yvwA[wxBdx!`?y!`!aCr!a;'S?y;'S;=`Db<%lO?ya@uV!O`Ov@pvxA[x!`@p!`!aAy!a;'S@p;'S;=`B^<%lO@pPA_TO!`A[!`!aAn!a;'SA[;'S;=`As<%lOA[PAsOiPPAvP;=`<%lA[aBQSiP!O`Ov&ox;'S&o;'S;=`'Q<%lO&oaBaP;=`<%l@pXBiX|WOrBdrsA[svBdvwA[w!`Bd!`!aCU!a;'SBd;'S;=`Cl<%lOBdXC]TiP|WOr'}sv'}w;'S'};'S;=`(c<%lO'}XCoP;=`<%lBdiC{ViP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oiDeP;=`<%l?yiDoZ|W!O`Or(ors&osv(owx'}x!e(o!e!fEb!f#V(o#V#WIr#W;'S(o;'S;=`)]<%lO(oiEiX|W!O`Or(ors&osv(owx'}x!f(o!f!gFU!g;'S(o;'S;=`)]<%lO(oiF]X|W!O`Or(ors&osv(owx'}x!c(o!c!dFx!d;'S(o;'S;=`)]<%lO(oiGPX|W!O`Or(ors&osv(owx'}x!v(o!v!wGl!w;'S(o;'S;=`)]<%lO(oiGsX|W!O`Or(ors&osv(owx'}x!c(o!c!dH`!d;'S(o;'S;=`)]<%lO(oiHgX|W!O`Or(ors&osv(owx'}x!}(o!}#OIS#O;'S(o;'S;=`)]<%lO(oiI]V|W!O`yPOr(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oiIyX|W!O`Or(ors&osv(owx'}x#W(o#W#XJf#X;'S(o;'S;=`)]<%lO(oiJmX|W!O`Or(ors&osv(owx'}x#T(o#T#UKY#U;'S(o;'S;=`)]<%lO(oiKaX|W!O`Or(ors&osv(owx'}x#h(o#h#iK|#i;'S(o;'S;=`)]<%lO(oiLTX|W!O`Or(ors&osv(owx'}x#T(o#T#UH`#U;'S(o;'S;=`)]<%lO(oiLwX|W!O`Or(ors&osv(owx'}x#c(o#c#dMd#d;'S(o;'S;=`)]<%lO(oiMkX|W!O`Or(ors&osv(owx'}x#V(o#V#WNW#W;'S(o;'S;=`)]<%lO(oiN_X|W!O`Or(ors&osv(owx'}x#h(o#h#iNz#i;'S(o;'S;=`)]<%lO(oi! RX|W!O`Or(ors&osv(owx'}x#m(o#m#n! n#n;'S(o;'S;=`)]<%lO(oi! uX|W!O`Or(ors&osv(owx'}x#d(o#d#e!!b#e;'S(o;'S;=`)]<%lO(oi!!iX|W!O`Or(ors&osv(owx'}x#X(o#X#Y?y#Y;'S(o;'S;=`)]<%lO(oi!#_V!SP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(ok!$PXaQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo!$wX[UVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!%mZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!&`!a;'S$q;'S;=`)c<%lO$qk!&kX!RQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!'aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_#P$q#P#Q!(S#Q;'S$q;'S;=`)c<%lO$qk!(]ZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!)O!a;'S$q;'S;=`)c<%lO$qk!)ZXxQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$q",tokenizers:[
1lx,lS,lC,l$,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0});function lE(e,t){let a=t&&t.getChild("TagName");return a?e.sliceString(a.from,a.to):""}function lP(e,t){let a=t&&t.firstChild;return a&&"OpenTag"==a.name?lE(e,a):""}function lT(e){for(let t=e&&e.parent;t;t=t.parent)if("Element"==t.name)return t;return null}class l_{constructor(e,t,a){this.attrs=t,this.attrValues=a,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(e=>({label:e,type:"text"})):[]}}let lj=/^[:\-\.\w\u00b7-\uffff]*$/;function lQ(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function lL(e){return"string"==typeof e?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}let lM=tp.define({name:"xml",parser:lR.configure({props:[tE.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit}),tZ.add({Element(e){let t=e.firstChild,a=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==a.name?a.from:e.to}:null}}),ac.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/$/}});function lZ(e,t,a=e.length){if(!t)return"";let r=t.firstChild,n=r&&r.getChild("TagName");return n?e.sliceString(n.from,Math.min(n.to,a)):""}let lU=er.Lz.inputHandler.of((e,t,a,r,n)=>{if(e.composing||e.state.readOnly||t!=a||">"!=r&&"/"!=r||!lM.isActiveAt(e.state,t,-1))return!1;let o=n(),{state:l}=o,s=l.changeByRange(e=>{var t,a,n;let{head:o}=e,s=l.doc.sliceString(o-1,o)==r,i=tm(l).resolveInner(o,-1),c;if(s&&">"==r&&"EndTag"==i.name){let r=i.parent;if((null==(a=null==(t=r.parent)?void 0:t.lastChild)?void 0:a.name)!="CloseTag"&&(c=lZ(l.doc,r.parent,o))){let t=o+ +(">"===l.doc.sliceString(o,o+1));return{range:e,changes:{from:o,to:t,insert:`</${c}>`}}}}else if(s&&"/"==r&&"StartCloseTag"==i.name){let e=i.parent;if(i.from==o-2&&(null==(n=e.lastChild)?void 0:n.name)!="CloseTag"&&(c=lZ(l.doc,e,o))){let e=o+ +(">"===l.doc.sliceString(o,o+1)),t=`${c}>`;return{range:ea.OF.cursor(o+t.length,-1),changes:{from:o,to:e,insert:t}}}}return{range:e}});return!s.changes.empty&&(e.dispatch([o,l.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});class lX{constructor(e,t,a){this.parent=e,this.depth=t,this.type=a,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+a}}function lI(e,t){for(let a=0,r=t-e.pos-1;;r--,a++){let t=e.peek(r);if(lq(t)||-1==t)return a}}function lB(e){return 32==e||9==e}function lq(e){return 10==e||13==e}function lW(e){var t;return e<0||lB(t=e)||lq(t)}lX.top=new lX(null,-1,0);let lD=new nC({start:lX.top,reduce:(e,t)=>3==e.type&&(20==t||34==t)?e.parent:e,shift(e,t,a,r){if(3==t)return new lX(e,lI(r,r.pos),1);if(65==t||5==t)return new lX(e,lI(r,r.pos),2);if(63==t)return e.parent;if(19==t||33==t)return new lX(e,0,3);if(13==t&&4==e.type)return e.parent;if(47==t){let t=/[1-9]/.exec(r.read(r.pos,a.pos));if(t)return new lX(e,e.depth+ +t[0],4)}return e},hash:e=>e.hash});function lN(e,t,a=0){return e.peek(a)==t&&e.peek(a+1)==t&&e.peek(a+2)==t&&lW(e.peek(a+3))}let lV=new nm((e,t)=>{if(-1==e.next&&t.canShift(64))return e.acceptToken(64);let a=e.peek(-1);if((lq(a)||a<0)&&3!=t.context.type){if(lN(e,45))if(!t.canShift(63))return e.acceptToken(1,3);else e.acceptToken(63);if(lN(e,46))if(!t.canShift(63))return e.acceptToken(2,3);else e.acceptToken(63);let a=0;for(;32==e.next;)a++,e.advance();!(a<t.context.depth)&&(a!=t.context.depth||1!=t.context.type||45==e.next&&lW(e.peek(1)))||-1==e.next||lq(e.next)||35==e.next||e.acceptToken(63,-a)}},{contextual:!0}),lF=new nm((e,t)=>{if(3==t.context.type){63==e.next&&(e.advance(),lW(e.next)&&e.acceptToken(7));return}if(45==e.next)e.advance(),lW(e.next)&&e.acceptToken(1==t.context.type&&t.context.depth==lI(e,e.pos-1)?4:3);else if(63==e.next)e.advance(),lW(e.next)&&e.acceptToken(2==t.context.type&&t.context.depth==lI(e,e.pos-1)?6:5);else{let a=e.pos;for(;;)if(lB(e.next)){if(e.pos==a)return;e.advance()}else if(33==e.next)lY(e);else if(38==e.next)lG(e);else if(42==e.next){lG(e);break}else if(39==e.next||34==e.next){if(lK(e,!0))break;return}else if(91==e.next||123==e.next){if(!function(e){for(let t=[],a=e.pos+1024;;)if(91==e.next||123==e.next)t.push(e.next),e.advance();else if(39==e.next||34==e.next){if(!lK(e,!0))return!1}else if(93==e.next||125==e.next){if(t[t.length-1]!=e.next-2)return!1;if(t.pop(),e.advance(),!t.length)return!0}else{if(e.next<0||e.pos>a||lq(e.next))return!1;e.advance()}}(e))return;break}else{l1(e,!0,!1,0);break}for(;lB(e.next);)e.advance();if(58==e.next){if(e.pos==a&&t.canShift(29))return;lW(e.peek(1))&&e.acceptTokenTo(2==t.context.type&&t.context.depth==lI(e,a)?66:65,a)}}},{contextual:!0});function lz(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function lH(e,t){var a;return 37==e.next?(e.advance(),lz(e.next)&&e.advance(),lz(e.next)&&e.advance(),!0):(!!((a=e.next)>32)&&!!(a<127)&&34!=a&&37!=a&&44!=a&&60!=a&&62!=a&&92!=a&&94!=a&&96!=a&&123!=a&&124!=a&&125!=a||!!t&&44==e.next)&&(e.advance(),!0)}function lY(e){if(e.advance(),60==e.next){for(e.advance();;)if(!lH(e,!0)){62==e.next&&e.advance();break}}else for(;lH(e,!1););}function lG(e){for(e.advance();!lW(e.next)&&"f"!=lJ(e.next);)e.advance()}function lK(e,t){let a=e.next,r=!1,n=e.pos;for(e.advance();;){let o=e.next;if(o<0)break;if(e.advance(),o==a)if(39==o)if(39==e.next)e.advance();else break;else break;else if(92==o&&34==a)e.next>=0&&e.advance();else if(lq(o)){if(t)return!1;r=!0}else if(t&&e.pos>=n+1024)return!1}return!r}function lJ(e){return e<33?"u":e>125?"s":"iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif"[e-33]}function l0(e,t){let a=lJ(e);return"u"!=a&&!(t&&"f"==a)}function l1(e,t,a,r){if(!("s"==lJ(e.next)||(63==e.next||58==e.next||45==e.next)&&l0(e.peek(1),a)))return!1;e.advance();let n=e.pos;for(;;){var o;let l=e.next,s=0,i=r+1;for(;lB(o=l)||lq(o);){if(lq(l)){if(t)return!1;i=0}else i++;l=e.peek(++s)}if(!(l>
1=0&&(58==l?l0(e.peek(s+1),a):35==l?32!=e.peek(s-1):l0(l,a)))||!a&&i<=r||0==i&&!a&&(lN(e,45,s)||lN(e,46,s)))break;if(t&&"f"==lJ(l))return!1;for(let t=s;t>=0;t--)e.advance();if(t&&e.pos>n+1024)return!1}return!0}let l2=new nm((e,t)=>{if(33==e.next)lY(e),e.acceptToken(12);else if(38==e.next||42==e.next){let t=38==e.next?10:11;lG(e),e.acceptToken(t)}else 39==e.next||34==e.next?(lK(e,!1),e.acceptToken(9)):l1(e,!1,3==t.context.type,t.context.depth)&&e.acceptToken(8)}),l4=new nm((e,t)=>{let a=4==t.context.type?t.context.depth:-1,r=e.pos;e:for(;;){let n=0,o=e.next;for(;32==o;)o=e.peek(++n);if(!n&&(lN(e,45,n)||lN(e,46,n))||!lq(o)&&(a<0&&(a=Math.max(t.context.depth+1,n)),n<a))break;for(;;){if(e.next<0)break e;let t=lq(e.next);if(e.advance(),t)continue e;r=e.pos}}e.acceptTokenTo(13,r)}),l8=eH({DirectiveName:to.keyword,DirectiveContent:to.attributeValue,"DirectiveEnd DocEnd":to.meta,QuotedLiteral:to.string,BlockLiteralHeader:to.special(to.string),BlockLiteralContent:to.content,Literal:to.content,"Key/Literal Key/QuotedLiteral":to.definition(to.propertyName),"Anchor Alias":to.labelName,Tag:to.typeName,Comment:to.lineComment,": , -":to.separator,"?":to.punctuation,"[ ]":to.squareBracket,"{ }":to.brace}),l3=n$.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-sQgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|QfO'#DWO.hQcO'#DWOOQR,59v,59vO.yOWO,59vO/OOaO,59vO/WOaO,59vO/cQgO'#D_OOQR,59x,59xO0VQgO'#DaOOQR,59z,59zOOQP,59|,59|O0yOaO,59|O1ROaO,59|O1aOqO,59|OOQP-E7h-E7hO1oQgO,59XOOQP,59X,59XO2PQaO'#DeO2_QgO'#DeO2oQgO'#DkOOQP'#Dk'#DkQ)jQaOOO3PQdO'#CsOOQO,59^,59^O3kQdO'#CuOOQO,59`,59`OOQO,59c,59cO4VQdO,59cO4aQdO'#CzO4kQ`O'#CzOOQO,59b,59bOOQU,5:Q,5:QOOQR1G.v1G.vO4pQ`O1G.vOOQU-E7d-E7dO4xQdO,59kOOQO,59k,59kO5SQdO'#DQO5^Q`O'#DQOOQO,5:d,5:dOOQU,5:R,5:ROOQR1G/U1G/UO5cQ`O1G/UOOQU-E7e-E7eO5kQgO'#DhO5xQcO1G/XOOQR1G/X1G/XOOQR,59q,59qO6TQgO,59qO6eQdO'#DiO6lQgO'#DiO7PQcO1G/[OOQR1G/[1G/[OOQR,59r,59rO#|QfO,59rOOQR1G/b1G/bO7_OWO1G/bO7dOaO1G/bOOQR,59y,59yOOQR,59{,59{OOQP1G/h1G/hO7lOaO1G/hO7tOaO1G/hO8POaO1G/hOOQP1G.s1G.sO8_QgO,5:POOQP,5:P,5:POOQP,5:V,5:VOOQP-E7i-E7iOOQO,59_,59_OOQO,59a,59aOOQO1G.}1G.}OOQO,59f,59fO8oQdO,59fOOQR7+$b7+$bP,XQ`O'#DfOOQO1G/V1G/VOOQO,59l,59lO8yQdO,59lOOQR7+$p7+$pP9TQ`O'#DgOOQR'#DT'#DTOOQR,5:S,5:SOOQR-E7f-E7fOOQR7+$s7+$sOOQR1G/]1G/]O9YQgO'#DYO9jQ`O'#DYOOQR,5:T,5:TO#|QfO'#DZO9oQcO'#DZOOQR-E7g-E7gOOQR7+$v7+$vOOQR1G/^1G/^OOQR7+$|7+$|O:QOWO7+$|OOQP7+%S7+%SO:VOaO7+%SO:_OaO7+%SOOQP1G/k1G/kOOQO1G/Q1G/QOOQO1G/W1G/WOOQR,59t,59tO:jQgO,59tOOQR,59u,59uO#|QfO,59uOOQR<<Hh<<HhOOQP<<Hn<<HnO:zOaO<<HnOOQR1G/`1G/`OOQR1G/a1G/aOOQPAN>YAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}
1P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:lD,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[l8],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[lV,lF,l2,l4,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),l6=tp.define({name:"yaml",parser:l3.configure({props:[tE.add({Stream:e=>{for(let t=e.node.resolve(e.pos,-1);t&&t.to>=e.pos;t=t.parent){if("BlockLiteralContent"==t.name&&t.from<t.to)return e.baseIndentFor(t);if("BlockLiteral"==t.name)return e.baseIndentFor(t)+e.unit;if("BlockSequence"==t.name||"BlockMapping"==t.name)return e.column(t.firstChild.from,1);if("QuotedLiteral"==t.name)break;if("Literal"==t.name){let a=e.column(t.from,1);if(a==e.lineIndent(t.from,1))return a;if(t.to>e.pos)break}}return null},FlowMapping:tj({closing:"}"}),FlowSequence:tj({closing:"]"})}),tZ.add({"FlowMapping FlowSequence":tU,"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function l5(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,a=arguments[1];if(a&&"object"==typeof a&&null==a.nodeType&&!Array.isArray(a)){for(var r in a)if(Object.prototype.hasOwnProperty.call(a,r)){var n=a[r];"string"==typeof n?e.setAttribute(r,n):null!=n&&(e[r]=n)}t++}for(;t<arguments.length;t++)!function e(t,a){if("string"==typeof a)t.appendChild(document.createTextNode(a));else if(null==a);else if(null!=a.nodeType)t.appendChild(a);else if(Array.isArray(a))for(var r=0;r<a.length;r++)e(t,a[r]);else throw RangeError("Unsupported child node: "+a)}(e,arguments[t]);return e}to.meta;class l7{constructor(e,t,a){this.from=e,this.to=t,this.diagnostic=a}}class l9{constructor(e,t,a){this.diagnostics=e,this.panel=t,this.selected=a}static init(e,t,a){let r=a.facet(su).markerFilter;r&&(e=r(e,a));let n=e.slice().sort((e,t)=>
1e.from-t.from||e.to-t.to),o=new ea.vB,l=[],s=0,i=a.doc.iter(),c=0,u=a.doc.length;for(let e=0;;){let t,a,r=e==n.length?null:n[e];if(!r&&!l.length)break;if(l.length)t=s,a=l.reduce((e,t)=>Math.min(e,t.to),r&&r.from>t?r.from:1e8);else{if((t=r.from)>u)break;a=r.to,l.push(r),e++}for(;e<n.length;){let r=n[e];if(r.from==t&&(r.to>r.from||r.to==t))l.push(r),e++,a=Math.min(r.to,a);else{a=Math.min(r.from,a);break}}a=Math.min(a,u);let d=!1;if(l.some(e=>e.from==t&&(e.to==a||a==u))&&!(d=t==a)&&a-t<10){let e=t-(c+i.value.length);e>0&&(i.next(e),c=t);for(let e=t;;){if(e>=a){d=!0;break}if(!i.lineBreak&&c+i.value.length>e)break;e=c+i.value.length,c+=i.value.length,i.next()}}let p=sb(l);if(d)o.add(t,t,er.NZ.widget({widget:new sh(p),diagnostics:l.slice()}));else{let e=l.reduce((e,t)=>t.markClass?e+" "+t.markClass:e,"");o.add(t,a,er.NZ.mark({class:"cm-lintRange cm-lintRange-"+p+e,diagnostics:l.slice(),inclusiveEnd:l.some(e=>e.to>a)}))}if((s=a)==u)break;for(let e=0;e<l.length;e++)l[e].to<=s&&l.splice(e--,1)}let d=o.finish();return new l9(d,t,se(d))}}function se(e,t=null,a=0){let r=null;return e.between(a,1e9,(e,a,{spec:n})=>{if(!(t&&0>n.diagnostics.indexOf(t)))if(r){if(0>n.diagnostics.indexOf(r.diagnostic))return!1;r=new l7(r.from,a,r.diagnostic)}else r=new l7(e,a,t||n.diagnostics[0])}),r}function st(e,t){let a=t.pos,r=t.end||a,n=e.state.facet(su).hideOn(e,a,r);if(null!=n)return n;let o=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(e=>e.is(sa))||e.changes.touchesRange(o.from,Math.max(o.to,r)))}let sa=ea.Pe.define(),sr=ea.Pe.define(),sn=ea.Pe.define(),so=ea.sU.define({create:()=>new l9(er.NZ.none,null,null),update(e,t){if(t.docChanged&&e.diagnostics.size){let a=e.diagnostics.map(t.changes),r=null,n=e.panel;if(e.selected){let n=t.changes.mapPos(e.selected.from,1);r=se(a,e.selected.diagnostic,n)||se(a,null,n)}!a.size&&n&&t.state.facet(su).autoPanel&&(n=null),e=new l9(a,n,r)}for(let a of t.effects)if(a.is(sa)){let r=t.state.facet(su).autoPanel?a.value.length?sg.open:null:e.panel;e=l9.init(a.value,r,t.state)}else a.is(sr)?e=new l9(e.diagnostics,a.value?sg.open:null,e.selected):a.is(sn)&&(e=new l9(e.diagnostics,e.panel,a.value));return e},provide:e=>[er.S7.from(e,e=>e.panel),er.Lz.decorations.from(e,e=>e.diagnostics)]}),sl=er.NZ.mark({class:"cm-lintRange cm-lintRange-active"});function ss(e,t){return l5("ul",{class:"cm-tooltip-lint"},t.map(t=>sm(e,t,!1)))}let si=e=>{let t=e.state.field(so,!1);
1return!!t&&!!t.panel&&(e.dispatch({effects:sr.of(!1)}),!0)},sc=er.Z9.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(su);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){clearTimeout(this.timeout);let e=Date.now();if(e<this.lintTime-10)this.timeout=setTimeout(this.run,this.lintTime-e);else{this.set=!1;let{state:e}=this.view,{sources:t}=e.facet(su);t.length&&function(e,t,a){let r=[],n=-1;for(let o of e)o.then(a=>{r.push(a),clearTimeout(n),r.length==e.length?t(r):n=setTimeout(()=>t(r),200)},a)}(t.map(e=>Promise.resolve(e(this.view))),t=>{var a,r,n,o;this.view.state.doc==e.doc&&this.view.dispatch((a=this.view.state,r=t.reduce((e,t)=>e.concat(t)),{effects:(n=a,o=[sa.of(r)],n.field(so,!1)?o:o.concat(ea.Pe.appendConfig.of(sw)))}))},e=>{(0,er.c_)(this.view.state,e)})}}update(e){let t=e.state.facet(su);(e.docChanged||t!=e.startState.facet(su)||t.needsRefresh&&t.needsRefresh(e))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),su=ea.sj.define({combine:e=>({sources:e.map(e=>e.source).filter(e=>null!=e),...(0,ea.QR)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:sd,tooltipFilter:sd,needsRefresh:(e,t)=>e?t?a=>e(a)||t(a):e:t,hideOn:(e,t)=>e?t?(a,r,n)=>e(a,r,n)||t(a,r,n):e:t,autoPanel:(e,t)=>e||t})})});function sd(e,t){return e?t?(a,r)=>t(e(a,r),r):e:t}function sp(e){let t=[];if(e)a:for(let{name:a}of e){for(let e=0;e<a.length;e++){let r=a[e];if(/[a-zA-Z]/.test(r)&&!t.some(e=>e.toLowerCase()==r.toLowerCase())){t.push(r);continue a}}t.push("")}return t}function sm(e,t,a){var r;let n=a?sp(t.actions):[];return l5("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},l5("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null==(r=t.actions)?void 0:r.map((a,r)=>{let o=!1,l=r=>{if(r.preventDefault(),o)return;o=!0;let n=se(e.state.field(so).diagnostics,t);n&&a.apply(e,n.from,n.to)},{name:s}=a,i=n[r]?s.indexOf(n[r]):-1,c=i<0?s:[s.slice(0,i),l5("u",s.slice(i,i+1)),s.slice(i+1)];return l5("button",{type:"button",class:"cm-diagnosticAction"+(a.markClass?" "+a.markClass:""),onclick:l,onmousedown:l,"aria-label":` Action: ${s}${i<0?"":` (access key "${n[r]})"`}.`},c)}),t.source&&l5("div",{class:"cm-diagnosticSource"},t.source))}class sh extends er.xO{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return l5("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class sf{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(0xffffffff*Math.random()).toString(16),this.dom=sm(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class sg{constructor(e){this.view=e,this.items=[];let t=t=>{if(!t.ctrlKey&&!t.altKey&&!t.metaKey){if(27==t.keyCode)si(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65)||!(t.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:a}=this.items[this.selectedIndex],r=sp(a.actions);for(let n=0;n<r.length;n++)if(r[n].toUpperCase().charCodeAt(0)==t.keyCode){let t=se(this.view.state.field(so).diagnostics,a);t&&a.actions[n].apply(e,t.from,t.to)}}t.preventDefault()}},a=e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)};this.list=l5("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t,onclick:a}),this.dom=l5("div",{class:"cm-panel-lint"},this.list,l5("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>si(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(so).selected;if(!e)return -1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return -1}update(){let{diagnostics:e,selected:t}=this.view.state.field(so),a=0,r=!1,n=null,o=new Set;for(e.between(0,this.view.state.doc.length,(e,l,{spec:s}
1)=>{for(let e of s.diagnostics){if(o.has(e))continue;o.add(e);let l=-1,s;for(let t=a;t<this.items.length;t++)if(this.items[t].diagnostic==e){l=t;break}l<0?(s=new sf(this.view,e),this.items.splice(a,0,s),r=!0):(s=this.items[l],l>a&&(this.items.splice(a,l-a),r=!0)),t&&s.diagnostic==t.diagnostic?s.dom.hasAttribute("aria-selected")||(s.dom.setAttribute("aria-selected","true"),n=s):s.dom.hasAttribute("aria-selected")&&s.dom.removeAttribute("aria-selected"),a++}});a<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)r=!0,this.items.pop();0==this.items.length&&(this.items.push(new sf(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),r=!0),n?(this.list.setAttribute("aria-activedescendant",n.id),this.view.requestMeasure({key:this,read:()=>({sel:n.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let a=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/a:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/a)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let a of this.items)if(a.dom.parentNode==this.list){for(;e!=a.dom;)t();e=a.dom.nextSibling}else this.list.insertBefore(a.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=se(this.view.state.field(so).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:sn.of(t)})}static open(e){return new sg(e)}}function sv(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}let sy=er.Lz.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:sv("#f11")},".cm-lintRange-warning":{backgroundImage:sv("orange")},".cm-lintRange-info":{backgroundImage:sv("#999")},".cm-lintRange-hint":{backgroundImage:sv("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}},"&dark .cm-lintRange-active":{backgroundColor:"#86714a80"},"&dark .cm-panel.cm-panel-lint ul":{"& [aria-selected]":{backgroundColor:"#2e343e"}}});function sb(e){let t="hint",a=1;for(let n of e){var r;let e="error"==(r=n.severity)?4:"warning"==r?3:"info"==r?2:1;e>a&&(a=e,t=n.severity)}return t}er.wJ;let sO=ea.Pe.define(),sk=ea.sU.define({create:()=>null,update:(e,t)=>
1(e&&t.docChanged&&(e=st(t,e)?null:{...e,pos:t.changes.mapPos(e.pos)}),t.effects.reduce((e,t)=>t.is(sO)?t.value:e,e)),provide:e=>er.DK.from(e)}),sx=(0,er.Ux)(function(e,t,a){let{diagnostics:r}=e.state.field(so),n,o=-1,l=-1;r.between(t-(a<0),t+ +(a>0),(e,r,{spec:s})=>{if(t>=e&&t<=r&&(e==r||(t>e||a>0)&&(t<r||a<0)))return n=s.diagnostics,o=e,l=r,!1});let s=e.state.facet(su).tooltipFilter;return(n&&s&&(n=s(n,e.state)),n)?{pos:o,end:l,above:!0,create:()=>({dom:ss(e,n)})}:null},{hideOn:st}),sw=[so,er.Lz.decorations.compute([so],e=>{let{selected:t,panel:a}=e.field(so);return t&&a&&t.from!=t.to?er.NZ.set([sl.range(t.from,t.to)]):er.NZ.none}),sx,sy],sS=ea.sj.define({combine:e=>(0,ea.QR)(e,{hoverTime:300,markerFilter:null,tooltipFilter:null})}),sC=(({theme:e,settings:t={},styles:a=[]})=>{let r={".cm-gutters":{}},n={};t.background&&(n.backgroundColor=t.background),t.backgroundImage&&(n.backgroundImage=t.backgroundImage),t.foreground&&(n.color=t.foreground),t.fontSize&&(n.fontSize=t.fontSize),(t.background||t.foreground)&&(r["&"]=n),t.fontFamily&&(r["&.cm-editor .cm-scroller"]={fontFamily:t.fontFamily}),t.gutterBackground&&r[".cm-gutters"]&&(r[".cm-gutters"].backgroundColor=t.gutterBackground),t.gutterForeground&&r[".cm-gutters"]&&(r[".cm-gutters"].color=t.gutterForeground),t.gutterBorder&&r[".cm-gutters"]&&(r[".cm-gutters"].borderRightColor=t.gutterBorder),t.caret&&(r[".cm-content"]={caretColor:t.caret},r[".cm-cursor, .cm-dropCursor"]={borderLeftColor:t.caret});let o={};return t.gutterActiveForeground&&(o.color=t.gutterActiveForeground),t.lineHighlight&&(r[".cm-activeLine"]={backgroundColor:t.lineHighlight},o.backgroundColor=t.lineHighlight),r[".cm-activeLineGutter"]=o,t.selection&&(r["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={background:t.selection+" !important"}),t.selectionMatch&&(r["& .cm-selectionMatch"]={backgroundColor:t.selectionMatch}),[er.Lz.theme(r,{dark:"dark"===e}),t6(t2.define(a))]})({theme:"light",settings:{background:"var(--scalar-background-2)",foreground:"var(--scalar-color-1)",caret:"var(--scalar-color-1)",selectionMatch:"#e3dcce",gutterBackground:"var(--scalar-background-2)",gutterForeground:"var(--scalar-color-3)",gutterBorder:"transparent",lineHighlight:"var(--scalar-background-3)",fontFamily:"var(--scalar-font-code)"},styles:[{tag:[to.standard(to.tagName),to.tagName],color:"var(--scalar-color-purple)"},{tag:[to.comment],color:"var(--scalar-color-3)"},{tag:[to.className],color:"var(--scalar-color-orange)"},{tag:[to.variableName,to.propertyName,to.attributeName],color:"var(--scalar-color-1)"},{tag:[to.operator],color:"var(--scalar-color-2)"},{tag:[to.keyword,to.typeName,to.typeOperator],color:"var(--scalar-color-green)"},{tag:[to.string],color:"var(--scalar-color-blue)"},{tag:[to.bracket,to.regexp,to.meta],color:"var(--scalar-color-3)"},{tag:[to.number],color:"var(--scalar-color-orange)"},{tag:[to.name,to.quote],color:"var(--scalar-color-3)"},{tag:[to.heading],color:"var(--scalar-color-3)",fontWeight:"bold"},{tag:[to.emphasis],color:"var(--scalar-color-3)",fontStyle:"italic"},{tag:[to.deleted],color:"var(--scalar-color-3)",backgroundColor:"transparent"},{tag:[to.atom,to.bool,to.special(to.variableName)],color:"var(--scalar-color-3)"},{tag:[to.url,to.escape,to.regexp,to.link],color:"var(--scalar-color-1)"},{tag:to.link,textDecoration:"underline"},{tag:to.strikethrough,textDecoration:"line-through"},{tag:to.invalid,color:"var(--scalar-color-3)"}]}),s$=new er.dT({regexp:/(\{[^}]+\})/g,decoration:()=>er.NZ.mark({attributes:{class:"api-client-url-variable"}})}),sA='<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m18 10-6 6-6-6" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/></svg>',sR='<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/></svg>';er.Lz.EDIT_CONTEXT=!1;let sE=e=>"provider"in e&&!!(0,x.BA)(e.provider),sP={key:"Mod-a",run:e=>(e.dispatch({selection:{anchor:0,head:e.state.doc.length},scrollIntoView:!1}),!0)},sT=e=>{let t=(0,x.KR)(null),a=(e="")=>{t.value&&t.value.state.doc.toString()!==e&&t.value.dispatch({changes:{from:0,to:t.value.state.doc.length,insert:e},selection:{anchor:Math.min(t.value.state.selection.main.anchor,e.length)}})},r=(0,O.EW)(()=>({onChange:e.onChange,onBlur:e.onBlur,onFocus:e.onFocus,disableTabIndent:(0,x.BA)(e.disableTabIndent),language:(0,x.BA)(e.language),classes:(0,x.BA)(e.classes),readOnly:(0,x.BA)(e.readOnly),lineNumbers:(0,x.BA)(e.lineNumbers),withVariables:(0,x.BA)(e.withVariables),forceFoldGutter:(0,x.BA)(e.forceFoldGutter),disableEnter:(0,x.BA)(e.disableEnter),disableCloseBrackets:(0,x.BA)(e.disableCloseBrackets),withoutTheme:(0,x.BA)(e.withoutTheme),lint:(0,x.BA)(e.lint),additionalExtensions:(0,x.BA)(e.extensions),placeholder:(0,x.BA)(e.placeholder)}));function n(){if(e.codeMirrorRef.value){let n=sE(e)?(0,x.BA)(e.provider):null,o=sj({...r.value,provider:n});t.value=new er.Lz({parent:e.codeMirrorRef.value,extensions:o}),sE(e)||a((0,x.BA)(e.content))}}return(0,O.wB)(e.codeMirrorRef,()=>{t.value?.destroy(),n()},{immediate:!0}),(0,O.xo)(()=>t.value?.destroy()),(0,O.wB)(()=>sE(e)?(0,x.BA)(e.provider):null,()=>{sE(e)&&(t.value?.destroy(),n())}),(0,O.wB)(r,()=>{if(!t.value)return;let a=sE(e)?(0,x.BA)(e.provider):null,n=sj({...r.value,provider:a});requestAnimationFrame(()=>
1{t.value?.dispatch({effects:ea.Pe.reconfigure.of(n)})})},{immediate:!0}),(0,O.wB)(()=>(0,x.BA)(e.content),()=>{sE(e)||a((0,x.BA)(e.content))},{immediate:!0}),{setCodeMirrorContent:a,codeMirror:t}},s_={html:function(e={}){let t="",a;return!1===e.matchClosingTags&&(t="noMatch"),!0===e.selfClosingTags&&(t=(t?t+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(a=oy((e.nestedLanguages||[]).concat(ls),(e.nestedAttributes||[]).concat(li))),new tw(a?lc.configure({wrap:a,dialect:t}):t?lu.configure({dialect:t}):lu,[lu.data.of({autocomplete:function(e){let{extraTags:t,extraGlobalAttributes:a}=e,r=a||t?new o7(t,a):o7.default;return e=>(function(e,t){let{state:a,pos:r}=t,n=tm(a).resolveInner(r,-1),o=n.resolve(r);for(let e=r,t;o==n&&(t=n.childBefore(e));){let a=t.lastChild;if(!a||!a.type.isError||a.from<a.to)break;o=n=t,e=a.from}if("TagName"==n.name)return n.parent&&/CloseTag$/.test(n.parent.name)?lo(a,n,n.from,r):ln(a,e,n,n.from,r);if("StartTag"==n.name||"IncompleteTag"==n.name)return ln(a,e,n,r,r);if("StartCloseTag"==n.name||"IncompleteCloseTag"==n.name)return lo(a,n,r,r);if("OpenTag"==n.name||"SelfClosingTag"==n.name||"AttributeName"==n.name){var l,s;let t,o,i;return l=n,s="AttributeName"==n.name?n.from:r,i=(o=(t=le(l))?e.tags[o9(a.doc,t)]:null)&&o.attrs?Object.keys(o.attrs):[],{from:s,to:r,options:(o&&!1===o.globalAttrs?i:i.length?i.concat(e.globalAttrNames):e.globalAttrNames).map(e=>({label:e,type:"property"})),validFor:lr}}{if("Is"==n.name||"AttributeValue"==n.name||"UnquotedAttributeValue"==n.name)return function(e,t,a,r,n){var o;let l=null==(o=a.parent)?void 0:o.getChild("AttributeName"),s=[],i;if(l){let o=e.sliceDoc(l.from,l.to),c=t.globalAttrs[o];if(!c){let r=le(a),n=r?t.tags[o9(e.doc,r)]:null;c=(null==n?void 0:n.attrs)&&n.attrs[o]}if(c){let t=e.sliceDoc(r,n).toLowerCase(),a='"',o='"';for(let l of(/^['"]/.test(t)?(i='"'==t[0]?/^[^"]*$/:/^[^']*$/,a="",o=e.sliceDoc(n,n+1)==t[0]?"":t[0],t=t.slice(1),r++):i=/^[^\s<>='"]*$/,c))s.push({label:l,apply:a+l+o,type:"constant"})}}return{from:r,to:n,options:s,validFor:i}}(a,e,n,"Is"==n.name?r:n.from,r);if(!t.explicit||"Element"!=o.name&&"Text"!=o.name&&"Document"!=o.name)return null;var i=n;let l=[],s=0;for(let t of lt(a.doc,i,e))l.push({label:"<"+t,type:"type"});for(let e of la(a.doc,i))l.push({label:"</"+e+">",type:"type",boost:99-s++});return{from:r,to:r,options:l,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}})(r,e)}(e)}),!1!==e.autoCloseTags?lp:[],function(e={}){var t;let a=e.jsx?e.typescript?oV:oN:e.typescript?oD:oq,r=e.typescript?oj.concat(oH):o_.concat(oz);return new tw(a,[oq.data.of({autocomplete:(t=aU(r),e=>{for(let t=tm(e.state).resolveInner(e.pos,-1);t;t=t.parent){if(oI.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return t(e)})}),oq.data.of({autocomplete:oB}),e.jsx?oK:[]])}().support,n4().support])},json:function(){return new tw(lf)},yaml:function(){return new tw(l6)},css:n4,xml:function(e={}){let t=[lM.data.of({autocomplete:function(e,t){let a=[],r=[],n=Object.create(null);for(let e of t){let t=lQ(e);a.push(t),e.global&&r.push(t),e.values&&(n[e.name]=e.values.map(lL))}let o=[],l=[],s=Object.create(null);for(let t of e){let e=r,i=n;t.attributes&&(e=e.concat(t.attributes.map(e=>"string"==typeof e?a.find(t=>t.label==e)||{label:e,type:"property"}:(e.values&&(i==n&&(i=Object.create(i)),i[e.name]=e.values.map(lL)),lQ(e)))));let c=new l_(t,e,i);s[c.name]=c,o.push(c),t.top&&l.push(c)}l.length||(l=o);for(let t=0;t<o.length;t++){let a=e[t],r=o[t];if(a.children)for(let e of a.children)s[e]&&r.children.push(s[e]);else r.children=o}return e=>{var t;let{doc:a}=e.state,i=function(e,t){var a;let r=tm(e).resolveInner(t,-1),n=null;for(let e=r;!n&&e.parent;e=e.parent)("OpenTag"==e.name||"CloseTag"==e.name||"SelfClosingTag"==e.name||"MismatchedCloseTag"==e.name)&&(n=e);if(n&&(n.to>t||n.lastChild.type.isError)){let e=n.parent;if("TagName"==r.name)return"CloseTag"==n.name||"MismatchedCloseTag"==n.name?{type:"closeTag",from:r.from,context:e}:{type:"openTag",from:r.from,context:lT(e)};if("AttributeName"==r.name)return{type:"attrName",from:r.from,context:n};if("AttributeValue"==r.name)return{type:"attrValue",from:r.from,context:n};let a=r==n||"Attribute"==r.name?r.childBefore(t):r;return(null==a?void 0:a.name)=="StartTag"?{type:"openTag",from:t,context:lT(e)}:(null==a?void 0:a.name)=="StartCloseTag"&&a.to<=t?{type:"closeTag",from:t,context:e}:(null==a?void 0:a.name)=="Is"?{type:"attrValue",from:t,context:n}:a?{type:"attrName",from:t,context:n}:null}if("StartCloseTag"==r.name)return{type:"closeTag",from:t,context:r.parent};for(;r.parent&&r.to==t&&!(null==(a=r.lastChild)?void 0:a.type.isError);)r=r.parent;return"Element"==r.name||"Text"==r.name||"Document"==r.name?{type:"tag",from:t,context:"Element"==r.name?r:lT(r)}:null}(e.state,e.pos);if(!i||"tag"==i.type&&!e.explicit)return null;let{type:c,from:u,context:d}=i;if("openTag"==c){let e=l,t=lP(a,d);if(t){let a=s[t];e=(null==a?void 0:a.children)||o}return{from:u,options:e.map(e=>e.completion),validFor:lj}}if("closeTag"==c){let r=lP(a,d);return r?{from:u,to:e.pos+ +(">"==a.sliceString(e.pos,e.pos+1)),options:[(null==(t=s[r])?void 0:t.closeNameCompletion)||{label:r+">",type:"type"}],validFor:lj}:null}if("attrName"==c){let e=s[lE(a,d)];return{from:u,options:(null==e?void 0:e.attrs)||r,validFor:lj}}if("attrValue"==c){let t,r,o=(r=(t=d&&d.getChildren("Attribute").find(e=>e.from<=u&&e.to>=u))&&t.getChild("AttributeName"))?a.sliceString(r.from,r.to):"";if(!o)return null;let l=s[lE(a,d)],i=((null==l?void 0:l.attrValues)||n)[o];return i&&i.length?{from:u,to:e.pos+ +('"'==a.sliceString(e.pos,e.pos+1)),options:i,validFor:/^"[^"]*"?$/}:null}{if("tag"!=c)return null;let t=lP(a,d),r=s[t],n=[],i=d&&d.lastChild;t&&(!i||"CloseTag"!=i.name||lE(a,i)!=t)&&n.push(r?r.closeCompletion:{label:"</"+t+">",type:"type",boost:2});let p=n.concat(((null==r?void 0:r.children)||(d?o:l)).map(e=>e.openCompletion));if(d&&(null==r?void 0:r.text.length)){let t=d.firstChild;t.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(t.to,e.pos))&&(p=p.concat(r.text))}
1return{from:u,options:p,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}}}(e.elements||[],e.attributes||[])})];return!1!==e.autoCloseTags&&t.push(lU),new tw(lM,t)}};function sj({onChange:e,onBlur:t,onFocus:a,provider:r,language:n,classes:o=[],readOnly:l=!1,lineNumbers:s=!1,withVariables:i=!1,forceFoldGutter:c=!1,disableEnter:u=!1,disableCloseBrackets:d=!1,disableTabIndent:p=!1,withoutTheme:m=!1,lint:h=!1,additionalExtensions:f=[],placeholder:g}){let v=[(0,er.N$)(),function(e={}){return[rz,rF.of(e),er.Lz.domEventHandlers({beforeinput(e,t){let a="historyUndo"==e.inputType?rY:"historyRedo"==e.inputType?rG:null;return!!a&&(e.preventDefault(),a(t))}})]}(),er.w4.of(r7),t6(t9,{fallback:!0}),er.Lz.theme({".cm-line":{lineHeight:"22px",padding:"0 2px 0 4px"},".cm-gutterElement":{lineHeight:"22px"},".cm-foldGutter .cm-gutterElement":{display:"flex",alignItems:"center",paddingLeft:"4px"},".cm-foldMarker":{display:"flex",alignItems:"center",justifyContent:"center",height:"22px",color:"var(--scalar-color-3)",cursor:"pointer"},".cm-foldMarker:hover":{color:"var(--scalar-color-1)"},".cm-foldMarker svg":{width:"16px",height:"16px"},".cm-tooltip":{background:"var(--scalar-background-1)",border:"1px solid var(--scalar-border-color)",borderRadius:"var(--scalar-radius)",boxShadow:"var(--scalar-shadow-2)",fontSize:"12px",overflow:"hidden"},".cm-tooltip-autocomplete ul":{padding:"6px"},".cm-tooltip-autocomplete ul li":{padding:"3px 6px",color:"var(--scalar-color-1)",borderRadius:"3px"},".cm-tooltip-autocomplete ul li[aria-selected]":{background:"var(--scalar-background-2)",color:"var(--scalar-color-1)"},".cm-tooltip-autocomplete ul li:hover":{background:"var(--scalar-background-3)",color:"var(--scalar-color-1)"},".cm-completionLabel":{color:"var(--scalar-color-1)"},".cm-completionDetail":{color:"var(--scalar-color-3)"},".cm-tooltip-lint":{backgroundColor:"var(--scalar-background-1)"},".cm-diagnostic-error":{borderLeft:"0",color:"#dc1b19"},".cm-foldPlaceholder":{background:"var(--scalar-background-1)",border:"none",fontFamily:"var(--scalar-font)"}}),er.Lz.updateListener.of(t=>{t.docChanged&&e?.(t.state.doc.toString())}),er.Lz.domEventHandlers({blur:(e,a)=>{t?.(a.state.doc.toString(),e)},focus:(e,t)=>{a?.(t.state.doc.toString(),e)}}),er.Lz.editorAttributes.of({class:o.join(" ")}),...f];if(r&&v.push(r),m||v.push(sC),l?v.push(er.Lz.editable.of(!1)):(v.push(ea.$t.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let a=e.newDoc,{head:r}=e.newSelection.main,n=a.lineAt(r);if(r>n.from+200)return e;let o=a.sliceString(n.from,r);if(!t.some(e=>e.test(o)))return e;let{state:l}=e,s=-1,i=[];for(let{head:e}of l.selection.ranges){let t=l.doc.lineAt(e);if(t.from==s)continue;s=t.from;let a=function(e,t){for(let a of(e instanceof ea.$t&&(e=new tR(e)),e.state.facet(tS))){let r=a(e,t);if(void 0!==r)return r}let a=tm(e.state);return a.length>=t?function(e,t,a){let r=t.resolveStack(a),n=t.resolveInner(a,-1).resolve(a,0).enterUnfinishedNodesBefore(a);if(n!=r.node){let e=[];for(let t=n;t&&!(t.from<r.node.from||t.to>r.node.to||t.from==r.node.from&&t.type==r.node.type);t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)r={node:e[t],next:r}}return tP(r,e,a)}(e,a,t):null}(l,t.from);if(null==a)continue;let r=/^\s*/.exec(t.text)[0],n=tA(l,a);r!=n&&i.push({from:t.from,to:t.from+r.length,insert:n})}return i.length?[e,{changes:i,sequential:!0}]:e}),ai(),function(e={}){return[ru,ra,aH.of(e),ri,rW,rd]}(),er.w4.of([...rq,sP]),ai()),d||v.push([rM,rT],er.w4.of([...rZ])),p?v.push(er.w4.of([{key:"Tab",run:()=>!1,shift:()=>!1}])):v.push(er.w4.of([nt]))),g&&v.push((0,er.qf)(g)),s&&v.push((0,er.$K)()),c&&v.push(t0({markerDOM:e=>{let t=document.createElement("div");return t.classList.add("cm-foldMarker"),t.innerHTML=e?sA:sR,t}})),n&&s_[n]&&(v.push(s_[n]()),c||v.push(t0({markerDOM:e=>{let t=document.createElement("div");return t.classList.add("cm-foldMarker"),t.innerHTML=e?sA:sR,t}}))),h&&"json"===n){let e=function(e,t={}){return[su.of({source:e,config:t}),sc,sw]}(e=>{let t=[],a=e.state.doc.toString();if(a.trim())try{JSON.parse(a)}catch(a){a instanceof Error&&t.push({from:0,to:e.state.doc.length,severity:"error",message:a.message})}return t});v.push(e)}return i&&v.push(er.Z9.fromClass(class{variables;constructor(e){this.variables=s$.createDeco(e)}update(e){this.variables=s$.updateDeco(e,this.variables)}},{decorations:e=>e.variables,provide:e=>er.Lz.atomicRanges.of(t=>t.plugin(e)?.variables||er.NZ.none)})),u?v.push(er.w4.of([{key:"Enter",run:()=>!0},{key:"Ctrl-Enter",mac:"Cmd-Enter",run:()=>!0},{key:"Shift-Enter",run:()=>!0}])):v.push(er.w4.of([{key:"Enter",run:r9}])),v}var sQ=a(5131),sL=class e extends er.xO{variableName;app;pillColor;variableInfo;constructor(e,t,a){if(super(),this.variableName=e,"contextFunction"===a){this.pillColor="var(--scalar-color-3)",this.variableInfo={type:"contextFunction",identifier:e,details:(0,U.Xk)(e)};return}this.pillColor=t?.color||"var(--scalar-color-1)";const r=t?.variables?.find(t=>t.name===e),n=r?"string"==typeof r.value?r.value:r.value?.default:void 0;this.variableInfo={type:"environment",name:e,value:n||"No value",isDefined:!!n}}toDOM(){let e=document.createElement("span");
1return e.className="contextFunction"===this.variableInfo.type?"cm-pill cm-pill--context-fn":"cm-pill",e.textContent=this.variableName,e.style.setProperty("--tw-bg-base",this.pillColor),"environment"===this.variableInfo.type&&(e.style.opacity=this.variableInfo.isDefined?"1":"0.5"),this.app=(0,N.Ef)(et.A,{context:this.variableInfo,target:e}),this.app.mount(document.createElement("div")),e}destroy(){this.app&&(this.app.unmount(),this.app=null)}eq(t){if(!(t instanceof e)||t.variableName!==this.variableName||t.pillColor!==this.pillColor||t.variableInfo.type!==this.variableInfo.type)return!1;let a=t.variableInfo,r=this.variableInfo;return a.type===r.type&&("environment"===a.type&&"environment"===r.type?a.name===r.name&&a.value===r.value&&a.isDefined===r.isDefined:"contextFunction"===a.type&&"contextFunction"===r.type&&a.identifier===r.identifier&&a.details===r.details)}ignoreEvent(){return!1}},sM=er.Lz.domEventHandlers({keydown(e,t){if("Backspace"!==e.key)return!1;let{state:a}=t,{from:r,to:n}=a.selection.main;return 0===r&&n===a.doc.length?(t.dispatch({changes:{from:0,to:a.doc.length},selection:{anchor:0}}),e.preventDefault(),!0):r===n&&r>=2&&"}}"===a.doc.sliceString(r-2,r)&&(t.dispatch({changes:{from:r-2,to:r},selection:{anchor:r-2}}),e.preventDefault(),!0)}}),sZ=a(78451),sU={class:"whitespace-nowrap"},sX=["id"],sI={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"},sB={key:5,class:"centered-y text-orange absolute right-7 text-xs"},sq={key:6,class:"centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1"},sW={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"},sD=(0,O.pM)({inheritAttrs:!1,__name:"CodeInput",props:{modelValue:{type:[String,Number,Boolean,Array,Object]},environment:{},type:{},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},layout:{default:"desktop"},enum:{},examples:{},default:{type:[String,Number,Boolean,Array,Object]},nullable:{type:Boolean,default:!1},placeholder:{},required:{type:Boolean},colorPicker:{type:Boolean,default:!1},lineNumbers:{type:Boolean,default:!1},lint:{type:Boolean,default:!1},lineWrapping:{type:Boolean,default:!1},language:{},extensions:{default:()=>[]},disableTabIndent:{type:Boolean,default:!1},disableEnter:{type:Boolean,default:!1},disableCloseBrackets:{type:Boolean,default:!1},emitOnBlur:{type:Boolean,default:!0},withVariables:{type:Boolean,default:!0},withFakeData:{type:Boolean,default:!1},alwaysEmitChange:{type:Boolean,default:!1},handleFieldChange:{type:Function},handleFieldSubmit:{type:Function},linethrough:{type:Boolean}},emits:["update:modelValue","submit","navigate","blur"],setup(e,{expose:t,emit:a}){let r=(0,O.OA)(),n=r.id||`id-${(0,sZ.Ak)()}`,o=(0,x.KR)(!1),l=(0,O.EW)(()=>!e.enum?.length&&("boolean"===e.type||Array.isArray(e.type)&&e.type.includes("boolean"))),s=(0,O.EW)(()=>e.nullable?["true","false","null"]:["true","false"]),i=(0,O.EW)(()=>Array.isArray(e.type)?e.type.find(e=>"null"!==e)??"string":e.type),c=t=>{(e.alwaysEmitChange||t!==v(e.modelValue))&&(e.handleFieldChange?e.handleFieldChange(t):a("update:modelValue",t))},u=(t,r)=>{e.handleFieldSubmit?e.handleFieldSubmit(t):a("submit",t,r)},d=(t,r)=>{o.value=!1,e.emitOnBlur&&e.modelValue&&u(t,r),a("blur",t,r)},p=e=>a("update:modelValue",e),m=(0,O.EW)(()=>e.withFakeData?U.qP.map(e=>({key:e,description:(0,U.Xk)(e)})):[]),h=(0,O.EW)(()=>{let t;return t={environment:e.environment,isContextFunctionName:U.jM,isReadOnly:"modal"===e.layout},er.Z9.fromClass(class{decorations;lastEnvironment;constructor(e){this.lastEnvironment=t.environment,this.decorations=this.buildDecorations(e)}update(e){if(t.environment!==this.lastEnvironment){this.lastEnvironment=t.environment,this.decorations=this.buildDecorations(e.view
1);return}(e.docChanged||e.viewportChanged)&&(this.decorations=this.buildDecorations(e.view))}buildDecorations(e){let a=new ea.vB,r=t.isContextFunctionName??(()=>!1);for(let{from:n,to:o}of e.visibleRanges){let l,s=e.state.doc.sliceString(n,o),i=new RegExp(sQ.Q.VARIABLES.source,sQ.Q.VARIABLES.flags);for(;null!==(l=i.exec(s));){let o=n+l.index,s=o+l[0].length,i=l[1]??"";if(e.state.doc.sliceString(o,s).includes("\n"))continue;let c=r(i)?"contextFunction":"environment";a.add(o,s,er.NZ.widget({widget:new sL(i,t.environment,c),side:1}))}}return a.finish()}},{decorations:e=>e.decorations})}),f=(0,O.EW)(()=>{let t;return[...(t=[...e.extensions],e.colorPicker&&t.push(aL),t),h.value,sM]}),g=(0,x.KR)(null),v=e=>"string"==typeof e?e:JSON.stringify(e),{codeMirror:y,setCodeMirrorContent:b}=sT({content:(0,x.lW)(()=>v(e.modelValue)),onChange:e=>{c(e),R()},onFocus:()=>{o.value=!0},onBlur:d,codeMirrorRef:g,disableTabIndent:(0,x.lW)(()=>e.disableTabIndent),disableEnter:(0,x.lW)(()=>e.disableEnter),disableCloseBrackets:(0,x.lW)(()=>e.disableCloseBrackets),lineNumbers:(0,x.lW)(()=>e.lineNumbers),language:(0,x.lW)(()=>e.language),lint:(0,x.lW)(()=>e.lint),extensions:f,placeholder:(0,x.lW)(()=>e.placeholder)});(0,O.wB)(y,()=>{y.value&&Object.hasOwn(r,"autofocus")&&y.value.focus()});let w=(0,x.KR)(!1),S=(0,x.KR)(""),C=(0,x.KR)({left:0,top:0}),$=(0,x.KR)(null),{handleDropdownSelect:A,updateDropdownVisibility:R}=function(e){let{codeMirror:t,query:a,showDropdown:r,dropdownPosition:n}=e;function o(){return t.value?.state.selection.main.head||0}function l(e){return t.value?.coordsAtPos(e)}function s(){let e=o();requestAnimationFrame(()=>{let t=l(e-a.value.length-2);t&&(n.value={left:t.left,top:Math.max(t.bottom)})})}function i(){let e=o(),i=t.value?.state.doc.sliceString(0,e)||"",c=i.lastIndexOf("{{");c>i.lastIndexOf("}}")?(a.value=i.slice(c+2),r.value=!0,n.value=l(e)||{left:0,top:0},""===a.value&&s()):r.value=!1}return(0,O.wB)(a,s),(0,O.wB)(()=>t.value?.state.doc.toString(),i),{handleDropdownSelect:function(e){let n=`{{${e}}}`,l=o(),s=Math.max(0,l-a.value.length-2);t.value?.dispatch({changes:{from:s,to:l,insert:n}}),r.value=!1},updateDropdownVisibility:i}}({codeMirror:y,query:S,showDropdown:w,dropdownPosition:C}),E=(0,O.EW)(()=>w.value&&e.withVariables&&"modal"!==e.layout&&(!!e.environment||e.withFakeData)),P=(t,a)=>{w.value?"down"===t||"up"===t?(a.preventDefault(),$.value?.handleArrowKey(t)):"enter"===t&&(a.preventDefault(),$.value?.handleSelect()):("escape"!==t||e.disableTabIndent||a.stopPropagation(),"enter"===t&&a.target instanceof HTMLDivElement&&u(y.value?.state.doc.toString()??"",a))};return t({focus:e=>{if(!y.value||(y.value.focus(),!(0,L.O)(e)))return;let t="start"===e?0:"end"===e?y.value.state.doc.length:e;y.value.dispatch({selection:{anchor:t},scrollIntoView:!0})},isFocused:o,handleChange:c,handleSubmit:u,handleBlur:d,booleanOptions:s,codeMirror:y,codeMirrorRef:g,modelValue:e.modelValue,setCodeMirrorContent:b,cursorPosition:()=>y.value?.state.selection.main.head,serializeValue:v}),(t,r)=>((0,O.uX)(),(0,O.CE)(O.FK,null,[e.disabled?((0,O.uX)(),(0,O.CE)("div",{key:0,class:(0,k.C4)(["text-c-2 flex cursor-default items-center justify-center",{"font-code pr-2 pl-1 text-base":"modal"===e.layout,"px-2":"modal"!==e.layout,"line-through":e.linethrough}]),"data-testid":"code-input-disabled"},[(0,O.Lk)("span",sU,(0,k.v_)(e.modelValue),1)],2)):e.enum?.length?((0,O.uX)(),(0,O.Wv)(J.A,{key:1,default:e.default,modelValue:e.modelValue,type:i.value,value:e.enum,"onUpdate:modelValue":p},null,8,["default","modelValue","type","value"])):l.value?((0,O.uX)(),(0,O.Wv)(J.A,{key:2,default:e.default,modelValue:e.modelValue,value:s.value,"onUpdate:modelValue":p},null,8,["default","modelValue","value"])):e.examples?.length?((0,O.uX)(),(0,O.Wv)(J.A,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":p},null,8,["default","modelValue","value"])):((0,O.uX)(),(0,O.CE)("div",(0,O.v6)({key:4,id:(0,x.R1)(n)},t.$attrs,{ref_key:"codeMirrorRef",ref:g,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":e.lineWrapping,"flow-code-input--error":e.error,"line-through":e.linethrough}],onKeydown:[r[0]||(r[0]=(0,N.jR)((0,N.D$)(e=>P("down",e),["stop"]),["down"])),r[1]||(r[1]=(0,N.jR)(e=>P("enter",e),["enter"])),r[2]||(r[2]=(0,N.jR)(e=>P("escape",e),["escape"])),r[3]||(r[3]=(0,N.jR)((0,N.D$)(e=>P("up",e),["stop"]),["up"]))]}),[e.disableTabIndent?(0,O.Q3)("",!0):((0,O.uX)(),(0,O.CE)("div",sI,[...r[6]||(r[6]=[(0,O.eW)(" Press ",-1),(0,O.Lk)("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Esc",-1),(0,O.eW)(" then ",-1),(0,O.Lk)("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Tab",-1),(0,O.eW)(" to exit ",-1)])]))],16,sX)),t.$slots.warning?((0,O.uX)(),(0,O.CE)("div",sB,[(0,O.RG)(t.$slots,"warning",{},void 0,!0)])):(0,O.Q3)("",!0),t.$slots.icon?((0,O.uX)(),(0,O.CE)("div",sq,[(0,O.RG)(t.$slots,"icon",{},void 0,!0)])):(0,O.Q3)("",!0),e.required?((0,O.uX)(),(0,O.CE)("div",sW," Required ")):(0,O.Q3)("",!0),E.value?((0,O.uX)(),(0,O.Wv)(ee.A,{key:8,ref_key:"dropdownRef",ref:$,contextFunctionItems:m.value,dropdownPosition:C.value,environment:e.environment,query:S.value,onClose:r[4]||(r[4]=e=>w.value=!1),onRedirect:r[5]||(r[5]=e=>a("navigate",{page:"document",path:"environment"})),onSelect:(0,x.R1)(A)},null,8,["contextFunctionItems","dropdownPosition","environment","query","onSelect"])):(0,O.Q3)("",!0)],64))}}),sN=(0,C.A)(sD,[["__scopeId","data-v-dfc591f4"]]),sV=a(10363),sF=a(57443),sz=(0,O.pM)({__name:"DataTableHeader",setup(e){let{cx:t}=(0,w.AX)();return(e,a)=>((0,O.uX)(),(0,O.Wv)(sF.A,(0,O.v6)({is:"th"}
1,(0,x.R1)(t)("items-center font-medium px-2 min-w-0 -outline-offset-1")),{default:(0,O.k6)(()=>[(0,O.RG)(e.$slots,"default")]),_:3},16))}}),sH=a(45460),sY=e=>{if(e instanceof File)return e.name},sG=a(65338),sK=a(27417),sJ=(e,t)=>{if(!e||!("type"in e)||"string"!=typeof t)return{ok:!0};if("integer"===e.type||"number"===e.type){let a=Number(t);if(isNaN(a))return{ok:!1,message:"Value must be a number (e.g., 42.5)"};if("integer"===e.type&&!Number.isInteger(a))return{ok:!1,message:"Value must be a whole number (e.g., 42)"};if(void 0!==e.minimum&&a<e.minimum)return{ok:!1,message:`Value must be ${e.minimum} or greater`};if(void 0!==e.maximum&&a>e.maximum)return{ok:!1,message:`Value must be ${e.maximum} or less`}}if("string"===e.type&&e.format){if("date"===e.format&&!/^\d{4}-\d{2}-\d{2}$/.test(t??""))return{ok:!1,message:"Please enter a valid date in YYYY-MM-DD format (e.g., 2024-03-20)"};if("date-time"===e.format&&!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/.test(t??""))return{ok:!1,message:"Please enter a valid date and time in RFC 3339 format (e.g., 2024-03-20T13:45:30Z)"};if("email"===e.format&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t??""))return{ok:!1,message:"Please enter a valid email address (e.g., [email protected])"};if("uri"===e.format&&!/^[a-zA-Z][a-zA-Z0-9+.-]*:.+$/.test(t??""))return{ok:!1,message:"Please enter a valid URI (e.g., https://example.com)"}}return{ok:!0}},s0=a(11283),s1=a(30698),s2=a(17074),s4=a(37433),s8=["aria-label","role"],s3={class:"text-xxs text-c-1 grid w-fit max-w-xs min-w-0 gap-1.5 rounded px-1.5 pt-2 pb-1.5 leading-none break-words","data-testid":"request-table-tooltip-content"},s6={key:0,class:"text-error-1"},s5={key:1,class:"schema text-c-2 truncate *:not-first:before:content-['_\xb7_']"},s7={key:0},s9={key:1},ie={key:2},it={key:3},ia={key:4},ir=(0,O.pM)({__name:"RequestTableTooltip",props:{schema:{},value:{},description:{}},setup(e){let t=(0,O.EW)(()=>sJ(e.schema,e.value)),a=(0,O.EW)(()=>!1===t.value.ok);return(r,n)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(s4.w),{offset:4,placement:"left",teleport:""},{popover:(0,O.k6)(()=>[(0,O.Lk)("div",s3,[!1===t.value.ok?((0,O.uX)(),(0,O.CE)("div",s6,(0,k.v_)(t.value.message),1)):e.schema&&("type"in e.schema||"format"in e.schema||"minimum"in e.schema||"maximum"in e.schema||"default"in e.schema)?((0,O.uX)(),(0,O.CE)("div",s5,["type"in e.schema?((0,O.uX)(),(0,O.CE)("span",s7,(0,k.v_)(e.schema.type),1)):(0,O.Q3)("",!0),"format"in e.schema?((0,O.uX)(),(0,O.CE)("span",s9,(0,k.v_)(e.schema.format),1)):(0,O.Q3)("",!0),"minimum"in e.schema?((0,O.uX)(),(0,O.CE)("span",ie,"min: "+(0,k.v_)(e.schema.minimum),1)):(0,O.Q3)("",!0),"maximum"in e.schema?((0,O.uX)(),(0,O.CE)("span",it,"max: "+(0,k.v_)(e.schema.maximum),1)):(0,O.Q3)("",!0),"default"in e.schema?((0,O.uX)(),(0,O.CE)("span",ia,"default: "+(0,k.v_)(e.schema.default),1)):(0,O.Q3)("",!0)])):(0,O.Q3)("",!0),e.description&&!a.value?((0,O.uX)(),(0,O.Wv)((0,x.R1)(s2.m),{key:2,value:e.description},null,8,["value"])):(0,O.Q3)("",!0)])]),default:(0,O.k6)(()=>[(0,O.Lk)("button",{"aria-label":a.value?"Input is invalid":"More Information",class:"text-c-2 hover:text-c-1 hover:bg-b-2 rounded p-1",role:a.value?"alert":"none",type:"button"},[a.value?((0,O.uX)(),(0,O.Wv)((0,x.R1)(s0.A),{key:0,class:"text-orange size-3.5 brightness-90 hover:brightness-75"})):((0,O.uX)(),(0,O.Wv)((0,x.R1)(s1.A),{key:1,class:"text-c-2 hover:text-c-1 size-3.5"}))],8,s8)]),_:1}))}}),io=a(28900),il=a(47358),is=a(94361),ii={key:0},ic={key:1},iu={key:2},id={key:3},ip={key:4},im={key:5},ih=(0,O.pM)({name:"ScalarIconGlobe",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,is.R)(e);return(e,r)=>((0,O.uX)(),(0,O.CE)("svg",(0,O.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,x.R1)(t)),[(0,O.RG)(e.$slots,"default"),"bold"===(0,x.R1)(a)?((0,O.uX)(),(0,O.CE)("g",ii,[...r[0]||(r[0]=[(0,O.Lk)("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,
10,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z"},null,-1)])])):"duotone"===(0,x.R1)(a)?((0,O.uX)(),(0,O.CE)("g",ic,[...r[1]||(r[1]=[(0,O.Lk)("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),(0,O.Lk)("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1)])])):"fill"===(0,x.R1)(a)?((0,O.uX)(),(0,O.CE)("g",iu,[...r[2]||(r[2]=[(0,O.Lk)("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1)])])):"light"===(0,x.R1)(a)?((0,O.uX)(),(0,O.CE)("g",id,[...r[3]||(r[3]=[(0,O.Lk)("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z"},null,-1)])])):"regular"===(0,x.R1)(a)?((0,O.uX)(),(0,O.CE)("g",ip,[...r[4]||(r[4]=[(0,O.Lk)("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1)])])):"thin"===(0,x.R1)(a)?((0,O.uX)(),(0,O.CE)("g",im,[...r[5]||(r[5]=[(0,O.Lk)("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,190.61c-6.33-6.09-23-24.41-31.27-54.61h62.54C151,194.2,134.33,212.52,128,218.61ZM94.82,156a140.42,140.42,0,0,1,0-56h66.36a140.42,140.42,0,0,1,0,56ZM128,37.39c6.33,6.09,23,24.41,31.27,54.61H96.73C105,61.8,121.67,43.48,128,37.39ZM169.41,100h46.23a92.09,92.09,0,0,1,0,56H169.41a152.65,152.65,0,0,0,0-56Zm43.25-8h-45a129.39,129.39,0,0,0-29.19-55.4A92.25,92.25,0,0,1,212.66,92ZM117.54,36.6A129.39,129.39,0,0,0,88.35,92h-45A92.25,92.25,0,0,1,117.54,36.6ZM40.36,100H86.59a152.65,152.65,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64h45a129.39,129.39,0,0,0,29.19,55.4A92.25,92.25,0,0,1,43.34,164Zm95.12,55.4A129.39,129.39,0,0,0,167.65,164h45A92.25,92.25,0,0,1,138.46,219.4Z"},null,-1)])])):(0,O.Q3)("",!0)],16))}}),ig=a(55934),iv=a(51324),iy=a(27231),ib={class:"text-c-2 flex w-full max-w-[100%] items-center justify-center overflow-hidden p-1"}
1,iO=["title"],ik={key:1,class:"p-0.5"},ix=(0,O.pM)({__name:"RequestTableRow",props:{data:{},hasCheckboxDisabled:{type:Boolean},invalidParams:{},label:{},environment:{},showUploadButton:{type:Boolean}},emits:["upsertRow","deleteRow","uploadFile","removeFile","navigate","selectPreset"],setup(e,{emit:t}){let a=(0,x.KR)(e.data.name??""),r=(0,x.KR)((0,iv.s)(e.data.value)??""),n=(0,x.KR)(e.data.isDisabled??!1);(0,O.wB)(()=>e.data.name,e=>{(e||!a.value)&&(a.value=e??"")}),(0,O.wB)(()=>e.data.value,e=>r.value=(0,iv.s)(e)??""),(0,O.wB)(()=>e.data.isDisabled,e=>n.value=e??!1);let o=(0,O.EW)(()=>r.value instanceof File),l=(0,O.EW)(()=>(o.value?sY(r.value):r.value)??""),s=(0,O.EW)(()=>e.data.schema?.default),i=(0,O.EW)(()=>{if(!e.data.schema)return[];if(e.data.schema.enum)return e.data.schema.enum.map(e=>String(e));if("items"in e.data.schema){let t=iy.h.schema(e.data.schema.items);if(t?.enum)return t.enum.map(e=>String(e))}return[]}),c=(0,O.EW)(()=>e.data.schema&&"type"in e.data.schema?e.data.schema.type:void 0),u=(0,O.EW)(()=>sJ(e.data.schema,r.value)),d=(o,l={})=>{void 0!==o.name&&(a.value=o.name),void 0!==o.value&&(r.value=o.value),void 0!==o.isDisabled&&(n.value=o.isDisabled),(void 0===o.name||!e.data.sourceParameterValuePath||l.shouldRenameExpandedRow)&&t("upsertRow",{name:a.value,value:r.value,isDisabled:n.value,...l.shouldRenameExpandedRow?{shouldRenameExpandedRow:!0}:{}})};return(p,m)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(sH.A),{id:e.data.name,class:(0,k.C4)({alert:!1===u.value.ok,error:!1===u.value.ok&&e.invali
1dParams?.has(e.data.name)})},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(sK.A),{ariaLabel:`Include ${e.data.name||"row"} in request`,class:"!border-r",disabled:e.hasCheckboxDisabled??!1,modelValue:!n.value,"onUpdate:modelValue":m[0]||(m[0]=e=>d({isDisabled:!e}))},null,8,["ariaLabel","disabled","modelValue"]),(0,O.bF)((0,x.R1)(sF.A),null,{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(sG.A),{"aria-label":`${e.label} Key`,disabled:e.data.isReadonly,environment:e.environment,modelValue:a.value,placeholder:"Key",required:!!e.data.isRequired,onBlur:m[1]||(m[1]=t=>{t===e.data.name||(t||!e.data.name)&&d({name:t,isDisabled:n.value},{shouldRenameExpandedRow:!!e.data.sourceParameterValuePath})}),onNavigate:m[2]||(m[2]=e=>t("navigate",e)),"onUpdate:modelValue":m[3]||(m[3]=e=>d({name:e}))},null,8,["aria-label","disabled","environment","modelValue","required"])]),_:1}),(0,O.bF)((0,x.R1)(sF.A),null,{default:(0,O.k6)(()=>[e.data.presetOptions?.length?((0,O.uX)(),(0,O.Wv)((0,x.R1)(J.A),{key:0,canAddCustomValue:!1,modelValue:l.value,value:e.data.presetOptions,"onUpdate:modelValue":m[4]||(m[4]=e=>t("selectPreset",e))},null,8,["modelValue","value"])):((0,O.uX)(),(0,O.Wv)((0,x.R1)(sG.A),{key:1,"aria-label":`${e.label} Value`,class:"pr-6 group-hover:pr-10 group-has-[.code-input-lite__editor:focus]:pr-10",default:s.value,disabled:e.data.isReadonly,enum:i.value,environment:e.environment,examples:e.data.schema?.examples?.map(e=>String(e))??[],linethrough:e.data.isOverridden,modelValue:l.value,placeholder:"Value",type:c.value,withFakeData:"",onNavigate:m[7]||(m[7]=e=>t("navigate",e)),"onUpdate:modelValue":m[8]||(m[8]=e=>d({value:e}))},{icon:(0,O.k6)(()=>[(e.data.name||r.value)&&!e.data.isRequired&&!0!==e.data.isReadonly?((0,O.uX)(),(0,O.Wv)((0,x.R1)(io.R),{key:0,"aria-label":`Delete ${e.data.name||"row"}`,class:"text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 hidden h-fit roun
1ded p-1 group-hover:flex group-has-[.code-input-lite__editor:focus]:flex",size:"sm",variant:"ghost",onClick:m[5]||(m[5]=e=>t("deleteRow"))},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(il.A),{class:"size-3.5"})]),_:1},8,["aria-label"])):(0,O.Q3)("",!0),void 0!==e.data.globalRoute?((0,O.uX)(),(0,O.Wv)((0,x.R1)(ig.E),{key:1,class:"text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 h-fit",icon:(0,x.R1)(ih),label:"Global cookies are shared across the whole workspace. Click to navigate.",size:"xs",tooltip:"top",variant:"ghost",onClick:m[6]||(m[6]=a=>t("navigate",e.data.globalRoute))},null,8,["icon"])):(0,O.Q3)("",!0),e.data.isReadonly?((0,O.uX)(),(0,O.Wv)(ir,{key:2,description:"This is a readonly property and you can not modify it! If you want to change it you have to override it or disable it using the checkbox",value:null})):e.data.schema?((0,O.uX)(),(0,O.Wv)(ir,{key:3,description:e.data.description,schema:e.data.schema,value:r.value},null,8,["description","schema","value"])):(0,O.Q3)("",!0)]),_:1},8,["aria-label","default","disabled","enum","environment","examples","linethrough","modelValue","type"]))]),_:1}),e.showUploadButton?((0,O.uX)(),(0,O.Wv)((0,x.R1)(sF.A),{key:0,class:"group/upload flex items-center justify-center whitespace-nowrap"},{default:(0,O.k6)(()=>[o.value?((0,O.uX)(),(0,O.CE)(O.FK,{key:0},[(0,O.Lk)("div",ib,[(0,O.Lk)("span",{class:"truncate",title:l.value},(0,k.v_)(l.value),9,iO)]),(0,O.Lk)("button",{class:"bg-b-2 mt-1 block rounded p-0.5 text-center text-xs font-medium md:pointer-events-none md:absolute md:inset-x-1 md:top-1/2 md:mt-0 md:-translate-y-1/2 md:opacity-0 md:group-hover/upload:pointer-events-auto md:group-hover/upload:opacity-100",type:"button",onClick:m[9]||(m[9]=e=>t("removeFile"))}," Delete ")],64)):((0,O.uX)(),(0,O.CE)("div",ik,[(0,O.bF)((0,x.R1)(io.R),{class:"bg-b-2 hover:bg-b-3 text-c-2 h-fit border-0 py-px shadow-none",size:"sm",variant:"outlined",onClick:m[10]||(m[10]=e=>t("uploadFile"))},{default:(0,O.k6)(()=>[m[11]||(m[11]=(0,O.Lk)("span",null,"Select File",-1)),(0,O.bF)((0,x.R1)(V.k),{class:"ml-1",icon:"Upload",size:"xs",thickness:"2.5"})]),_:1})]))]),_:1})):(0,O.Q3)("",!0)]),_:1},8,["id","class"]))}}),iw=(0,O.pM)({__name:"RequestTable",props:{data:{},hasCheckboxDisabled:{type:Boolean},invalidParams:{},label:{},showUploadButton:{type:Boolean},showAddRowPlaceholder:{type:Boolean,default:!0},environment:{}},emits:["upsertRow","deleteRow","uploadFile","removeFile","navigate","selectPreset"],setup(e,{emit:t}){let a=(0,O.EW)(()=>e.showUploadButton?["36px","","","minmax(0, 1fr)"]:["36px","",""]),r=(0,O.EW)(()=>{if(!e.showAddRowPlaceholder)return e.data;let t=e.data.at(-1);return t&&""===t.name&&""===t.value?e.data:[...e.data,{name:"",value:"",isDisabled:!0}]});return(n,o)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(sV.A),{class:"group/table flex-1",columns:a.value},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(sH.A),{class:"sr-only !block"},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(sz),null,{default:(0,O.k6)(()=>[(0,O.eW)((0,k.v_)(e.label)+" Enabled",1)]),_:1}),(0,O.bF)((0,x.R1)(sz),null,{default:(0,O.k6)(()=>[(0,O.eW)((0,k.v_)(e.label)+" Key",1)]),_:1}),(0,O.bF)((0,x.R1)(sz),null,{default:(0,O.k6)(()=>[(0,O.eW)((0,k.v_)(e.label)+" Value",1)]),_:1})]),_:1}),((0,O.uX)(!0),(0,O.CE)(O.FK,null,(0,O.pI)(r.value,(a,r)=>((0,O.uX)(),(0,O.Wv)(ix,{key:a.originalParameter?JSON.stringify([a.originalParameter.name,...a.sourceParameterValuePath??[]]):a.name||String(r),data:a,environment:e.environment,hasCheckboxDisabled:e.hasCheckboxDisabled,invalidParams:e.invalidParams,label:e.label,showUploadButton:e.showUploadButton,onDeleteRow:e=>t("deleteRow",r),onNavigate:o[0]||(o[0]=e=>t("navigate",e)),onRemoveFile:e=>t("removeFile",r),onSelectPreset:e=>t("selectPreset",r,e),onUploadFile:e=>t("uploadFile",r),onUpsertRow:e=>t("upsertRow",r,e)},null,8,["data","environment","hasCheckboxDisabled","invalidParams","label","showUploadButton","onDeleteRow","onRemoveFile","onSelectPreset","onUploadFile","onUpsertRow"]))),128))]),_:1},8,["columns"]))}}),iS=(0,C.A)(iw,[["__scopeId","data-v-13500378"]]),iC=a(80986),i$=a(60652),iA=a(76412),iR=e=>e instanceof File?e.name:"object"==typeof e&&null!==e?JSON.stringify(e):String(e),iE=(e,t=[],a=!0)=>
1{if(!(0,iA.Tl)(e)||!e.properties)return[];let r=new Set(e.required??[]),n=[];for(let[o,l]of(0,iC.W)(e.properties)){let e=iy.h.schema(l),s=[...t,String(o)],i=a&&r.has(String(o));e&&(0,iA.Tl)(e)&&e.properties?n.push(...iE(e,s,i)):n.push({path:s,schema:e,isRequired:i})}return n},iP=(e,t,a=[])=>{let r=[],n=(0,i$.G)(e)?(0,iC.W)(e):[],o=new Map(n.map(([e,t])=>[String(e),t])),l=new Set,s=t&&(0,iA.Tl)(t)?t.properties??{}:{};for(let[e,t]of(0,iC.W)(s)){let n=String(e);l.add(n);let s=iy.h.schema(t),i=[...a,n],c=o.get(n);s&&(0,iA.Tl)(s)&&s.properties?r.push(...iP(c,s,i)):r.push({path:i,value:c})}for(let[e,t]of n){let n=String(e);l.has(n)||r.push({path:[...a,n],value:t})}return r},iT=(0,O.pM)({__name:"RequestBodyForm",props:{example:{},bodySchema:{},selectedContentType:{},environment:{}},emits:["update:formValue"],setup(e,{emit:t}){let a=(0,x.KR)([]);(0,O.wB)(()=>[e.example,e.bodySchema,e.selectedContentType],([e,t,r])=>{a.value=((e,t,a)=>{if(!e?.value||"multipart/form-data"!==t&&"application/x-www-form-urlencoded"!==t)return[];let r=a&&(0,iA.Tl)(a)?a:void 0,n=r?new Set(r.required??[]):void 0,o=new Map;if(r)for(let e of iE(r))o.set(e.path.join("."),e);let l=({name:e,value:t,isDisabled:a=!1})=>{let l={name:e,value:t,isDisabled:a};if(!r||!e)return l;let s=o.get(e),i=s?.schema??iy.h.schema(r.properties?.[e]);return l.schema=i,l.description=i?.description,l.isRequired=s?.isRequired??n?.has(e)??!1,l};return Array.isArray(e.value)?e.value.map(e=>{if((0,i$.G)(e)){let t=String(e.name);return l({name:t,value:e.value instanceof File?e.value:String(e.value),isDisabled:!!e.isDisabled})}return{name:"",value:e,isDisabled:!1}}):"multipart/form-data"===t&&r&&"object"==typeof e.value?iP(e.value,r).map(({path:e,value:t})=>{let a=t instanceof File?t:null==t?"":iR(t);return l({name:e.join("."),value:a})}):"object"==typeof e.value&&e.value?(0,iC.W)(e.value).map(([e,t])=>l({name:String(e),value:iR(t)})):[]})(e,r,t)},{immediate:!0});let r=e=>{t("update:formValue",e.map(e=>({name:e.name,value:e.value,isDisabled:e.isDisabled??!1})))},n=(e,t)=>{if(e>=a.value.length){a.value=[...a.value,{name:"",value:"",...t,isDisabled:!1}],r(a.value);return}a.value=a.value.map((a,r)=>r===e?{...a,...t}:a),r(a.value)},o=e=>{a.value=a.value.filter((t,a)=>a!==e),r(a.value)},l=e=>{let{open:t}=K({onChange:t=>{let r=t?.[0];if(r){let t=a.value[e];n(e,{name:t?.name||r.name,value:r})}},multiple:!1,accept:"*/*"});t()};return(t,r)=>"multipart/form-data"===e.selectedContentType?((0,O.uX)(),(0,O.Wv)(iS,{key:0,data:a.value,environment:e.environment,showUploadButton:"",onDeleteRow:o,onRemoveFile:r[0]||(r[0]=e=>n(e,{value:void 0})),onUploadFile:l,onUpsertRow:n},null,8,["data","environment"])):((0,O.uX)(),(0,O.Wv)(iS,{key:1,data:a.value,environment:e.environment,onDeleteRow:o,onUpsertRow:n},null,8,["data","environment"]))}}),i_=a(26388),ij=a(52614),iQ={language:"json",parse:e=>JSON.parse(e),stringify:e=>JSON.stringify(e,null,2)},iL={language:"yaml",parse:e=>(0,ij.parse)(e),stringify:e=>(0,ij.stringify)(e)},iM=new Set(["application/yaml","application/x-yaml","text/yaml","text/x-yaml"]),iZ=e=>{let t=(0,i_.E)(e).essence;return"application/json"===t||t.endsWith("+json")?iQ:iM.has(t)||t.endsWith("+yaml")?iL:void 0},iU=a(97110),iX=(0,O.pM)({__name:"RequestBodyStructured",props:{parsedValue:{},bodySchema:{},contentType:{},environment:{}},emits:["update:value"],setup(e,{emit:t}){let a,r=(0,O.EW)(()=>iZ(e.contentType)),n=(0,x.KR)([]);(0,O.wB)(()=>[e.parsedValue,e.bodySchema,e.contentType],([e,t])=>{if(void 0!==a&&r.value)try{if(r.value.stringify(e)===a)return}catch{}a=void 0,n.value=((e,t)=>{let a=t&&(0,iA.Tl)(t)?t:void 0;if(!(0,i$.G)(e)&&!a)return[];let r=new Map;if(a)for(let e of iE(a))r.set(e.path.join("."),e);let n=new Set(a?.required??[]);return iP((0,i$.G)(e)?e:{},a).map(({path:e,value:t})=>{let o=e.join("."),l={name:o,value:null==t?"":iR(t),isDisabled:!1},s=r.get(o),i=s?.schema??(a?iy.h.schema(a.properties?.[o]):void 0);return l.schema=i,l.description=i?.description,l.isRequired=s?.isRequired??n.has(o),l})})(e,t)},{immediate:!0});let o=()=>{if(!r.value)return;let o=r.value.stringify(((e,t)=>{let a=(0,U.Tf)(t),r={};for(let n of e){if(n.isDisabled||!n.name)continue;let e=n.value;if("string"!=typeof e||""===e)continue;let o=a(n.name,e)?n.name.split("."):[n.name],l=(0,U.aK)(t,o);(0,iU.u)(r,o,l&&"type"in l&&null!=l.type?(0,U.Lk)(e,l):(0,U.MC)(e))}return r})(n.value,e.bodySchema));a=o,t("update:value",o)},l=(e,t)=>
1{if(e>=n.value.length){n.value=[...n.value,{name:"",value:"",...t,isDisabled:!1}],o();return}n.value=n.value.map((a,r)=>r===e?{...a,...t}:a),o()},s=e=>{n.value=n.value.filter((t,a)=>a!==e),o()};return(t,a)=>((0,O.uX)(),(0,O.Wv)(iS,{data:n.value,environment:e.environment,label:"Body",onDeleteRow:s,onUpsertRow:l},null,8,["data","environment"]))}}),iI={class:"text-c-3 text-xxs -my-1 mr-2 flex justify-center gap-0.5 rounded p-0.5"},iB=["disabled","title"],iq=(0,O.pM)({__name:"RequestBodyViewToggle",props:{modelValue:{},disabled:{type:Boolean}},emits:["update:modelValue"],setup:e=>(t,a)=>((0,O.uX)(),(0,O.CE)("div",iI,[(0,O.Lk)("button",{class:(0,k.C4)(["rounded px-1",e.disabled?"cursor-not-allowed opacity-50":{"bg-b-3 text-c-1 cursor-default":"form"===e.modelValue,"hover:bg-b-3":"form"!==e.modelValue}]),disabled:e.disabled,title:e.disabled?"Fix the body to switch to the form view":void 0,type:"button",onClick:a[0]||(a[0]=(0,N.D$)(e=>t.$emit("update:modelValue","form"),["stop"]))}," Form ",10,iB),(0,O.Lk)("button",{class:(0,k.C4)(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":"raw"===e.modelValue}]),type:"button",onClick:a[1]||(a[1]=(0,N.D$)(e=>t.$emit("update:modelValue","raw"),["stop"]))}," Raw ",2)]))}),iW=a(5582),iD=a(40978);let iN={"multipart/form-data":"Multipart Form","application/x-www-form-urlencoded":"Form URL Encoded","application/octet-stream":"Binary File","application/json":"JSON","application/xml":"XML","application/yaml":"YAML","application/edn":"EDN",other:"Other",none:"None"};var iV={key:0,class:"text-c-3 flex min-h-10 w-full items-center justify-center border-t p-2 text-sm"},iF={key:1,class:"flex items-center justify-center overflow-hidden border-t p-1.5"},iz={class:"text-c-2 w-full max-w-full overflow-hidden rounded border px-1.5 py-1 text-xs whitespace-nowrap"},iH=(0,O.pM)({__name:"RequestBody",props:{requestBody:{},exampleKey:{},title:{},environment:{},requestBodyCompositionSelection:{}},emits:["update:contentType","update:value","update:formValue"],setup(e,{emit:t}){let a={"application/json":"json","application/xml":"xml","application/yaml":"yaml"},r=(0,O.EW)(()=>(0,U.T2)(e.requestBody,e.exampleKey)??"none"),n=e=>(0,i_.E)(e).essence,o=(0,O.EW)(()=>[...(0,iC.W)(iN).map(([e,t])=>({id:e,label:t})),...Object.keys(e.requestBody?.content??{}).filter(e=>!(e in iN)&&!(n(e)in iN)).map(e=>({id:e,label:n(e)}))]),l=(0,O.EW)({get:()=>{let e=o.value.find(e=>e.id===r.value);if(e)return e;let t=n(r.value),a=iN[t]??t;return{id:r.value,label:a}},set:e=>{t("update:contentType",{value:e.id})}}),s=(0,O.EW)(()=>e.requestBody&&(0,U.ZT)(e.requestBody,r.value,e.exampleKey,e.requestBodyCompositionSelection)),i=(0,O.EW)(()=>{if(!s.value)return"";let e=s.value.value;return"string"==typeof e?e:JSON.stringify(e,null,2)}),c=(0,O.EW)(()=>iy.h.schema(e.requestBody?.content?.[r.value]?.schema)),u=(0,O.EW)(()=>"none"===r.value?void 0:iZ(r.value)),d=(0,O.EW)(()=>{let e=u.value;if(!e)return{ok:!1};let t=s.value?.value;if(null==t||""===t)return{ok:!0,value:{}};if("string"==typeof t)try{return{ok:!0,value:e.parse(t)}}catch{return{ok:!1}}return{ok:!0,value:t}});(0,O.wB)([()=>e.requestBody,()=>e.exampleKey,(0,O.EW)(()=>JSON.stringify(e.requestBodyCompositionSelection??{}))],([,,a],[n,o,l])=>{if(e.requestBody!==n||e.exampleKey!==o||a===l||0===Object.keys(e.requestBodyCompositionSelection??{}).length)return;let s=u.value;if(!e.requestBody||!s)return;let i=(0,U.cO)(e.requestBody,r.value,e.requestBodyCompositionSelection);t("update:value",{payload:null==i?"":s.stringify(i),contentType:r.value})});let p=(0,O.EW)(()=>d.value.ok&&(0,i$.G)(d.value.value)),m=(0,O.EW)(()=>!!u.value&&(p.value||!!(c.value&&(0,iA.Tl)(c.value)))),h=(0,x.KR)("raw");return(0,O.wB)(p,e=>{e||(h.value="raw")}),(n,u)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(iW.A),null,{title:(0,O.k6)(()=>[(0,O.eW)((0,k.v_)(e.title),1)]),default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(sV.A),{columns:[""],presentational:""},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(sz),{class:"relative col-span-full flex h-8 cursor-pointer items-center justify-between border-r-0 !p-0"},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(iD.cy),{modelValue:l.value,"onUpdate:modelValue":u[0]||(u[0]=e=>l.value=e),options:o.value,teleport:""},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(io.R),{class:"text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-3 font-normal",fullWidth:"",variant:"ghost"},{default:(0,O.k6)(()=>[(0,O.Lk)("span",null,(0,k.v_)(l.value.label),1),(0,O.bF)((0,x.R1)(V.k),{icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["modelValue","options"]),m.value?((0,O.uX)(),(0,O.Wv)(iq,{key:0,disabled:!p.value,modelValue:h.value,"onUpdate:modelValue":u[1]||(u[1]=e=>h.value=e)},null,8,["disabled","modelValue"])):(0,O.Q3)("",!0)]),_:1}),(0,O.bF)((0,x.R1)(sH.A),null,{default:(0,O.k6)(()=>["none"===r.value?((0,O.uX)(),(0,O.CE)("div",iV,[...u[7]||(u[7]=[(0,O.Lk)("span",null,"No Body",-1)])])):"application/octet-stream"
1===r.value?((0,O.uX)(),(0,O.CE)("div",iF,[void 0!==(0,x.R1)(sY)((0,x.R1)(iv.s)(s.value?.value))?((0,O.uX)(),(0,O.CE)(O.FK,{key:0},[(0,O.Lk)("span",iz,(0,k.v_)((0,x.R1)(sY)((0,x.R1)(iv.s)(s.value?.value))),1),(0,O.bF)((0,x.R1)(io.R),{class:"bg-b-2 hover:bg-b-3 text-c-2 ml-1 border-0 shadow-none",size:"sm",variant:"outlined",onClick:u[2]||(u[2]=e=>t("update:value",{payload:void 0,contentType:r.value}))},{default:(0,O.k6)(()=>[...u[8]||(u[8]=[(0,O.eW)(" Delete ",-1)])]),_:1})],64)):((0,O.uX)(),(0,O.Wv)((0,x.R1)(io.R),{key:1,class:"bg-b-2 hover:bg-b-3 text-c-2 border-0 shadow-none",size:"sm",variant:"outlined",onClick:u[3]||(u[3]=()=>(function(e){let{open:t}=K({onChange:t=>{let a=t?.[0];a&&e(a)},multiple:!1,accept:"*/*"});t()})(e=>t("update:value",{payload:e,contentType:r.value})))},{default:(0,O.k6)(()=>[u[9]||(u[9]=(0,O.Lk)("span",null,"Select File",-1)),(0,O.bF)((0,x.R1)(V.k),{class:"ml-1",icon:"Upload",size:"xs",thickness:"2.5"})]),_:1}))])):"multipart/form-data"===r.value||"application/x-www-form-urlencoded"===r.value?((0,O.uX)(),(0,O.Wv)(iT,{key:2,bodySchema:c.value,environment:e.environment,example:s.value,selectedContentType:r.value,"onUpdate:formValue":u[4]||(u[4]=e=>t("update:formValue",{payload:e,contentType:r.value}))},null,8,["bodySchema","environment","example","selectedContentType"])):((0,O.uX)(),(0,O.CE)(O.FK,{key:3},["form"===h.value&&p.value?((0,O.uX)(),(0,O.Wv)(iX,{key:0,bodySchema:c.value,contentType:r.value,environment:e.environment,parsedValue:d.value.value,"onUpdate:value":u[5]||(u[5]=e=>t("update:value",{payload:e,contentType:r.value}))},null,8,["bodySchema","contentType","environment","parsedValue"])):((0,O.uX)(),(0,O.Wv)((0,x.R1)(sN),{key:1,class:"border-t px-3",content:"",environment:e.environment,language:a[r.value]??"plaintext",lineNumbers:"",lint:"",modelValue:i.value,withFakeData:"","onUpdate:modelValue":u[6]||(u[6]=e=>t("update:value",{payload:e,contentType:r.value}))},null,8,["environment","language","modelValue"]))],64))]),_:1})]),_:1})]),_:1}))}}),iY=(0,C.A)(iH,[["__scopeId","data-v-c8ab7ba2"]]),iG=a(95876),iK=a(54860),iJ=a(57052),i0=a(25917),i1=a(26996),i2={class:"flex flex-1"},i4={class:"overflow-hidden"},i8=(0,O.pM)({__name:"RequestCodeSnippet",props:{integration:{},clientOptions:{},selectedClient:{},selectedServer:{default:null},selectedContentType:{},selectedExample:{},eventBus:{},securitySchemes:{},method:{},path:{},operation:{},fallback:{type:Boolean},generateLabel:{type:Function},isWebhook:{type:Boolean},globalCookies:{},requestBodyCompositionSelection:{}},setup(e){let t=(0,O.EW)(()=>(0,iJ.mY)(e.operation)),a=(0,O.EW)(()=>(0,iJ.Lf)(t.value.samples,e.clientOptions,t.value.label)),r=(0,x.KR)((0,iJ.$r)(a.value,e.selectedClient));(0,O.wB)([()=>e.selectedClient,a],([e])=>{let t=(0,iJ.$r)(a.value,e);t&&(r.value=t)});let n=(0,O.EW)(()=>(0,iJ.I$)(e.securitySchemes??[])),o=(0,O.EW)(()=>(0,iJ.Ow)({defaultDisabledParameters:!0,clientId:r.value?.id,customCodeSamples:t.value.samples,operation:e.operation,method:e.method,path:e.path,contentType:e.selectedContentType,server:e.selectedServer,securitySchemes:e.securitySchemes,example:e.selectedExample,globalCookies:e.globalCookies,includeDefaultHeaders:"client"===e.integration})),l=(0,O.EW)(()=>a.value.some(e=>e.options.length>0));return(t,s)=>(0,O.bo)(((0,O.uX)(),(0,O.Wv)((0,x.R1)(iW.A),{class:"group/preview w-full border-t",defaultOpen:!1},{title:(0,O.k6)(()=>[...s[1]||(s[1]=[(0,O.eW)("Code Snippet",-1)])]),actions:(0,O.k6)(()=>[(0,O.Lk)("div",i2,[(0,O.bF)((0,x.R1)(iK.ev),{modelValue:r.value,options:a.value,placement:"bottom-end","onUpdate:modelValue":s[0]||(s[0]=t=>{r.value=t,t&&e.eventBus.emit("workspace:update:selected-client",t.id)})},{default:(0,O.k6)(({open:e})=>[(0,O.bF)((0,x.R1)(io.R),{class:"text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-0.5 py-0 text-base font-normal","data-testid":"client-picker",variant:"ghost"},{default:(0,O.k6)(()=>[(0,O.eW)((0,k.v_)(r.value?.title)+" ",1),(0,O.bF)((0,x.R1)(iG.A),{class:(0,k.C4)(["mt-0.25 size-3 transition-transform duration-100",e&&"rotate-180"]),weight:"bold"},null,8,["class"])]),_:2},1024)]),_:1},8,["modelValue","options"])])]),default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(i0.X),null,{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(sV.A),{columns:[""],presentational:""},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(sH.A),null,{default:(0,O.k6)(()=>[(0,O.Lk)("div",i4,[(0,O.bF)((0,x.R1)(i1.z),{class:"text-base",content:o.value,hideCredentials:n.value,lang:r.value?.lang??"plaintext",lineNumbers:""},null,8,["content","hideCredentials","lang"])])]),_:1})]),_:1})]),_:1})]),_:1},512)),[[N.aG,l.value]])}}),i3=a(24766),i6={class:"text-c-2 request-meta-buttons flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100"},i5={class:"sr-only"}
1,i7=(0,O.pM)({__name:"RequestParams",props:{rows:{},exampleKey:{},title:{},label:{},invalidParams:{},globalRoute:{},showAddRowPlaceholder:{type:Boolean,default:!0},environment:{},eventBus:{}},emits:["upsert","delete","deleteAll","selectPreset"],setup(e,{emit:t}){let a=(0,O.EW)(()=>e.rows.length>1),r=(e,a)=>{let{value:r,...n}=a;r instanceof File||t("upsert",e,{...n,value:r??""})};return(n,o)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(iW.A),{class:"group/params",itemCount:e.rows.length},{title:(0,O.k6)(()=>[(0,O.eW)((0,k.v_)(e.title),1)]),actions:(0,O.k6)(()=>[(0,O.Lk)("div",i6,[a.value?((0,O.uX)(),(0,O.Wv)((0,x.R1)(i3.iy),{key:0,content:"Clear optional parameters",placement:"left"},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(io.R),{class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:o[0]||(o[0]=(0,N.D$)(e=>t("deleteAll"),["stop"]))},{default:(0,O.k6)(()=>[o[4]||(o[4]=(0,O.eW)(" Clear ",-1)),(0,O.Lk)("span",i5,"All "+(0,k.v_)(e.title),1)]),_:1})]),_:1})):(0,O.Q3)("",!0)])]),default:(0,O.k6)(()=>[(0,O.bF)(iS,{class:"flex-1",columns:["32px","",""],data:e.rows,environment:e.environment,exampleKey:e.exampleKey,globalRoute:e.globalRoute,invalidParams:e.invalidParams,label:e.label,showAddRowPlaceholder:e.showAddRowPlaceholder,onDeleteRow:o[1]||(o[1]=e=>t("delete",{index:e})),onNavigate:o[2]||(o[2]=t=>e.eventBus.emit("ui:navigate",t)),onSelectPreset:o[3]||(o[3]=(e,a)=>t("selectPreset",e,a)),onUpsertRow:r},null,8,["data","environment","exampleKey","globalRoute","invalidParams","label","showAddRowPlaceholder"])]),_:1},8,["itemCount"]))}}),i9=e=>null==e||""===e,ce=e=>e.endsWith("][]"),ct=(e,t,a)=>{let r=(e=>{let t=ce(e)?e.slice(0,-2):e,a=[],r=t.match(/^[^[\]]*/)?.[0]??"";for(let e of(r&&a.push(r),t.matchAll(/\[([^\]]*)\]/g)))a.push(e[1]??"");return a})(e);return 0===r.length?a:t&&r[0]===t&&r.length>1?r.slice(1):r},ca=(e,t,a)=>{let r={},n=e.originalParameter,o=!!(n&&"style"in n&&"deepObject"===n.style);for(let n of t){if(n.originalParameter!==e.originalParameter||!n.sourceParameterValuePath||n===e&&!a)continue;let t=n===e&&void 0!==a,l=t?a.value:n.value;if(i9(l))continue;let s=t&&a.shouldRenameExpandedRow?ct(a.name,e.originalParameter?.name,n.sourceParameterValuePath):n.sourceParameterValuePath,i=t&&!!a.shouldRenameExpandedRow,c=ce(i?a.name:n.name)?{type:"array"}:i?void 0:n.schema;(0,iU.u)(r,s,o&&c?(0,U.Kw)(l,c):l)}return{name:e.originalParameter?.name??a?.name??e.name,value:r,isDisabled:a?.isDisabled??e.isDisabled??!1}},cr=(e,t,a,{context:r,defaultParameters:n=0,globalParameters:o=0,onDeleteExpandedRow:l,onRenameExpandedRow:s})=>{let i=n+o;return{delete:n=>{let o=r[n.index];if(o?.originalParameter){if(o.sourceParameterValuePath)return l?.(o),t.emit("operation:upsert:parameter",{type:e,payload:ca(o,r),originalParameter:o.originalParameter,meta:a},{skipUnpackProxy:!0});t.emit("operation:delete:parameter",{originalParameter:o.originalParameter,meta:a},{skipUnpackProxy:!0})}},deleteAll:()=>t.emit("operation:delete-all:parameters",{type:e,meta:a}),upsert:(l,c)=>{let u=r[l],{shouldRenameExpandedRow:d,...p}=c;if(l<n+o)return t.emit("operation:update:extra-parameters",{type:l<n?"default":"global",in:e,meta:{...a,name:u?.name?.toLowerCase?.()??"NON_VALID"},payload:{isDisabled:c.isDisabled??!1}});if(l>=i){let n=!!(u?.sourceParameterValuePath&&u.originalParameter);if(n&&u&&d&&c.name!==u.name){let e=ct(c.name,u.originalParameter?.name,u.sourceParameterValuePath??[]);s?.(u,e)}let o=n&&u?ca(u,r,c):p;return t.emit("operation:upsert:parameter",{type:e,payload:o,originalParameter:u?.originalParameter??null,meta:a},{skipUnpackProxy:!0,debounceKey:`update:parameter-${e}-${l-i}`})}}}},cn=a(95994),co=e=>e.join("\0"),cl=({parameter:e,name:t,value:a,description:r,schema:n,isRequired:o,isDisabled:l,sourceParameterValuePath:s})=>({name:t,value:null==a?"":Array.isArray(a)?a.join(","):"object"==typeof a?JSON.stringify(a):String(a),description:r,schema:n,isRequired:o,isDisabled:l,originalParameter:e,sourceParameterValuePath:s}),cs=(e,t,a)=>"deepObject"===a?`${e.name}${t.map(e=>`[${e}]`).join("")}`:t[0]??"",ci=(e,t,a)=>"deepObject"===t&&a?`${e}[]`:e,cc=(e,t,a,r)=>cl({parameter:e,name:e.name,value:a,description:e.description,schema:t,isRequired:e.required,isDisabled:r}),cu=({parameter:e,schema:t,value:a,pathPrefix:r,namePrefix:n,mode:o,isDisabled:l,hiddenValuePaths:s,renamedValuePaths:i,renameTargetPaths:c})=>{if(!t.properties)return[];let u=new Set(t.required??[]);return Object.entries(t.properties).flatMap(([t,d])=>{let p=(0,X.A)(d);if(!p)return[];let m=[...r,t],h=n?`${n}[${t}]`:t,f=i.get(co(m)),g=f??m;if(s.has(co(g)))return[];if(f){let t=(0,cn.A)(a,f),r=void 0===t?(0,cn.A)(a,m):t;return[cl({parameter:e,name:ci(cs(e,f,o),o,Array.isArray(r)),value:r,description:e.description,schema:void 0,isRequired:!1,isDisabled:l,sourceParameterValuePath:f})]}if(c.has(co(m)))return[];if("deepObject"===o&&(0,iA.Tl)(p)&&p.properties)return cu({parameter:e,schema:p,value:a,pathPrefix:m,namePrefix:h,mode:o,isDisabled:l,hiddenValuePaths:s,renamedValuePaths:i,renameTargetPaths:c});let v=(0,cn.A)(a,m);return[cl({parameter:e,name:ci(h,o,(0,iA.R8)(p)||Array.isArray(v)),value:v,description:p.description??e.description,schema:p,isRequired:u.has(t),isDisabled:l,sourceParameterValuePath:m})]})},cd=(e,t,a)=>e.reduce((e,r)=>{let n=a?a(r):r;return(e[r[t]]??=[]).push(n),e},{}),cp=a(58789),cm=a(95877),ch=a(86888),cf={class:"group pointer-events-none flex flex-1 items-center gap-1 lg:pr-24"},cg=["for"],cv=["id","placeholder","value"],cy={key:2,class:"text-c-1 flex h-8 items-center"},cb=["id","role"],cO=(0,O.pM)({__name:"RequestBlock",props:{authMeta:{default:()=>({type:"document"})},clientOptions:{},environment:{},eventBus:{},exampleKey:{},workspaceCookies:{},documentCookies:{},layout:{},method:{},operation:{},path:{},plugins:{},proxyUrl:{},securityRequirements:{},securitySchemes:{},requestBodyCompositionSelection:{},selectedClient:{},selectedSecurity:{},selectedSecuritySchemes:{},server:{},defaultHeaders:{},options:{}},setup(e){let t=(0,O.EW)(()=>({method:e.method,path:e.path,exampleKey:e.exampleKey})),a=(0,x.KR)({}),r=(0,x.KR)({}),n=e=>`${e.in}:${e.name}`,o=e=>{if(!e.originalParameter||!e.sourceParameterValuePath)return;let t=n(e.originalParameter);a.value={...a.value,[t]:[...a.value[t]??[],e.sourceParameterValuePath]}},l=(e,t)=>
1{if(!e.originalParameter||!e.sourceParameterValuePath)return;let a=e.sourceParameterValuePath,o=n(e.originalParameter),l=r.value[o]??[],s=l.find(e=>{let t;return t=e.to,t.length===a.length&&t.every((e,t)=>e===a[t])}),i=s?l.map(e=>e===s?{from:e.from,to:t}:e):[...l,{from:a,to:t}];r.value={...r.value,[o]:i}},s=(0,O.EW)(()=>cd(e.operation.parameters?.map(e=>(0,X.A)(e)).flatMap(t=>((e,t,a={})=>{let r=(0,U.rI)(e,t,void 0),n=(0,U.oy)(e,r),o="schema"in e&&e.schema?(0,X.A)(e.schema):(0,X.A)((e=>{if("content"in e&&e.content){let t=Object.keys(e.content);if(1===t.length)return e.content[t[0]]}})(e)?.schema),l=((e,t)=>{let a;if("query"!==e.in||!("schema"in e&&void 0!==e.schema)||!t||!(0,iA.Tl)(t))return null;let{style:r,explode:n}={style:a="style"in e&&e.style?e.style:"form",explode:"explode"in e&&void 0!==e.explode?e.explode:"form"===a};return n?"form"===r?"form":"deepObject"===r?"deepObject":null:null})(e,o);if(null===l||!o||!(0,iA.Tl)(o))return[cc(e,o,r?.value,n)];let s=r?.value===void 0?void 0:(0,U.hX)(r.value,e);if(!o.properties)return[cc(e,o,r?.value,n)];let i=new Set(a.hiddenValuePaths?.map(co)??[]),c=new Map((a.renamedValuePaths??[]).map(({from:e,to:t})=>[co(e),t])),u=new Set((a.renamedValuePaths??[]).map(({to:e})=>co(e))),d=cu({parameter:e,schema:o,value:s,pathPrefix:[],namePrefix:"deepObject"===l?e.name:"",mode:l,isDisabled:n,hiddenValuePaths:i,renamedValuePaths:c,renameTargetPaths:u}),p=(({parameter:e,value:t,schemaRows:a,mode:r,isDisabled:n,renamedValuePaths:o})=>{let l=new Set([...a.map(e=>co(e.sourceParameterValuePath??[])),...o.keys()]);return((e,t)=>{if(!(0,i$.G)(e))return[];let a=[],r=(e,n)=>{for(let[o,l]of Object.entries(e)){let e=[...n,o];"deepObject"===t&&(0,i$.G)(l)?r(l,e):a.push(e)}};return r(e,[]),a})(t,r).filter(e=>!l.has(co(e))).map(a=>{let o=(0,cn.A)(t,a);return cl({parameter:e,name:ci(cs(e,a,r),r,Array.isArray(o)),value:o,description:e.description,schema:void 0,isRequired:!1,isDisabled:n,sourceParameterValuePath:a})})})({parameter:e,value:s,schemaRows:d,mode:l,isDisabled:n,renamedValuePaths:c});return[...d,...p]})(t,e.exampleKey,{hiddenValuePaths:"query"===t.in?a.value[n(t)]??[]:[],renamedValuePaths:"query"===t.in?r.value[n(t)]??[]:[]}).map(e=>({...e,in:t.in})))??[],"in",({in:e,...t})=>t)),i=(0,O.EW)(()=>cd(s.value.header?.map(e=>({...e,name:e.name.toLowerCase()}))??[],"name")),c=(0,O.EW)(()=>{let t=e.operation["x-scalar-disable-parameters"]?.["default-headers"]?.[e.exampleKey]??{};return Object.entries(e.defaultHeaders).map(([e,a])=>{let r;return{name:e,value:a,schema:void 0,isOverridden:!!(r=i.value[e.toLowerCase()]?.[0])&&!r.isDisabled,isReadonly:!0,isDisabled:t[e.toLowerCase()]??!1}})}),u=(0,O.EW)(()=>[...c.value,...s.value.header??[]]),d=(0,O.EW)(()=>{let t=(0,U.RW)(e.environment);return(0,ch.Rf)((0,U._2)({server:e.server,path:e.path}),t)}),p=(0,O.EW)(()=>(({sources:e,shouldInclude:t})=>{let a=[],r=new Map;for(let{location:n,cookies:o}of e)o.forEach((e,o)=>{e.name&&t(e)&&(r.has(e.name)||(r.set(e.name,[]),a.push(e.name)),r.get(e.name)?.push({location:n,value:e.value,isDisabled:e.isDisabled??!1,index:o}))});let n=[];for(let e of a){let t=r.get(e)??[],a=t[0];if(!a)continue;let o=t.filter(e=>!e.isDisabled),l=[...new Set(t.map(e=>e.value))],s=l.length>1;(s||0!==o.length)&&n.push({name:e,selectedValue:(o[0]??a).value,options:s?l:[],isPreset:s,location:a.location,siblings:t.map(({location:e,index:t,value:a})=>({location:e,index:t,value:a}))})}return n})({sources:[{location:"workspace",cookies:e.workspaceCookies},{location:"document",cookies:e.documentCookies}],shouldInclude:e=>(0,U.Cd)({cookie:{...e,isDisabled:!1},url:d.value,disabledGlobalCookies:{}})})),m=(0,O.EW)(()=>{let t=e.operation["x-scalar-disable-parameters"]?.["global-cookies"]?.[e.exampleKey]??{};return p.value.map(e=>({name:e.name,value:e.selectedValue,globalRoute:{page:e.location,path:"cookies"},isReadonly:!0,isDisabled:t[e.name.toLowerCase()]??!1,presetOptions:e.isPreset?e.options:void 0}))}),h=(t,a)=>{let r=p.value[t];if(r)for(let t of r.siblings)e.eventBus.emit("cookie:upsert:cookie",{collectionType:t.location,index:t.index,payload:{isDisabled:t.value!==a}})},f=(0,O.EW)(()=>[...m.value??[],...s.value.cookie??[]]),g=(0,x.KR)("All"),v=["Auth","Variables","Cookies","Headers","Query","Body"],y={All:(0,O.Bi)(),Auth:(0,O.Bi)(),Variables:(0,O.Bi)(),Cookies:(0,O.Bi)(),Headers:(0,O.Bi)(),Query:(0,O.Bi)(),Body:(0,O.Bi)()},b=(0,O.EW)(()=>{let t=new Set(["All",...v]);return s.value.path?.length||t.delete("Variables"),(0,cm.Ik)(e.method)||t.delete("Body"),S.value&&t.delete("Auth"),[...t]}),w=(0,O.EW)(()=>Object.fromEntries(b.value.map(e=>[e,y[e]]))),S=(0,O.EW)(()=>"modal"===e.layout&&!Object.keys(e.securitySchemes??{}).length),C=(0,O.EW)(()=>"modal"!==e.layout||!!(e.securityRequirements?.length||e.selectedSecurity.selectedSchemes.length)),$=(0,O.EW)(()=>e.operation.summary?e.operation.summary:e.path.replace(sQ.Q.PROTOCOL,"")||"Request Name"),A=e=>"All"===g.value||g.value===e;(0,O.wB)(()=>e.method,e=>{"Body"!==g.value||(0,cm.Ik)(e)||(g.value="All")}),(0,O.wB)(()=>[e.method,e.path,e.exampleKey],()=>{a.value={},r.value={}});let R=a=>{let r=a.target.value;e.eventBus.emit("operation:update:meta",{meta:t.value,payload:{summary:r.trim()}})},E=(0,O.EW)(()=>({path:cr("path",e.eventBus,t.value,{context:s.value.path??[]}),cookie:{...cr("cookie",e.eventBus,t.value,{context:f.value??[],globalParameters:m.value.length}),selectPreset:h},header:cr("header",e.eventBus,t.value,{context:u.value,defaultParameters:c.value.length}),query:cr("query",e.eventBus,t.value,{context:s.value.query??[],onDeleteExpandedRow:o,onRenameExpandedRow:l})})),P=a=>e.eventBus.emit("operation:update:requestBody:contentType",{payload:{contentType:a.value},meta:t.value}),T=({payload:a,contentType:r})=>{let n="string"==typeof a?`update:requestBody:value-${r}`:void 0;e.eventBus.emit("operation:update:requestBody:value",{payload:a,contentType:r,meta:t.value},{debounceKey:n})},_=({payload:a,contentType:r})=>{let n=`update:requestBody:${r}-form-value`;e.eventBus.emit("operation:update:requestBody:formValue",{payload:a.map(e=>(0,iv.s)(e,{depth:1})),contentType:r,meta:t.value},{debounceKey:n})},j=(0,O.Bi)(),Q=(0,O.EW)(()=>[...e.workspaceCookies,...e.documentCookies]),L=a=>e.eventBus.emit("operation:update:extension",{payload:a,meta:t.value});return(t,a)=>((0,O.uX)(),(0,O.Wv)(q,{"aria-label":`Request: ${e.operation.summary}`},{title:(0,O.k6)(()=>[(0,O.Lk)("div",cf,["modal"!==e.layout?((0,O.uX)(),(0,O.CE)("label",{key:0,class:"pointer-events-auto absolute top-0 left-0 h-full w-full cursor-text opacity-0",for:(0,x.R1)(j)},null,8,cg)):(0,O.Q3)("",!0),"modal"!==e.layout?((0,O.uX)(),(0,O.CE)("input",{key:1,id:(0,x.R1)(j),class:"text-c-1 group-hover-input pointer-events-auto relative z-10 -ml-0.5 h-8 w-full rounded pl-1.25 has-[:focus-visible]:outline md:-ml-1.25",placeholder:$.value,value:e.operation.summary,onBlur:R},null,40,cv)):((0,O.uX)(),(0,O.CE)("span",cy,(0,k.v_)(e.operation.summary),1))]),(0,O.bF)(G,{modelValue:g.value,"onUpdate:modelValue":a[0]||(a[0]=e=>g.value=e),filterIds:w.value,filters:b.value},null,8,["modelValue","filterIds","filters"])]),default:(0,O.k6)(()=>[(0,O.Lk)("div",{id:w.value.All,class:"request-section-content custom-scroll relative flex flex-1 flex-col",role:"All"===g.value?"tabpanel":"none"},[(0,O.bo)((0,O.bF)((0,x.R1)(cp.A),{id:w.value.Auth,createAnySecurityScheme:"modal"!==e.layout,defaultOpen:C.value,environment:e.environment,eventBus:e.eventBus,meta:e.authMeta,options:e.options,proxyUrl:e.proxyUrl,securityRequirements:e.securityRequirements,securitySchemes:e.securitySchemes,selectedSecurity:e.selectedSecurity,selectedSecuritySchemes:e.selectedSecuritySchemes,server:e.server,title:"Authentication"},null,8,["id","createAnySecurityScheme","defaultOpen","environment","eventBus","meta","options","proxyUrl","securityRequirements","securitySchemes","selectedSecurity","selectedSecuritySchemes","server"]),[[N.aG,A("Auth")&&!S.value]]),(0,O.bo)((0,O.bF)(i7,(0,O.v6)({id:w.value.Variables,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:s.value.path??[],showAddRowPlaceholder:!1,title:"Variables"},(0,O.Tb)(E.value.path)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[N.aG,A("Variables")&&s.value.path?.length]]),(0,O.bo)((0,O.bF)(i7,(0,O.v6)({id:w.value.Cookies,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:f.value??[],showAddRowPlaceholder:!0,title:"Cookies"},(0,O.Tb)(E.value.cookie)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[N.aG,A("Cookies")]]),(0,O.bo)((0,O.bF)(i7,(0,O.v6)({id:w.value.Headers,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:u.value??[],title:"Headers"},(0,O.Tb)(E.value.header)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[N.aG,A("Headers")]]),(0,O.bo)((0,O.bF)(i7,(0,O.v6)({id:w.value.Query,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:s.value.query??[],title:"Query Parameters"},(0,O.Tb)(E.value.query)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[N.aG,A("Query")]]),(0,O.bo)((0,O.bF)(iY,{id:w.value.Body,environment:e.environment,exampleKey:e.exampleKey,requestBody:(0,x.R1)(X.A)(e.operation.requestBody),requestBodyCompositionSelection:e.requestBodyCompositionSelection,title:"Request Body","onUpdate:contentType":P,"onUpdate:formValue":_,"onUpdate:value":T},null,8,["id","environment","exampleKey","requestBody","requestBodyCompositionSelection"]),[[N.aG,A("Body")&&(0,x.R1)(cm.Ik)(e.method)]]),((0,O.uX)(!0),(0,O.CE)(O.FK,null,(0,O.pI)(e.plugins,(t,a)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(i0.X),{key:a},{default:(0,O.k6)(()=>[t?.components?.request?(0,O.bo)(((0,O.uX)(),(0,O.Wv)((0,O.$y)(t.components.request.component),(0,O.v6)({ke
1y:0,operation:e.operation},{ref_for:!0},t.components.request.additionalProps,{"onOperation:update:extension":L}),null,16,["operation"])),[[N.aG,"All"===g.value]]):(0,O.Q3)("",!0)]),_:2},1024))),128)),a[1]||(a[1]=(0,O.Lk)("div",{class:"flex grow"},null,-1)),(0,O.bo)((0,O.bF)(i8,{clientOptions:e.clientOptions,eventBus:e.eventBus,globalCookies:Q.value,integration:"client",method:e.method,operation:e.operation,path:e.path,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:(0,x.R1)(X.A)(e.operation.requestBody)?.["x-scalar-selected-content-type"]?.[e.exampleKey],selectedServer:e.server??void 0},null,8,["clientOptions","eventBus","globalCookies","method","operation","path","securitySchemes","selectedClient","selectedContentType","selectedServer"]),[[N.aG,"All"===g.value]])],8,cb)]),_:1},8,["aria-label"]))}}),ck=(0,C.A)(cO,[["__scopeId","data-v-1ac895c0"]]),cx=a(69876),cw={class:"flex-1 px-2 py-1.5 whitespace-nowrap"},cS=(0,O.pM)({__name:"DataTableText",props:{text:{}},setup:e=>(t,a)=>((0,O.uX)(),(0,O.Wv)(sF.A,{class:"relative flex"},{default:(0,O.k6)(()=>[(0,O.Lk)("span",cw,[(0,O.RG)(t.$slots,"default",{},()=>[(0,O.eW)((0,k.v_)(e.text),1)])])]),_:3}))}),cC=["href"],c$=(0,O.pM)({__name:"HelpfulLink",props:{href:{}},setup:e=>(t,a)=>((0,O.uX)(),(0,O.CE)("a",{class:"decoration-c-3 cursor-help underline underline-offset-2",href:e.href,rel:"noopener noreferrer",target:"_blank"},[(0,O.RG)(t.$slots,"default")],8,cC))});let cA={accept:{name:"Accept",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept"},"accept-ch":{name:"Accept-CH",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH"},"accept-ch-lifetime":{name:"Accept-CH-Lifetime",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH-Lifetime"},"accept-charset":{name:"Accept-Charset",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Charset"},"accept-encoding":{name:"Accept-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding"},"accept-language":{name:"Accept-Language",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language"},"accept-patch":{name:"Accept-Patch",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Patch"},"accept-post":{name:"Accept-Post",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Post"},"accept-ranges":{name:"Accept-Ranges",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Ranges"},"access-control-allow-credentials":{name:"Access-Control-Allow-Credentials",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials"},"access-control-allow-headers":{name:"Access-Control-Allow-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers"},"access-control-allow-methods":{name:"Access-Control-Allow-Methods",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods"},"access-control-allow-origin":{name:"Access-Control-Allow-Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin"},"access-control-expose-headers":{name:"Access-Control-Expose-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers"},"access-control-max-age":{name:"Access-Control-Max-Age",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age"},"access-control-request-headers":{name:"Access-Control-Request-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers"},"access-control-request-method":{name:"Access-Control-Request-Method",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method"},age:{name:"Age",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Age"},allow:{name:"Allow",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Allow"},"alt-svc":{name:"Alt-Svc",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Svc"},"alt-used":{name:"Alt-Used",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Used"},authorization:{name:"Authorization",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization"},"cache-control":{name:"Cache-Control",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control"},"clear-site-data":{name:"Clear-Site-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data"},connection:{name:"Connection",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection"},"content-disposition":{name:"Content-Disposition",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition"},"content-dpr":{name:"Content-DPR",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-DPR"},"content-encoding":{name:"Content-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding"},"content-language":{name:"Content-Language",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language"},"content-length":{name:"Content-Length",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length"},"content-location":{name:"Content-Location",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Location"},"content-range":{name:"Content-Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range"},"content-security-policy":{name:"Content-Security-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy"},"content-security-policy-report-only":{name:"Content-Security-Policy-Report-Only",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only"},"content-type":{name:"Content-Type",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type"}
1,cookie:{name:"Cookie",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie"},"critical-ch":{name:"Critical-CH",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Critical-CH"},"cross-origin-embedder-policy":{name:"Cross-Origin-Embedder-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy"},"cross-origin-opener-policy":{name:"Cross-Origin-Opener-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy"},"cross-origin-resource-policy":{name:"Cross-Origin-Resource-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy"},date:{name:"Date",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date"},"device-memory":{name:"Device-Memory",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Device-Memory"},digest:{name:"Digest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Digest"},dnt:{name:"DNT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DNT"},downlink:{name:"Downlink",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Downlink"},dpr:{name:"DPR",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DPR"},"early-data":{name:"Early-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Early-Data"},ect:{name:"ECT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ECT"},etag:{name:"ETag",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag"},expect:{name:"Expect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect"},"expect-ct":{name:"Expect-CT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect-CT"},expires:{name:"Expires",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires"},forwarded:{name:"Forwarded",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded"},from:{name:"From",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/From"},host:{name:"Host",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Host"},"if-match":{name:"If-Match",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Match"},"if-modified-since":{name:"If-Modified-Since",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since"},"if-none-match":{name:"If-None-Match",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-None-Match"},"if-range":{name:"If-Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Range"},"if-unmodified-since":{name:"If-Unmodified-Since",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Unmodified-Since"},"keep-alive":{name:"Keep-Alive",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive"},"large-allocation":{name:"Large-Allocation",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Large-Allocation"},"last-modified":{name:"Last-Modified",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Last-Modified"},link:{name:"Link",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link"},location:{name:"Location",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location"},"max-forwards":{name:"Max-Forwards",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Max-Forwards"},nel:{name:"NEL",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/NEL"},origin:{name:"Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin"},"permissions-policy":{name:"Permissions-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy"},pragma:{name:"Pragma",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Pragma"},"proxy-authenticate":{name:"Proxy-Authenticate",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authenticate"},"proxy-authorization":{name:"Proxy-Authorization",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization"},range:{name:"Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range"},referer:{name:"Referer",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer"},"referrer-policy":{name:"Referrer-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy"},"retry-after":{name:"Retry-After",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After"},rtt:{name:"RTT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/RTT"},"save-data":{name:"Save-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Save-Data"},"sec-ch-prefers-reduced-motion":{name:"Sec-CH-Prefers-Reduced-Motion",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Motion"},"sec-ch-prefers-reduced-transparency":{name:"Sec-CH-Prefers-Reduced-Transparency",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Transparency"},"sec-ch-ua":{name:"Sec-CH-UA",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA"},"sec-ch-ua-arch":{name:"Sec-CH-UA-Arch",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Arch"},"sec-ch-ua-bitness":{name:"Sec-CH-UA-Bitness",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Bitness"},"sec-ch-ua-full-version":{name:"Sec-CH-UA-Full-Version",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version"},"sec-ch-ua-full-version-list":{name:"Sec-CH-UA-Full-Version-List",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version-List"},"sec-ch-ua-mobile":{name:"Sec-CH-UA-Mobile",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Mobile"},"sec-ch-ua-model":{name:"Sec-CH-UA-Model",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Model"},"sec-ch-ua-platform":{name:"Sec-CH-UA-Platform",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform"},"sec-ch-ua-platform-version":{name:"Sec-CH-UA-Platform-Version",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform-Version"},"sec-fetch-dest":{name:"Sec-Fetch-Dest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest"},"sec-fetch-mode":{name:"Sec-Fetch-Mode",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Mode"},"sec-fetch-site":{name:"Sec-Fetch-Site",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Site"},"sec-fetch-user":{name:"Sec-Fetch-User",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-User"},"sec-gpc":{name:"Sec-GPC",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-GPC"},"sec-purpose":{name:"Sec-Purpose",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Purpose"},"sec-websocket-accept":{name:"Sec-WebSocket-Accept",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Accept"}
1,server:{name:"Server",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server"},"server-timing":{name:"Server-Timing",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing"},"service-worker-navigation-preload":{name:"Service-Worker-Navigation-Preload",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Service-Worker-Navigation-Preload"},"set-cookie":{name:"Set-Cookie",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie"},sourcemap:{name:"SourceMap",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap"},"strict-transport-security":{name:"Strict-Transport-Security",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security"},te:{name:"TE",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/TE"},"timing-allow-origin":{name:"Timing-Allow-Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Timing-Allow-Origin"},tk:{name:"Tk",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Tk"},trailer:{name:"Trailer",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Trailer"},"transfer-encoding":{name:"Transfer-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding"},upgrade:{name:"Upgrade",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade"},"upgrade-insecure-requests":{name:"Upgrade-Insecure-Requests",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade-Insecure-Requests"},"user-agent":{name:"User-Agent",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent"},vary:{name:"Vary",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary"},via:{name:"Via",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via"},"viewport-width":{name:"Viewport-Width",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Viewport-Width"},"want-digest":{name:"Want-Digest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Want-Digest"},warning:{name:"Warning",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Warning"},width:{name:"Width",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Width"},"www-authenticate":{name:"WWW-Authenticate",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate"},"x-content-type-options":{name:"X-Content-Type-Options",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options"},"x-dns-prefetch-control":{name:"X-DNS-Prefetch-Control",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control"},"x-forwarded-for":{name:"X-Forwarded-For",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For"},"x-forwarded-host":{name:"X-Forwarded-Host",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host"},"x-forwarded-proto":{name:"X-Forwarded-Proto",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto"},"x-frame-options":{name:"X-Frame-Options",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options"},"x-xss-protection":{name:"X-XSS-Protection",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection"},"cf-cache-status":{name:"Cf-Cache-Status",url:"https://developers.cloudflare.com/cache/concepts/default-cache-behavior/#cloudflare-cache-responses"},"cf-ray":{name:"Cf-Ray",url:"https://developers.cloudflare.com/fundamentals/get-started/reference/http-request-headers/#cf-ray"},"report-to":{name:"Report-To",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to"},"x-cloud-trace-context":{name:"X-Cloud-Trace-Context",url:"https://cloud.google.com/trace/docs/trace-context#legacy-http-header"},"speculation-rules":{name:"Speculation-Rules",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Speculation-Rules"}};var cR={key:0,class:"max-h-[calc(100%-32px)] overflow-y-auto"},cE={key:1,class:"text-c-3 bg-b-1 flex min-h-[64px] items-center justify-center border-t px-4 text-sm"},cP=(0,O.pM)({__name:"Headers",props:{headers:{}},setup(e){let t=e=>cA[e.toLowerCase()];return(a,r)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(iW.A),{class:"overflow-auto",defaultOpen:!1,itemCount:e.headers.length},{title:(0,O.k6)(()=>[(0,O.RG)(a.$slots,"title")]),default:(0,O.k6)(()=>[e.headers.length?((0,O.uX)(),(0,O.CE)("div",cR,[(0,O.bF)((0,x.R1)(sV.A),{columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(sH.A),{class:"sr-only !block"},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(sz),null,{default:(0,O.k6)(()=>[...r[0]||(r[0]=[(0,O.eW)("Header Key",-1)])]),_:1}),(0,O.bF)((0,x.R1)(sz),null,{default:(0,O.k6)(()=>[...r[1]||(r[1]=[(0,O.eW)("Header Value",-1)])]),_:1})]),_:1}),((0,O.uX)(!0),(0,O.CE)(O.FK,null,(0,O.pI)(e.headers,e=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(sH.A),{key:e.name,class:"group/row text-c-1"},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(cS),{class:"bg-b-1 sticky left-0 z-1 max-w-full group-first/row:border-t-0"},{default:(0,O.k6)(()=>["string"==typeof t(e.name)?.url?((0,O.uX)(),(0,O.Wv)(c$,{key:0,class:"decoration-c-3",href:t(e.name).url},{default:(0,O.k6)(()=>[(0,O.eW)((0,k.v_)(e.name),1)]),_:2},1032,["href"])):((0,O.uX)(),(0,O.CE)(O.FK,{key:1},[(0,O.eW)((0,k.v_)(e.name),1)],64))]),_:2},1024),(0,O.bF)((0,x.R1)(cS),{class:"z-0 group-first/row:border-t-0",text:e.value},null,8,["text"])]),_:2},1024))),128))]),_:1})])):((0,O.uX)(),(0,O.CE)("div",cE," No headers "))]),_:3},8,["itemCount"]))}}),cT=a(59906),c_=a(23803);function cj({data:e,headers:t}){let a=(0,c_.qK)(t.find(e=>"content-type"===e.name.toLowerCase())?.value);return{mimeType:a,attachmentFilename:function(e){let t="";if(e){let a=e.match(/filename\*=UTF-8''([^;]+)/)?.[1]??e.match(/filename\s*=\s*"?([^";]+)"?/)?.[1];a&&(t=(e=>{try{return decodeURIComponent(e)}catch{return e}})(a.trim()))}return t}(t.find(e=>"content-disposition"===e.name.toLowerCase())?.value??""),dataUrl:e instanceof Blob?URL.createObjectURL(e):"string"==typeof e?URL.createObjectURL(new Blob([e],{type:a?a.toString():void 0})):e instanceof Object&&Object.keys(e).length?URL.createObjectURL(new Blob([JSON.stringify(e)],{type:a?a.toString():void 0})):""}}var cQ=["download","href"],cL=(0,O.pM)({__name:"ResponseBodyDownload",props:{href:{},type:{},filename:{}},setup(e){let t=(0,O.EW)(()=>{let t=(0,cx.zi)(e.type??"")?.extension??".unknown";return e.filename?e.filename:`response${t}`});return(a,r)=>((0,O.uX)(),(0,O.CE)("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:`${t.value}`,href:e.href,onClick:r[0]||(r[0]=(0,N.D$)(()=>{},["stop"]))},[(0,O.bF)((0,x.R1)(V.k),{icon:"Download",size:"xs"}),r[1]||(r[1]=(0,O.Lk)("span",null,[(0,O.Lk)("span",null,"Download"),(0,O.Lk)("span",{class:"sr-only"},"Response Body")],-1))],8,cQ))}}),cM={class:"flex justify-center px-2 py-3"},cZ={class:"text-c-3 p-2 text-sm"},cU=(0,C.A)({},[["render",function(e,t){return(0,O.uX)(),(0,O.CE)("div",cM,[(0,O.Lk)("div",cZ,[(0,O.RG)(e.$slots,"default")])])}]]);function cX(e){return 32===e||9===e}function cI(e){return 10===e||13===e}function cB(e){return e>=48&&e<=57}(c=f||(f={}))[c.lineFeed=10]="lineFeed",c[c.carriageReturn=13]="carriageReturn",c[c.space=32]="space",c[c._0=48]="_0",c[c._1=49]="_1",c[c._2=50]="_2",c[c._3=51]="_3",c[c._4=52]="_4",c[c._5=53]="_5",c[c._6=54]="_6",c[c._7=55]="_7",c[c._8=56]="_8",c[c._9=57]="_9",c[c.a=97]="a",c[c.b=98]="b",c[c.c=99]="c",c[c.d=100]="d",c[c.e=101]="e",c[c.f=102]="f",c[c.g=103]="g",c[c.h=104]="h",c[c.i=105]="i",c[c.j=106]="j",c[c.k=107]="k",c[c.l=108]="l",c[c.m=109]="m",c[c.n=110]="n",c[c.o=111]="o",c[c.p=112]="p",c[c.q=113]="q",c[c.r=114]="r",c[c.s=115]="s",c[c.t=116]="t",c[c.u=117]="u",c[c.v=118]="v",c[c.w=119]="w",c[c.x=120]="x",c[c.y=121]="y",c[c.z=122]="z",c[c.A=65]="A",c[c.B=66]="B",c[c.C=67]="C",c[c.D=68]="D",c[c.E=69]="E",c[c.F=70]="F",c[c.G=71]="G",c[c.H=72]="H",c[c.I=73]="I",c[c.J=74]="J",c[c.K=75]="K",c[c.L=76]="L",c[c.M=77]="M",c[c.N=78]="N",c[c.O=79]="O",c[c.P=80]="P",c[c.Q=81]="Q",c[c.R=82]="R",c[c.S=83]="S",c[c.T=84]="T",c[c.U=85]="U",c[c.V=86]="V",c[c.W=87]="W",c[c.X=88]="X",c[c.Y=89]="Y",c[c.Z=90]="Z",c[c.asterisk=42]="asterisk",c[c.backslash=92]="backslash",c[c.closeBrace=125]="closeBrace",c[c.closeBracket=93]="closeBracket",c[c.colon=58]="colon",c[c.comma=44]="comma",c[c.dot=46]="dot",c[c.doubleQuote=34]="doubleQuote",c[c.minus=45]="minus",c[c.openBrace=123]="openBrace",c[c.openBracket=91]="openBracket",c[c.plus=43]="plus",c[c.slash=47]="slash",c[c.formFeed=12]="formFeed",c[c.tab=9]="tab";
1let cq=Array(20).fill(0).map((e,t)=>" ".repeat(t)),cW={" ":{"\n":Array(200).fill(0).map((e,t)=>"\n"+" ".repeat(t)),"\r":Array(200).fill(0).map((e,t)=>"\r"+" ".repeat(t)),"\r\n":Array(200).fill(0).map((e,t)=>"\r\n"+" ".repeat(t))},"	":{"\n":Array(200).fill(0).map((e,t)=>"\n"+"	".repeat(t)),"\r":Array(200).fill(0).map((e,t)=>"\r"+"	".repeat(t)),"\r\n":Array(200).fill(0).map((e,t)=>"\r\n"+"	".repeat(t))}},cD=["\n","\r","\r\n"];function cN(e,t){let a="";for(let r=0;r<t;r++)a+=e;return a}function cV(e,t){return -1!=="\r\n".indexOf(e.charAt(t))}(g||(g={})).DEFAULT={allowTrailingComma:!1},(u=v||(v={}))[u.None=0]="None",u[u.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",u[u.UnexpectedEndOfString=2]="UnexpectedEndOfString",u[u.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",u[u.InvalidUnicode=4]="InvalidUnicode",u[u.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",u[u.InvalidCharacter=6]="InvalidCharacter",(d=y||(y={}))[d.OpenBraceToken=1]="OpenBraceToken",d[d.CloseBraceToken=2]="CloseBraceToken",d[d.OpenBracketToken=3]="OpenBracketToken",d[d.CloseBracketToken=4]="CloseBracketToken",d[d.CommaToken=5]="CommaToken",d[d.ColonToken=6]="ColonToken",d[d.NullKeyword=7]="NullKeyword",d[d.TrueKeyword=8]="TrueKeyword",d[d.FalseKeyword=9]="FalseKeyword",d[d.StringLiteral=10]="StringLiteral",d[d.NumericLiteral=11]="NumericLiteral",d[d.LineCommentTrivia=12]="LineCommentTrivia",d[d.BlockCommentTrivia=13]="BlockCommentTrivia",d[d.LineBreakTrivia=14]="LineBreakTrivia",d[d.Trivia=15]="Trivia",d[d.Unknown=16]="Unknown",d[d.EOF=17]="EOF",(p=b||(b={}))[p.InvalidSymbol=1]="InvalidSymbol",p[p.InvalidNumberFormat=2]="InvalidNumberFormat",p[p.PropertyNameExpected=3]="PropertyNameExpected",p[p.ValueExpected=4]="ValueExpected",p[p.ColonExpected=5]="ColonExpected",p[p.CommaExpected=6]="CommaExpected",p[p.CloseBraceExpected=7]="CloseBraceExpected",p[p.CloseBracketExpected=8]="CloseBracketExpected",p[p.EndOfFileExpected=9]="EndOfFileExpected",p[p.InvalidCommentToken=10]="InvalidCommentToken",p[p.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",p[p.UnexpectedEndOfString=12]="UnexpectedEndOfString",p[p.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",p[p.InvalidUnicode=14]="InvalidUnicode",p[p.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",p[p.InvalidCharacter=16]="InvalidCharacter";var cF={tabSize:2,insertSpaces:!0,eol:"\n"};function cz(e){try{var t;let a=(t=void 0,function(e,t,a){let r,n,o,l,s,i;if(t){for(s=(l=t.offset)+t.length,o=l;o>0&&!cV(e,o-1);)o--;let i=s;for(;i<e.length&&!cV(e,i);)i++;r=function(e,t){let a=0,r=0,n=t.tabSize||4;for(;a<e.length;){let t=e.charAt(a);if(t===cq[1])r++;else if("	"===t)r+=n;else break;a++}return Math.floor(r/n)}(n=e.substring(o,i),a)}else n=e,r=0,o=0,l=0,s=e.length;let c=function(e,t){for(let e=0;e<t.length;e++){let a=t.charAt(e);if("\r"===a){if(e+1<t.length&&"\n"===t.charAt(e+1))return"\r\n";return"\r"}if("\n"===a)return"\n"}return e&&e.eol||"\n"}(a,e),u=cD.includes(c),d=0,p=0,m="	"===(i=a.insertSpaces?cq[a.tabSize||4]??cN(cq[1],a.tabSize||4):"	")?"	":" ",h=function(e,t=!1){let a=e.length,r=0,n="",o=0,l=16,s=0,i=0,c=0,u=0,d=0;function p(){if(n="",d=0,o=r,i=s,u=c,r>=a)return o=a,l=17;let t=e.charCodeAt(r);if(cX(t)){do r++,n+=String.fromCharCode(t),t=e.charCodeAt(r);while(cX(t));return l=15}if(cI(t))return r++,n+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,n+="\n"),s++,c=r,l=14;switch(t){case 123:return r++,l=1;case 125:return r++,l=2;case 91:return r++,l=3;case 93:return r++,l=4;case 58:return r++,l=6;case 44:return r++,l=5;case 34:return r++,n=function(){let t="",n=r;for(;;){if(r>=a){t+=e.substring(n,r),d=2;break}let o=e.charCodeAt(r);if(34===o){t+=e.substring(n,r),r++;break}if(92===o){if(t+=e.substring(n,r),++r>=a){d=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="	";break;case 117:let o=function(t){let a=0,n=0;for(;a<4||!t;){let t=e.charCodeAt(r);if(t>=48&&t<=57)n=16*n+t-48;else if(t>=65&&t<=70)n=16*n+t-65+10;else if(t>=97&&t<=102)n=16*n+t-97+10;else break;r++,a++}return a<4&&(n=-1),n}(!0);o>=0?t+=String.fromCharCode(o):d=4;break;default:d=5}n=r;continue}if(o>=0&&o<=31)if(cI(o)){t+=e.substring(n,r),d=2;break}else d=6;r++}return t}(),l=10;case 47:let p=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<a&&!cI(e.charCodeAt(r));)r++;return n=e.substring(p,r),l=12}if(42===e.charCodeAt(r+1)){r+=2;let t=a-1,o=!1;for(;r<t;){let t=e.charCodeAt(r);if(42===t&&47===e.charCodeAt(r+1)){r+=2,o=!0;break}r++,cI(t)&&(13===t&&10===e.charCodeAt(r)&&r++,s++,c=r)}
1return o||(r++,d=1),n=e.substring(p,r),l=13}return n+=String.fromCharCode(t),r++,l=16;case 45:if(n+=String.fromCharCode(t),++r===a||!cB(e.charCodeAt(r)))return l=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return n+=function(){let t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&cB(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&cB(e.charCodeAt(r))))return d=3,e.substring(t,r);for(r++;r<e.length&&cB(e.charCodeAt(r));)r++}let a=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if((++r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&cB(e.charCodeAt(r))){for(r++;r<e.length&&cB(e.charCodeAt(r));)r++;a=r}else d=3;return e.substring(t,a)}(),l=11;default:for(;r<a&&function(e){if(cX(e)||cI(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}(t);)r++,t=e.charCodeAt(r);if(o!==r){switch(n=e.substring(o,r)){case"true":return l=8;case"false":return l=9;case"null":return l=7}return l=16}return n+=String.fromCharCode(t),r++,l=16}}return{setPosition:function(e){r=e,n="",o=0,l=16,d=0},getPosition:()=>r,scan:t?function(){let e;do e=p();while(e>=12&&e<=15);return e}:p,getToken:()=>l,getTokenValue:()=>n,getTokenOffset:()=>o,getTokenLength:()=>r-o,getTokenStartLine:()=>i,getTokenStartCharacter:()=>o-u,getTokenError:()=>d}}(n,!1),f=!1;function g(){if(d>1)return cN(c,d)+cN(i,r+p);let e=i.length*(r+p);return!u||e>cW[m][c].length?c+cN(i,r+p):e<=0?c:cW[m][c][e]}function v(){let e=h.scan();for(d=0;15===e||14===e;)14===e&&a.keepLines?d+=1:14===e&&(d=1),e=h.scan();return f=16===e||0!==h.getTokenError(),e}let y=[];function b(a,r,n){!f&&(!t||r<s&&n>l)&&e.substring(r,n)!==a&&y.push({offset:r,length:n-r,content:a})}let O=v();if(a.keepLines&&d>0&&b(cN(c,d),0,0),17!==O){let e=h.getTokenOffset()+o;b(i.length*r<20&&a.insertSpaces?cq[i.length*r]:cN(i,r),o,e)}for(;17!==O;){let e=h.getTokenOffset()+h.getTokenLength()+o,t=v(),r="",n=!1;for(;0===d&&(12===t||13===t);){let a=h.getTokenOffset()+o;b(cq[1],e,a),e=h.getTokenOffset()+h.getTokenLength()+o,r=(n=12===t)?g():"",t=v()}if(2===t)1!==O&&p--,a.keepLines&&d>0||!a.keepLines&&1!==O?r=g():a.keepLines&&(r=cq[1]);else if(4===t)3!==O&&p--,a.keepLines&&d>0||!a.keepLines&&3!==O?r=g():a.keepLines&&(r=cq[1]);else{switch(O){case 3:case 1:p++,r=a.keepLines&&d>0||!a.keepLines?g():cq[1];break;case 5:r=a.keepLines&&d>0||!a.keepLines?g():cq[1];break;case 12:r=g();break;case 13:d>0?r=g():n||(r=cq[1]);break;case 6:a.keepLines&&d>0?r=g():n||(r=cq[1]);break;case 10:a.keepLines&&d>0?r=g():6!==t||n||(r="");break;case 7:case 8:case 9:case 11:case 2:case 4:a.keepLines&&d>0?r=g():12!==t&&13!==t||n?5!==t&&17!==t&&(f=!0):r=cq[1];break;case 16:f=!0}d>0&&(12===t||13===t)&&(r=g())}17===t&&(r=a.keepLines&&d>0?g():a.insertFinalNewline?c:""),b(r,e,h.getTokenOffset()+o),O=t}return y}(e,t,cF));if(a.length>0)return function(e,t){let a=t.slice(0).sort((e,t)=>{let a=e.offset-t.offset;return 0===a?e.length-t.length:a}),r=e.length;for(let t=a.length-1;t>=0;t--){let o=a[t];if(o.offset+o.length<=r){var n;n=e,e=n.substring(0,o.offset)+o.content+n.substring(o.offset+o.length)}else throw Error("Overlapping edit");r=o.offset}return e}(e,a)}catch{}return e}var cH={class:"scalar-code-block group/code-block relative grid min-h-0 overflow-hidden p-px outline-none has-focus-visible:outline","data-testid":"response-body-raw"},cY={class:"custom-scroll relative pr-1",tabindex:"0"},cG=(0,O.pM)({__name:"ResponseBodyRaw",props:{content:{},language:{},prettyPrintJson:{type:Boolean}},setup(e){let t=(0,x.KR)(null),a=(0,O.Bi)(),{codeMirror:r}=sT({codeMirrorRef:t,readOnly:!0,lineNumbers:!0,content:(0,x.lW)((0,O.EW)(()=>{let{content:t,language:a,prettyPrintJson:r=!1}=e;return"string"!=typeof t?null==t?"":String(t):r&&"json"===a?cz(t):t})),language:(0,x.lW)(()=>e.language),forceFoldGutter:!0}),n=()=>r.value?.state.doc.toString()||"";return(e,r)=>((0,O.uX)(),(0,O.CE)("div",cH,[(0,O.Lk)("div",cY,[(0,O.Lk)("div",{ref_key:"codeMirrorRef",ref:t},null,512)]),n()?((0,O.uX)(),(0,O.Wv)((0,x.R1)(i1.G),{key:0,"aria-controls":(0,x.R1)(a),class:"absolute top-2 right-2",content:n()},null,8,["aria-controls","content"])):(0,O.Q3)("",!0)]))}}),cK=(0,C.A)(cG,[["__scopeId","data-v-8c1df828"]]),cJ=["src"],c0=["src","type"],c1=["src","type"],c2=["src","sandbox"],c4=(0,O.pM)({__name:"ResponseBodyPreview",props:{src:{},type:{},mode:{},alpha:{type:Boolean,default:!1},content:{}},setup(e){let t=(0,O.EW)(()=>{let t=e.content;return"string"==typeof t?t:null==t?"":String(t)}),a=(0,O.EW)(()=>t.value.split("\n").map(e=>e.trim()).filter(e=>e.length>0).map(e=>cz(e)).join("\n\n")),r=(0,O.EW)(()=>
1{if(!e.src)return"";if(/^data:/i.test(e.src))return/^data:(?:(?:image|video|audio)\/[a-z0-9.+-]+|application\/pdf|application\/octet-stream)[;,]/i.test(e.src)?e.src:"";try{let t=new URL(e.src);if("blob:"===t.protocol||"http:"===t.protocol||"https:"===t.protocol)return e.src}catch{}return""}),n=(0,x.KR)(!1),o=(0,O.EW)(()=>"application/pdf"===e.type.trim().toLowerCase());return(0,O.wB)(()=>e.src,()=>n.value=!1),(l,s)=>"json"===e.mode?((0,O.uX)(),(0,O.Wv)(cK,{key:0,content:t.value,language:"json",prettyPrintJson:""},null,8,["content"])):"ndjson"===e.mode?((0,O.uX)(),(0,O.Wv)(cK,{key:1,content:a.value,language:"json"},null,8,["content"])):!n.value&&r.value?((0,O.uX)(),(0,O.CE)("div",{key:2,class:(0,k.C4)(["flex justify-center overflow-auto rounded-b",{"bg-preview p-2":e.alpha}])},["image"===e.mode?((0,O.uX)(),(0,O.CE)("img",{key:0,class:(0,k.C4)(["h-full max-w-full",{rounded:e.alpha}]),src:r.value,referrerpolicy:"no-referrer",onError:s[0]||(s[0]=e=>n.value=!0)},null,42,cJ)):"video"===e.mode?((0,O.uX)(),(0,O.CE)("video",{key:1,autoplay:"",controls:"",referrerpolicy:"no-referrer",width:"100%",onError:s[1]||(s[1]=e=>n.value=!0)},[(0,O.Lk)("source",{src:r.value,type:e.type},null,8,c0)],32)):"audio"===e.mode?((0,O.uX)(),(0,O.CE)("audio",{key:2,class:"my-12",controls:"",referrerpolicy:"no-referrer",onError:s[2]||(s[2]=e=>n.value=!0)},[(0,O.Lk)("source",{src:r.value,type:e.type},null,8,c1)],32)):((0,O.uX)(),(0,O.CE)("iframe",{key:3,class:"aspect-[4/3] w-full border-0",src:r.value,sandbox:o.value?void 0:"",referrerpolicy:"no-referrer"},null,8,c2))],2)):((0,O.uX)(),(0,O.Wv)(cU,{key:3},{default:(0,O.k6)(()=>[...s[3]||(s[3]=[(0,O.eW)("Preview unavailable",-1)])]),_:1}))}}),c8=(0,C.A)(c4,[["__scopeId","data-v-a10b4008"]]),c3={class:"text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5"},c6=(0,O.pM)({__name:"ResponseBodyToggle",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup:e=>(t,a)=>((0,O.uX)(),(0,O.CE)("div",c3,[(0,O.Lk)("button",{class:(0,k.C4)(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":e.modelValue}]),type:"button",onClick:a[0]||(a[0]=(0,N.D$)(e=>t.$emit("update:modelValue",!0),["stop"]))}," Preview ",2),(0,O.Lk)("button",{class:(0,k.C4)(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":!e.modelValue}]),type:"button",onClick:a[1]||(a[1]=(0,N.D$)(e=>t.$emit("update:modelValue",!1),["stop"]))}," Raw ",2)]))}),c5={key:0,class:"bg-b-1 flex max-h-[calc(100%-32px)] flex-col overflow-hidden"},c7={class:"box-content flex min-h-8 items-center justify-between border-y px-3"},c9={class:"text-xxs font-code leading-5"},ue=(0,O.pM)({__name:"ResponseBody",props:{title:{},layout:{},data:{},headers:{},plugins:{default:()=>[]}},setup(e){let t=(0,x.KR)(!0),a=(0,O.EW)(()=>cj({data:e.data,headers:e.headers})),r=(0,O.EW)(()=>a.value.mimeType.essence),n=(0,O.EW)(()=>(0,cx.zi)(r.value)),o=(0,O.EW)(()=>(0,cT._)(r.value,e.plugins)),l=(0,O.EW)(()=>!!o.value?.rawComponent||!!o.value?.decode||!!n.value?.raw),s=(0,O.EW)(()=>!!o.value?.previewComponent||!!n.value?.preview),i=(0,O.EW)(()=>l.value&&s.value),c=(0,O.EW)(()=>t.value||!i.value),u=(0,O.EW)(()=>!t.value||!i.value),d=(0,O.EW)(()=>o.value?.language??n.value?.language);return(p,m)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(iW.A),{class:"max-h-content overflow-y-hidden",isStatic:"reference"===e.layout},(0,O.eX)({title:(0,O.k6)(()=>[(0,O.eW)((0,k.v_)(e.title),1)]),default:(0,O.k6)(()=>[e.data?((0,O.uX)(),(0,O.CE)("div",c5,[(0,O.Lk)("div",c7,[(0,O.Lk)("span",c9,(0,k.v_)(r.value),1),i.value?((0,O.uX)(),(0,O.Wv)(c6,{key:0,modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=e=>t.value=e)},null,8,["modelValue"])):(0,O.Q3)("",!0)]),o.value?.previewComponent&&s.value&&c.value?((0,O.uX)(),(0,O.Wv)((0,O.$y)(o.value.previewComponent),{key:`plugin-preview-${a.value.dataUrl}`,content:e.data,contentType:r.value,dataUrl:a.value.dataUrl},null,8,["content","contentType","dataUrl"])):n.value?.preview&&c.value?((0,O.uX)(),(0,O.Wv)(c8,{key:`preview-${a.value.dataUrl}`,alpha:n.value.alpha,content:e.data,mode:n.value.preview,src:a.value.dataUrl,type:r.value},null,8,["alpha","content","mode","src","type"])):(0,O.Q3)("",!0),o.value?.rawComponent&&l.value&&u.value?((0,O.uX)(),(0,O.Wv)((0,O.$y)(o.value.rawComponent),{key:`plugin-raw-${a.value.dataUrl}`,content:e.data,contentType:r.value},null,8,["content","contentType"])):l.value&&u.value&&!o.value?.rawComponent?((0,O.uX)(),(0,O.Wv)(cK,{key:`raw-${a.value.dataUrl}`,content:e.data,language:d.value},null,8,["content","language"])):(0,O.Q3)("",!0),l.value||s.value?(0,O.Q3)("",!0):((0,O.uX)(),(0,O.Wv)(cU,{key:4},{default:(0,O.k6)(()=>
1[...m[1]||(m[1]=[(0,O.eW)(" Binary file ",-1)])]),_:1}))])):(0,O.Q3)("",!0)]),_:2},[e.data&&a.value.dataUrl?{name:"actions",fn:(0,O.k6)(()=>[(0,O.bF)(cL,{filename:a.value.attachmentFilename,href:a.value.dataUrl,type:a.value.mimeType?.essence},null,8,["filename","href","type"])]),key:"0"}:void 0]),1032,["isStatic"]))}}),ut=(0,C.A)(ue,[["__scopeId","data-v-bb31ac6f"]]),ua=a(18486),ur={class:"flex w-full items-center justify-between"},un={key:0,class:"mr-2 flex items-center gap-2"},uo={key:0,class:"text-red bg-b-danger sticky top-0 border-b p-2"},ul={key:1,class:"p-2"},us=(0,O.pM)({__name:"ResponseBodyStreaming",props:{reader:{}},setup(e){let t=(0,ua.R)(),a=(0,x.KR)(""),r=(0,x.KR)(null),n=(0,x.KR)(null),o=(0,x.KR)(null),l=(0,x.KR)(null),s=()=>{n.value&&(n.value.scrollTop=n.value.scrollHeight)};async function i(e){try{for(;t.isLoading&&o.value===e;){let{done:r,value:n}=await e.read();if(o.value!==e)break;if(r){t.clear();break}n&&l.value&&(a.value+=l.value.decode(n,{stream:!0}))}}catch(a){o.value===e&&(console.error("Error reading stream:",a),t.clear(),r.value=a)}finally{o.value===e&&l.value&&(a.value+=l.value.decode())}}(0,O.wB)(a,async()=>{await (0,O.dY)(s)});let c=()=>{o.value&&(o.value.cancel(),o.value=null),t.clear()};return(0,O.wB)(()=>e.reader,()=>{o.value&&o.value.cancel(),o.value=e.reader,l.value=new TextDecoder,t.start(),a.value="",r.value=null,i(e.reader)},{immediate:!0}),(0,O.xo)(c),(e,o)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(iW.A),{class:"max-h-content overflow-y-hidden"},(0,O.eX)({title:(0,O.k6)(()=>[(0,O.Lk)("div",ur,[o[1]||(o[1]=(0,O.Lk)("div",null,"Body",-1)),(0,x.R1)(t).isLoading?((0,O.uX)(),(0,O.CE)("div",un,[(0,O.bF)((0,x.R1)(ua.X),{loadingState:(0,x.R1)(t),size:"xs"},null,8,["loadingState"]),o[0]||(o[0]=(0,O.Lk)("span",{class:"text-c-2"}," Listening… ",-1))])):(0,O.Q3)("",!0)])]),default:(0,O.k6)(()=>[(0,O.Lk)("div",{ref_key:"contentContainer",ref:n,class:"text-xxs font-code h-full overflow-auto leading-6 whitespace-pre-wrap"},[r.value?((0,O.uX)(),(0,O.CE)("div",uo,(0,k.v_)(r.value.message),1)):(0,O.Q3)("",!0),a.value?((0,O.uX)(),(0,O.CE)("div",ul,(0,k.v_)(a.value),1)):(0,O.Q3)("",!0)],512)]),_:2},[(0,x.R1)(t).isLoading?{name:"actions",fn:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(io.R),{size:"sm",variant:"ghost",onClick:c},{default:(0,O.k6)(()=>[...o[2]||(o[2]=[(0,O.eW)(" Cancel ",-1)])]),_:1})]),key:"0"}:void 0]),1024))}}),ui=a(78421),uc=a(35207),uu=(0,O.pM)({__name:"ResponseBodyVirtual",props:{content:{},data:{},headers:{}},setup(e){let t=(0,O.EW)(()=>(0,ui.nk)(e.content)),a=(0,O.EW)(()=>cj({data:e.data,headers:e.headers}));return(e,r)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(iW.A),{class:"!max-h-100% response-body-virtual overflow-x-auto"},(0,O.eX)({title:(0,O.k6)(()=>[r[0]||(r[0]=(0,O.eW)("Body",-1))]),default:(0,O.k6)(()=>[r[1]||(r[1]=(0,O.Lk)("div",{class:"font-code text-xxs rounded-t border-x border-t px-2.5 py-1.5"}," This response body is massive! Syntax highlighting won't work here. ",-1)),(0,O.bF)((0,x.R1)(uc.$),{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,searchable:"",text:t.value},null,8,["text"])]),_:2},[a.value.dataUrl?{name:"actions",fn:(0,O.k6)(()=>[(0,O.bF)(cL,{filename:a.value.attachmentFilename,href:a.value.dataUrl,type:a.value.mimeType?.essence},null,8,["filename","href","type"])]),key:"0"}:void 0]),1024))}}),ud={key:0,class:"max-h-[calc(100%-32px)] overflow-y-auto"},up={key:1,class:"text-c-3 bg-b-1 flex min-h-[64px] items-center justify-center border-t px-4 text-sm"},um=(0,O.pM)({__name:"ResponseCookies",props:{cookies:{}},setup:e=>(t,a)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(iW.A),{class:"overflow-auto",defaultOpen:!1,itemCount:e.cookies.length},{title:(0,O.k6)(()=>[...a[0]||(a[0]=[(0,O.eW)("Cookies",-1)])]),default:(0,O.k6)(()=>[e.cookies.length?((0,O.uX)(),(0,O.CE)("div",ud,[(0,O.bF)((0,x.R1)(sV.A),{columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(sH.A),{class:"sr-only !block"},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(sz),null,{default:(0,O.k6)(()=>[...a[1]||(a[1]=[(0,O.eW)("Cookie Name",-1)])]),_:1}),(0,O.bF)((0,x.R1)(sz),null,{default:(0,O.k6)(()=>[...a[2]||(a[2]=[(0,O.eW)("Cookie Value",-1)])]),_:1})]),_:1}),((0,O.uX)(!0),(0,O.CE)(O.FK,null,(0,O.pI)(e.cookies,(e,t)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(sH.A),{key:e.name,class:"group/row text-c-1"},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(cS),{class:(0,k.C4)(["bg-b-1 sticky left-0 z-1 max-w-full",{"border-t-0":0===t}]),text:e.name},null,8,["class","text"]),(0,O.bF)((0,x.R1)(cS),{class:(0,k.C4)(["z-0",{"border-t-0":0===t}]),text:e.value},null,8,["class","text"])]),_:2},1024))),128))]),_:1})])):((0,O.uX)(),(0,O.CE)("div",up," No cookies "))]),_:1},8,["itemCount"]))}),uh=(0,O.pM)({__name:"ScalarAsciiArt",props:{art:{},animate:{type:Boolean}},setup(e){let t=(0,O.EW)(()=>e.art.split("\n"));return(a,r)=>((0,O.uX)(),(0,O.CE)("div",{"aria-hidden":"true",class:(0,k.C4)(["ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]",{"ascii-art-animate":e.animate}]),role:"presentation",inert:""},[((0,O.uX)(!0),(0,O.CE)(O.FK,null,(0,O.pI)(t.value,(e,a)=>{let r;return(0,O.uX)(),(0,O.CE)("span",{key:a,class:"inline-block",style:(0,k.Tr)({width:`calc(${e.length+1}ch)`})},[(0,O.Lk)("span",{class:"inline-block whitespace-pre overflow-hidden",style:(0,k.Tr)((r=e.length,{animationDuration:`${100*r}ms, 500ms`,animationTimingFunction:`steps(${r}), step-end`,animationDelay:`${100*a}ms, 0ms`,animationIterationCount:`1, ${((t.value?.length??0)+(t.value?.[t.value?.length-1]?.length??0)+5)*100/500}`}))},(0,k.v_)(e),5)],4)}),128))],2))}}),uf=(0,C.A)(uh,[["__scopeId","data-v-9a695e58"]]);a(47814);var ug=a(25049),uv={class:"flex-center relative flex flex-1 flex-col gap-6 p-2 capitalize"},uy={key:0,class:"scalar-version-number"},ub={class:"text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm"},uO=(0,O.pM)({__name:"ResponseEmpty",props:{layout:{},totalPerformedRequests:{},appVersion:{}},emits:["addRequest","sendRequest","openCommandPalette"],setup:(e,{emit:t})=>(a,r)=>((0,O.uX)(),(0,O.CE)("div",uv,[(0,O.Lk)("div",{class:(0,k.C4)(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center",{"hidden opacity-0":e.totalPerformedRequests>0&&"modal"!==e.layout}])},["modal"!==e.layout?((0,O.uX)(),(0,O.CE)("div",uy,[(0,O.eW)(" Scalar App V"+(0,k.v_)(e.appVersion)+" Beta ",1),r[3]||(r[3]=(0,O.Lk)("div",{class:"mt-2"},[(0,O.Lk)("a",{href:"https://github.com/scalar/scalar/issues/2669",target:"_blank"}," Roadmap ")],-1))])):(0,O.Q3)("",!0),r[4]||(r[4]=(0,O.Lk)("a",{class:"gitbook-show scalar-version-number",href:"https://www.scalar.com",target:"_blank"}," Powered By Scalar.com ",-1)),(0,O.bF)((0,x.R1)(uf),{art:(0,x.R1)("                         .,,uod8B8bou,,.\n                ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.\n           ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,\n           ||||   '\"\"^^!!||||||||||TFPRBBBVT!:...!\n           ||||            '\"\"^^!!|||||?!:.......!\n           ||||                     ||||.........!\n           ||||                     ||||.........!\n           ||||                     ||||.........!\n           ||||                     ||||.........!\n           ||||                     ||||.........!\n           ||||                     ||||.........!\n           ||||,                    ||||.........`\n           |||||!!-._               ||||.......;.\n           ':!|||||||||!!-._        ||||.....bBBBBWdou,.\n         bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY!\n         ::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..!\n         :::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....!\n         :::;`\"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......!\n         ;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........!\n     .ob86foi;::::::::::::::::::::::::!?TFPRBY..........`\n    .b888888888886foi;:::::::::::::::::::::::..........`\n .b888888888888888888886foi;::::::::::::::::..........\n.b888888888888888888888888888886foi;:::::::::......`\n!Tf998888888888888888888888888888888886foi;:::....`\n  '\"^!|Tf9988888888888888888888888888888888!::..`\n       '\"^!|Tf998888888888888888888888889!! '`\n             '\"^!|Tf9988888888888888888!!`            iBBbo.\n                  '\"^!|Tf998888888889!`             WBBBBbo.\n                        '\"^!|Tf9989!`              YBBBP^'\n                              '\"^!`               `\n"),class:"text-c-3"},null,8,["art"])],2),(0,O.Lk)("div",ub,["modal"!==e.layout?((0,O.uX)(),(0,O.CE)("button",{key:0,class:"flex items-center gap-1.5",type:"button",onClick:r[0]||(r[0]=e=>t("openCommandPalette"))},[r[5]||(r[5]=(0,O.eW)(" Get Started ",-1)),(0,O.bF)((0,x.R1)(ug.A),{hotkey:"k",modifier:["default"]})])):(0,O.Q3)("",!0),"desktop"===e.layout?((0,O.uX)(),(0,O.CE)("button",{key:1,class:"flex items-center gap-1.5",type:"button",onClick:r[1]||(r[1]=e=>t("addRequest"))},[r[6]||(r[6]=(0,O.eW)(" New Request ",-1)),(0,O.bF)((0,x.R1)(ug.A),{hotkey:"N"})])):(0,O.Q3)("",!0),(0,O.Lk)("button",{class:"flex items-center gap-1.5",type:"button",onClick:r[2]||(r[2]=e=>
1t("sendRequest"))},[r[7]||(r[7]=(0,O.eW)(" Send Request ",-1)),(0,O.bF)((0,x.R1)(ug.A),{hotkey:"↵"})])])]))}),uk=(0,C.A)(uO,[["__scopeId","data-v-0895623d"]]),ux={key:0,class:"bg-b-1 z-overlay absolute inset-0 flex flex-col items-center justify-center gap-6"},uw=(0,O.pM)({__name:"ResponseLoadingOverlay",props:{eventBus:{}},setup(e){let t=(0,ua.R)(),a=(0,x.KR)(),r=()=>{clearTimeout(a.value),a.value=setTimeout(()=>t.start(),1e3)},n=()=>{clearTimeout(a.value),a.value=void 0,t.clear()};return(0,O.sV)(()=>{e.eventBus.on("hooks:on:request:sent",r),e.eventBus.on("hooks:on:request:complete",n)}),(0,O.xo)(()=>{e.eventBus.off("hooks:on:request:sent",r),e.eventBus.off("hooks:on:request:complete",n),n()}),(a,r)=>((0,O.uX)(),(0,O.Wv)(N.eB,null,{default:(0,O.k6)(()=>[(0,x.R1)(t).isActive?((0,O.uX)(),(0,O.CE)("div",ux,[(0,O.bF)((0,x.R1)(ua.X),{class:"text-c-3",loader:(0,x.R1)(t),size:"3xl"},null,8,["loader"]),(0,O.bF)((0,x.R1)(io.R),{variant:"ghost",onClick:r[0]||(r[0]=t=>e.eventBus.emit("operation:cancel:request"))},{default:(0,O.k6)(()=>[...r[1]||(r[1]=[(0,O.eW)(" Cancel ",-1)])]),_:1})])):(0,O.Q3)("",!0)]),_:1}))}}),uS=(0,C.A)(uw,[["__scopeId","data-v-b80db6e2"]]);let uC=["B","kB","MB","GB","TB","PB","EB","ZB","YB"];var u$=e=>{let t=Number.parseInt(e.headers?.["Content-Length"]||e.headers?.["content-length"]||"0",10);if(!isNaN(t)&&!(t<=0))return((e,t=3)=>{if(!Number.isFinite(e)||e<=0)return"0 B";let a=Math.max(0,Math.min(Math.floor(Math.log10(e)/3),uC.length-1));return Number((e/1e3**a).toPrecision(t))>=1e3&&a<uC.length-1&&(a+=1),`${Number((e/1e3**a).toPrecision(t))} ${uC[a]}`})(t)},uA=a(95493);let uR=e=>Number.isFinite(e)?e:0,uE=24n*60n*60n*1000n;function uP(e,t){let a="bigint"==typeof e;if(!a&&!Number.isFinite(e))throw TypeError("Expected a finite number or bigint");t={...t};let r=e<0?"-":"";e=e<0?-e:e,t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.unitCount=1,t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);let n=[],o=(e,a,r,o)=>{if(!((0===n.length||!t.colonNotation)&&(0===e||0n===e))||t.colonNotation&&"m"===r){if(o??=String(e),t.colonNotation){let e=o.includes(".")?o.split(".")[0].length:o.length,t=n.length>0?2:1;o="0".repeat(Math.max(0,t-e))+o}else o+=t.verbose?" "+(1===e||1n===e?a:`${a}s`):r;n.push(o)}},l=function(e){switch(typeof e){case"number":if(Number.isFinite(e))return{days:Math.trunc(e/864e5),hours:Math.trunc(e/36e5%24),minutes:Math.trunc(e/6e4%60),seconds:Math.trunc(e/1e3%60),milliseconds:Math.trunc(e%1e3),microseconds:Math.trunc(uR(1e3*e)%1e3),nanoseconds:Math.trunc(uR(1e6*e)%1e3)};break;case"bigint":return{days:e/86400000n,hours:e/3600000n%24n,minutes:e/60000n%60n,seconds:e/1000n%60n,milliseconds:e%1000n,microseconds:0n,nanoseconds:0n}}throw TypeError("Expected a finite number or bigint")}(e),s=BigInt(l.days);if(t.hideYearAndDays?o(24n*BigInt(s)+BigInt(l.hours),"hour","h"):(t.hideYear?o(s,"day","d"):(o(s/365n,"year","y"),o(s%365n,"day","d")),o(Number(l.hours),"hour","h")),o(Number(l.minutes),"minute","m"),!t.hideSeconds)if(t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3&&!t.subSecondsAsDecimals){let e=Number(l.seconds),a=Number(l.milliseconds),r=Number(l.microseconds),n=Number(l.nanoseconds);if(o(e,"second","s"),t.formatSubMilliseconds)o(a,"millisecond","ms"),o(r,"microsecond","\xb5s"),o(n,"nanosecond","ns");else{let e=a+r/1e3+n/1e6,l="number"==typeof t.millisecondsDecimalDigits?t.millisecondsDecimalDigits:0,s=e>=1?Math.round(e):Math.ceil(e),i=l?e.toFixed(l):s;o(Number.parseFloat(i),"millisecond","ms",i)}}else{let r=(a?Number(e%uE):e)/1e3%60,n="number"==typeof t.secondsDecimalDigits?t.secondsDecimalDigits:1,l=(Math.round(Math.floor(r*10**n+1e-7))/10**n).toFixed(n),s=t.keepDecimalsOnWholeSeconds?l:l.replace(/\.0+$/,"");o(Number.parseFloat(s),"second","s",s)}if(0===n.length)return r+"0"+(t.verbose?" milliseconds":"ms");let i=t.colonNotation?":":" ";return"number"==typeof t.unitCount&&(n=n.slice(0,Math.max(t.unitCount,1))),r+n.join(i)}var uT={class:"text-c-1 flex gap-1.5"},u_={key:0},uj={key:0},uQ={key:1},uL=(0,O.pM)({__name:"ResponseMetaInformation",props:{response:{},eventBus:{}},setup(e){let t=(0,x.KR)(),a=(0,x.KR)(0),r=()=>{clearInterval(t.value),t.value=void 0,a.value=0},n=()=>{t.value=setInterval(()=>a.value+=1e3,1e3)};(0,O.sV)(()=>{e.eventBus.on("hooks:on:request:sent",n),e.eventBus.on("hooks:on:request:complete",r)}),(0,O.xo)(()=>{e.eventBus.off("hooks:on:request:sent",n),e.eventBus.off("hooks:on:request:complete",r),r()});let o=(0,O.EW)(()=>{let t=e.response?.status;if(t)return uA.Z[t]??void 0});return(r,n)=>((0,O.uX)(),(0,O.CE)("div",uT,[t.value&&a.value?((0,O.uX)(),(0,O.CE)("span",u_,(0,k.v_)((0,x.R1)(uP)(a.value)),1)):((0,O.uX)(),(0,O.CE)(O.FK,{key:1},[(0,O.Lk)("span",null,[n[0]||(n[0]=(0,O.Lk)("span",{class:"sr-only"},"Response Information, Duration:",-1)),(0,O.eW)(" "+(0,k.v_)((0,x.R1)(uP)(e.response.duration)),1)]),(0,x.R1)(u$)(e.response)?((0,O.uX)(),(0,O.CE)("span",uj,[n[1]||(n[1]=(0,O.Lk)("span",{class:"sr-only"},", Size:",-1)),(0,O.eW)(" "+(0,k.v_)((0,x.R1)(u$)(e.response)),1)])):(0,O.Q3)("",!0),o.value?((0,O.uX)(),(0,O.CE)(O.FK,{key:1},[n[2]||(n[2]=(0,O.Lk)("span",{class:"sr-only"},", Status:",-1)),o.value.url?((0,O.uX)(),(0,O.Wv)(c$,{key:0,class:"flex items-center gap-1.5",href:o.value.url},{default:(0,O.k6)(()=>[(0,O.eW)((0,k.v_)(e.response.status)+" "+(0,k.v_)(o.value.name)+" ",1),(0,O.Lk)("span",{class:"block h-1.5 w-1.5 rounded-full",style:(0,k.Tr)({backgroundColor:o.value.color})},null,4)]),_:1},8,["href"])):((0,O.uX)(),(0,O.CE)("span",uQ,[(0,O.eW)((0,k.v_)(e.response.status)+" "+(0,k.v_)(o.value.name)+" ",1),(0,O.Lk)("span",{class:"block h-1.5 w-1.5 rounded-full",style:(0,k.Tr)({backgroundColor:o.value.color})},null,4)]))],64)):(0,O.Q3)("",!0)],64))]))}}),uM={class:"flex h-8 flex-1 items-center"},uZ=["id","role"],uU=(0,O.pM)({__name:"ResponseBlock",props:{response:{},requestPayload:{},layout:{},totalPerformedRequests:{},appVersion:{},plugins:{},eventBus:{}},setup(e,{expose:t}){let a=(0,O.EW)(()=>{let t=e.response?.headers;return t?Object.keys(t).map(e=>({name:e,value:t[e]??""})):[]}),r=(0,O.EW)(()=>e.response?.cookieHeaderKeys.map(e=>(e=>{if(!e||"string"!=typeof e)return null;let t=e.indexOf("=");if(-1===t)return null;
1let a=e.substring(0,t).trim(),r=e.substring(t+1).trim();return a?{name:a,value:r}:null})(e)).filter(L.O)??[]),n=["Cookies","Headers","Body"],o=(0,x.KR)("All"),l=(0,O.EW)(()=>["All",...n]),s=(0,O.EW)(()=>Object.fromEntries(l.value.map(e=>[e,(0,O.Bi)()]))),i=(0,O.EW)(()=>{if(!e.response||!("size"in e.response))return!1;let t=e.response.headers?.["content-type"]||e.response.headers?.["Content-Type"];return!(!t||(e.response.size??0)<=2e5||t.includes("text/html"))&&cx.L.some(e=>t.includes(e))&&(e.response.size??0)>2e5}),c=(0,O.EW)(()=>{let t=e.requestPayload?.[1]?.headers;return t?[...new Headers(t)].map(([e,t])=>({name:e,value:t,required:!1})):[]}),u=e=>"All"===o.value||o.value===e;return t({responseHeaders:a,responseCookies:r,requestHeaders:c,shouldVirtualize:i,activeFilter:o,filters:l}),(t,n)=>((0,O.uX)(),(0,O.Wv)(q,{"aria-label":"Response"},{title:(0,O.k6)(()=>[(0,O.Lk)("div",uM,[(0,O.Lk)("div",{"aria-live":"polite",class:(0,k.C4)(["flex items-center",{"animate-response-heading":e.response}])},[n[4]||(n[4]=(0,O.Lk)("span",{class:"response-heading pointer-events-none absolute"}," Response ",-1)),e.response?((0,O.uX)(),(0,O.Wv)(uL,{key:0,class:"animate-response-children",eventBus:e.eventBus,response:e.response},null,8,["eventBus","response"])):(0,O.Q3)("",!0)],2),(0,O.bF)(G,{modelValue:o.value,"onUpdate:modelValue":n[0]||(n[0]=e=>o.value=e),filterIds:s.value,filters:l.value},null,8,["modelValue","filterIds","filters"])])]),default:(0,O.k6)(()=>[(0,O.Lk)("div",{id:s.value.All,class:(0,k.C4)(["custom-scroll response-section-content relative grid h-full justify-stretch",{"content-start":e.response}]),role:"All"===o.value&&e.response?"tabpanel":"none"},[e.response?((0,O.uX)(),(0,O.CE)(O.FK,{key:1},[u("Cookies")?((0,O.uX)(),(0,O.Wv)(um,{key:0,id:s.value.Cookies,class:"response-section-content-cookies",cookies:r.value,role:"All"===o.value?"none":"tabpanel"},null,8,["id","cookies","role"])):(0,O.Q3)("",!0),u("Headers")?((0,O.uX)(),(0,O.Wv)(cP,{key:1,id:s.value.Headers,class:"response-section-content-headers",headers:c.value,role:"All"===o.value?"none":"tabpanel"},{title:(0,O.k6)(()=>[...n[5]||(n[5]=[(0,O.eW)("Request Headers",-1)])]),_:1},8,["id","headers","role"])):(0,O.Q3)("",!0),u("Headers")?((0,O.uX)(),(0,O.Wv)(cP,{key:2,id:s.value.Headers,class:"response-section-content-headers",headers:a.value,role:"All"===o.value?"none":"tabpanel"},{title:(0,O.k6)(()=>[...n[6]||(n[6]=[(0,O.eW)("Response Headers",-1)])]),_:1},8,["id","headers","role"])):(0,O.Q3)("",!0),((0,O.uX)(!0),(0,O.CE)(O.FK,null,(0,O.pI)(e.plugins,(e,t)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(i0.X),{key:t},{default:(0,O.k6)(()=>[e?.components?.response?(0,O.bo)(((0,O.uX)(),(0,O.Wv)((0,O.$y)(e.components.response.component),(0,O.v6)({key:0,ref_for:!0},e.components.response.additionalProps),null,16)),[[N.aG,"All"===o.value]]):(0,O.Q3)("",!0)]),_:2},1024))),128)),"All"===o.value||"Body"===o.value?((0,O.uX)(),(0,O.CE)(O.FK,{key:3},["reader"in e.response?((0,O.uX)(),(0,O.Wv)(us,{key:0,id:s.value.Body,class:"response-section-content-body",reader:e.response.reader},null,8,["id","reader"])):i.value&&"string"==typeof e.response?.data?((0,O.uX)(),(0,O.Wv)(uu,{key:1,id:s.value.Body,content:e.response.data,data:e.response?.data,headers:a.value,role:"All"===o.value?"none":"tabpanel"},null,8,["id","content","data","headers","role"])):((0,O.uX)(),(0,O.Wv)(ut,{key:2,id:s.value.Body,active:!0,class:"response-section-content-body",data:e.response?.data,headers:a.value,layout:"client",plugins:e.plugins,role:"All"===o.value?"none":"tabpanel",title:"Body"},null,8,["id","data","headers","plugins","role"]))],64)):(0,O.Q3)("",!0)],64)):((0,O.uX)(),(0,O.Wv)(uk,{key:0,appVersion:e.appVersion,layout:e.layout,totalPerformedRequests:e.totalPerformedRequests,onAddRequest:n[1]||(n[1]=t=>e.eventBus.emit("ui:open:command-palette",{action:"create-request",payload:void 0})),onOpenCommandPalette:n[2]||(n[2]=t=>e.eventBus.emit("ui:open:command-palette")),onSendRequest:n[3]||(n[3]=t=>e.eventBus.emit("operation:send:request:hotkey"))},null,8,["appVersion","layout","totalPerformedRequests"])),(0,O.bF)(uS,{eventBus:e.eventBus},null,8,["eventBus"])],10,uZ)]),_:1}))}}),uX=(0,C.A)(uU,[["__scopeId","data-v-7a7c6611"]]),uI=a(30895),uB=a(4356),uq=(0,O.pM)({__name:"HttpMethod",props:{isSquare:{type:Boolean,default:!1},method:{},isEditable:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){let a=(0,O.EW)(()=>(0,uB.g)(e.method)),r=(0,iC.W)(uB.N).map(([e])=>({id:e,label:e.toUpperCase(),color:(0,uB.g)(e).colorClass})),n=(0,O.EW)({get:()=>r.find(({id:t})=>t===e.method),set:e=>e?.id&&t("change",e.id)}),o=(0,w.Fj)({base:"text-center font-code text-3xs justify-center items-center flex",variants:{isSquare:{true:"px-2.5 
1whitespace-nowrap font-bold border-r h-fit m-auto",false:"rounded-full"},isEditable:{true:"http-bg-gradient rounded-md border",false:"cursor-auto"}}}),l=(0,O.EW)(()=>a.value.short);return(t,s)=>e.isEditable?((0,O.uX)(),(0,O.Wv)((0,x.R1)(iD.cy),{key:0,modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=e=>n.value=e),class:"font-code scalar-client mt-1 text-sm",options:(0,x.R1)(r)},{default:(0,O.k6)(()=>[(0,O.Lk)("div",{class:(0,k.C4)(["h-full",{"pointer-events-none":!e.isEditable}])},[(0,O.Lk)("button",{class:(0,k.C4)(["relative h-full",(0,x.R1)(w.cx)((0,x.R1)(o)({isSquare:e.isSquare,isEditable:e.isEditable}),a.value.colorClass)]),type:"button"},[(0,O.Lk)("span",null,(0,k.v_)(l.value),1)],2)],2)]),_:1},8,["modelValue","options"])):((0,O.uX)(),(0,O.CE)("div",{key:1,class:(0,k.C4)(["relative gap-1 whitespace-nowrap",(0,x.R1)(w.cx)((0,x.R1)(o)({isSquare:e.isSquare,isEditable:e.isEditable}),a.value.colorClass)]),type:"button"},(0,k.v_)(a.value.short),3))}}),uW=(0,C.A)(uq,[["__scopeId","data-v-86e2b3ea"]]),uD=/^\/_scalar_temp[a-f0-9]*$/i,uN=e=>{if(!e)return;let t=document.querySelector(e);t instanceof HTMLButtonElement?t.click():(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&"true"===t.getAttribute("contenteditable"))&&t.focus()},uV=a(348),uF=a(4406),uz=["aria-expanded"],uH={class:"overflow-hidden text-ellipsis whitespace-nowrap"},uY=["id"],uG={key:0},uK={class:"description text-c-3 px-3 py-1.5"},uJ=(0,O.pM)({__name:"ServerDropdownItem",props:{server:{},serverOption:{}},emits:["update:variable","update:selectedServer"],setup(e,{emit:t}){let a=(0,O.Bi)(),r=(0,O.EW)(()=>e.serverOption.id===e.server?.url),n=(0,O.EW)(()=>r.value&&Object.keys(e.server?.variables??{}).length>0);return(o,l)=>((0,O.uX)(),(0,O.CE)("div",{class:(0,k.C4)(["group/item flex min-h-fit flex-col rounded border",{"border-transparent":!r.value}])},[(0,O.Lk)("button",(0,O.v6)(n.value?{"aria-controls":(0,x.R1)(a)}:{},{"aria-expanded":n.value,class:["flex min-h-8 cursor-pointer items-center gap-1.5 rounded px-1.5",r.value?"text-c-1 bg-b-2":"hover:bg-b-2"],type:"button",onClick:l[0]||(l[0]=e=>t("update:selectedServer"))}),[(0,O.bF)((0,x.R1)(iD.Pq),{selected:r.value},null,8,["selected"]),(0,O.Lk)("span",uH,(0,k.v_)(e.serverOption.label),1)],16,uz),n.value?((0,O.uX)(),(0,O.CE)("div",{key:0,id:(0,x.R1)(a),class:"bg-b-2 divide divide-y rounded-b border-t *:pl-4",onClick:l[2]||(l[2]=(0,N.D$)(()=>{},["stop"]))},[(0,O.bF)(uF.A,{variables:e.server?.variables,"onUpdate:variable":l[1]||(l[1]=(e,a)=>t("update:variable",e,a))},null,8,["variables"]),e.server?.description?((0,O.uX)(),(0,O.CE)("div",uG,[(0,O.Lk)("div",uK,[(0,O.bF)((0,x.R1)(s2.m),{value:e.server.description},null,8,["value"])])])):(0,O.Q3)("",!0)],8,uY)):(0,O.Q3)("",!0)],2))}}),u0=(0,C.A)(uJ,[["__scopeId","data-v-649f9a0d"]]),u1=a(78547),u2=a(5412),u4=a(47197),u8=["onClick"],u3={class:"flex items-center justify-center"},u6=(0,O.pM)({name:"ServerDropdown",props:{meta:{},servers:{},server:{},target:{},layout:{}},emits:["update:selectedServer","update:variable","update:servers","update:open"],setup(e,{emit:t}){let a=(0,O.EW)(()=>e.servers.map(e=>({id:e.url,label:e.url??"Unknown server"}))),r=(0,O.EW)(()=>e.server?.url?.endsWith("/")?e.server.url.slice(0,-1):e.server?.url||"");return(n,o)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(s4.w),{class:"max-h-[inherit] p-0 text-base",focus:"",offset:0,placement:"bottom",resize:"",target:e.target,teleport:`#${e.target}`},{popover:(0,O.k6)(({close:r})=>[(0,O.Lk)("div",{class:"custom-scroll flex max-h-[inherit] flex-col gap-1 p-1",onClick:r},[((0,O.uX)(!0),(0,O.CE)(O.FK,null,(0,O.pI)(a.value,(a,r)=>((0,O.uX)(),(0,O.Wv)(u0,{key:a.id,server:e.server,serverOption:a,type:"request","onUpdate:selectedServer":r=>t("update:selectedServer",{url:a.id,meta:e.meta}),"onUpdate:variable":(a,n)=>t("update:variable",{index:r,key:a,value:n,meta:e.meta})},null,8,["server","serverOption","onUpdate:selectedServer","onUpdate:variable"]))),128)),"modal"!==e.layout?((0,O.uX)(),(0,O.CE)("button",{key:0,class:"text-xxs hover:bg-b-2 flex cursor-pointer items-center gap-1.5 rounded p-1.75",type:"button",onClick:o[0]||(o[0]=e=>t("update:servers"))},[(0,O.Lk)("div",u3,[(0,O.bF)((0,x.R1)(u1.A),{class:"size-4"})]),o[5]||(o[5]=(0,O.Lk)("span",null,"Update Servers",-1))])):(0,O.Q3)("",!0)],8,u8)]),backdrop:(0,O.k6)(({open:e})=>
1[(0,O.bF)(uV.A,{value:e,onChange:o[1]||(o[1]=e=>t("update:open",e)),onUnmount:o[2]||(o[2]=e=>t("update:open",!1))},null,8,["value"]),(0,O.bF)((0,x.R1)(u4.F),{class:"inset-x-px rounded-none rounded-b-lg"})]),default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(io.R),{class:"hover:bg-b-2 font-code text-c-2 h-auto gap-0.75 rounded border px-1.5 text-base whitespace-nowrap @3xl:ml-0.75",variant:"ghost"},{default:(0,O.k6)(()=>[e.server?((0,O.uX)(),(0,O.CE)(O.FK,{key:0},[o[3]||(o[3]=(0,O.Lk)("span",{class:"sr-only"},"Server:",-1)),(0,O.eW)(" "+(0,k.v_)(r.value),1)],64)):((0,O.uX)(),(0,O.CE)(O.FK,{key:1},[o[4]||(o[4]=(0,O.Lk)("span",{class:"sr-only"},"Add Server",-1)),(0,O.bF)((0,x.R1)(u2.A),{class:"size-3"})],64))]),_:1})]),_:1},8,["target","teleport"]))}}),u5={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"}},u7=e=>u5[e]||{color:"text-grey"},u9=a(56261),de=a(69022),dt=a(70386),da=a(13273),dr=a(19146),dn=a(9e3),dl=a(21878),ds=a(83886),di=a(88209),dc=a(96691),du=a(53261),dd=a(6974),dp=a(78465),dm=((o=dm||{})[o.Open=0]="Open",o[o.Closed=1]="Closed",o),dh=((l=dh||{})[l.Pointer=0]="Pointer",l[l.Other=1]="Other",l);let df=Symbol("MenuContext");function dg(e){let t=(0,O.WQ)(df,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,dg),t}return t}let dv=(0,O.pM)({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:a}){let r=(0,x.KR)(1),n=(0,x.KR)(null),o=(0,x.KR)(null),l=(0,x.KR)([]),s=(0,x.KR)(""),i=(0,x.KR)(null),c=(0,x.KR)(1);function u(e=e=>e){let t=null!==i.value?l.value[i.value]:null,a=(0,du.wl)(e(l.value.slice()),e=>(0,dc.t)(e.dataRef.domRef)),r=t?a.indexOf(t):null;return -1===r&&(r=null),{items:a,activeItemIndex:r}}let d={menuState:r,buttonRef:n,itemsRef:o,items:l,searchQuery:s,activeItemIndex:i,activationTrigger:c,closeMenu:()=>{r.value=1,i.value=null},openMenu:()=>r.value=0,goToItem(e,t,a){let r=u(),n=(0,di.X)(e===di.B.Specific?{focus:di.B.Specific,id:t}:{focus:e},{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});s.value="",i.value=n,c.value=null!=a?a:1,l.value=r.items},search(e){let t=+(""===s.value);s.value+=e.toLowerCase();let a=(null!==i.value?l.value.slice(i.value+t).concat(l.value.slice(0,i.value+t)):l.value).find(e=>e.dataRef.textValue.startsWith(s.value)&&!e.dataRef.disabled),r=a?l.value.indexOf(a):-1;-1===r||r===i.value||(i.value=r,c.value=1)},clearSearch(){s.value=""},registerItem(e,t){let a=u(a=>[...a,{id:e,dataRef:t}]);l.value=a.items,i.value=a.activeItemIndex,c.value=1},unregisterItem(e){let t=u(t=>{let a=t.findIndex(t=>t.id===e);return -1!==a&&t.splice(a,1),t});l.value=t.items,i.value=t.activeItemIndex,c.value=1}};return(0,de.j)([n,o],(e,t)=>{var a;d.closeMenu(),(0,du.Bm)(t,du.MZ.Loose)||(e.preventDefault(),null==(a=(0,dc.t)(n))||a.focus())},(0,O.EW)(()=>0===r.value)),(0,O.Gt)(df,d),(0,dl.Fo)((0,O.EW)(()=>(0,dd.Y)(r.value,{0:dl.Uw.Open,1:dl.Uw.Closed}))),()=>{let n={open:0===r.value,close:d.closeMenu};return(0,dp.XX)({ourProps:{},theirProps:e,slot:n,slots:t,attrs:a,name:"Menu"})}}}),dy=(0,O.pM)({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){var n;let o=null!=(n=e.id)?n:`headlessui-menu-button-${(0,u9.B)()}`,l=dg("MenuButton");function s(e){switch(e.key){case ds.D.Space:case ds.D.Enter:case ds.D.ArrowDown:e.preventDefault(),e.stopPropagation(),l.openMenu(),(0,O.dY)(()=>{var e;null==(e=(0,dc.t)(l.itemsRef))||e.focus({preventScroll:!0}),l.goToItem(di.B.First)});break;case ds.D.ArrowUp:e.preventDefault(),e.stopPropagation(),l.openMenu(),(0,O.dY)(()=>{var e;null==(e=(0,dc.t)(l.itemsRef))||e.focus({preventScroll:!0}),l.goToItem(di.B.Last)})}}function i(e){e.key===ds.D.Space&&e.preventDefault()}function c(t){var a;e.disabled||(0===l.menuState.value?(l.closeMenu(),(0,O.dY)(()=>{var e;return null==(e=(0,dc.t)(l.buttonRef))?void 0:e.focus({preventScroll:!0})}
1)):(t.preventDefault(),l.openMenu(),a=()=>{var e;return null==(e=(0,dc.t)(l.itemsRef))?void 0:e.focus({preventScroll:!0})},requestAnimationFrame(()=>requestAnimationFrame(a))))}r({el:l.buttonRef,$el:l.buttonRef});let u=(0,dt.c)((0,O.EW)(()=>({as:e.as,type:t.type})),l.buttonRef);return()=>{var r;let n={open:0===l.menuState.value},{...d}=e,p={ref:l.buttonRef,id:o,type:u.value,"aria-haspopup":"menu","aria-controls":null==(r=(0,dc.t)(l.itemsRef))?void 0:r.id,"aria-expanded":0===l.menuState.value,onKeydown:s,onKeyup:i,onClick:c};return(0,dp.XX)({ourProps:p,theirProps:d,slot:n,attrs:t,slots:a,name:"MenuButton"})}}}),db=(0,O.pM)({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){var n;let o=null!=(n=e.id)?n:`headlessui-menu-items-${(0,u9.B)()}`,l=dg("MenuItems"),s=(0,x.KR)(null);function i(e){var t;switch(s.value&&clearTimeout(s.value),e.key){case ds.D.Space:if(""!==l.searchQuery.value)return e.preventDefault(),e.stopPropagation(),l.search(e.key);case ds.D.Enter:if(e.preventDefault(),e.stopPropagation(),null!==l.activeItemIndex.value){let e=l.items.value[l.activeItemIndex.value];null==(t=(0,dc.t)(e.dataRef.domRef))||t.click()}l.closeMenu(),(0,du.Fh)((0,dc.t)(l.buttonRef));break;case ds.D.ArrowDown:return e.preventDefault(),e.stopPropagation(),l.goToItem(di.B.Next);case ds.D.ArrowUp:return e.preventDefault(),e.stopPropagation(),l.goToItem(di.B.Previous);case ds.D.Home:case ds.D.PageUp:return e.preventDefault(),e.stopPropagation(),l.goToItem(di.B.First);case ds.D.End:case ds.D.PageDown:return e.preventDefault(),e.stopPropagation(),l.goToItem(di.B.Last);case ds.D.Escape:e.preventDefault(),e.stopPropagation(),l.closeMenu(),(0,O.dY)(()=>{var e;return null==(e=(0,dc.t)(l.buttonRef))?void 0:e.focus({preventScroll:!0})});break;case ds.D.Tab:e.preventDefault(),e.stopPropagation(),l.closeMenu(),(0,O.dY)(()=>(0,du.p9)((0,dc.t)(l.buttonRef),e.shiftKey?du.BD.Previous:du.BD.Next));break;default:1===e.key.length&&(l.search(e.key),s.value=setTimeout(()=>l.clearSearch(),350))}}function c(e){e.key===ds.D.Space&&e.preventDefault()}r({el:l.itemsRef,$el:l.itemsRef}),function({container:e,accept:t,walk:a,enabled:r}){(0,O.nT)(()=>{let n=e.value;if(!n||void 0!==r&&!r.value)return;let o=(0,dn.T)(e);if(!o)return;let l=Object.assign(e=>t(e),{acceptNode:t}),s=o.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,l,!1);for(;s.nextNode();)a(s.currentNode)})}({container:(0,O.EW)(()=>(0,dc.t)(l.itemsRef)),enabled:(0,O.EW)(()=>0===l.menuState.value),accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let u=(0,dl.O_)(),d=(0,O.EW)(()=>null!==u?(u.value&dl.Uw.Open)===dl.Uw.Open:0===l.menuState.value);return()=>{var r,n;let s={open:0===l.menuState.value},{...u}=e,p={"aria-activedescendant":null===l.activeItemIndex.value||null==(r=l.items.value[l.activeItemIndex.value])?void 0:r.id,"aria-labelledby":null==(n=(0,dc.t)(l.buttonRef))?void 0:n.id,id:o,onKeydown:i,onKeyup:c,role:"menu",tabIndex:0,ref:l.itemsRef};return(0,dp.XX)({ourProps:p,theirProps:u,slot:s,attrs:t,slots:a,features:dp.O5.RenderStrategy|dp.O5.Static,visible:d.value,name:"MenuItems"})}}}),dO=(0,O.pM)({name:"MenuItem",inheritAttrs:!1,props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:a,expose:r}){var n;let o=null!=(n=e.id)?n:`headlessui-menu-item-${(0,u9.B)()}`,l=dg("MenuItem"),s=(0,x.KR)(null);r({el:s,$el:s});let i=(0,O.EW)(()=>null!==l.activeItemIndex.value&&l.items.value[l.activeItemIndex.value].id===o),c=(0,da.q)(s),u=(0,O.EW)(()=>({disabled:e.disabled,get textValue(){return c()},domRef:s}));function d(t){if(e.disabled)return t.preventDefault();l.closeMenu(),(0,du.Fh)((0,dc.t)(l.buttonRef))}function p(){if(e.disabled)return l.goToItem(di.B.Nothing);l.goToItem(di.B.Specific,o)}(0,O.sV)(()=>l.registerItem(o,u)),(0,O.hi)(()=>l.unregisterItem(o)),(0,O.nT)(()=>{0===l.menuState.value&&i.value&&0!==l.activationTrigger.value&&(0,O.dY)(()=>{var e,t;return null==(t=null==(e=(0,dc.t)(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})})});let m=(0,dr.J)();function h(e){m.update(e)}function f(t){m.wasMoved(t)&&(e.disabled||i.value||l.goToItem(di.B.Specific,o,0))}function g(t){m.wasMoved(t)&&(e.disabled||i.value&&l.goToItem(di.B.Nothing))}return()=>{let{disabled:r,...n}=e,c={active:i.value,disabled:r,close:l.closeMenu};return(0,dp.XX)({ourProps:{id:o,ref:s,role:"menuitem",tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,onClick:d,onFocus:p,onPointerenter:h,onMouseenter:h,onPointermove:f,onMousemove:f,onPointerleave:g,onMouseleave:g},theirProps:{...a,...n},slot:c,attrs:a,slots:t,name:"MenuItem"})}}}),dk=(e,t=2)=>e>1e3?(e/1e3).toFixed(t)+"s":e.toFixed(t)+"ms";var dx={class:"min-w-0"},dw={class:"text-c-1 min-w-0 truncate"},dS=(0,O.pM)({__name:"AddressBarHistory",props:{target:{},history:{}},emits:["select:history:item","update:open"],setup:(e,{emit:t})=>(a,r)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(dv),{as:"div"},{default:(0,O.k6)(({open:a})=>[(0,O.bF)(uV.A,{value:a,onChange:r[0]||(r[0]=e=>t("update:open",e)),onUnmount:r[1]||(r[1]=e=>t("update:open",!1))},null,8,["value"]),(0,O.bF)((0,x.R1)(u4.Z),{offset:0,resize:"",target:e.target},(0,O.eX)({default:(0,O.k6)(()=>[e.history.length?((0,O.uX)(),(0,O.Wv)((0,x.R1)(dy),{key:0,class:"address-bar-history-button text-c-3 focus:text-c-1 relative mr-1 rounded-lg p-1.5"},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(V.k),{icon:"History",size:"sm",thickness:"2.25"}),r[2]||(r[2]=(0,O.Lk)("span",{class:"sr-only"},"Request History",-1))]),_:1})):(0,O.Q3)("",!0)]),_:2},[a?{name:"floating",fn:(0,O.k6)(({width:a})=>[(0,O.bF)((0,x.R1)(db),{class:"custom-scroll grid max-h-[inherit] grid-cols-[44px_1fr_repeat(3,auto)] items-center p-0.75",static:"",style:(0,k.Tr)({width:a})},{default:(0,O.k6)(()=>[((0,O.uX)(!0),(0,O.CE)(O.FK,null,(0,O.pI)(e.history,(e,a)=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(dO),{key:a,as:"button",class:"font-code ui-active:
1*:bg-b-2 text-c-2 contents text-sm font-medium *:flex *:h-8 *:cursor-pointer *:items-center *:rounded-none *:px-1.5 *:first:rounded-l *:last:rounded-r",value:a,onClick:e=>t("select:history:item",{index:a})},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(uW),{class:"text-[11px]",method:e.method},null,8,["method"]),(0,O.Lk)("div",dx,[(0,O.Lk)("div",dw,(0,k.v_)(e.path),1)]),(0,O.Lk)("div",null,(0,k.v_)((0,x.R1)(dk)(e.duration)),1),(0,O.Lk)("div",{class:(0,k.C4)([(0,x.R1)(u7)(e.status).color])},(0,k.v_)(e.status),3),(0,O.Lk)("div",null,(0,k.v_)((0,x.R1)(uA.Z)[e.status]?.name),1)]),_:2},1032,["value","onClick"]))),128))]),_:1},8,["style"]),(0,O.bF)((0,x.R1)(u4.F),{class:"inset-x-px rounded-none rounded-b-lg"})]),key:"0"}:void 0]),1032,["target"])]),_:1}))}),dC=(0,C.A)(dS,[["__scopeId","data-v-12140f4f"]]),d$=a(3652),dA=a(95094),dR=a(42187),dE={class:"order-last flex h-auto w-full max-w-3xl grow-3 flex-wrap items-stretch [--scalar-address-bar-height:32px] @3xl:order-0 @3xl:flex-nowrap"},dP=["id"],dT={class:"hidden @3xl:flex"},d_={class:"scroll-timeline-x scroll-timeline-x-hidden relative flex w-full bg-blend-normal"},dj={key:0,class:"z-context absolute inset-x-0 top-[calc(100%+4px)] flex flex-col items-center rounded px-6"},dQ={class:"text-c-danger bg-b-danger border-c-danger flex items-center gap-1 rounded border p-1"},dL={class:"min-w-0 flex-1"},dM={"aria-hidden":"true",class:"inline-flex items-center gap-1"},dZ={class:"sr-only"},dU={class:"mt-2 flex h-(--scalar-address-bar-height) w-full items-stretch gap-1 @3xl:hidden"},dX={"aria-hidden":"true",class:"inline-flex items-center gap-1"},dI={class:"sr-only"},dB=(0,O.pM)({name:"AddressBar",props:{path:{},method:{},isWebhook:{type:Boolean,default:!1},documentSlug:{},exampleKey:{},server:{},servers:{},history:{},layout:{},eventBus:{},environment:{},serverMeta:{}},emits:["execute","select:history:item","update:webhook-url"],setup(e,{expose:t,emit:a}){let r,n,o,l,s,i=(0,O.Bi)(),c=(0,O.rk)("sendButtonRef"),u=(0,O.rk)("mobileSendButtonRef"),d=(0,O.rk)("addressBarRef"),{percentage:p,startLoading:m,stopLoading:h,isLoading:f}=(r=(0,x.KR)(100),n=(0,x.KR)(0),o=(0,x.KR)(!1),l=(0,x.KR)(),s=()=>{o.value?r.value-=(r.value-15)/60:r.value-=n.value/20,r.value<=0&&(clearInterval(l.value),l.value=void 0,r.value=100,o.value=!1)},{startLoading:()=>{if(l.value){o.value=!0;return}o.value=!0,l.value=setInterval(s,20)},stopLoading:()=>{n.value=r.value,o.value=!1},percentage:r,isLoading:o}),g=(0,x.KR)(null),v=(0,x.KR)(null),y=(0,x.KR)(!1),b=(0,x.KR)(!1),w=(0,x.KR)(!1),S=er.Lz.scrollMargins.of(()=>({right:24})),C=(0,O.EW)(()=>({backgroundColor:`color-mix(in srgb, transparent 90%, ${uB.N[e.method].colorVar})`,transform:`translate3d(-${p.value}%,0,0)`})),$=(0,O.EW)(()=>v.value||g.value),A=(0,O.EW)(()=>e.server?"":e.isWebhook?"Enter the full webhook URL, e.g. https://example.com/hook":"Enter a URL"),R=(0,O.EW)(()=>b.value||w.value),E=(0,O.EW)(()=>Z(e.method,e.path,e.exampleKey,e.documentSlug));(0,O.wB)(E,()=>{g.value=null,v.value=null});let P=()=>{let e=c.value?.$el,t=u.value?.$el;e&&null!==e.offsetParent?e.focus():t?.focus()},T=t=>{(!d.value?.isFocused||"desktop"===e.layout)&&(d.value?.focus("end"),t&&"clear"in t&&t.clear&&d.value?.setCodeMirrorContent(""),t&&"event"in t&&t.event.preventDefault())};(({isReady:e,operationKey:t,shouldMask:a,onMask:r})=>{(0,O.wB)([e,t],([e])=>{e&&a()&&r()},{flush:"post"})})({isReady:()=>d.value?.codeMirror,operationKey:()=>E.value,shouldMask:()=>{var t;return t=e.path,"drafts"===e.documentSlug.toLowerCase()&&"/"===t||uD.test(t)},onMask:()=>requestAnimationFrame(()=>{let t=d.value?.codeMirror?.state.doc.toString();t&&t!==e.path||T({clear:!0})})});let _=(t,r,n=null)=>{if(e.isWebhook){let e=r.trim();d.value?.setCodeMirrorContent(e),a("update:webhook-url",e),v.value=null,g.value=null,(0,O.dY)(()=>uN(n));return}let o=(t=>{let a=((e="")=>{if(!e.trim())return null;if(!e.startsWith("/")&&!/^[a-z][a-z0-9+\-.]*:\/\//i.test(e)){let t=e.search(/[/?#]/),a=-1===t?e:e.slice(0,t);if(a.includes("."))try{let t=new URL(`https://${e}`);if("null"===t.origin)return null;let r=t.host,n=a.match(/:(\d+)$/);n&&!t.port&&(r=`${t.hostname}:${n[1]}`);let o=decodeURIComponent(t.pathname)+t.search+t.hash;return[r,o]}catch{return null}}if(e.startsWith("//"))try{let t=new URL(`https:${e}`);if("null"===t.origin)return null;let a=t.origin.replace(/^https?:/,""),r=decodeURIComponent(t.pathname)+t.search+t.hash;return[a,r]}catch{return null}try{let t=new URL(e);if("null"===t.origin)return null;let a=decodeURIComponent(t.pathname)+t.search+t.hash;return[t.origin,a]}catch{return null}})(t);if(!a)return t;let[r,n]=a;return r===e.server?.url||(e.servers.find(e=>e.url===r)?e.eventBus.emit("server:update:selected",{url:r,meta:e.serverMeta}):e.eventBus.emit("server:add:server",{url:r,select:!0,meta:{type:"operation",path:e.path,method:e.method}})),n})(r),l=o.startsWith("/")?o:`/${o}`;
1d.value?.setCodeMirrorContent(l),e.eventBus.emit("operation:update:pathMethod",{meta:{method:e.method,path:e.path},blurTargetSelector:n,payload:{method:t,path:l},callback:(a,r)=>{if("success"===a||"no-change"===a)v.value=null,g.value=null;else if("conflict"===a){t!==e.method&&(v.value=t),l!==e.path&&(g.value=l);return}let n=d.value?.codeMirrorRef?.textContent;"no-change"===a&&n&&n!==o&&d.value?.setCodeMirrorContent(o),(0,O.dY)(()=>uN(r))}})},j=t=>_(t,g.value??e.path),Q=(t,a)=>{let r=a.relatedTarget,n=y.value||"sourceCapabilities"in a&&null===a.sourceCapabilities?null:(e=>{if(!e||!(e instanceof Element))return null;let t=[],a=e;for(;a instanceof Element;){let e=a.localName,r=1,n=a.previousElementSibling;for(;n;)n.localName===e&&r++,n=n.previousElementSibling;t.unshift(r>1?`${e}:nth-of-type(${r})`:e),a=a.parentElement}return t.join(" > ")})(r);y.value=!1,_(v.value??e.method,t,n)},L=(t,a)=>{a.stopPropagation(),_(v.value??e.method,t,'[data-addressbar-action="send"]')},M=t=>{t.target?.innerText==="\n"&&(e.isWebhook||e.eventBus.emit("server:update:selected",{url:"",meta:e.serverMeta}))},U=t=>{e.eventBus.emit("server:update:selected",t)},X=t=>{e.eventBus.emit("server:update:variables",t)},I=()=>{e.eventBus.emit("copy-url:address-bar")},B=()=>{"operation"===e.serverMeta.type?e.eventBus.emit("ui:navigate",{page:"operation",path:"servers",operationPath:e.serverMeta.path,method:e.serverMeta.method}):e.eventBus.emit("ui:navigate",{page:"document",path:"servers"})},q=[];return(0,O.sV)(()=>{q.push(e.eventBus.on("ui:focus:address-bar",T),e.eventBus.on("ui:focus:send-button",P),e.eventBus.on("hooks:on:request:sent",m),e.eventBus.on("hooks:on:request:complete",h))}),(0,O.xo)(()=>{for(let e of q)e();h()}),t({methodConflict:v,pathConflict:g}),(t,r)=>((0,O.uX)(),(0,O.CE)("div",dE,[(0,O.Lk)("div",{id:(0,x.R1)(i),class:(0,k.C4)(["address-bar-bg-states text-xxs group relative flex h-(--scalar-address-bar-height) w-full flex-1 flex-row items-stretch rounded-lg p-0.75",{"outline-c-danger outline":$.value,"rounded-b-none":R.value}])},[(0,O.Lk)("div",{class:(0,k.C4)(["pointer-events-none absolute top-0 left-0 block h-full w-full overflow-hidden rounded-lg border",{"rounded-b-none":R.value}])},[(0,O.Lk)("div",{class:"absolute top-0 left-0 h-full w-full",style:(0,k.Tr)(C.value)},null,4)],2),(0,O.Lk)("div",dT,[(0,O.bF)((0,x.R1)(uW),{isEditable:"modal"!==e.layout&&!e.isWebhook,isSquare:"",method:v.value??e.method,teleport:"",onChange:j},null,8,["isEditable","method"])]),(0,O.Lk)("div",d_,[e.servers.length?((0,O.uX)(),(0,O.Wv)((0,x.R1)(u6),{key:0,layout:e.isWebhook?"modal":e.layout,meta:e.serverMeta,server:e.server,servers:e.servers,target:(0,x.R1)(i),"onUpdate:open":r[0]||(r[0]=e=>b.value=e),"onUpdate:selectedServer":U,"onUpdate:servers":B,"onUpdate:variable":X},null,8,["layout","meta","server","servers","target"])):(0,O.Q3)("",!0),(0,O.bF)((0,x.R1)(sN),{ref_key:"addressBarRef",ref:d,alwaysEmitChange:"","aria-label":"Path",class:"ml-1 min-w-fit pl-px outline-none",disableCloseBrackets:"",disabled:"modal"===e.layout&&!e.isWebhook,disableEnter:"",disableTabIndent:"",emitOnBlur:!1,environment:e.environment,extensions:[(0,x.R1)(S)],importCurl:"",layout:e.layout,modelValue:e.path,placeholder:A.value,server:"",onBlur:Q,onKeydown:[(0,N.jR)(M,["delete"]),r[1]||(r[1]=(0,N.jR)(e=>y.value=!0,["tab"]))],onSubmit:L},null,8,["disabled","environment","extensions","layout","modelValue","placeholder"])]),(0,O.bF)((0,x.R1)(io.R),{class:"hover:bg-b-3 mx-1 hidden @3xl:flex",size:"xs",variant:"ghost",onClick:I},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(d$.A)),r[6]||(r[6]=(0,O.Lk)("span",{class:"sr-only"},"Copy URL",-1))]),_:1}),(0,O.bF)(dC,{history:e.history,target:(0,x.R1)(i),"onSelect:history:item":r[2]||(r[2]=e=>a("select:history:item",e)),"onUpdate:open":r[3]||(r[3]=e=>w.value=e)},null,8,["history","target"]),$.value?((0,O.uX)(),(0,O.CE)("div",dj,[(0,O.Lk)("div",dQ,[(0,O.bF)((0,x.R1)(dA.A),{size:"sm"}),(0,O.Lk)("div",dL,[r[7]||(r[7]=(0,O.eW)(" A ",-1)),(0,O.Lk)("em",null,(0,k.v_)(v.value?.toUpperCase()??e.method.toUpperCase()),1),r[8]||(r[8]=(0,O.eW)(" request to ",-1)),(0,O.bF)((0,x.R1)(dR.A),{text:g.value??e.path},null,8,["text"]),r[9]||(r[9]=(0,O.eW)(" already exists in this document ",-1))])])])):(0,O.Q3)("",!0),(0,O.bF)((0,x.R1)(io.R),{ref_key:"sendButtonRef",ref:c,class:"relative hidden h-auto 
1shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold @3xl:flex","data-addressbar-action":"send",disabled:(0,x.R1)(f),onClick:r[4]||(r[4]=e=>a("execute"))},{default:(0,O.k6)(()=>[(0,O.Lk)("span",dM,[(0,O.bF)((0,x.R1)(V.k),{class:"relative shrink-0 fill-current",icon:"Play",size:"xs"}),r[10]||(r[10]=(0,O.Lk)("span",{class:"text-xxs flex"},"Send",-1))]),(0,O.Lk)("span",dZ," Send "+(0,k.v_)(e.method)+" request to "+(0,k.v_)(e.server?.url??"")+(0,k.v_)(e.path),1)]),_:1},8,["disabled"])],10,dP),(0,O.Lk)("div",dU,[(0,O.bF)((0,x.R1)(uW),{isEditable:"modal"!==e.layout&&!e.isWebhook,isSquare:"",method:v.value??e.method,teleport:"",onChange:j},null,8,["isEditable","method"]),(0,O.bF)((0,x.R1)(io.R),{class:"hover:bg-b-3 ml-auto",size:"xs",variant:"ghost",onClick:I},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(d$.A)),r[11]||(r[11]=(0,O.Lk)("span",{class:"sr-only"},"Copy URL",-1))]),_:1}),(0,O.bF)((0,x.R1)(io.R),{ref_key:"mobileSendButtonRef",ref:u,class:"relative h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold","data-addressbar-action":"send",disabled:(0,x.R1)(f),onClick:r[5]||(r[5]=e=>a("execute"))},{default:(0,O.k6)(()=>[(0,O.Lk)("span",dX,[(0,O.bF)((0,x.R1)(V.k),{class:"relative shrink-0 fill-current",icon:"Play",size:"xs"}),r[12]||(r[12]=(0,O.Lk)("span",{class:"text-xxs"},"Send",-1))]),(0,O.Lk)("span",dI," Send "+(0,k.v_)(e.method)+" request to "+(0,k.v_)(e.server?.url??"")+(0,k.v_)(e.path),1)]),_:1},8,["disabled"])])]))}}),dq=(0,C.A)(dB,[["__scopeId","data-v-c414dc68"]]),dW=a(87023),dD={class:"relative flex items-center"},dN={class:"flex max-w-[220px] min-w-0 items-center gap-1.5"},dV={class:"text-xxs block max-w-[160px] min-w-0 truncate text-left font-medium"},dF={class:"min-w-0 flex-1 truncate"},dz={class:"bg-c-accent text-b-1 mt-0.5 flex h-4 w-4 shrink-0 items-center justify-center rounded-full p-[3px]"},dH={class:"min-w-0 flex-1 text-left"},dY={class:"block truncate"},dG={class:"flex h-4 w-4 items-center justify-center"},dK={key:5,class:"text-c-3 px-2 py-1.5 text-xs"},dJ=(0,O.pM)({__name:"EnvironmentSelector",props:{environments:{default:()=>[]},activeEnvironment:{}},emits:["select:environment","add:environment"],setup(e,{emit:t}){let a=(0,O.EW)(()=>!!e.activeEnvironment),r=(0,O.EW)(()=>e.environments.length>0),n=(0,O.EW)(()=>!!e.activeEnvironment&&e.environments.includes(e.activeEnvironment)),o=(0,O.EW)(()=>a.value&&!n.value),l=(0,O.EW)(()=>o.value?`${e.activeEnvironment} (Unavailable)`:a.value?e.activeEnvironment:r.value?"Select Environment":"Add Environment"),s=(0,O.EW)(()=>o.value?"hover:bg-b-2 text-c-2 border-transparent":a.value?"bg-c-accent/10 text-c-accent hover:bg-c-accent/20 border-c-accent/30":r.value?"hover:bg-b-2 text-c-2 border-transparent":"hover:bg-b-2 text-c-3 border-transparent"),i=()=>{t("add:environment")},c=e=>{t("select:environment",e)};return(t,n)=>((0,O.uX)(),(0,O.CE)("div",dD,[(0,O.bF)((0,x.R1)(dW.SM),null,{items:(0,O.k6)(()=>[a.value?((0,O.uX)(),(0,O.Wv)((0,x.R1)(dW.rA),{key:0,class:"group/item flex w-full items-center gap-1.5",onClick:n[0]||(n[0]=e=>c(""))},{default:(0,O.k6)(()=>[(0,O.Lk)("div",{class:(0,k.C4)(["flex h-4 w-4 items-center justify-center rounded-full p-[3px]",e.activeEnvironment?"shadow-border text-transparent":"bg-c-accent text-b-1"])},[(0,O.bF)((0,x.R1)(V.k),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),n[1]||(n[1]=(0,O.Lk)("span",{class:"text-c-2"},"No Environment",-1))]),_:1})):(0,O.Q3)("",!0),a.value&&r.value?((0,O.uX)(),(0,O.Wv)((0,x.R1)(dW.t),{key:1})):(0,O.Q3)("",!0),((0,O.uX)(!0),(0,O.CE)(O.FK,null,(0,O.pI)(e.environments,t=>((0,O.uX)(),(0,O.Wv)((0,x.R1)(dW.rA),{key:t,class:"group/item flex w-full min-w-0 items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",onClick:e=>c(t)},{default:(0,O.k6)(()=>[(0,O.Lk)("div",{class:(0,k.C4)(["flex h-4 w-4 items-center justify-center rounded-full p-[3px]",e.activeEnvironment===t?"bg-c-accent text-b-1":"shadow-border text-transparent"])},[(0,O.bF)((0,x.R1)(V.k),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),(0,O.Lk)("span",dF,(0,k.v_)(t),1)]),_:2},1032,["onClick"]))),128)),o.value?((0,O.uX)(),(0,O.Wv)((0,x.R1)(dW.t),{key:2})):(0,O.Q3)("",!0),o.value?((0,O.uX)(),(0,O.Wv)((0,x.R1)(dW.rA),{key:3,class:"group/item flex h-auto w-full min-w-0 items-start gap-1.5 overflow-hidden",disabled:""},{default:(0,O.k6)(()=>[(0,O.Lk)("div",dz,[(0,O.bF)((0,x.R1)(V.k),{class:"size-2.5",icon:"Checkmark",thickness:"3"})]),(0,O.Lk)("div",dH,[(0,O.Lk)("span",dY,(0,k.v_)(e.activeEnvironment),1),n[2]||(n[2]=(0,O.Lk)("span",{class:"text-c-3 block truncate text-xs"}," Not available in this context ",-1))])]),_:1})):(0,O.Q3)("",!0),r.value?((0,O.uX)(),(0,O.Wv)((0,x.R1)(dW.t),{key:4})):(0,O.Q3)("",!0),(0,O.bF)((0,x.R1)(dW.rA),{class:"text-c-accent flex items-center gap-1.5",onClick:i},{default:(0,O.k6)(()=>[(0,O.Lk)("div",dG,[(0,O.bF)((0,x.R1)(V.k),{icon:"Add",size:"sm"})]),(0,O.Lk)("span",null,(0,k.v_)(r.value?"New Environment":"Create Environment"),1)]),_:1}),r.value||a.value?(0,O.Q3)("",!0):((0,O.uX)(),(0,O.CE)("div",dK,[...n[3]||(n[3]=[(0,O.Lk)("p",{class:"mb-1"}," Environments let you manage variables like API keys and base URLs across different c
1ontexts. ",-1)])]))]),default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(io.R),{"aria-label":`Current environment: ${l.value}`,class:(0,k.C4)(["line-clamp-1 h-full w-fit justify-start border px-2 py-1 font-normal transition-colors",s.value]),size:"sm",variant:"ghost"},{default:(0,O.k6)(()=>[(0,O.Lk)("div",dN,[(0,O.bF)((0,x.R1)(V.k),{class:(0,k.C4)(["shrink-0",a.value&&!o.value?"text-c-accent":"text-c-3"]),icon:"Globe",size:"sm"},null,8,["class"]),(0,O.Lk)("span",dV,(0,k.v_)(l.value),1),(0,O.bF)((0,x.R1)(V.k),{class:"shrink-0",icon:"ChevronDown",size:"xs"})])]),_:1},8,["aria-label","class"])]),_:1})]))}}),d0={key:0},d1={key:1},d2={key:2},d4={key:3},d8={key:4},d3={key:5},d6=(0,O.pM)({name:"ScalarIconGearSix",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,is.R)(e);return(e,r)=>((0,O.uX)(),(0,O.CE)("svg",(0,O.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,x.R1)(t)),[(0,O.RG)(e.$slots,"default"),"bold"===(0,x.R1)(a)?((0,O.uX)(),(0,O.CE)("g",d0,[...r[0]||(r[0]=[(0,O.Lk)("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm113.86-49.57A12,12,0,0,0,236,98.34L208.21,82.49l-.11-31.31a12,12,0,0,0-4.25-9.12,116,116,0,0,0-38-21.41,12,12,0,0,0-9.68.89L128,37.27,99.83,21.53a12,12,0,0,0-9.7-.9,116.06,116.06,0,0,0-38,21.47,12,12,0,0,0-4.24,9.1l-.14,31.34L20,98.35a12,12,0,0,0-5.85,8.11,110.7,110.7,0,0,0,0,43.11A12,12,0,0,0,20,157.66l27.82,15.85.11,31.31a12,12,0,0,0,4.25,9.12,116,116,0,0,0,38,21.41,12,12,0,0,0,9.68-.89L128,218.73l28.14,15.74a12,12,0,0,0,9.7.9,116.06,116.06,0,0,0,38-21.47,12,12,0,0,0,4.24-9.1l.14-31.34,27.81-15.81a12,12,0,0,0,5.85-8.11A110.7,110.7,0,0,0,241.86,106.43Zm-22.63,33.18-26.88,15.28a11.94,11.94,0,0,0-4.55,4.59c-.54,1-1.11,1.93-1.7,2.88a12,12,0,0,0-1.83,6.31L184.13,199a91.83,91.83,0,0,1-21.07,11.87l-27.15-15.19a12,12,0,0,0-5.86-1.53h-.29c-1.14,0-2.3,0-3.44,0a12.08,12.08,0,0,0-6.14,1.51L93,210.82A92.27,92.27,0,0,1,71.88,199l-.11-30.24a12,12,0,0,0-1.83-6.32c-.58-.94-1.16-1.91-1.7-2.88A11.92,11.92,0,0,0,63.7,155L36.8,139.63a86.53,86.53,0,0,1,0-23.24l26.88-15.28a12,12,0,0,0,4.55-4.58c.54-1,1.11-1.94,1.7-2.89a12,12,0,0,0,1.83-6.31L71.87,57A91.83,91.83,0,0,1,92.94,45.17l27.15,15.19a11.92,11.92,0,0,0,6.15,1.52c1.14,0,2.3,0,3.44,0a12.08,12.08,0,0,0,6.14-1.51L163,45.18A92.27,92.27,0,0,1,184.12,57l.11,30.24a12,12,0,0,0,1.83,6.32c.58.94,1.16,1.91,1.7,2.88A11.92,11.92,0,0,0,192.3,101l26.9,15.33A86.53,86.53,0,0,1,219.23,139.61Z"},null,-1)])])):"duotone"===(0,x.R1)(a)?((0,O.uX)(),(0,O.CE)("g",d1,[...r[1]||(r[1]=[(0,O.Lk)("path",{d:"M230.1,108.76,198.25,90.62c-.64-1.16-1.31-2.29-2-3.41l-.12-36A104.61,104.61,0,0,0,162,32L130,49.89c-1.34,0-2.69,0-4,0L94,32A104.58,104.58,0,0,0,59.89,51.25l-.16,36c-.7,1.12-1.37,2.26-2,3.41l-31.84,18.1a99.15,99.15,0,0,0,0,38.46l31.85,18.14c.64,1.16,1.31,2.29,2,3.41l.12,36A104.61,104.61,0,0,0,94,224l32-17.87c1.34,0,2.69,0,4,0L162,224a104.58,104.58,0,0,0,34.08-19.25l.16-36c.7-1.12,1.37-2.26,2-3.41l31.84-18.1A99.15,99.15,0,0,0,230.1,108.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),(0,O.Lk)("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.1,8.1,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8,8,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z"},null,-1)])])):"fill"===(0,x.R1)(a)?((0,O.uX)(),(0,O.CE)("g",d2,[...r[2]||(r[2]=[(0,O.Lk)("path",{d:"M237.94,107.21a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1)])])):"light"===(0,x.R1)(a)?((0,O.uX)(),(0,O.CE)("g",d4,[...r[3]||(r[3]=[(0,O.Lk)("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Zm108-54.4a6,6,0,0,0-2.92-4L202.64,86.22l-.42-.71L202.1,51.2A6,6,0,0,0,200,46.64a110.12,110.12,0,0,0-36.07-20.31,6,6,0,0,0-4.84.45L128.46,43.86h-1L96.91,26.76a6,6,0,0,0-4.86-.44A109.92,109.92,0,0,0,56,46.68a6,6,0,0,0-2.12,4.55l-.16,34.34c-.14.23-.28.47-.41.71L22.91,103.57A6,6,0,0,0,20,107.62a104.81,104.81,0,0,0,0,40.78,6,6,0,0,0,2.92,4l30.42,17.33.42.71.12,34.31A6,6,0,0,0,56,209.36a110.12,110.12,0,0,0,36.07,20.31,6,6,0,0,0,4.84-.45l30.61-17.08h1l30.56,17.1A6.09,6.09,0,0,0,162,230a5.83,5.83,0,0,0,1.93-.32,109.92,109.92,0,0,0,36-20.36,6,6,0,0,0,2.12-4.55l.16-34.34c.14-.23.28-.47.41-.71l30.42-17.29a6,6,0,0,0,2.92-4.05A104.81,104.81,0,0,0,236,107.6Zm-11.25,35.79L195.32,160.1a6.07,6.07,0,0,0-2.28,2.3c-.59,1-1.21,2.11-1.86,3.14a6,6,0,0,0-.91,3.16l-.16,33.21a98.15,98.15,0,0,1-27.52,15.53L133,200.88a6,6,0,0,0-2.93-.77h-.14c-1.24,0-2.5,0-3.74,0a6,
16,0,0,0-3.07.76L93.45,217.43a98,98,0,0,1-27.56-15.49l-.12-33.17a6,6,0,0,0-.91-3.16c-.64-1-1.27-2.08-1.86-3.14a6,6,0,0,0-2.27-2.3L31.3,143.4a93,93,0,0,1,0-30.79L60.68,95.9A6.07,6.07,0,0,0,63,93.6c.59-1,1.21-2.11,1.86-3.14a6,6,0,0,0,.91-3.16l.16-33.21A98.15,98.15,0,0,1,93.41,38.56L123,55.12a5.81,5.81,0,0,0,3.07.76c1.24,0,2.5,0,3.74,0a6,6,0,0,0,3.07-.76l29.65-16.56a98,98,0,0,1,27.56,15.49l.12,33.17a6,6,0,0,0,.91,3.16c.64,1,1.27,2.08,1.86,3.14a6,6,0,0,0,2.27,2.3L224.7,112.6A93,93,0,0,1,224.73,143.39Z"},null,-1)])])):"regular"===(0,x.R1)(a)?((0,O.uX)(),(0,O.CE)("g",d8,[...r[4]||(r[4]=[(0,O.Lk)("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A112.1,112.1,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.62a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.08,8.08,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8.08,8.08,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z"},null,-1)])])):"thin"===(0,x.R1)(a)?((0,O.uX)(),(0,O.CE)("g",d3,[...r[5]||(r[5]=[(0,O.Lk)("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm106-56a4,4,0,0,0-2-2.7l-30.89-17.6q-.47-.82-1-1.62L200.1,51.2a3.94,3.94,0,0,0-1.42-3,107.8,107.8,0,0,0-35.41-19.94,4,4,0,0,0-3.23.29L129,45.87h-2l-31-17.36a4,4,0,0,0-3.23-.3,108.05,108.05,0,0,0-35.39,20,4,4,0,0,0-1.41,3l-.16,34.9-1,1.62L23.9,105.3A4,4,0,0,0,22,108a102.76,102.76,0,0,0,0,40,4,4,0,0,0,1.95,2.7l30.89,17.6q.47.83,1,1.62l.12,34.87a3.94,3.94,0,0,0,1.42,3,107.8,107.8,0,0,0,35.41,19.94,4,4,0,0,0,3.23-.29L127,210.13h2l31,17.36a4,4,0,0,0,3.23.3,108.05,108.05,0,0,0,35.39-20,4,4,0,0,0,1.41-3l.16-34.9,1-1.62L232.1,150.7a4,4,0,0,0,2-2.71A102.76,102.76,0,0,0,234,108Zm-7.48,36.67L196.3,161.84a4,4,0,0,0-1.51,1.53c-.61,1.09-1.25,2.17-1.91,3.24a3.92,3.92,0,0,0-.61,2.1l-.16,34.15a99.8,99.8,0,0,1-29.7,16.77l-30.4-17a4.06,4.06,0,0,0-2-.51H130c-1.28,0-2.57,0-3.84,0a4.1,4.1,0,0,0-2.05.51l-30.45,17A100.23,100.23,0,0,1,63.89,202.9l-.12-34.12a3.93,3.93,0,0,0-.61-2.11c-.66-1-1.3-2.14-1.91-3.23a4,4,0,0,0-1.51-1.53L29.49,144.68a94.78,94.78,0,0,1,0-33.34L59.7,94.16a4,4,0,0,0,1.51-1.53c.61-1.09,1.25-2.17,1.91-3.23a4,4,0,0,0,.61-2.11l.16-34.15a99.8,99.8,0,0,1,29.7-16.77l30.4,17a4.1,4.1,0,0,0,2.05.51c1.28,0,2.57,0,3.84,0a4,4,0,0,0,2.05-.51l30.45-17A100.23,100.23,0,0,1,192.11,53.1l.12,34.12a3.93,3.93,0,0,0,.61,2.11c.66,1,1.3,2.14,1.91,3.23a4,4,0,0,0,1.51,1.53l30.25,17.23A94.78,94.78,0,0,1,226.54,144.66Z"},null,-1)])])):(0,O.Q3)("",!0)],16))}}),d5={class:"lg:min-h-header t-app__top-container @container flex w-full flex-wrap items-center justify-center p-2"},d7={class:"mb-2 flex flex-1 items-center justify-end gap-2 @3xl:mb-0"},d9=(0,O.pM)({__name:"Header",props:{path:{},method:{},isWebhook:{type:Boolean},layout:{},hideClientButton:{type:Boolean,default:!1},integration:{},documentSlug:{},exampleKey:{},documentUrl:{},source:{},server:{},servers:{},history:{},eventBus:{},environments:{},activeEnvironment:{},environment:{},serverMeta:{}},emits:["execute","select:history:item","add:environment","navigate:settings","update:webhook-url"],setup(e,{emit:t}){let a=t=>{e.eventBus.emit("workspace:update:active-environment",t)},r=()=>{e.eventBus.emit("ui:navigate",{page:"document",path:"environment"})};return(n,o)=>((0,O.uX)(),(0,O.CE)("div",d5,[o[9]||(o[9]=(0,O.Lk)("div",{class:"flex flex-1"},null,-1)),(0,O.bF)((0,x.R1)(dq),{activeEnvironment:e.activeEnvironment,documentSlug:e.documentSlug,environment:e.environment,environments:e.environments,eventBus:e.eventBus,exampleKey:e.exampleKey,history:e.history,isWebhook:e.isWebhook,layout:e.layout,method:e.method,path:e.path,server:e.server,serverMeta:e.serverMeta,servers:e.servers,"onAdd:environment":o[0]||(o[0]=e=>t("add:environment")),onExecute:o[1]||(o[1]=e=>t("execute")),"onUpdate:webhookUrl":o[2]||(o[2]=e=>t("update:webhook-url",e)),"onSelect:history:item":o[3]||(o[3]=e=>t("select:history:item",e))},null,8,["activeEnvironment","documentSlug","environment","environments","eventBus","exampleKey","history","isWebhook","layout","method","path","server","serverMeta","servers"]),(0,O.Lk)("div",d7,["modal"!==e.layout?((0,O.uX)(),(0,O.Wv)(dJ,{key:0,activeEnvironment:e.activeEnvironment,environments:e.environments,"onAdd:environment":r,"onSelect:environment":a},null,8,["activeEnvironment","environments"])):(0,O.Q3)("",!0),"modal"===e.layout||e.isWebhook?(0,O.Q3)("",!0):((0,O.uX)(),(0,O.Wv)((0,x.R1)(ig.E),{key:1,icon:(0,x.R1)(d6),label:"Operation settings",size:"sm",weight:"bold",onClick:o[4]||(o[4]=e=>t("navigate:settings"))},null,8,["icon"])),"modal"===e.layout&&e.documentUrl&&!e.hideClientButton?((0,O.uX)(),(0,O.Wv)(uI.A,{key:2,buttonSource:"modal",class:"!w-fit lg:-mr-1",integration:e.integration??null,operationMethod:e.method,operationPath:e.path,source:e.source??"api-reference",url:e.documentUrl},null,8,["integration","operationMethod","operationPath","source","url"])):(0,O.Q3)("",!0),"modal"===e.layout&&"g
1itbook"!==e.source?((0,O.uX)(),(0,O.CE)("button",{key:3,class:"app-exit-button zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2",type:"button",onClick:o[5]||(o[5]=t=>e.eventBus.emit("ui:close:client-modal"))},[(0,O.bF)((0,x.R1)(V.k),{icon:"Close",size:"lg",thickness:"2"}),o[7]||(o[7]=(0,O.Lk)("span",{class:"sr-only"},"Close Client",-1))])):(0,O.Q3)("",!0),"modal"===e.layout&&"gitbook"===e.source?((0,O.uX)(),(0,O.CE)("button",{key:4,class:"text-c-1 hover:bg-b-2 active:text-c-1 -mr-1.5 rounded p-2",type:"button",onClick:o[6]||(o[6]=t=>e.eventBus.emit("ui:close:client-modal"))},[(0,O.bF)((0,x.R1)(V.k),{icon:"Close",size:"md",thickness:"1.75"}),o[8]||(o[8]=(0,O.Lk)("span",{class:"sr-only"},"Close Client",-1))])):(0,O.Q3)("",!0)])]))}}),pe=(0,C.A)(d9,[["__scopeId","data-v-3769522e"]]),pt=a(7228),pa=a(70310),pr=a(40279),pn=a(71961),po=a(82553),pl={class:"bg-b-1 flex h-full flex-col"},ps={class:"lg:min-h-header flex w-full flex-wrap items-center justify-center p-2 lg:p-0"},pi=(0,O.pM)({name:"OperationBlock",props:{eventBus:{},appVersion:{},document:{},documentSlug:{},workspaceCookies:{default:()=>[]},documentCookies:{default:()=>[]},path:{},method:{},isWebhook:{type:Boolean,default:!1},httpClients:{default:()=>pr.F},history:{default:()=>[]},layout:{},server:{},selectedClient:{},servers:{},serverMeta:{},hideClientButton:{type:Boolean},integration:{},documentUrl:{},source:{},operation:{},exampleKey:{},authMeta:{},securitySchemes:{},plugins:{default:()=>[]},environments:{},activeEnvironment:{},environment:{},proxyUrl:{},selectedSecurity:{},selectedSecuritySchemes:{},securityRequirements:{},defaultHeaders:{},requestBodyCompositionSelection:{},options:{}},setup(e){let t=(0,O.EW)(()=>(0,iJ.Lz)(e.httpClients)),{toast:a}=(0,po.Yf)(),{copyToClipboard:r}=(0,pn.i)(),n=(0,x.KR)(null),o=(0,x.KR)(null),l=(0,x.KR)(null),s=(0,x.KR)("");(0,O.wB)([()=>e.path,()=>e.method,()=>e.isWebhook],()=>{s.value=""},{immediate:!0});let i=(0,O.EW)(()=>e.isWebhook?s.value:e.path),c=(0,O.EW)(()=>e.isWebhook?null:e.server),u=()=>n.value?.abort(pt.Sr.REQUEST_ABORTED),d=async()=>{let{request:t}=(0,U.kB)({defaultHeaders:e.defaultHeaders,environment:e.environment,exampleName:e.exampleKey,globalCookies:[...e.workspaceCookies,...e.documentCookies],method:e.method,operation:e.operation,path:i.value,proxyUrl:e.proxyUrl,server:c.value,selectedSecuritySchemes:e.selectedSecuritySchemes,isElectron:(0,pa.b)(),requestBodyCompositionSelection:e.requestBodyCompositionSelection});await r((0,U.JA)(t,(0,U.RW)(e.environment)))},p=async()=>{if(e.eventBus.flushDebouncedEmits?.(),e.isWebhook&&!i.value.trim())return void a("Webhook URL required. Enter a destination first.","error");if(!1===((e=[],t="default")=>{let a=[];for(let r of e){let e=(0,X.A)(r);if("path"!==e.in)continue;let n=(0,U.rI)(e,t,void 0);!(0,U.oy)(e,n)&&I(n?.value)&&a.push(e.name)}return a.length>0?{ok:!1,invalidParams:a}:{ok:!0}})(e.operation.parameters??[],e.exampleKey).ok)return void a("Path parameters must have values.","error");let t=[...e.workspaceCookies,...e.documentCookies],{request:r}=(0,U.kB)({defaultHeaders:e.defaultHeaders,environment:e.environment,exampleName:e.exampleKey,globalCookies:t,method:e.method,operation:e.operation,path:i.value,proxyUrl:e.proxyUrl,server:c.value,selectedSecuritySchemes:e.selectedSecuritySchemes,isElectron:(0,pa.b)(),requestBodyCompositionSelection:e.requestBodyCompositionSelection});o.value&&"reader"in o.value&&o.value.reader.cancel();let s=(0,U.FF)(),u=(0,U.RW)(e.environment);s.setEnvironment?.(Object.entries(u).map(([e,t])=>({key:e,value:t})));let d=e.activeEnvironment?{environmentName:e.activeEnvironment,mergedVariables:[...e.environment.variables],documentVariables:[...e.document["x-scalar-environments"]?.[e.activeEnvironment]?.variables??[]],environmentExistsOnDocument:!!e.document["x-scalar-environments"]?.[e.activeEnvironment]}:null;await (0,ui.RN)({requestBuilder:r,document:e.document,operation:e.operation,variablesStore:s,server:c.value,customFetch:(0,x.BA)(e.options)?.customFetch},"beforeRequest",e.plugins);let p=()=>{if(d)for(let t of(({environmentName:e,seededVariables:t,scriptVariables:a,mergedVariables:r,documentVariables:n,environmentExistsOnDocument:o})=>{let l=Math.max(0,r.length-n.length),s=new Map(n.map((e,t)=>[e.name,t])),i=new Map(r.slice(0,l).map((e,t)=>[e.name,t])),c=e=>{let t=s.get(e);if(void 0!==t)return{collectionType:"document",index:t};let a=i.get(e);if(void 0!==a)return{collectionType:"workspace",index:a}},u=[],d=[],p=new Set;for(let{key:r,value:n}of Array.isArray(a)?a:Object.entries(a).map(([e,t])=>({key:e,value:t}))){if(p.add(r),t[r]===n)continue;let a=c(r);a?u.push({type:"upsert",environmentName:e,variable:{name:r,value:n},...a}
1):u.push({type:"upsert",environmentName:e,variable:{name:r,value:n},collectionType:o?"document":"workspace"})}for(let a of Object.keys(t)){if(p.has(a))continue;let t=s.get(a);void 0!==t&&d.push({type:"delete",environmentName:e,index:t,collectionType:"document"});let r=i.get(a);void 0!==r&&d.push({type:"delete",environmentName:e,index:r,collectionType:"workspace"})}return d.sort((e,t)=>t.index-e.index),[...u,...d]})({...d,seededVariables:u,scriptVariables:s.getEnvironment()}))"delete"===t.type?e.eventBus.emit("environment:delete:environment-variable",{environmentName:t.environmentName,index:t.index,collectionType:t.collectionType}):e.eventBus.emit("environment:upsert:environment-variable",{environmentName:t.environmentName,variable:t.variable,index:t.index,collectionType:t.collectionType})},m=(0,U.mK)(r,{envVariables:s.getVariables(),allowMissingRequestServerBase:"modal"===e.layout});if(!m.ok){p(),a(m.message??m.error,"error");return}n.value=m.data.controller;let h=(0,cm.jg)(...m.data.requestPayload);await (0,ui.RN)({request:h,requestBuilder:r,document:e.document,operation:e.operation,variablesStore:s},"requestBuilt",e.plugins),e.eventBus.emit("hooks:on:request:sent",{meta:{method:e.method,path:e.path,exampleKey:e.exampleKey}});let[f,g]=await (0,R.w)({isUsingProxy:m.data.isUsingProxy,requestPayload:m.data.requestPayload,request:h,plugins:e.plugins,customFetch:(0,x.BA)(e.options)?.customFetch});if(g&&await (0,ui.RN)({response:g.originalResponse.clone(),requestBuilder:r,request:(0,cm.jg)(...g.requestPayload),document:e.document,operation:e.operation,variablesStore:s},"responseReceived",e.plugins),p(),e.eventBus.emit("hooks:on:request:complete",{payload:g?{response:g.originalResponse.clone(),requestPayload:g.requestPayload,duration:g.response.duration,timestamp:g.timestamp}:void 0,meta:{method:e.method,path:e.path,exampleKey:e.exampleKey}}),f){o.value=null,l.value=null,n.value=null,a(f.message,"error");return}o.value=g.response,l.value=g.requestPayload;for(let t of(({cookieHeaderKeys:e,documentCookies:t,requestUrl:a,now:r=Date.now()})=>{let{hostname:n,defaultPath:o}=(e=>{try{let{hostname:t,pathname:a}=new URL(e,"https://example.com");return{hostname:t,defaultPath:(e=>{if(!e.startsWith("/"))return"/";let t=e.lastIndexOf("/");return t<=0?"/":e.slice(0,t)})(a)}}catch{return{hostname:"",defaultPath:"/"}}})(a),l=new Map;for(let t of e){let[e]=(0,j.s_)(t);if(!e?.name)continue;let a=e.domain||n,s=e.path||o,i=void 0!==e.maxAge&&e.maxAge<=0||e.expires instanceof Date&&e.expires.getTime()<=r;l.set(`${e.name}
2${a}
3${s}`,{cookie:{name:e.name,value:e.value,domain:a,path:s},expired:i})}let s=[],i=[];for(let{cookie:e,expired:a}of l.values()){let r=t.findIndex(t=>Q(e,t));if(a){-1!==r&&i.push({type:"delete",cookieName:e.name,index:r});continue}s.push({type:"upsert",cookie:e,...-1===r?{}:{index:r}})}return[...[...s.filter(e=>void 0!==e.index),...i].sort((e,t)=>(t.index??0)-(e.index??0)),...s.filter(e=>void 0===e.index)]})({cookieHeaderKeys:g.response.cookieHeaderKeys??[],documentCookies:e.documentCookies,requestUrl:(e=>{try{return new URL(e).searchParams.get("scalar_url")||e}catch{return e}})(String(g.requestPayload[0]))})){if("delete"===t.type){e.eventBus.emit("cookie:delete:cookie",{collectionType:"document",cookieName:t.cookieName,index:t.index});continue}e.eventBus.emit("cookie:upsert:cookie",{collectionType:"document",payload:t.cookie,...void 0===t.index?{}:{index:t.index}})}"reader"in g.response||M.set(Z(e.method,e.path,e.exampleKey),{response:g.response,requestPayload:g.requestPayload})};(0,O.sV)(()=>{e.eventBus.on("operation:send:request:hotkey",p),e.eventBus.on("operation:cancel:request",u),e.eventBus.on("copy-url:address-bar",d),(0,ui.RN)({document:e.document,operation:e.operation},"onRequestMount",e.plugins)}),(0,O.xo)(()=>{e.eventBus.off("operation:send:request:hotkey",p),e.eventBus.off("operation:cancel:request",u),e.eventBus.off("copy-url:address-bar",d)});let m=(0,O.EW)(()=>e.history.map(e=>({method:e.request.method,path:e.request.url,duration:e.time,status:e.response.status})).reverse()),h=({index:t})=>{let a=(e.history.length??0)-t-1,r=e.history[a];r&&e.eventBus.emit("operation:reload:history",{meta:{path:e.path,method:e.method},index:a,callback:()=>e.eventBus.emit("ui:navigate",{page:"example",method:e.method,path:e.path,exampleName:"draft",callback:t=>{if("success"!==t)return;let a=P({harResponse:r.response,url:r.request.url,method:e.method,path:e.path,duration:r.time}),n=(({harRequest:e})=>{let t=(e=>{let t=new Headers;
3if(e.headers.forEach(({name:e,value:a})=>{t.append(e,a)}),e.cookies?.length){let a=e.cookies.map(({name:e,value:t})=>`${e}=${t}`).join("; ");t.append("Cookie",a)}return t})(e),a=(e=>{if(!e)return null;let{params:t,text:a,mimeType:r}=e;if(t?.length){let e=r?.includes("multipart/form-data")?new FormData:new URLSearchParams;return t.forEach(({name:t,value:a})=>{e.append(t,a||"")}),e}return a?new TextEncoder().encode(a):null})(e.postData);return[e.url,{method:e.method,headers:t,body:a}]})({harRequest:r.request});o.value=a,l.value=n}})})},f=()=>{e.eventBus.emit("ui:navigate",{page:"operation",path:"overview",operationPath:e.path,method:e.method})};return(0,O.wB)([()=>e.path,()=>e.method,()=>e.exampleKey],([t,a,r])=>{let n=M.get(Z(a,t,r));if(n)o.value=n.response,l.value=n.requestPayload;else{let n=(()=>{for(let t=e.history.length-1;t>=0;t--){let a=e.history[t];if(a?.meta.example===r)return a}})();n?o.value=P({harResponse:n.response,url:n.request.url,method:a,path:t,duration:n.time}):o.value=null,l.value=null}u()},{immediate:!0}),(0,O.xo)(()=>{u()}),(a,r)=>((0,O.uX)(),(0,O.CE)("div",pl,[(0,O.Lk)("div",ps,[(0,O.bF)(pe,{activeEnvironment:e.activeEnvironment,documentSlug:e.documentSlug,documentUrl:e.documentUrl,environment:e.environment,environments:e.environments,eventBus:e.eventBus,exampleKey:e.exampleKey,hideClientButton:e.hideClientButton,history:m.value,integration:e.integration,isWebhook:e.isWebhook,layout:e.layout,method:e.method,path:i.value,server:c.value,serverMeta:e.serverMeta,servers:e.servers,source:e.source,onExecute:p,"onNavigate:settings":f,"onSelect:history:item":h,"onUpdate:webhookUrl":r[0]||(r[0]=e=>s.value=e)},null,8,["activeEnvironment","documentSlug","documentUrl","environment","environments","eventBus","exampleKey","hideClientButton","history","integration","isWebhook","layout","method","path","server","serverMeta","servers","source"])]),(0,O.bF)(S,{class:"border-t"},{default:(0,O.k6)(()=>[(0,O.bF)(A,{class:"flex-1"},{default:(0,O.k6)(()=>[(0,O.bF)((0,x.R1)(ck),{authMeta:e.authMeta,clientOptions:t.value,defaultHeaders:e.defaultHeaders,documentCookies:e.documentCookies,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,layout:e.layout,method:e.method,operation:e.operation,options:(0,x.BA)(e.options),path:i.value,plugins:e.plugins,proxyUrl:e.proxyUrl,requestBodyCompositionSelection:e.requestBodyCompositionSelection,securityRequirements:e.securityRequirements,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedSecurity:e.selectedSecurity,selectedSecuritySchemes:e.selectedSecuritySchemes,server:c.value,workspaceCookies:e.workspaceCookies},null,8,["authMeta","clientOptions","defaultHeaders","documentCookies","environment","eventBus","exampleKey","layout","method","operation","options","path","plugins","proxyUrl","requestBodyCompositionSelection","securityRequirements","securitySchemes","selectedClient","selectedSecurity","selectedSecuritySchemes","server","workspaceCookies"]),(0,O.bF)((0,x.R1)(uX),{appVersion:e.appVersion,eventBus:e.eventBus,layout:e.layout,plugins:e.plugins,requestPayload:l.value,response:o.value,totalPerformedRequests:m.value.length},null,8,["appVersion","eventBus","layout","plugins","requestPayload","response","totalPerformedRequests"])]),_:1})]),_:1})]))}})},11787:(e,t,a)=>{"use strict";a.d(t,{Zl:()=>s,yE:()=>u,M2:()=>m,gW:()=>c});var r=a(38547),n=a(10779),o=Symbol(),l=a(8873),s=(0,r.pM)({inheritAttrs:!1,__name:"ScalarCard",props:{label:{}},setup(e){let t,{id:a}=(t=(0,n.KR)(),(0,r.Gt)(o,t),{id:t}),s=(0,r.EW)(()=>e.label?{"aria-label":e.label}:a.value?{"aria-labelledby":a.value}:{}),{cx:i}=(0,l.AX)();return(e,t)=>((0,r.uX)(),(0,r.CE)("div",(0,r.v6)({role:"group"},{...s.value,...(0,n.R1)(i)("scalar-card bg-b-2 flex flex-col divide-y rounded-xl border")}),[(0,r.RG)(e.$slots,"default")],16))}}),i=a(61930),c=(0,r.pM)({inheritAttrs:!1,__name:"ScalarCardSection",setup(e){let{cx:t}=(0,l.AX)();return(e,a)=>((0,r.uX)(),(0,r.CE)("div",(0,i._B)((0,r.Ng)((0,n.R1)(t)("scalar-card-content flex overflow-auto first:rounded-t-[inherit] last:rounded-b-[inherit]"))),[(0,r.RG)(e.$slots,"default")],16))}}),u=(0,r.pM)({inheritAttrs:!1,__name:"ScalarCardFooter",setup(e){let{cx:t}=(0,l.AX)();return(e,a)=>((0,r.uX)(),(0,r.Wv)(c,(0,i._B)((0,r.Ng)((0,n.R1)(t)("scalar-card-footer"))),{default:(0,r.k6)(()=>[(0,r.RG)(e.$slots,"default")]),_:3},16))}}),d=["id"],p={key:0,class:"flex"},m=(0,r.pM)({inheritAttrs:!1,__name:"ScalarCardHeader",setup(e){let t,{cx:a}=(0,l.AX)(),s=(0,r.Bi)();return(t=(0,r.WQ)(o,void 0))&&(t.value=s),(e,t)=>((0,r.uX)(),(0,r.Wv)(c,(0,i._B)((0,r.Ng)((0,n.R1)(a)("scalar-card-header leading-[22px] font-medium py-[6.75px] px-3 shrink-0"))),{default:(0,r.k6)(()=>[(0,r.Lk)("div",{id:(0,n.R1)(s),class:"scalar-card-header-title min-w-0 flex-1 truncate"},[(0,r.RG)(e.$slots,"default")],8,d),e.$slots.actions?((0,r.uX)(),(0,r.CE)("div",p,[(0,r.RG)(e.$slots,"actions")])):(0,r.Q3)("",!0)]),_:3},16))}})},11833:(e,t,a)=>{"use strict";a.d(t,{S:()=>g,X:()=>O});var r=a(17438),n=a(8873),o=a(38547),l=a(10779),s=a(56942),i=a(61930),c={class:"flex items-center flex-1 relative"},u={key:0,class:"select-none whitespace-nowrap text-transparent"},d=["aria-readonly","readonly"],p={key:1,class:"absolute flex items-center inset-0 select-none overflow-hidden whitespace-nowrap"},m={key:0,class:"text-c-2"},h={class:"text-transparent"},f={key:1,class:"text-c-2"},g=(0,o.pM)({inheritAttrs:!1,__name:"ScalarTextInput",props:(0,o.zz)({readonly:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:(0,o.zz)(["click"],["update:modelValue"]),setup(e,{emit:t}){let a=(0,o.fn)(e,"modelValue"),g=(0,l.KR)(),{stylingAttrsCx:v,otherAttrs:y}=(0,n.AX)();function b(a){t("click",a),e.readonly?g.value?.select():g.value?.focus()}return(0,o.sV)(()=>{"autofocus"in y.value&&g.value?.focus()}),(t,n)=>((0,o.uX)(),(0,o.Wv)((0,l.R1)(r.A),(0,o.v6)({is:"div"},(0,l.R1)(v)("cursor-text bg-b-1 text-c-1 dark:bg-b-1.5"),{onClick:b}),{default:(0,o.k6)(()=>[(0,o.Lk)("div",c,[t.$slots.prefix?((0,o.uX)(),(0,o.CE)("div",u,[(0,o.RG)(t.$slots,"prefix")])):(0,o.Q3)("",!0),(0,o.bo)((0,o.Lk)("input",(0,o.v6)({ref_key:"input",ref:g,"onUpdate:modelValue":n[0]||(n[0]=e=>a.value=e),"aria-readonly":e.readonly||void 0,class:"z-1 min-w-0 flex-1 rounded-none border-none bg-transparent placeholder:font-[inherit] focus-within:outline-none",readonly:e.readonly},(0,l.R1)(y)),null,16,d),[[s.hp,a.value]]),t.$slots.prefix||t.$slots.suffix?((0,o.uX)(),(0,o.CE)("div",p,[t.$slots.prefix?((0,o.uX)(),(0,o.CE)("span",m,[(0,o.RG)(t.$slots,"prefix")])):(0,o.Q3)("",!0),(0,o.Lk)("span",h,(0,i.v_)(a.value||t.$attrs.placeholder),1),t.$slots.suffix?((0,o.uX)(),(0,o.CE)("span",f,[(0,o.RG)(t.$slots,"suffix")])):(0,o.Q3)("",!0)])):(0,o.Q3)("",!0)]),(0,o.RG)(t.$slots,"aside")]),_:3},16))}}),v=a(57319),y=a(74162),b=a(13919),O=(0,o.pM)({__name:"ScalarTextInputCopy",props:(0,o.zz)({duration:{default:1500},editable:{type:Boolean},immediate:{type:Boolean}},{modelValue:{},modelModifiers:{},copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:modelValue","update:copied"],setup(e){(0,o.sV)(()=>{e.immediate&&t.value&&r(t.value)});let t=(0,o.fn)(e,"modelValue"),a=(0,o.fn)(e,"copied"),{copy:r,copied:n}=(0,b.iDZ)({legacy:!0,copiedDuring:e.duration});return(0,o.wB)(n,e=>
3a.value=e),(i,c)=>((0,o.uX)(),(0,o.Wv)(g,{modelValue:t.value,"onUpdate:modelValue":c[1]||(c[1]=e=>t.value=e),readonly:!e.editable,onClick:c[2]||(c[2]=e=>t.value&&(0,l.R1)(r)(t.value))},{aside:(0,o.k6)(()=>[(0,o.bF)((0,l.R1)(y.A),{class:"z-1 bg-b-1 hover:bg-b-1.5 dark:bg-b-2 dark:hover:bg-b-2",copied:a.value||(0,l.R1)(n),placement:"left",onClick:c[0]||(c[0]=(0,s.D$)(e=>t.value&&(0,l.R1)(r)(t.value),["stop"]))},(0,o.eX)({backdrop:(0,o.k6)(()=>[(0,o.bF)((0,l.R1)(v.A),{class:"bg-b-1 group-hover/copy-button:bg-b-1.5 dark:bg-b-1.5 dark:group-hover/copy-button:bg-b-1.5"})]),_:2},[i.$slots.copy?{name:"copy",fn:(0,o.k6)(()=>[(0,o.RG)(i.$slots,"copy")]),key:"0"}:void 0,i.$slots.copied?{name:"copied",fn:(0,o.k6)(()=>[(0,o.RG)(i.$slots,"copied")]),key:"1"}:void 0]),1032,["copied"])]),_:3},8,["modelValue","readonly"]))}})},11932:(e,t,a)=>{"use strict";a.d(t,{i:()=>r,n:()=>s,r:()=>i,t:()=>c});var r=function(e){var t,a;if(null==e)return o;if("function"==typeof e)return n(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],a=-1;for(;++a<e.length;)t[a]=r(e[a]);return n(function(...e){let a=-1;for(;++a<t.length;)if(t[a].apply(this,e))return!0;return!1})}(e):(t=e,n(function(e){let a;for(a in t)if(e[a]!==t[a])return!1;return!0}))}if("string"==typeof e){return a=e,n(function(e){return e&&e.type===a})}throw Error("Expected function, string, or object as test")};function n(e){return function(t,a,r){var n;return!!(null!==(n=t)&&"object"==typeof n&&"type"in n&&e.call(this,t,"number"==typeof a?a:void 0,r||void 0))}}function o(){return!0}var l=[],s="skip";function i(e,t,a,n){let o;"function"==typeof t&&"function"!=typeof a?(n=a,a=t):o=t;let s=r(o),i=n?-1:1;(function e(r,o,c){let u=r&&"object"==typeof r?r:{};if("string"==typeof u.type){let e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(d,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return d;function d(){var u;let d,p,m,h=l;if((!t||s(r,o,c[c.length-1]||void 0))&&!1===(h=Array.isArray(u=a(r,c))?u:"number"==typeof u?[!0,u]:null==u?l:[u])[0])return h;if("children"in r&&r.children&&r.children&&"skip"!==h[0])for(p=(n?r.children.length:-1)+i,m=c.concat(r);p>-1&&p<r.children.length;){if(!1===(d=e(r.children[p],p,m)())[0])return d;p="number"==typeof d[1]?d[1]:p+i}return h}})(e,void 0,[])()}function c(e,t,a,r){let n,o,l;"function"==typeof t&&"function"!=typeof a?(o=void 0,l=t,n=a):(o=t,l=a,n=r),i(e,o,function(e,t){let a=t[t.length-1],r=a?a.children.indexOf(e):void 0;return l(e,r,a)},n)}},11980:(e,t,a)=>{"use strict";a.d(t,{a:()=>r.A});var r=a(58789)},12121:(e,t,a)=>{"use strict";a.d(t,{G:()=>r});let r=(e,t=new WeakMap)=>{if("object"!=typeof e||null===e)return e;if(t.has(e))return t.get(e);let a=Array.isArray(e)?[]:{};return t.set(e,a),Object.keys(e).forEach(n=>{a[n]=r(e[n],t)}),a}},12961:(e,t,a)=>{"use strict";a.d(t,{N:()=>o,m:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-examples":r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Unknown()))}),l=(0,n.Ik)({"x-examples":(0,n.lq)((0,n.g1)((0,n.Yj)(),(0,n.bz)()))},{typeName:"XExamples",typeComment:"Named examples attached to a schema"})},13273:(e,t,a)=>{"use strict";a.d(t,{q:()=>s});var r=a(10779),n=a(96691);let o=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function l(e){var t,a;let r=null!=(t=e.innerText)?t:"",n=e.cloneNode(!0);if(!(n instanceof HTMLElement))return r;let l=!1;for(let e of n.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),l=!0;let s=l?null!=(a=n.innerText)?a:"":r;return o.test(s)&&(s=s.replace(o,"")),s}function s(e){let t=(0,r.KR)(""),a=(0,r.KR)("");return()=>{let r=(0,n.t)(e);if(!r)return"";let o=r.innerText;if(t.value===o)return a.value;let s=(function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let a=e.getAttribute("aria-labelledby");if(a){let e=a.split(" ").map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():l(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return l(e).trim()})(r).trim().toLowerCase();return t.value=o,a.value=s,s}}},13416:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var r=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a}},13699:(e,t,a)=>{"use strict";a.d(t,{r:()=>n});var r=a(85238);let n=(e,t,a=!1,o=new Set)=>{for(let l in t)if(l in e){let s=e[l],i=t[l],c=a&&(Array.isArray(s)||Array.isArray(i));if("object"!=typeof s||null===s||"object"!=typeof i||null===i||c)try{e[l]=i}catch(e){console.warn(`Issue setting ${l} on object`),console.warn(e)}else{let e=(0,r.T)(s),t=(0,r.T)(i);if(o.has(e)||o.has(t))continue;o.add(e),o.add(t),n(s,i,a,o)}}else e[l]=t[l];return e}},13904:(e,t,a)=>{"use strict";a.d(t,{n:()=>r});let r=(e,t,a)=>{let[r,n]=e.split("#",2);return r?a.has(r)?n?n.startsWith("/")?`${a.get(r)}${n}`:a.get(`${r}#${n}`):a.get(r):void 0:n?n.startsWith("/")?n.slice(1):a.get(`${t}#${n}`):void 0}},14701:(e,t,a)=>{"use strict";a.d(t,{Q:()=>r});var r,n=a(89166),o=r||(r={});function l(e){let t=(0,n.av)(e);return o.AllowArrayObject?t:t&&!(0,n.QS)(e)}o.InstanceMode="default",o.ExactOptionalPropertyTypes=!1,o.AllowArrayObject=!1,o.AllowNaN=!1,o.AllowNullVoid=!1,o.IsExactOptionalProperty=function(e,t){return o.ExactOptionalPropertyTypes?t in e:void 0!==e[t]},o.IsObjectLike=l,o.IsRecordLike=function(e){return l(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)},o.IsNumberLike=function(e){return o.AllowNaN?(0,n.Mx)(e):Number.isFinite(e)},o.IsVoidLike=function(e){let t=(0,n.R1)(e);return o.AllowNullVoid?t||null===e:t}},15106:(e,t,a)=>{"use strict";a.d(t,{q:()=>r});let r=e=>{var t,a;if("string"==typeof e)try{let t=JSON.parse(e);if("object"==typeof t&&null!==t)return JSON.stringify(t,null,2);return e}catch{return e}if("object"==typeof e)try{let a,r;return t=e,a=[],r=0,JSON.stringify(t,function(e,t){if((r+=1)>1e5)throw n;if("object"!=typeof t||null===t)return t;for(;a.length>0&&a[a.length-1]!==this;)a.pop();return a.includes(t)?"[Circular]":(a.push(t),t)},2)}catch(t){if(t===n){let t;return a=e,t=new Set,JSON.stringify(a,(e,a)=>{if("object"==typeof a&&null!==a){if(t.has(a))return"[Circular]";t.add(a)}return a},2)}throw t}return e?.toString()??""},n=Error("Expanded JSON exceeded the node limit")},15830:(e,t,a)=>{"use strict";a.d(t,{Lk:()=>function e(t,a){return"This"===t[n.b8]||"Ref"===t[n.b8]?function(t,a){let r=a.find(e=>e.$id===t.$ref);if(void 0===r)throw new l(t);return e(r,a)}(t,a):t},uN:()=>s});var r=a(9085),n=a(32097),o=a(89166);class l extends r.i{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`),this.schema=e}}function s(e,t){return!(0,o.IP)(e.$id)||t.some(t=>
3t.$id===e.$id)||t.push(e),t}},16114:(e,t,a)=>{"use strict";a.d(t,{$p:()=>g,Cz:()=>i,Df:()=>S,Ef:()=>C,H1:()=>u,IP:()=>_,Mx:()=>$,OD:()=>R,PN:()=>M,QS:()=>c,R1:()=>Z,TC:()=>o,X$:()=>l,Y6:()=>m,Yi:()=>X,Yq:()=>v,ZD:()=>w,ZV:()=>h,Zx:()=>p,__:()=>T,av:()=>A,cQ:()=>d,cZ:()=>E,fJ:()=>O,gP:()=>k,gm:()=>Q,h4:()=>s,hg:()=>f,in:()=>P,jo:()=>y,my:()=>U,nH:()=>j,n_:()=>L,zZ:()=>x});var r=a(80597),n=a(32097);function o(e){return r.av(e)&&"Readonly"===e[n.hi]}function l(e){return r.av(e)&&"Optional"===e[n.tJ]}function s(e){return b(e,"Any")}function i(e){return b(e,"Argument")}function c(e){return b(e,"Array")}function u(e){return b(e,"AsyncIterator")}function d(e){return b(e,"BigInt")}function p(e){return b(e,"Boolean")}function m(e){return b(e,"Computed")}function h(e){return b(e,"Constructor")}function f(e){return b(e,"Function")}function g(e){return b(e,"Integer")}function v(e){return b(e,"Intersect")}function y(e){return b(e,"Iterator")}function b(e,t){return r.av(e)&&n.b8 in e&&e[n.b8]===t}function O(e){return r.Zx(e)||r.Mx(e)||r.IP(e)}function k(e){return b(e,"Literal")}function x(e){return b(e,"MappedKey")}function w(e){return b(e,"MappedResult")}function S(e){return b(e,"Never")}function C(e){return b(e,"Null")}function $(e){return b(e,"Number")}function A(e){return b(e,"Object")}function R(e){return b(e,"Promise")}function E(e){return b(e,"Record")}function P(e){return b(e,"Ref")}function T(e){return b(e,"RegExp")}function _(e){return b(e,"String")}function j(e){return b(e,"Symbol")}function Q(e){return b(e,"TemplateLiteral")}function L(e){return r.av(e)&&n.H7 in e}function M(e){return b(e,"Tuple")}function Z(e){return b(e,"Undefined")}function U(e){return b(e,"Union")}function X(e){return s(e)||i(e)||c(e)||p(e)||d(e)||u(e)||m(e)||h(e)||b(e,"Date")||f(e)||g(e)||v(e)||y(e)||k(e)||x(e)||w(e)||S(e)||b(e,"Not")||C(e)||$(e)||A(e)||R(e)||E(e)||P(e)||T(e)||_(e)||j(e)||Q(e)||b(e,"This")||M(e)||Z(e)||U(e)||b(e,"Uint8Array")||b(e,"Unknown")||b(e,"Unsafe")||b(e,"Void")||r.av(e)&&n.b8 in e&&r.IP(e[n.b8])}},16250:(e,t,a)=>{"use strict";a.d(t,{r:()=>n});var r=a(98956);let n=(e,{baseUrl:t,basePath:a}={})=>{if("u"<typeof window&&!t)return e;try{return new URL(e),e}catch{}try{let n=t||window.location.href;if(a){let e=t?new URL(t).origin:window.location.origin;n=(0,r.Dk)(e,a+"/")}return new URL(e,n).toString()}catch{return e}}},17074:(e,t,a)=>{"use strict";a.d(t,{m:()=>i,I:()=>p});var r=a(8873),n=a(38547),o=a(10779),l=a(70790),s=["innerHTML"],i=(0,n.pM)({inheritAttrs:!1,__name:"ScalarMarkdown",props:{value:{},withImages:{type:Boolean,default:!1},withAnchors:{type:Boolean,default:!1},transform:{type:Function},transformType:{},clamp:{},anchorPrefix:{}},setup(e,{expose:t}){let{cx:a}=(0,r.AX)();t({el:(0,n.rk)("div")});let i=t=>{if(!e.withAnchors)return e.transform?.(t)||t;if(!(0,l.r)(t))return t;let a=(0,l.a)(t).toLowerCase().replace(/\s+/g,"-");return(t.data={hProperties:{id:e.anchorPrefix?`${e.anchorPrefix}/description/${a}`:a}},e.transform)?e.transform(t):t},c=(0,n.EW)(()=>(0,l.n)(e.value??"",{removeTags:e.withImages?[]:["img","picture"],transform:e.withAnchors&&"heading"===e.transformType?i:e.transform,transformType:e.transformType}));return(t,r)=>((0,n.uX)(),(0,n.CE)("div",(0,n.v6)({ref:"div"},(0,o.R1)(a)("markdown",{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{"--markdown-clamp":e.clamp},innerHTML:c.value}),null,16,s))}}),c=a(61930),u=a(13919),d=["aria-controls","aria-expanded"],p=(0,n.pM)({inheritAttrs:!1,__name:"ScalarMarkdownSummary",props:(0,n.zz)({value:{},withImages:{type:Boolean},withAnchors:{type:Boolean},transform:{type:Function},transformType:{},clamp:{default:1},anchorPrefix:{},controlled:{type:Boolean}},{modelValue:{type:Boolean,default:!1},modelModifiers:{},truncated:{type:Boolean,default:!1},truncatedModifiers:{}}),emits:["update:modelValue","update:truncated"],setup(e){let t=(0,n.bn)(e,["clamp"]),a=(0,n.Bi)(),l=(0,n.fn)(e,"modelValue"),s=(0,n.fn)(e,"truncated"),p=(0,n.rk)("scalar-markdown");function m(){let e=p.value?.el;e&&(s.value=e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)}(0,u.wYm)(()=>p.value?.el,m),(0,n.sV)(m);let{cx:h}=(0,r.AX)();return(r,u)=>((0,n.uX)(),(0,n.CE)("div",(0,c._B)((0,n.Ng)((0,o.R1)(h)("group/summary flex gap-0.5",l.value?"flex-col":"flex-row items-baseline"))),[(0,n.bF)(i,(0,n.v6)(t,{id:(0,o.R1)(a),ref:"scalar-markdown",clamp:l.value?void 0:e.clamp,class:{"markdown-summary truncate":!l.value}}),null,16,["id","clamp","class"]),!e.controlled&&(s.value||l.value)?((0,n.uX)(),(0,n.CE)("button",{key:0,"aria-controls":(0,o.R1)(a),"aria-expanded":l.value,class:(0,c.C4)(["whitespace-nowrap font-medium hover:underline",{"self-end":l.value}]),type:"button",onClick:u[0]||(u[0]=e=>l.value=!l.value)},[(0,n.RG)(r.$slots,"button",{open:l.value},()=>[(0,n.eW)((0,c.v_)(l.value?" Show Less":"More"),1)])],10,d)):(0,n.Q3)("",!0)],16))}})},17438:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r=a(33640),n=a(8873),o=a(38547),l=a(10779),s=(0,o.pM)({inheritAttrs:!1,__name:"ScalarFormInput",props:{is:{default:"button"}},setup(e){let{cx:t}=(0,n.AX)(),a=(0,r.l)(),s=(0,n.Fj)({base:["bg-b-1.5 flex items-center text-c-2 gap-0.75 p-3 text-base","outline-offset-[-1px] has-[:focus-visible]:outline"],variants:{grouped:{true:"first:rounded-t-[inherit] last:rounded-b-[inherit]",false:"rounded shadow-border"},button:{true:"cursor-pointer hover:bg-b-2"}}});return(r,n)=>((0,o.uX)(),(0,o.Wv)((0,o.$y)(e.is),(0,o.v6)({type:"button"===e.is?"button":void 0},(0,l.R1)(t)((0,l.R1)(s)({button:"button"===e.is,grouped:(0,l.R1)(a)}))),{default:(0,o.k6)(()=>[(0,o.RG)(r.$slots,"default")]),_:3},16,["type"]))}})},17557:(e,t,a)=>{"use strict";a.d(t,{Lm:()=>i,YL:()=>s});var r=a(42694),n=a(92412);let o=r.ZU.Object({name:r.ZU.String({description:"The text that displays in the badge",minLength:1}),position:r.ZU.Optional(r.ZU.Union([r.ZU.Literal("before"),r.ZU.Literal("after")],{description:"The position of the badge in relation to the header",default:"after"})),color:r.ZU.Optional(r.ZU.String({description:"The color of the badge in various formats (keywords, RGB, RGBA, HSL, HSLA, Hexadecimal)",pattern:"^(#([0-9A-Fa-f]{3}){1,2}|rgb\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*\\)|rgba\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*[0-9.]*\\s*\\)|hsl\\(\\s*\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+%\\s*\\)|hsla\\(\\s*\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+%\\s*,\\s*[0-9.]*\\s*\\)|[a-zA-Z]+)$"}))},{description:"Configuration for a single badge in the x-badges extension"}),l=(0,n.Ik)({name:(0,n.Yj)({typeComment:"The text that displays in the badge. This is required for all badges."}),position:(0,n.lq)((0,n.KC)([(0,n.eu)("before"),(0,n.eu)("after")],{typeComment:"The position of the badge in relation to the header"})),color:(0,n.lq)((0,n.Yj)({typeComment:"The color of the badge in various formats (keywords, RGB, RGBA, HSL, HSLA, Hexadecimal)"}))},{typeName:"XBadge",typeComment:"Configuration for a single badge in the x-badges extension"}),s=r.ZU.Object({"x-badges":r.ZU.Optional(r.ZU.Array(o))}),i=(0,n.Ik)({"x-badges":(0,n.lq)((0,n.YO)(l,{typeComment:"Badges displayed for this operation in documentation"}))},{typeName:"XBadges",typeComment:"Badges for an operation in the Scalar UI"})},17734:(e,t,a)=>{"use strict";a.d(t,{$:()=>o});var r=a(40279),n=a(21502),o=e=>{if(!0===e)return[];if(!e||Array.isArray(e)&&0===e.length)return r.F;let t=new Set(r.F);if(Array.isArray(e))for(let a of e){let e=r.E[a];if(e)for(let r of e)t.delete(`${a}/${r}`);else if(a.includes("/"))t.delete(a);else for(let e of(0,n.u)(r.E))t.delete(`${e}/${a}`)}else if("object"==typeof e){for(let[a,n]of Object.entries(e))if(!0===n){let e=r.E[a];if(e)for(let r of e)t.delete(`${a}/${r}`)}else if(Array.isArray(n))for(let e of n)t.delete(e),t.delete(`${a}/${e}`)}return Array.from(t)}},17855:(e,t,a)=>{"use strict";a.d(t,{$r:()=>O,D_:()=>y,Gv:()=>d,Jv:()=>b,Q0:()=>S,T3:()=>A,TO:()=>C,Th:()=>$,Uo:()=>s,d6:()=>c,lQ:()=>p,lW:()=>h,oc:()=>i,un:()=>m});var r,n,o=a(10779),l=a(38547);function s(e){return!!(0,o.o5)()&&((0,o.jr)(e),!0)}let i="u">typeof window&&"u">typeof document;"u">typeof WorkerGlobalScope&&WorkerGlobalScope;let c=e=>null!=e,u=Object.prototype.toString,d=e=>"[object Object]"===u.call(e),p=()=>{},m=i&&(null==(r=null==window?void 0:window.navigator)?void 0:r.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null==(n=null==window?void 0:window.navigator)?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(null==window?void 0:window.navigator.userAgent));function h(...e){if(1!==e.length)return(0,o.lW)(...e);let t=e[0];return"function"==typeof t?(0,o.tB)((0,o.rY)(()=>({get:t,set:p}))):(0,o.KR)(t)}function f(e,t){return function(...a){return new Promise((r,n)=>{Promise.resolve(e(()=>t.apply(this,a),{fn:t,thisArg:this,args:a})).then(r).catch(n)})}}let g=e=>e();function v(e,t={}){let a,r,n,l=p,s=e=>{clearTimeout(e),l(),l=p};return i=>{let c=(0,o.BA)(e),u=(0,o.BA)(t.maxWait);return(a&&s(a),c<=0||void 0!==u&&u<=0)?(r&&(s(r),r=void 0),Promise.resolve(i())):new Promise((e,o)=>{l=t.rejectOnCancel?o:e,n=i,u&&!r&&(r=setTimeout(()=>{a&&s(a),r=void 0,e(n())},u)),a=setTimeout(()=>{r&&s(r),r=void 0,e(i())},c)})}}function y(e){return e}function b(e){let t;function a(){return t||(t=e()),t}return a.reset=async()=>{let e=t;t=void 0,e&&await e},a}function O(e){return Array.isArray(e)?e:[e]}function k(e){let t=Object.create(null);return a=>t[a]||(t[a]=e(a))}let x=/\B([A-Z])/g;k(e=>e.replace(x,"-$1").toLowerCase());let w=/-(\w)/g;function S(e,t=200,a={}){return f(v(t,a),e)}function C(e,t,a={}){let r,{immediate:n=!0,immediateCallback:l=!1}=a,c=(0,o.IJ)(!1);function u(){r&&(clearTimeout(r),r=void 0)}function d(){c.value=!1,u()}function p(...a){l&&e(),u(),c.value=!0,r=setTimeout(()=>{c.value=!1,r=void 0,e(...a)},(0,o.BA)(t))}return n&&(c.value=!0,i&&p()),s(d),{isPending:(0,o.nD)(c),start:p,stop:d}}function $(e,t,a={}){let{debounce:r=0,maxWait:n,...o}=a;return function(e,t,a={}){let{eventFilter:r=g,...n}=a;return(0,l.wB)(e,f(r,t),n)}(e,t,{...o,eventFilter:v(r,{maxWait:n})})}function A(e,t,a){return(0,l.wB)(e,t,{...a,immediate:!0})}k(e=>e.replace(w,(e,t)=>t?t.toUpperCase():""))},18486:(e,t,a)=>{"use strict";a.d(t,{X:()=>r.A,R:()=>o});var r=a(90003),n=a(10779);function o(){return(0,n.Kh)({isValid:!1,isInvalid:!1,isLoading:!1,isActive:!1,start(){this.isLoading=!0,this.isActive=!0,this.isInvalid=!1,this.isValid=!1}
3,validate(e={}){let{duration:t=1100,persist:a=!1}=e;this.isLoading=!1,this.isInvalid=!1,this.isValid=!0,this.isActive=!0;let r=a?t:t-300;return new Promise(e=>a?setTimeout(()=>e(),r):setTimeout(()=>this.clear().then(()=>e()),r))},invalidate(e={}){let{duration:t=1100,persist:a=!1}=e??{};this.isLoading=!1,this.isValid=!1,this.isInvalid=!0,this.isActive=!0;let r=a?t:t-300;return new Promise(e=>a?setTimeout(()=>e(),r):setTimeout(()=>this.clear().then(()=>e()),r))},clear(e={}){let{duration:t=300}=e;return this.isValid=!1,this.isInvalid=!1,this.isLoading=!1,new Promise(e=>{setTimeout(()=>{this.isActive=!1,e()},t)})}})}},18826:(e,t,a)=>{"use strict";a.d(t,{f:()=>l,y:()=>o});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-order":r.ZU.Optional(r.ZU.Number())}),l=(0,n.Ik)({"x-order":(0,n.lq)((0,n.ai)())},{typeName:"XOrder",typeComment:"Display order for a schema property"})},18967:(e,t,a)=>{"use strict";a.d(t,{K:()=>n});var r=a(5131);let n=e=>!(r.Q.PROTOCOL.test(e)||/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e))},19146:(e,t,a)=>{"use strict";a.d(t,{J:()=>o});var r=a(10779);function n(e){return[e.screenX,e.screenY]}function o(){let e=(0,r.KR)([-1,-1]);return{wasMoved(t){let a=n(t);return(e.value[0]!==a[0]||e.value[1]!==a[1])&&(e.value=a,!0)},update(t){e.value=n(t)}}}},19423:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconCheck",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},21438:(e,t,a)=>{"use strict";a.d(t,{R:()=>n,y:()=>r});let r=["delete","get","head","options","patch","post","put","trace"],n=Object.freeze(new Set(r))},21473:(e,t,a)=>{"use strict";a.d(t,{nu:()=>o,ru:()=>n});let r=new Map;function n(e){return r.has(e)}function o(e){return r.get(e)}},21502:(e,t,a)=>{"use strict";a.d(t,{u:()=>r});let r=e=>Object.keys(e)},21878:(e,t,a)=>{"use strict";let r;a.d(t,{Fo:()=>i,O_:()=>s,Uw:()=>l});var n=a(38547);let o=Symbol("Context");var l=((r=l||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function s(){return(0,n.WQ)(o,null)}function i(e){(0,n.Gt)(o,e)}},21961:(e,t,a)=>{"use strict";a.d(t,{L:()=>n});let r=e=>decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~")),n=e=>e.split("/").slice(1).map(r)},22262:(e,t,a)=>{"use strict";a.d(t,{a:()=>u});var r=a(80759),n=a(95441);let o=(e,t)=>{let a=t.get(e);if(a)return a;let r=e.schema();return t.set(e,r),r},l=e=>
3"optional"===e.type?l(e.schema):"literal"===e.type||"union"===e.type&&e.schemas.length>0&&e.schemas.every(l),s=(e,t,a,i=new WeakMap)=>{if((0,r.G)(t)&&i.get(t)?.has(e))return 1;let c=(0,r.G)(t);if(c){let a=i.get(t)??new Set;a.add(e),i.set(t,a)}try{if("object"===e.type){if(!(0,r.G)(t))return 0;let n=Object.keys(e.properties);if(0===n.length)return 1;return n.reduce((r,n)=>{if(!(n in t))return r;let o=e.properties[n],c=t[n],u=s(o,c,a,i);return l(o)?r+(u>0?10*u:0):r+(u>0?u:1)},0)}if("array"===e.type)return+!!Array.isArray(t);if("record"===e.type)return+!!(0,r.G)(t);if("optional"===e.type)return void 0===t?1:s(e.schema,t,a,i);if("union"===e.type)return Math.max(...e.schemas.map(e=>s(e,t,a,i)));if("intersection"===e.type){if(0===e.schemas.length)return 1;return e.schemas.reduce((e,r)=>e+s(r,t,a,i),0)}if("lazy"===e.type)return s(o(e,a),t,a,i);if("evaluate"===e.type)return s(e.schema,e.expression(t),a,i);return+!!(0,n.t)(e,t)}finally{c&&i.get(t)?.delete(e)}},i=(e,t,a,n)=>{if((0,r.G)(e)||Array.isArray(e)){let r=n.get(e)||new Map;r.set(t,a),n.set(e,r)}},c=(e,t,a,l)=>{if(((0,r.G)(t)||Array.isArray(t))&&a.get(t)?.has(e))return a.get(t)?.get(e);if(!e||"any"===e.type||"unknown"===e.type)return t;if("function"===e.type)return"function"==typeof t?t:()=>void 0;if("number"===e.type)return(0,n.t)(e,t)?t:e.default??0;if("string"===e.type)return(0,n.t)(e,t)?t:e.default??"";if("boolean"===e.type)return(0,n.t)(e,t)?t:e.default??!1;if("nullable"===e.type)return null;if("notDefined"!==e.type){if("optional"===e.type){if(void 0===t)return;return c(e.schema,t,a,l)}if("array"===e.type){if(!Array.isArray(t))return[];let r=Array(t.length);i(t,e,r,a);for(let n=0;n<t.length;n++)r[n]=c(e.items,t[n],a,l);return r}if("record"===e.type){if(!(0,r.G)(t))return{};let n={};for(let r of(i(t,e,n,a),Object.keys(t)))n[r]=c(e.value,t[r],a,l);return n}if("object"===e.type){let n=Object.keys(e.properties),o=(0,r.G)(t)?t:null,s={};for(let r of(i(t,e,s,a),n)){let t=e.properties[r],n=o?.[r];("optional"!==t.type||void 0!==n)&&(s[r]=c(t,n,a,l))}return s}return"union"===e.type?c(e.schemas.reduce((e,a)=>{let r=s(a,t,l);return r>e.score?{schema:a,score:r}:e},{schema:e.schemas[0],score:0}).schema,t,a,l):"intersection"===e.type?e.schemas.reduce((e,r)=>Object.assign(e,c(r,t,a,l)),{}
3):"literal"===e.type?e.value:"lazy"===e.type?c(o(e,l),t,a,l):"evaluate"===e.type?c(e.schema,e.expression(t),a,l):(console.warn("Unknown schema type:",e),t)}},u=(e,t,a=new WeakMap,r=new WeakMap)=>c(e,t,a,r)},22377:(e,t,a)=>{"use strict";a.d(t,{j:()=>o,k:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-tags":r.ZU.Optional(r.ZU.Array(r.ZU.String()))}),l=(0,n.Ik)({"x-tags":(0,n.lq)((0,n.YO)((0,n.Yj)()))},{typeName:"XTags",typeComment:"Custom tag ordering or grouping hints for schema objects"})},22460:(e,t,a)=>{"use strict";a.d(t,{T:()=>l,a:()=>o});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-scalar-order":r.ZU.Optional(r.ZU.Array(r.ZU.String()))}),l=(0,n.Ik)({"x-scalar-order":(0,n.lq)((0,n.YO)((0,n.Yj)()))},{typeName:"XScalarOrder",typeComment:"Custom order for elements in the Scalar UI"})},22480:(e,t,a)=>{"use strict";function r(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function n(e){return e.split("/").slice(1).map(r)}a.d(t,{i:()=>n})},23107:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconLockSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M208,76H180V56A52,52,0,0,0,76,56V76H48A20,20,0,0,0,28,96V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V96A20,20,0,0,0,208,76ZM100,56a28,28,0,0,1,56,0V76H100ZM204,204H52V100H204Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M216,96V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H208A8,8,0,0,1,216,96Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M208,82H174V56a46,46,0,0,0-92,0V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82ZM94,56a34,34,0,0,1,68,0V82H94ZM210,208a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M208,84H172V56a44,44,0,0,0-88,0V84H48A12,12,0,0,0,36,96V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V96A12,12,0,0,0,208,84ZM92,56a36,36,0,0,1,72,0V84H92ZM212,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},23373:(e,t,a)=>{"use strict";a.d(t,{qP:()=>tF,Wc:()=>tV,Tf:()=>M,mK:()=>tJ,Ag:()=>aa,Lk:()=>Q,MC:()=>L,U$:()=>aO,FF:()=>a_,hX:()=>t1,Kw:()=>t3,Cd:()=>K,Ot:()=>ay.O,Y5:()=>ak,Xk:()=>tN,KZ:()=>al,RW:()=>t5,rI:()=>l,ZT:()=>P,MH:()=>R,RC:()=>aP,_2:()=>ae,cO:()=>E,Pb:()=>ax,VL:()=>aS,T2:()=>T,Yr:()=>aC.Y,rd:()=>aE,lE:()=>t9,Ve:()=>aR,x9:()=>aT.x,jM:()=>tz,P:()=>av.P,oy:()=>t6,L$:()=>av.L,p2:()=>a$.p,kB:()=>ag,JA:()=>tK,aK:()=>j,Ft:()=>an,T8:()=>Z,r5:()=>W,hz:()=>N,Cu:()=>X,Qg:()=>I,NC:()=>q,iw:()=>U,rp:()=>B});var r=a(51316),n=a(75265);let o=(e,t,a)=>{if(!e&&!t)return;let n=!!e&&Object.keys(e).length>0,o=a||Object.keys(e??{})[0]||"",l=(0,r.A)(e?.[o]);return void 0!==l?l:n&&a||void 0===t?void 0:{value:(0,r.A)(t)}},l=(e,t,a)=>{if("content"in e){let r=e.content?.[a??Object.keys(e.content)[0]??""],n=o(r?.examples,r?.example,t);if(void 0!==n)return n}if("examples"in e||"example"in e){let a=o(e.examples,e.example,t);if(void 0!==a)return a}let n=(0,r.A)(e);if("schema"in n&&n.schema){let e=n.schema;if("default"in e&&void 0!==e.default)return{value:e.default};if("enum"in e&&e.enum?.[0]!==void 0)return{value:e.enum[0]};if("examples"in e&&e.examples?.[0]!==void 0)return{value:e.examples[0]};if("example"in e&&void 0!==e.example)return{value:e.example}}};var s=a(602),i=a(56356),c=a(51324),u=a(27231);let d=new Date().toISOString(),p=d.split("T")[0],m=d.split("T")[1].split(".")[0],h={"date-time":d,date:p,email:"[email protected]",hostname:"example.com","idn-email":"[email protected]","idn-hostname":"example.com",ipv4:"127.0.0.1",ipv6:"51d4:7fab:bfbf:b7d7:b2cb:d4b4:3dad:d998","iri-reference":"/entitiy/1",iri:"https://example.com/entity/123","json-pointer":"/nested/objects",password:"super-secret",regex:"/[a-z]/","relative-json-pointer":"1/nested/objects",time:m,"uri-reference":"../folder","uri-template":"https://example.com/{id}",uri:"https://example.com",uuid:"123e4567-e89b-12d3-a456-426614174000","object-id":"6592008029c8c3e4dc76256c"},f=(e,t=!1,a="")=>"type"in e&&"string"===e.type&&"format"in e&&"binary"===e.format?"@filename":t&&"format"in e&&e.format?h[e.format]??a:a,g=new WeakMap,v=new WeakMap,y=e=>(0,c.s)(e,{depth:1}),b=(e,t,a,r=!1)=>
3{if(r||"object"!=typeof t||null===t)return t;let n=y(e),o=g.get(n)??new Map;return o&&o.set(a,t),g.set(n,o),t},O=(e,t)=>null==t?e:null==e?t:Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&"object"==typeof e&&t&&"object"==typeof t?{...e,...t}:t,k=new WeakMap,x=(e,t)=>{switch(t){case"string":return"string"==typeof e;case"number":return"number"==typeof e&&!Number.isNaN(e);case"integer":return"number"==typeof e&&Number.isInteger(e);case"boolean":return"boolean"==typeof e;case"object":return"object"==typeof e&&null!==e&&!Array.isArray(e);case"array":return Array.isArray(e);case"null":return null===e;default:return!1}},w=e=>{let t=y(e);if(k.has(t))return k.get(t);let a="$ref"in e?u.h.schema(e):e;return k.set(t,a),a},S=(e,t,a=new Set,r=0)=>{if(r>50)return!0;let n=y(e);if(a.has(n))return!0;if(a.add(n),"type"in e&&e.type&&!(Array.isArray(e.type)?e.type:[e.type]).some(e=>!!("number"===e&&x(t,"integer"))||x(t,e)))return a.delete(n),!1;let o=e.anyOf;if(Array.isArray(o)&&o.length>0&&!o.some(e=>{let n=w(e);return!!n&&S(n,t,a,r+1)}))return a.delete(n),!1;let l=e.oneOf;if(Array.isArray(l)&&l.length>0&&!l.some(e=>{let n=w(e);return!!n&&S(n,t,a,r+1)}))return a.delete(n),!1;let s=e.allOf;return Array.isArray(s)&&s.length>0&&!s.every(e=>{let n=w(e);return!n||S(n,t,a,r+1)})?(a.delete(n),!1):(a.delete(n),!0)},C=Symbol("INVALID_DEFAULT"),$=(e,t,a,r)=>{let n=a?.compositionSelection?.[[...e,t].join(".")];if(!("number"!=typeof n||Number.isNaN(n)))return Math.max(0,Math.min(n,r-1))},A=e=>{if(e&&"object"==typeof e&&"x-order"in e){let t=Number(e["x-order"]);return Number.isNaN(t)?void 0:t}},R=(e,t,{level:a=0,parentSchema:r,name:n,seen:o=new WeakSet,schemaPath:l=[],dynamicScope:c=[]}={})=>{let d=u.h.schema(e);if(!(0,s.O)(d))return;if((0,i.zU)(d)){let e=(0,i.xS)(d.$dynamicRef,c);if(e)return R(e,t,{level:a+1,parentSchema:r,name:n,seen:new WeakSet,schemaPath:l,dynamicScope:c})}let p=(0,i.oK)(c,d),m=c.length>0,h=y(d);if(o.has(h))return;o.add(h);let k=JSON.stringify({emptyString:t?.emptyString,xml:t?.xml,mode:t?.mode,variables:t?.variables,omitEmptyAndOptionalProperties:t?.omitEmptyAndOptionalProperties,compositionSelection:t?.compositionSelection?Object.entries(t.compositionSelection).sort(([e],[t])=>e.localeCompare(t)):void 0})+(l.length>0?`:path:${l.join(".")}`:"");if(!m){let e=g.get(h)?.get(k);if(void 0!==e)return o.delete(h),e}if(a>10)return o.delete(h),"[Max Depth Exceeded]";let x=!!t?.emptyString;if(((e,t,a,r)=>{if(e.deprecated||r?.mode==="write"&&e.readOnly||r?.mode==="read"&&e.writeOnly)return!0;if(r?.omitEmptyAndOptionalProperties!==!0||"type"in e&&("object"===e.type||"array"===e.type)||e.allOf||e.oneOf||e.anyOf||"examples"in e&&Array.isArray(e.examples)&&e.examples.length>0||"example"in e&&void 0!==e.example||"default"in e&&void 0!==e.default||"const"in e&&void 0!==e.const||"enum"in e&&Array.isArray(e.enum)&&e.enum.length>0)return!1;let n=a??e.title??"",o=(e=>{if(!e)return;let t=v.get(e);if(t)return t;if("required"in e){let t=e.required;if(Array.isArray(t)&&t.length>0){let a=new Set(t);return v.set(e,a),a}}})(t);return!(o&&o.has(n))})(d,r,n,t))return void o.delete(h);if("x-variable"in d&&d["x-variable"]){let e=t?.variables?.[d["x-variable"]];if(void 0!==e)return"type"in d&&("number"===d.type||"integer"===d.type)?(o.delete(h),b(d,Number(e),k,m)):(o.delete(h),b(d,e,k,m))}if(Array.isArray(d.examples)&&d.examples.length>0)return o.delete(h),b(d,d.examples[0],k,m);if(void 0!==d.example)return o.delete(h),b(d,d.example,k,m);if(void 0!==d.default){let e,t=(e=d.default,S(d,e)?e:C);if(t!==C)return o.delete(h),b(d,t,k,m)}if(void 0!==d.const)return o.delete(h),b(d,d.const,k,m);if(Array.isArray(d.enum)&&d.enum.length>0)return o.delete(h),b(d,d.enum[0],k,m);if("properties"in d||"type"in d&&"object"===d.type){let e=((e,t,a,r,n,o,l)=>{let s={},c=(0,i.oK)(l,e),d=l.length>0;if("properties"in e&&e.properties){let n=e.properties,l=Object.keys(n).sort((e,t)=>{let a=A(n[e]),r=A(n[t]);return void 0!==a&&void 0!==r?a-r:void 0!==a?-1:+(void 0!==r)}),i=l.length;for(let d=0;d<i;d++){let i=l[d],p=u.h.schema(n[i]);if(!p)continue;let m=t?.xml&&"xml"in p?p.xml?.name:void 0,h=R(p,t,{level:a+1,parentSchema:e,name:i,schemaPath:[...o,i],seen:r,dynamicScope:c});void 0!==h&&(s[m??i]=h)}}if("patternProperties"in e&&e.patternProperties)for(let n of Object.keys(e.patternProperties)){let l=u.h.schema(e.patternProperties[n]);l&&(s[n]=R(l,t,{level:a+1,parentSchema:e,name:n,schemaPath:[...o,n],seen:r,dynamicScope:c}))}if("additionalProperties"in e&&e.additionalProperties){let n="boolean"==typeof e.additionalProperties?e.additionalProperties:u.h.schema(e.additionalProperties),l=!0===e.additionalProperties||"object"==typeof e.additionalProperties&&0===Object.keys(e.additionalProperties).length,i="object"==typeof n&&"x-additionalPropertiesName"in n&&"string"==typeof n["x-additionalPropertiesName"]&&n["x-additionalPropertiesName"].trim().length>0,d=i?void 0:(e=>{if(!("propertyNames"in e)||!e.propertyNames)return;let t=u.h.schema(e.propertyNames);if(t&&"enum"in t&&Array.isArray(t.enum)&&t.enum.length>0)return t.enum})(e),p=i?n["x-additionalPropertiesName"].trim():"additionalProperty",m=l?"anything":"object"==typeof n?R(n,t,{level:a+1,schemaPath:[...o,p],seen:r,dynamicScope:c}):"anything";d&&d.length>
30?s[String(d[0])]=m:s[p]=m}let p=e.oneOf?"oneOf":e.anyOf?"anyOf":void 0,m=p?e[p]:void 0;if(p&&m?.length){let e=$(o,p,t,m.length)??0,n=u.h.schema(m[e]);n&&Object.assign(s,R(n,t,{level:a+1,schemaPath:o,seen:r,dynamicScope:c}))}else if(Array.isArray(e.allOf)&&e.allOf.length>0){let n=s,l=0;for(let s of e.allOf){let i=u.h.schema(s),d=i&&(Array.isArray(i.oneOf)||Array.isArray(i.anyOf))?[...o,String(l++)]:o;n=O(n,R(i,t,{level:a+1,parentSchema:e,seen:r,dynamicScope:c,schemaPath:d}))}n&&"object"==typeof n&&Object.assign(s,n)}if(t?.xml&&"xml"in e&&e.xml?.name&&0===a){let t={};return t[e.xml.name]=s,b(e,t,n,d)}return b(e,s,n,d)})(d,t,a,o,k,l,c);return o.delete(h),e}if("type"in d&&"array"===d.type||"items"in d){let e=((e,t,a,r,n,o,l)=>{let c=(0,i.oK)(l,e),d=l.length>0,p="items"in e?u.h.schema(e.items):void 0,m=r;if(p&&(0,i.zU)(p)){let e=(0,i.xS)(p.$dynamicRef,c);e&&(p=e,m=new WeakSet)}let h=[...o,"items"],f=p&&"object"==typeof p&&"xml"in p?p.xml?.name:void 0,g=!!(t?.xml&&"xml"in e&&e.xml?.wrapped&&f);if(void 0!==e.example)return b(e,g?{[f]:e.example}:e.example,n,d);if(p&&"object"==typeof p){if(Array.isArray(p.allOf)&&p.allOf.length>0){let r=p.allOf.filter(s.O),o=u.h.schema(r[0]);if(o&&"object"==typeof o&&"type"in o&&"object"===o.type){let o=R({type:"object",allOf:r},t,{level:a+1,parentSchema:e,schemaPath:h,seen:m,dynamicScope:c});return b(e,g?[{[f]:o}]:[o],n,d)}let l=r.map(r=>R(u.h.schema(r),t,{level:a+1,parentSchema:e,schemaPath:h,seen:m,dynamicScope:c})).filter(s.O);return b(e,g?l.map(e=>({[f]:e})):l,n,d)}let r=p.oneOf?"oneOf":p.anyOf?"anyOf":void 0,o=r?p[r]:void 0;if(r&&o&&o.length>0){let l=$(h,r,t,o.length)??0,s=o[l],i=R(u.h.schema(s),t,{level:a+1,parentSchema:e,schemaPath:h,seen:m,dynamicScope:c});return b(e,g?[{[f]:i}]:[i],n,d)}}let v=p&&"object"==typeof p&&("type"in p&&"object"===p.type||"properties"in p),y=p&&"object"==typeof p&&("type"in p&&"array"===p.type||"items"in p);if(p&&"object"==typeof p&&("type"in p&&p.type||v||y)){let r=R(p,t,{level:a+1,schemaPath:h,seen:m,dynamicScope:c});return b(e,g?[{[f]:r}]:[r],n,d)}return b(e,[],n,d)})(d,t,a,o,k,l,c);return o.delete(h),e}let w=((e,t,a)=>{if("type"in e&&e.type&&!Array.isArray(e.type))switch(e.type){case"string":return f(e,t,a??"");case"boolean":return!0;case"integer":case"number":return"minimum"in e&&"number"==typeof e.minimum?e.minimum:1;case"array":return[]}})(d,x,t?.emptyString);if(void 0!==w)return o.delete(h),b(d,w,k,m);let E=d.oneOf?"oneOf":d.anyOf?"anyOf":void 0,P=E?d[E]:void 0;if(E&&Array.isArray(P)&&P.length>0){let e=$(l,E,t,P.length),r=void 0!==e?P[e]:P.find(e=>{let t=u.h.schema(e);return t&&(!("type"in t)||"null"!==t.type)});if(r){let e=u.h.schema(r);if(e)return o.delete(h),b(d,R(e,t,{level:a+1,schemaPath:l,seen:o,dynamicScope:p}),k,m)}return o.delete(h),b(d,null,k,m)}if(Array.isArray(d.allOf)&&d.allOf.length>0){let e,r=d.allOf,n=0;for(let s of r){let r=u.h.schema(s),i=R(s,t,{level:a+1,parentSchema:d,schemaPath:r&&(Array.isArray(r.oneOf)||Array.isArray(r.anyOf))?[...l,String(n++)]:l,seen:o,dynamicScope:p});void 0===e?e=i:e&&"object"==typeof e&&i&&"object"==typeof i?e=O(e,i):null!=i&&(e=i)}return o.delete(h),b(d,e??null,k,m)}let T=((e,t,a)=>{if("type"in e&&Array.isArray(e.type)){if(e.type.includes("null"))return null;let r=e.type[0];if(r)switch(r){case"string":return f(e,t,a??"");case"boolean":return!0;case"integer":case"number":return"minimum"in e&&"number"==typeof e.minimum?e.minimum:1;case"null":return null}}})(d,x,t?.emptyString);return void 0!==T?(o.delete(h),b(d,T,k,m)):(o.delete(h),b(d,null,k,m))},E=(e,t,a)=>{let o=(0,r.A)(e.content?.[t]?.schema);if(o)return R((0,n.c)(o),{mode:"write",compositionSelection:a},{schemaPath:["requestBody"]})},P=(e,t,a,r)=>{let n=l(e,a,t);if(n&&void 0!==n.value)return n;let o=E(e,t,r);return o?{value:o}:null},T=(e,t="default")=>e?.["x-scalar-selected-content-type"]?.[t]??Object.keys(e?.content??{})[0]??null;var _=a(76412);let j=(e,t)=>{let a=e;for(let e of t){if(!a||!(0,_.Tl)(a)||!a.properties)return;a=(0,r.A)(a.properties[e],r.F)}return a},Q=(e,t)=>{let a;if("string"!=typeof e||!t)return e;let r=Array.isArray(a="type"in t?t.type:void 0)?[...a]:null==a?[]:[a];if(0===r.length||r.includes("string"))return e;try{let t=JSON.parse(e);return(null===t?r.includes("null"):Array.isArray(t)?r.includes("array"):"object"==typeof t?r.includes("object"):"boolean"==typeof t?r.includes("boolean"):"number"==typeof t?r.includes("number")||r.includes("integer")&&Number.isInteger(t):"string"==typeof t&&r.includes("string"))?t:e}catch{return e}},L=e=>{if("string"!=typeof e)return e;try{let t=JSON.parse(e);return"string"==typeof t?e:t}catch{return e}},M=e=>{let t=e?(0,r.A)(e,r.F):void 0;if(!t||!(0,_.Tl)(t)||!t.properties)return(e,t)=>!1;let a=new Set;for(let[e,n]of Object.entries(t.properties)){let t=n?(0,r.A)(n,r.F):void 0;t&&(0,_.Tl)(t)&&t.properties&&a.add(e)}return(e,t)=>{if(t instanceof File||!e.includes("."))return!1;let r=e.split(".",1)[0];return!!r&&a.has(r)}},Z=(e,t)=>"string"==typeof e?e:t.includes("json")||"object"==typeof e&&null!==e&&!Array.isArray(e)?JSON.stringify(e):String(e),U=(e,t)=>{if(Array.isArray(e))return e.join(",");if("object"==typeof e&&null!==e){let a=Object.entries(e);return t?a.map(([e,t])=>`${e}=${t}`).join(","):a.map(([e,t])=>`${e},${t}`).join(",")}return e},X=(e,t)=>Array.isArray(e)&&t?e.map(e=>({key:"",value:e})):Array.isArray(e)?e.join(","):"object"==typeof e&&null!==e&&t?Object.entries(e).map(([e,t])=>({key:e,value:t})):"object"==typeof e&&null!==e?Object.entries(e).map(([e,t])=>`${e},${t}`).join(","):e,I=(e,t)=>{if(Array.isArray(e)&&t)return e.map(e=>({key:"",value:e}));if(Array.isArray(e))return e.map(e=>null===e?"null":String(e)).join(",");if("object"==typeof e&&null!==e&&t)return Object.entries(e).map(([e,t])=>({key:e,value:t}));if("object"==typeof e&&null!==e){let t=e=>{let a=[];for(let[r,n]of Object.entries(e))"object"!=typeof n||null===n||Array.isArray(n)?a.push(r,null===n?"null":String(n)):a.push(r,...t(n));return a};return t(e).join(",")}return e},B=e=>Array.isArray(e)?e.join(" "):"object"==typeof e&&null!==e?Object.entries(e).map(([e,t])=>`${e} ${t}`).join(" "):String(e),q=e=>Array.isArray(e)?e.join("|"):"object"==typeof e&&null!==e?Object.entries(e).flat().join("|"):String(e),W=(e,t)=>{let a=[],r=(e,t)=>{if(Array.isArray(t))for(let a of t)r(`${e}[]`,a);else"object"==typeof t&&null!==t?n(t,e):a.push({key:e,value:String(t)})},n=(e,t)=>{for(let[a,n]of Object.entries(e))r(`${t}[${a}]`,n)};return"object"!=typeof t||null===t||Array.isArray(t)||n(t,e),a},D=e=>null!==e&&"object"==typeof e?JSON.stringify(e):String(e),N=(e,t,a)=>{if(!(a&&(void 0!==a.style||void 0!==a.explode||void 0!==a.allowReserved))||"object"!=typeof t||null===t||t instanceof File||Array.isArray(t)&&t.some(e=>e instanceof File))return null;let r=(0,c.s)(t),n=a?.style??"form",o=a?.explode??"form"===n,l=[];
3if("deepObject"===n)if(Array.isArray(r)){let t=X(r,!0);if(Array.isArray(t))for(let a of t)l.push({key:a.key||e,value:D(a.value)});else l.push({key:e,value:String(t)})}else for(let t of W(e,r))l.push({key:t.key,value:String(t.value)});else if("spaceDelimited"===n)l.push({key:e,value:String(B(r))});else if("pipeDelimited"===n)l.push({key:e,value:String(q(r))});else{let t=X(r,o);if(Array.isArray(t))for(let a of t)l.push({key:a.key||e,value:D(a.value)});else l.push({key:e,value:String(t)})}return l};var V=a(6518),F=a(86888),z=a(26555),H=a(67935),Y=a(11125),G=a(5342);let K=({cookie:e,url:t,disabledGlobalCookies:a})=>{if(e.isDisabled||!0===a[e.name.toLowerCase()]||!e.name)return!1;let r=new URL(t,"https://example.com");return(!e.domain||!!((e,t)=>{if(!e||!t)return!0;try{let a=e.startsWith("http")?e:`http://${e}`,r=new URL(a).hostname,n=!t,o=t===r,l=t.startsWith(".")&&t===`.${r}`,s=t.startsWith(".")&&r?.endsWith(t);return n||o||s||l}catch{return!1}})(t,e.domain))&&(!e.path||!!r.pathname.startsWith(e.path))},J=`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:
4
5        - The browser URL must be on the same domain as the server URL.
6        - The connection must be made over HTTPS.
7        `,ee={21:"!",24:"$",27:"'",28:"(",29:")","2A":"*","2C":",","2F":"/","3A":":","3B":";",40:"@"},et=(e,t)=>{if(0===t.size)return e;let a=e.indexOf("?");if(-1===a)return e;let r=e.indexOf("#",a),n=e.slice(0,a+1),o=-1===r?e.slice(a+1):e.slice(a+1,r),l=-1===r?"":e.slice(r);if(!o)return e;let s=o.split("&").map(e=>{if(!e)return e;let a=e.indexOf("="),r=-1===a?e:e.slice(0,a),n=(e=>{try{return decodeURIComponent(e.replaceAll("+","%20"))}catch{return e}})(r);if(!t.has(n)||-1===a)return e;let o=e.slice(a+1);return`${r}=${o.replace(/%([0-9A-Fa-f]{2})/g,(e,t)=>ee[t.toUpperCase()]??e)}`}).join("&");return`${n}${s}${l}`};var ea=a(18967),er=a(98956);let en="INVALID_REQUEST_FACTORY_URL",eo=(e,t)=>{let a=t.envVariables,r=(0,H.F)(()=>Object.fromEntries(Object.entries(e.path.variables).map(([e,t])=>[e,encodeURIComponent((0,F.Rf)(t,a))])));if(!r.ok)return(0,z._)(en,"The request URL contains invalid characters in path parameters.");let n=r.data,o=(0,F.Rf)(e.baseUrl,a),l=(0,F.Rf)(e.path.raw,a),s=(0,F.xG)(l,n),i=(0,er.Hh)(o,s);if(!t.allowMissingRequestServerBase&&(0,ea.K)(i))return(0,z._)("MISSING_REQUEST_SERVER_BASE","No server URL is configured for this request. Add a servers entry to your OpenAPI document (or set a server in the client) before sending.");let c=globalThis.window?.location?.origin,u=c&&"null"!==c?c:"http://localhost:3000",d=(0,H.F)(()=>new URL(i,u));if(!d.ok)return(0,z._)(en,"The request URL could not be parsed. Check the server URL and path for invalid characters.");let p=d.data,m=new URLSearchParams;for(let[t,r]of e.query.entries())m.append((0,F.Rf)(t,a),(0,F.Rf)(r,a));let h=new URLSearchParams;for(let[e,a]of t.securityQueryParams.entries())h.append(e,a);return p.search=(0,er.TJ)(p.searchParams,m,h).toString(),(0,z.ok)(p.toString())},el=["9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d","f47ac10b-58cc-4372-a567-0e02b2c3d479","1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed","6ba7b810-9dad-11d1-80b4-00c04fd430c8","a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11","3fa85f64-5717-4562-b3fc-2c963f66afa6","550e8400-e29b-41d4-a716-446655440000","c56a4180-65aa-42ec-a945-5fd21dec0538","7c9e6679-7425-40de-944b-e07fc1f90ae7","e4eaaaf2-d142-11e1-b3e4-080027620cdd","aab5d5fd-70c1-11e5-a4fb-b026b977eb28","2c5ea4c0-4067-11e9-8bad-9b1deb4d3b7d","d9428888-122b-11e1-b85c-61cd3cbed5a2","fb1a38e6-4be3-4e38-b8ec-c0c2c2d9e2a7","01234567-89ab-cdef-0123-456789abcdef"],es="abcdefghijklmnopqrstuvwxyz0123456789",ei=["#e34f26","#3498db","#2ecc71","#9b59b6","#f1c40f","#1abc9c","#e74c3c","#2c3e50","#d35400","#8e44ad","#27ae60","#c0392b","#16a085","#f39c12","#7f8c8d"],ec=["HTTP","SQL","TCP","JSON","XML","API","SSL","CSS","HTML","RAM","FTP","SSH","DNS","URL","USB"],eu=["192.168.1.42","10.0.0.134","172.16.254.1","203.0.113.50","198.51.100.23","100.24.56.78","54.239.28.85","13.107.42.14","151.
7101.1.140","216.58.214.206","93.184.216.34","104.16.249.249","172.217.14.206","185.199.108.153","140.82.121.4"],ed=["2001:0db8:85a3:0000:0000:8a2e:0370:7334","fe80:0000:0000:0000:0202:b3ff:fe1e:8329","2607:f8b0:4004:0800:0000:0000:0000:200e","2001:4860:4860:0000:0000:0000:0000:8888","2a03:2880:f10c:0083:face:b00c:0000:25de","fd12:3456:789a:1000:0000:0000:0000:0001","2600:1f18:2489:8200:a953:2c7b:e7e0:d12f","2001:0db8:0000:0042:0000:8a2e:0370:7334","fe80:0000:0000:0000:4c5a:e8ff:fe7c:3d92","2001:0db8:aaaa:bbbb:cccc:dddd:eeee:0001"],ep=["00:1A:2B:3C:4D:5E","A4:83:E7:2D:6B:9F","48:2C:6A:1E:59:3D","00:50:56:C0:00:08","D4:BE:D9:19:6F:F2","3C:22:FB:4A:88:C1","08:00:27:5B:8E:A4","F0:18:98:43:65:DA","5C:CF:7F:2B:1D:E3","00:0C:29:3E:71:BC","1C:6F:65:A2:8D:49","B8:27:EB:63:4F:78"],em=["en","es","fr","de","it","pt","ja","zh","ko","ar","ru","nl","sv","pl","da","fi","nb","tr","hi","th"],eh=["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","Mozilla/5.0 (Macintosh; Intel Mac OS X 14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Safari/605.1.15","Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0","Mozilla/5.0 (iPhone; CPU iPhone OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1","Mozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.43 Mobile Safari/537.36","Mozilla/5.0 (iPad; CPU OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1","Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0","Mozilla/5.0 (Macintosh; Intel Mac OS X 14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"],ef=["http","https"],eg=["1.0.0","2.3.1","0.9.4","3.12.0","1.5.7","4.0.0-beta.1","0.1.0","2.0.3","1.2.0","5.4.2","3.1.0","0.8.12","2.7.5","1.14.0","6.0.0"],ev=["Emma","Liam","Olivia","Noah","Ava","James","Sophia","Oliver","Isabella","Lucas","Mia","Ethan","Charlotte","Mason","Amelia"],ey=["Smith","Johnson","Williams","Brown","Jones","Garcia","Miller","Davis","Rodriguez","Martinez","Hernandez","Lopez","Gonzalez","Wilson","Anderson"],eb=["Mr.","Mrs.","Ms.","Dr.","Prof.","Rev.","Sir","Mx."],eO=["Jr.","Sr.","II","III","IV","PhD","MD","DDS","Esq."],ek=["Marketing","Engineering","Finance","Operations","Human Resources","Sales","Research","Design","Legal","Product","Data","Support","Quality","Security","Communications"],ex=["Senior","Lead","Junior","Principal","Chief","Associate","Global","Regional","Internal","Dynamic","Staff","Executive","National","Strategic","Corporate"],ew=["Software Engineer","Product Manager","Data Analyst","UX Designer","DevOps Engineer","Marketing Director","Sales Representative","Financial Analyst","Project Manager","QA Engineer","Technical Writer","System Administrator","Business Analyst","Account Executive","Operations Manager"],eS=["Full-time","Part-time","Contract","Freelance","Internship","Temporary","Remote","Hybrid","Consultant","Seasonal"],eC=["(555) 123-4567","(555) 987-6543","(555) 246-8135","(555) 369-2580","(555) 741-8520","(555) 852-9631","(555) 147-2583","(555) 963-8520","(555) 321-6540","(555) 654-9870","(555) 789-0123","(555) 234-5678","(555) 876-5432","(555) 468-1357","(555) 531-2468"],e$=["New York","London","Tokyo","Paris","Sydney","Toronto","Berlin","Singapore","Mumbai","S\xe3o Paulo","Amsterdam","Seoul","Dublin","Barcelona","Melbourne"],eA=["Main Street","Oak Avenue","Park Boulevard","Cedar Lane","Elm Drive","Maple Court","Pine Road","Walnut Street","Birch Avenue","Cherry Lane","Willow Way","Spruce Circle","Aspen Drive","Hickory Place","Chestnut Road"],eR=["123 Main Street","456 Oak Avenue","789 Park Boulevard","321 Cedar Lane","654 Elm Drive","987 Maple Court","147 Pine Road","258 Walnut Street","369 Birch Avenue","741 Cherry Lane","852 Willow Way","963 Spruce Circle","159 Aspen Drive","357 Hickory Place","486 Chestnut Road"],eE=["United States","United Kingdom","Canada","Australia","Germany","France","Japan","Brazil","India","Netherlands","South Korea","Singapore","Ireland","Spain","Sweden"],eP=["US","GB","CA","AU","DE","FR","JP","BR","IN","NL","KR","SG","IE","ES","SE","IT","NO","DK","FI","CH"],eT=["40.7128","-33.8688","51.5074","35.6762","48.8566","-23.5505","19.4326","55.7558","1.3521","37.7749","52.3676","34.0522","41.9028","39.9042","25.2048"],e_=["-74.0060","151.2093","-0.1278","139.6503","2.3522","-46.6333","-99.1332","37.6173","103.8198","-122.4194","4.9041","-118.2437","12.4964","116.4074","55.2708"],ej=["https://avatars.githubusercontent.com/u/12345678","https://avatars.githubusercontent.com/u/23456789","https://avatars.githubusercontent.com/u/34567890","https://avatars.githubusercontent.com/u/45678901","https://avatars.githubusercontent.com/u/56789012","https://avatars.githubusercontent.com/u/67890123","https://avatars.githubusercontent.com/u/78901234","https://avatars.githubusercontent.com/u/89012345","https://avatars.githubusercontent.com/u/90123456","https://avatars.githubusercontent.com/u/10234567"],eQ=["https://picsum.photos/seed/scalar1/640/480","https://picsum.photos/seed/scalar2/640/480","https://picsum.photos/seed/scalar3/640/480","https://picsum.photos/seed/scalar4/640/480","https://picsum.photos/seed/scalar5/640/480","https://picsum.photos/seed/scalar6/640/480","https://picsum.photos/seed/scalar7/640/480","https://picsum.photos/seed/scalar8/640/480","https://picsum.photos/seed/scalar9/640/480","https://picsum.photos/seed/scalar10/64
70/480"],eL="https://loremflickr.com/640/480",eM=Array.from({length:10},(e,t)=>`${eL}/abstract?lock=${t+1}`),eZ=Array.from({length:10},(e,t)=>`${eL}/animals?lock=${t+1}`),eU=Array.from({length:10},(e,t)=>`${eL}/business?lock=${t+1}`),eX=Array.from({length:10},(e,t)=>`${eL}/cat?lock=${t+1}`),eI=Array.from({length:10},(e,t)=>`${eL}/city?lock=${t+1}`),eB=Array.from({length:10},(e,t)=>`${eL}/food?lock=${t+1}`),eq=Array.from({length:10},(e,t)=>`${eL}/nightlife?lock=${t+1}`),eW=Array.from({length:10},(e,t)=>`${eL}/fashion?lock=${t+1}`),eD=Array.from({length:10},(e,t)=>`${eL}/people?lock=${t+1}`),eN=Array.from({length:10},(e,t)=>`${eL}/nature?lock=${t+1}`),eV=Array.from({length:10},(e,t)=>`${eL}/sports?lock=${t+1}`),eF=Array.from({length:10},(e,t)=>`${eL}/transport?lock=${t+1}`),ez=["data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%233498db%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%23e74c3c%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%232ecc71%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%239b59b6%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%23f1c40f%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E"],eH=["34042448","34102758","02997566","52631809","75412296","37762776","44117882","13865687","44377086","74440091"],eY=["Personal Checking","Savings Account","Money Market","Home Loan","Auto Loan","Investment Account","Business Checking","Credit Card","Retirement Fund","College Savings"],eG=["DEUTDEFF","BNPAFRPP","CHASUS33","HSBCGB2L","COBADEFF","SCBLSGSG","ANZBAU3M","CITIUS33","BOFAUS3N","NWBKGB2L"],eK=["GB29NWBK60161331926819","DE89370400440532013000","FR7630006000011234567890189","ES9121000418450200051332","IT60X0542811101000000123456","NL91ABNA0417164300","CH9300762011623852957","BE68539007547034","AT611904300234573201","FI2112345600000785"],eJ=["deposit","withdrawal","payment","invoice","transfer"],e0=["USD","EUR","GBP","JPY","AUD","CAD","CHF","CNY","INR","BRL","SEK","NOK","DKK","SGD","HKD"],e1=["US Dollar","Euro","British Pound","Japanese Yen","Australian Dollar","Canadian Dollar","Swiss Franc","Chinese Yuan","Indian Rupee","Brazilian Real","Swedish Krona","Norwegian Krone","Danish Krone","Singapore Dollar","Hong Kong Dollar"],e2=["$","€","\xa3","\xa5","A$","C$","CHF","\xa5","₹","R$"],e4=["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa","3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy","bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4","1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2","3Kzh9qAqVWQhEsfQz7zEQL1EuSx5tyNLNS","1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF","bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh","3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5","1P5ZEDWTKTFGxQjZphgWPQUpe554WKDfHQ","bc1q42lja79elem0anu8q860g3milve2ycq5t8g3ux"],e8=["Acme Corp","Globex","Initech","Umbrella Industries","Stark Enterprises","Wayne Corp","Cyberdyne Systems","Tyrell Corp","Soylent Corp","Aperture Science","Massive Dynamic","Oscorp","Abstergo","Weyland-Yutani","Hooli"],e3=["Inc","LLC","Group","Ltd","PLC","Corp"],e6=["leverage agile frameworks","iterate revolutionary convergence","drive seamless solutions","enable viral e-services","synergize scalable supply-chains","harness real-time channels","orchestrate integrated experiences","deliver frictionless partnerships","transform dynamic mindshare","cultivate open-source communities"],e5=["innovative","scalable","seamless","cutting-edge","robust","synergistic","dynamic","holistic","strategic","disruptive","frictionless","proactive","world-class","collaborative","granular"],e7=["leverage","iterate","synergize","monetize","orchestrate","disintermediate","harness","incentivize","optimize","streamline","revolutionize","cultivate","empower","facilitate","aggregate"],e9=["frameworks","paradigms","synergies","platforms","infrastru
7ctures","bandwidth","channels","communities","convergence","deliverables","e-markets","experiences","initiatives","interfaces","methodologies"],te=["Adaptive zero defect data-warehouse","Automated scalable protocol","Business-focused zero defect hub","Cloned responsive flexibility","Cross-group background collaboration","De-engineered stable conglomeration","Distributed actuating throughput","Enhanced client-server capability","Face to face explicit superstructure","Front-line multimedia interface"],tt=["Adaptive","Advanced","Automated","Balanced","Business-focused","Centralized","Cloned","Configurable","Cross-group","Customizable","De-engineered","Decentralized","Digitized","Distributed","Enhanced"],ta=["24 hour","actuating","analyzing","asymmetric","asynchronous","background","bandwidth-monitored","bi-directional","bifurcated","bottom-line","clear-thinking","client-driven","client-server","coherent","cohesive"],tr=["ability","access","algorithm","alliance","analyzer","application","approach","architecture","array","attitude","benchmark","budgetary management","capability","capacity","challenge"],tn=["id","name","email","status","created_at","updated_at","description","amount","category","token","avatar","phone","address","comment","title"],to=["int","varchar","text","boolean","date","timestamp","float","bigint","json","uuid","decimal","enum","blob","char","smallint"],tl=["utf8_general_ci","utf8mb4_unicode_ci","ascii_general_ci","latin1_swedish_ci","utf8_unicode_ci","utf8mb4_general_ci","utf8_bin","latin1_general_ci","utf8mb4_bin","ascii_bin"],ts=["InnoDB","MyISAM","MEMORY","CSV","ARCHIVE","FEDERATED","NDB","MERGE","BLACKHOLE","EXAMPLE"],ti=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tc=["January","February","March","April","May","June","July","August","September","October","November","December"],tu=["example.com","test-site.org","my-app.io","dev-portal.net","api-hub.com","code-base.dev","data-flow.co","web-pulse.io","cloud-nest.org","tech-wave.net","open-source.dev","byte-craft.io","pixel-lab.co","node-spark.com","vue-forge.dev"],td=["com","org","net","io","dev","co","info","app","me","xyz"],tp=["example","test-site","my-app","dev-portal","api-hub","code-base","data-flow","web-pulse","cloud-nest","tech-wave","open-source","byte-craft","pixel-lab","node-spark","vue-forge"],tm=["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"],th=["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"],tf=["emma_dev42","liam.codes","olivia_tech","noah_builds","ava.hacks","james_ops","sophia_data","oliver.api","isa_design","lucas_vue","mia_cloud","ethan.stack","char_pixel","mason_byte","amelia_net"],tg=["https://example.com","https://test-site.org","https://my-app.io","https://dev-portal.net","https://api-hub.com","https://code-base.dev","https://data-flow.co","https://web-pulse.io","https://cloud-nest.org","https://tech-wave.net","https://open-source.dev","https://byte-craft.io"],tv=["report.pdf","data.csv","image.png","backup.tar.gz","readme.md","config.yml","schema.json","styles.css","app.tsx","index.html","notes.txt","archive.zip","log.xml","script.sh","database.sql"],ty=["application","text","image","audio","video","font","model","multipart","message","chemical"],tb=["pdf","csv","png","json","md","yml","html","txt","xml","sql","tar","gz","wasm","webp"],tO=["report.pdf","photo.jpg","document.docx","spreadsheet.xlsx","presentation.pptx","image.png","video.mp4","audio.mp3","archive.zip","readme.txt"],tk=["text","application","image","audio","video"],tx=["pdf","jpg","png","gif","mp3","mp4","doc","xls","ppt","txt","zip","html","css","js","json"],tw=["/home/user/documents/report.pdf","/var/log/app/server.log","/tmp/upload/image.png","/opt/data/backup.tar.gz","/home/user/projects/app/src/index.ts","/etc/config/settings.yml","/usr/local/bin/script.sh","/home/user/downloads/archive.zip","/var/www/html/index.html","/home/user/.config/app.json"],tS=["/home/user/documents","/var/log/app","/tmp/uploads","/opt/data","/home/user/projects/app/src","/etc/config","/usr/local/bin","/home/user/downloads","/var/www/html","/home/user/.config"],tC=["application/json","text/html","image/png","application/pdf","text/plain","image/jpeg","application/xml","text/css","application/javascript","image/svg+xml","application/zip","audio/mpeg","video/mp4","font/woff2","application/octet-stream"],t$
7=["Chair","Computer","Keyboard","Mouse","Table","Phone","Shoes","Shirt","Pants","Hat","Bike","Towels","Gloves","Soap","Tuna"],tA=["Refined","Elegant","Rustic","Gorgeous","Practical","Fantastic","Handcrafted","Incredible","Licensed","Sleek","Intelligent","Recycled","Modern","Bespoke","Ergonomic"],tR=["Cotton","Steel","Wooden","Concrete","Rubber","Granite","Plastic","Frozen","Soft","Metal","Bronze","Silk","Leather","Ceramic","Bamboo"],tE=["Refined Cotton Chair","Sleek Steel Computer","Elegant Wooden Table","Practical Rubber Keyboard","Gorgeous Granite Mouse","Rustic Metal Bike","Handcrafted Silk Shirt","Incredible Bamboo Towels","Modern Leather Shoes","Ergonomic Plastic Phone","Fantastic Ceramic Soap","Licensed Bronze Hat","Intelligent Soft Gloves","Bespoke Cotton Pants","Recycled Steel Tuna"],tP=["Electronics","Clothing","Books","Home","Garden","Sports","Toys","Automotive","Grocery","Health","Beauty","Music","Movies","Games","Outdoors"],tT=["server","database","network","protocol","system","algorithm","interface","module","component","function","framework","library","instance","variable","endpoint"],t_=["run","build","deploy","parse","fetch","render","compile","stream","cache","merge","sync","push","pull","test","debug"],tj=["running","building","deploying","parsing","fetching","rendering","compiling","streaming","caching","merging","syncing","pushing","pulling","testing","debugging"],tQ=["fast","secure","scalable","robust","dynamic","modular","stable","lightweight","portable","resilient","efficient","responsive","concurrent","stateless","distributed"],tL=["pixel","quantum","cipher","matrix","vector","nexus","pulse","flux","forge","prism","vortex","helix","orbit","spark","nebula"],tM=["lorem","ipsum","dolor","sit","amet","consectetur","adipiscing","elit","sed","do","eiusmod","tempor","incididunt","ut","labore","et","dolore","magna","aliqua","enim"],tZ=["Lorem ipsum dolor sit amet, consectetur adipiscing elit.","Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.","Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.","Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia.","Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.","Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.","Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit.","Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse.","At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis."],tU=["Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.","Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.","Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.","Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.","Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."],tX=["lorem-ipsum-dolor","sed-tempor-incididunt","amet-consectetur-adipiscing","eiusmod-labore-dolore","veniam-nostrud-exercitation","voluptate-velit-cillum","occaecat-cupidatat-proident","perspiciatis-omnis-natus","aspernatur-odit-fugit","dolorem-ipsum-amet"],tI=e=>e[Math.floor(Math.random()*e.length)],tB=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,tq=(e,t,a)=>Array.from({length:tB(t,a)},()=>tI(e)).join(" "),tW=(e,t,a)=>Array.from({length:tB(t,a)},()=>tI(e)).join(" "),tD={$guid:{fn:()=>tI(el),comment:"A uuid-v4 style guid"},$timestamp:{fn:()=>Math.floor(Date.now()/1e3).toString(),comment:"The current UNIX timestamp in seconds"},$isoTimestamp:{fn:()=>new Date().toISOString(),comment:"The current ISO timestamp at zero UTC"},$randomUUID:{fn:()=>tI(el),comment:"A random 36-character UUID"},$randomAlphaNumeric:{fn:()=>es[Math.floor(Math.random()*es.length)]??"a",comment:"A random alpha-numeric character"},$randomBoolean:{fn:()=>.5>Math.random()?"true":"false",comment:"A random boolean value"},$randomInt:{fn:()=>tB(0,1e3).toString(),comment:"A random integer between 0 and 1000"},$randomColor:{fn:()=>tI(ei),comment:"A random color in hex format"},$randomHexColor:{fn:()=>tI(ei),comment:"A random hex value"},$randomAbbreviation:{fn:()=>tI(ec),comment:"A random abbreviation"},$randomIP:{fn:()=>tI(eu),comment:"A random IPv4 address"},$randomIPV6:{fn:()=>tI(ed),comment:"A random IPv6 address"},$randomMACAddress:{fn:()=>tI(ep),comment:"A random MAC address"},$randomPassword:{fn:()=>Array.from({length:15},()=>es[Math.floor(Math.random()*es.length)]).join(""),comment:"A random 15-character alpha-numeric password"},$randomLocale:{fn:()=>tI(em),comment:"A random two-letter language code (ISO 639-1)"},$randomUserAgent:{fn:()=>tI(eh),comment:"A random user agent"},$randomProtocol:{fn:()=>tI(ef),comment:"A random internet protocol"},$randomSemver:{fn:()=>tI(eg),comment:"A random semantic version number"},$randomFirstName:{fn:()=>tI(ev),comment:"A random first name"},$randomLastName:{fn:()=>tI(ey),comment:"A random last name"},$randomFullName:{fn:()=>`${tI(ev)} ${tI(ey)}`,comment:"A random first and last name"},$randomNamePrefix:{fn:()=>tI(eb),comment:"A random name prefix"},$randomNameSuffix:{fn:()=>tI(eO),comment:"A random name suffix"},$randomJobArea:{fn:()=>tI(ek),comment:"A random job area"},$randomJobDescriptor:{fn:()=>tI(ex),comment:"A random job descriptor"},$randomJobTitle:{fn:()=>tI(ew),comment:"A random job title"},$randomJobType:{fn:()=>tI(eS),comment:"A random job type"}
7,$randomPhoneNumber:{fn:()=>tI(eC),comment:"A random ten-digit phone number"},$randomPhoneNumberExt:{fn:()=>`${tB(10,99)}-${tI(eC)}`,comment:"A random phone number prefixed with a two-digit extension (10–99)"},$randomCity:{fn:()=>tI(e$),comment:"A random city name"},$randomStreetName:{fn:()=>tI(eA),comment:"A random street name"},$randomStreetAddress:{fn:()=>tI(eR),comment:"A random street address"},$randomCountry:{fn:()=>tI(eE),comment:"A random country"},$randomCountryCode:{fn:()=>tI(eP),comment:"A random two-letter country code (ISO 3166-1 alpha-2)"},$randomLatitude:{fn:()=>tI(eT),comment:"A random latitude coordinate"},$randomLongitude:{fn:()=>tI(e_),comment:"A random longitude coordinate"},$randomAvatarImage:{fn:()=>tI(ej),comment:"A random avatar image"},$randomImageUrl:{fn:()=>tI(eQ),comment:"A URL of a random image"},$randomAbstractImage:{fn:()=>tI(eM),comment:"A URL of a random abstract image"},$randomAnimalsImage:{fn:()=>tI(eZ),comment:"A URL of a random animal image"},$randomBusinessImage:{fn:()=>tI(eU),comment:"A URL of a random stock business image"},$randomCatsImage:{fn:()=>tI(eX),comment:"A URL of a random cat image"},$randomCityImage:{fn:()=>tI(eI),comment:"A URL of a random city image"},$randomFoodImage:{fn:()=>tI(eB),comment:"A URL of a random food image"},$randomNightlifeImage:{fn:()=>tI(eq),comment:"A URL of a random nightlife image"},$randomFashionImage:{fn:()=>tI(eW),comment:"A URL of a random fashion image"},$randomPeopleImage:{fn:()=>tI(eD),comment:"A URL of a random image of a person"},$randomNatureImage:{fn:()=>tI(eN),comment:"A URL of a random nature image"},$randomSportsImage:{fn:()=>tI(eV),comment:"A URL of a random sports image"},$randomTransportImage:{fn:()=>tI(eF),comment:"A URL of a random transportation image"},$randomImageDataUri:{fn:()=>tI(ez),comment:"A random image data URI"},$randomBankAccount:{fn:()=>tI(eH),comment:"A random 8-digit bank account number"},$randomBankAccountName:{fn:()=>tI(eY),comment:"A random bank account name"},$randomCreditCardMask:{fn:()=>`**** **** **** ${Array.from({length:4},()=>Math.floor(10*Math.random())).join("")}`,comment:"A random masked credit card number"},$randomBankAccountBic:{fn:()=>tI(eG),comment:"A random BIC (Bank Identifier Code)"},$randomBankAccountIban:{fn:()=>tI(eK),comment:"A random 15-31 character IBAN (International Bank Account Number)"},$randomTransactionType:{fn:()=>tI(eJ),comment:"A random transaction type"},$randomCurrencyCode:{fn:()=>tI(e0),comment:"A random 3-letter currency code (ISO-4217)"},$randomCurrencyName:{fn:()=>tI(e1),comment:"A random currency name"},$randomCurrencySymbol:{fn:()=>tI(e2),comment:"A random currency symbol"},$randomBitcoin:{fn:()=>tI(e4),comment:"A random bitcoin address"},$randomCompanyName:{fn:()=>tI(e8),comment:"A random company name"},$randomCompanySuffix:{fn:()=>tI(e3),comment:"A random company suffix"},$randomBs:{fn:()=>tI(e6),comment:"A random phrase of business-speak"},$randomBsAdjective:{fn:()=>tI(e5),comment:"A random business-speak adjective"},$randomBsBuzz:{fn:()=>tI(e7),comment:"A random business-speak buzzword"},$randomBsNoun:{fn:()=>tI(e9),comment:"A random business-speak noun"},$randomCatchPhrase:{fn:()=>tI(te),comment:"A random catchphrase"},$randomCatchPhraseAdjective:{fn:()=>tI(tt),comment:"A random catchphrase adjective"},$randomCatchPhraseDescriptor:{fn:()=>tI(ta),comment:"A random catchphrase descriptor"},$randomCatchPhraseNoun:{fn:()=>tI(tr),comment:"Randomly generates a catchphrase noun"},$randomDatabaseColumn:{fn:()=>tI(tn),comment:"A random database column name"},$randomDatabaseType:{fn:()=>tI(to),comment:"A random database type"},$randomDatabaseCollation:{fn:()=>tI(tl),comment:"A random database collation"},$randomDatabaseEngine:{fn:()=>tI(ts),comment:"A random database engine"},$randomDateFuture:{fn:()=>new Date(Date.now()+864e5*tB(1,365)).toISOString(),comment:"A random future datetime"},$randomDatePast:{fn:()=>new Date(Date.now()-864e5*tB(1,365)).toISOString(),comment:"A random past datetime"},$randomDateRecent:{fn:()=>new Date(Date.now()-864e5*tB(1,3)).toISOString(),comment:"A random recent datetime"},$randomWeekday:{fn:()=>tI(ti),comment:"A random weekday"},$randomMonth:{fn:()=>tI(tc),comment:"A random month"},$randomDomainName:{fn:()=>tI(tu),comment:"A random domain name"},$randomDomainSuffix:{fn:()=>tI(td),comment:"A random domain suffix"},$randomDomainWord:{fn:()=>tI(tp),comment:"A random unqualified domain name"},$randomEmail:{fn:()=>tI(tm),comment:"A random email address"},$randomExampleEmail:{fn:()=>tI(th),comment:"A random email address from an example domain"},$randomUserName:{fn:()=>tI(tf),comment:"A random username"},$randomUrl:{fn:()=>tI(tg),comment:"A random URL"},$randomFileName:{fn:()=>tI(tv),comment:"A random file name (includes uncommon extensions)"},$randomFileType:{fn:()=>tI(ty),comment:"A random file type (includes uncommon file types)"},$randomFileExt:{fn:()=>tI(tb),comment:"A random file extension (includes uncommon extensions)"},$randomCommonFileName:{fn:()=>tI(tO),comment:"A random file name"},$randomCommonFileType:{fn:()=>tI(tk),comment:"A random, common file type"},$randomCommonFileExt:{fn:()=>tI(tx),comment:"A random, common file extension"},$randomFilePath:{fn:()=>tI(tw),comment:"A random file path"},$randomDirectoryPath:{fn:()=>tI(tS),comment:"A random directory path"},$randomMimeType:{fn:()=>tI(tC),comment:"A random MIME type"}
7,$randomPrice:{fn:()=>(1e3*Math.random()).toFixed(2),comment:"A random price between 0.00 and 1000.00"},$randomProduct:{fn:()=>tI(t$),comment:"A random product"},$randomProductAdjective:{fn:()=>tI(tA),comment:"A random product adjective"},$randomProductMaterial:{fn:()=>tI(tR),comment:"A random product material"},$randomProductName:{fn:()=>tI(tE),comment:"A random product name"},$randomDepartment:{fn:()=>tI(tP),comment:"A random commerce department"},$randomNoun:{fn:()=>tI(tT),comment:"A random noun"},$randomVerb:{fn:()=>tI(t_),comment:"A random verb"},$randomIngverb:{fn:()=>tI(tj),comment:"A random verb ending in `-ing`"},$randomAdjective:{fn:()=>tI(tQ),comment:"A random adjective"},$randomWord:{fn:()=>tI(tL),comment:"A random word"},$randomWords:{fn:()=>tq(tL,2,5),comment:"Some random words"},$randomPhrase:{fn:()=>tI(e6),comment:"A random phrase"},$randomLoremWord:{fn:()=>tI(tM),comment:"A random word of lorem ipsum text"},$randomLoremWords:{fn:()=>tq(tM,3,3),comment:"Some random words of lorem ipsum text"},$randomLoremSentence:{fn:()=>tI(tZ),comment:"A random sentence of lorem ipsum text"},$randomLoremSentences:{fn:()=>tW(tZ,2,6),comment:"A random 2 to 6 sentences of lorem ipsum text"},$randomLoremParagraph:{fn:()=>tI(tU),comment:"A random paragraph of lorem ipsum text"},$randomLoremParagraphs:{fn:()=>tW(tU,3,3),comment:"3 random paragraphs of lorem ipsum text"},$randomLoremText:{fn:()=>tW(tU,1,3),comment:"A random amount of lorem ipsum text"},$randomLoremSlug:{fn:()=>tI(tX),comment:"A random lorem ipsum URL slug"},$randomLoremLines:{fn:()=>Array.from({length:tB(1,5)},()=>tI(tZ)).join("\n"),comment:"1 to 5 random lines of lorem ipsum"}},tN=e=>tD[e].comment,tV=["$guid","$timestamp","$isoTimestamp","$randomUUID","$randomEmail","$randomInt","$randomFirstName","$randomLastName"],tF=Object.keys(tD),tz=e=>Object.hasOwn(tD,e),tH=[{header:"date",scalarHeader:V.NO},{header:"dnt",scalarHeader:V.vp},{header:"referer",scalarHeader:V.uh},{header:"user-agent",scalarHeader:V.AP}],tY=(e,t)=>{let a=(0,F.Rf)(e.value,t);return"basic"===e.format?`Basic ${(0,G.lF)(a)}`:"bearer"===e.format?`Bearer ${a}`:a},tG=e=>t=>tz(t)?tD[t].fn()??null:e[t]??null,tK=(e,t,a)=>{let r=tG(t),n=new URLSearchParams;e.options?.disableSecurity||e.security.forEach(e=>{if("query"!==e.in)return;let t=(0,F.Rf)(e.name,r);n.append(t,tY(e,r))});let o=eo(e,{envVariables:r,securityQueryParams:n,allowMissingRequestServerBase:a?.allowMissingRequestServerBase??!0});if(!o.ok)throw Error(o.message??o.error);return et(o.data,e.allowedReservedQueryParameters??new Set)},tJ=(e,t)=>{let a=(0,H.F)(()=>t0(e,t));return a.ok?a.data:(0,z._)("BUILD_REQUEST_FAILED",a.error)},t0=(e,t)=>{let a,r=tG(t.envVariables),n=new AbortController,o=(a=new Headers,e.headers.forEach((e,t)=>{a.set((0,F.Rf)(t,r),(0,F.Rf)(e,r))}),a),l=(()=>{if(e.body?.mode==="raw")return"string"==typeof e.body.value?(0,F.Rf)(e.body.value,r):e.body.value;if(e.body?.mode==="formdata"){let t=new FormData;return e.body.value.forEach(e=>{"text"===e.type?t.append((0,F.Rf)(e.key,r),(0,F.Rf)(e.value,r)):t.append((0,F.Rf)(e.key,r),e.value)}),t}return e.body?.mode==="urlencoded"?new URLSearchParams(e.body.value.map(e=>[(0,F.Rf)(e.key,r),(0,F.Rf)(e.value,r)])):null})(),s=new URLSearchParams,i=[];e.options?.disableSecurity||e.security.forEach(e=>{let t=(0,F.Rf)(e.name,r),a=tY(e,r);"header"===e.in?o.append(t,a):"query"===e.in?s.append(t,a):"cookie"===e.in&&i.push({name:t,value:a,isDisabled:!1})});let c=eo(e,{envVariables:r,securityQueryParams:s,allowMissingRequestServerBase:t.allowMissingRequestServerBase});if(!c.ok)return(0,z._)(c.error,c.message);let u=c.data,d=(0,Y.p)(e.proxyUrl,u),p=(({cookies:e,originalCookieHeader:t,url:a,useCustomCookieHeader:r})=>{var n,o;let l,s=(n=e.filter(e=>K({url:a,cookie:e,disabledGlobalCookies:{}})),o=t??void 0,l=n.map(e=>`${e.name}=${e.value}`).join("; "),o&&l?`${o}; ${l}`:o||l||"");return s?r?(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."),{name:V.$w,value:s}):(console.warn(J),{name:"Cookie",value:s}):null})({cookies:[...e.cookies,...i].map(e=>({...e,name:(0,F.Rf)(e.name,r),value:(0,F.Rf)(e.value,r)})),originalCookieHeader:o.get("cookie"),url:u,useCustomCookieHeader:(d||e.options?.isElectron)??!1});
7p&&o.set(p.name,p.value),(d||e.options?.isElectron)&&tH.forEach(({header:e,scalarHeader:t})=>{let a=o.get(e);a&&(o.set(t,a),o.delete(e))});let m=et(u,e.allowedReservedQueryParameters??new Set),h=d?(0,Y.m)(e.proxyUrl,m):m;return(0,z.ok)({requestPayload:[h,{method:e.method.toUpperCase(),headers:o,body:l,cache:e.cache,signal:n.signal}],controller:n,isUsingProxy:d})},t1=(e,t)=>"content"in t?t2(e,Object.keys(t.content??{})[0]??""):"schema"in t?t3(e,t.schema):e,t2=(e,t)=>{if("string"==typeof e&&t.includes("json"))try{return JSON.parse(e)}catch{}return e},t4=new Set(["array","object"]),t8=e=>{let t=(0,r.A)(e);if(t&&"object"==typeof t){if("type"in t&&t.type){let e=Array.isArray(t.type)?t.type.find(e=>t4.has(e)):t.type;if("array"===e||"object"===e)return e}for(let e of["anyOf","oneOf","allOf"]){let a=t[e];if(Array.isArray(a))for(let e of a){let t=t8(e);if(t)return t}}}},t3=(e,t)=>{if("string"==typeof e){let a=t8(t);if(a)try{return JSON.parse(e)}catch{if("array"===a)return e.split(/,\s?/).filter(e=>""!==e)}}return e},t6=(e,t,a=!0)=>{let r=t?.["x-disabled"];return"boolean"==typeof r?r:!!a&&!e.required&&"path"!==e.in},t5=e=>e.variables.reduce((e,t)=>(e[t.name]="string"==typeof t.value?t.value:t.value.default,e),{});var t7=a(80986);let t9=e=>e?(0,t7.W)(e?.variables??{}).reduce((e,[t,a])=>(a.default&&(e[t]=a.default),e),{}):{},ae=({server:e,path:t,urlParams:a})=>{let r=t9(e);return(0,er.Hh)((0,F.qk)(e?.url??"",r),t,a)};var at=a(95877);let aa=(e,t="")=>{let a=[];return e.forEach(e=>{if("apiKey"===e.type){let r=e.name,n=e["x-scalar-secret-token"]||t;if("header"===e.in)return a.push({in:e.in,name:r,value:n});if("query"===e.in)return a.push({in:"query",name:r,value:n});if("cookie"===e.in)return a.push({in:"cookie",name:r,value:n})}if("http"===e.type){if("basic"===e.scheme){let t=e["x-scalar-secret-username"]||"",r=e["x-scalar-secret-password"]||"";return""===t&&""===r?null:a.push({in:"header",name:"Authorization",value:`${t}:${r}`,format:"basic"})}let r=e["x-scalar-secret-token"];return a.push({in:"header",name:"Authorization",value:r||t,format:"bearer"})}if("oauth2"===e.type||"openIdConnect"===e.type){let r=Object.values(e?.flows??{}),n=r.filter(s.O).find(e=>e["x-scalar-secret-token"])?.["x-scalar-secret-token"]??"";return a.push({in:"header",name:"Authorization",value:n||t,format:"bearer"})}return null}),a},ar={accept:"Accept","content-type":"Content-Type","user-agent":"User-Agent"},an=e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[ar[e.toLowerCase()]??e,t])),ao=(e,t,a,n)=>{let o=n.hideOverriddenHeaders?((e,t)=>{let a=new Set;for(let n of e.parameters??[]){let e=(0,r.A)(n);if("header"!==e.in)continue;let o="examples"in e&&e.examples?.[t]?e.examples[t]:void 0;t6(e,o?(0,r.A)(o):void 0)||a.add(e.name.toLowerCase())}return a})(e,t):null,l=n.hideDisabledHeaders?e["x-scalar-disable-parameters"]?.["default-headers"]?.[t]??{}:null;return Object.fromEntries(Object.entries(a).filter(([e])=>{let t=e.toLowerCase();return!o?.has(t)&&(!l||!0!==l[t])}))},al=({method:e,operation:t,exampleName:a,hideDisabledHeaders:n=!1,hideOverriddenHeaders:o=!1,options:l={isElectron:!1,appVersion:"0.0.0"}})=>{let s=new Headers,i=(0,r.A)(t.requestBody);if((0,at.Ik)(e)&&i){let e=i["x-scalar-selected-content-type"]?.[a]??Object.keys(i.content??{})[0];e&&"none"!==e&&"other"!==e&&s.set("Content-Type",e)}let c=Object.keys(t.responses??{}).find(e=>e.startsWith("2")),u=c?(0,r.A)(t.responses[c]):null,d=Object.keys(u?.content??{}).join(", ")||"*/*";s.set("Accept",d),l.isElectron&&l.appVersion&&s.set("User-Agent",`Scalar/${l.appVersion}`);let p=Object.fromEntries(s.entries());return o||n?ao(t,a,p,{hideOverriddenHeaders:o,hideDisabledHeaders:n}):p};var as=a(60652),ai=a(97110);let ac=(e,t,a)=>e.content[t]?.encoding?.[a]?.contentType;var au=a(37163),ad=a(70470);let ap=(e,t)=>"explode"in e&&void 0!==e.explode?e.explode:t,am=(e,t,...a)=>{if(t)for(let t of a)e.add(t)},ah=(e,t,a,r,n)=>{var o,l;let s=!("explode"in e)||void 0===e.explode||e.explode,i="allowReserved"in e&&void 0!==e.allowReserved?e.allowReserved:"schema"in e&&!!e.schema&&"object"==typeof e.schema&&"allowReserved"in e.schema&&!0===e.schema.allowReserved,c=(o=e,l=a,"style"in o&&o.style?"deepObject"===o.style?(0,as.G)(l)?"deepObject":"form":o.style:"form");
7if("content"in e&&e.content){let o=Z(a,Object.keys(e.content)[0]??"application/json");r.set(t,o),am(n,i,t);return}if("deepObject"===c&&s){for(let e of W(t,a))r.append(e.key,e.value),am(n,i,t);return}if("spaceDelimited"===c){let e=B(a),o=r.get(t);r.set(t,o?`${o} ${e}`:e),am(n,i,t);return}if("pipeDelimited"===c){let e=q(a),o=r.get(t);r.set(t,o?`${o}|${e}`:e),am(n,i,t);return}let u=X(a,s);if(Array.isArray(u))for(let e of u){let a=e.key||t;r.append(a,String(e.value)),am(n,i,t)}else r.append(t,String(u)),am(n,i,t)},af=(e,t,a,r)=>{let n=I(t,a);if(Array.isArray(n))for(let t of n){let a=t.key||e;r.push((0,ad.v)(au.w6,{name:a,value:String(t.value),path:"/"}))}else r.push((0,ad.v)(au.w6,{name:e,value:String(n),path:"/"}))},ag=({exampleName:e,globalCookies:t,method:a,operation:n,path:o,proxyUrl:i,server:u,defaultHeaders:d,isElectron:p,selectedSecuritySchemes:m,requestBodyCompositionSelection:h})=>{let f=(0,r.A)(n.requestBody),g=((e=[],t="default")=>{let a={cookies:[],headers:{},pathVariables:{},allowReservedQueryParameters:new Set,urlParams:new URLSearchParams};if(0===e.length)return a;for(let n of e){let e=(0,r.A)(n),o=l(e,t,void 0);if(!o||t6(e,o))continue;let i=t1(o.value,e),c=e.name;switch(e.in){case"header":{if("content-type"===c.toLowerCase()&&"multipart/form-data"===i)break;let t=U(i,ap(e,!1));if(!(0,s.O)(t))break;let r=String(t);a.headers[c]?a.headers[c]=`${a.headers[c]},${r}`:a.headers[c]=r;break}case"path":{let t=U(i,ap(e,!1));a.pathVariables[c]=String(t);break}case"query":ah(e,c,i,a.urlParams,a.allowReservedQueryParameters);break;case"cookie":af(c,i,ap(e,!0),a.cookies)}}return a})(n.parameters??[],e),v=aa(m),y=new Headers({...ao(n,e,d,{hideOverriddenHeaders:!1,hideDisabledHeaders:!0}),...g.headers}),b=(0,at.Ik)(a)?((e,t="default",a)=>{if(!e)return null;let n=T(e,t);if(!n)return null;let o=P(e,n,t,a);if(!o)return null;if(("multipart/form-data"===n||"application/x-www-form-urlencoded"===n)&&Array.isArray(o.value)){let t=(Array.isArray(o.value)?o.value:[]).filter(e=>!e.isDisabled),a="multipart/form-data"===n?{mode:"formdata",value:[]}:{mode:"urlencoded",value:[]},l="formdata"===a.mode?(0,r.A)(e.content[n]?.schema,r.F):void 0,s="formdata"===a.mode?M(l):()=>!1,i=[],u=new Map;for(let e of t){if(!s(e.name,e.value)){i.push(e);continue}let t=e.name.split("."),a=t[0];if(!a)continue;let r=u.get(a);r||(r={},u.set(a,r),i.push({name:a,value:r})),(0,ai.u)(r,t.slice(1),Q(e.value,j(l,t)))}return i.forEach(({name:t,value:r})=>{if(!t)return;let o=e.content[n]?.encoding?.[t],l=N(t,r,o);if(l){for(let e of l)a.value.push({type:"text",key:e.key,value:e.value});return}let s="formdata"===a.mode?o?.contentType:void 0;if(r instanceof File&&"formdata"===a.mode){let e=(0,c.s)(r),n=s&&s!==e.type?new File([e],e.name,{type:s,lastModified:e.lastModified}):e;return a.value.push({type:"file",key:t,value:n,contentType:s})}if(null!=r){let e="object"==typeof r&&null!==r?JSON.stringify((0,c.s)(r)):String(r);return"formdata"===a.mode&&s?a.value.push({type:"blob",key:t,value:new Blob([e],{type:s}),contentType:s}):a.value.push({type:"text",key:t,value:e})}}),a}if("application/x-www-form-urlencoded"===n&&(0,as.G)(o.value)){let t={mode:"urlencoded",value:[]};for(let[a,r]of Object.entries(o.value))if(a&&null!=r){let o=e.content[n]?.encoding?.[a],l=N(a,r,o);if(l){for(let e of l)t.value.push({key:e.key,value:e.value});continue}let s="object"==typeof r&&null!==r?JSON.stringify((0,c.s)(r)):String(r);t.value.push({key:a,value:s})}return t}if("multipart/form-data"===n&&(0,as.G)(o.value)){let t={mode:"formdata",value:[]};for(let[a,r]of Object.entries(o.value)){if(!a||null==r)continue;let o=e.content[n]?.encoding?.[a],l=N(a,r,o);if(l){for(let e of l)t.value.push({type:"text",key:e.key,value:e.value});continue}let s=ac(e,n,a);if(r instanceof File){let e=(0,c.s)(r),n=s&&s!==e.type?new File([e],e.name,{type:s,lastModified:e.lastModified}):e;t.value.push({type:"file",key:a,value:n,contentType:s});continue}let i="object"==typeof r&&null!==r?JSON.stringify((0,c.s)(r)):String(r);if(s){t.value.push({type:"blob",key:a,value:new Blob([i],{type:s}),contentType:s});continue}t.value.push({type:"text",key:a,value:i})}return t}let l=null!==o.value&&"object"==typeof o.value?(0,c.s)(o.value):o.value;return l instanceof File?{mode:"raw",value:l,contentType:l.type}:"object"==typeof l?{mode:"raw",value:JSON.stringify(l),contentType:"application/json"}:{mode:"raw",value:l}})(f,e,h):null;(b?.mode==="formdata"||b?.mode==="urlencoded")&&y.delete("Content-Type");let O=t9(u),k=(0,F.xG)(u?.url??"",O),x=n["x-scalar-disable-parameters"]?.["global-cookie
7s"]?.[e]??{},w=[...t.map(e=>({...e,isDisabled:(e.isDisabled||x[e.name.toLowerCase()])??!1})),...g.cookies],S=y.get("Accept"),C=S?.toLowerCase().includes("text/event-stream")??!1;return C&&(y.set("Cache-Control","no-cache"),y.set("Pragma","no-cache")),{request:{baseUrl:k,proxyUrl:i,path:{variables:g.pathVariables,raw:o},query:g.urlParams,method:a.toUpperCase(),headers:y,body:b,cookies:w,cache:C?"no-store":"default",security:v,options:{isElectron:p},allowedReservedQueryParameters:g.allowReservedQueryParameters}}};var av=a(24252),ay=a(53659),ab=a(78432);let aO=(e=[],t=[])=>{let a=new Set(t.flatMap(e=>{let t=(0,r.A)(e);return t?`${t.in}:${t.name}`:[]}));return[...e.filter(e=>{let t=(0,r.A)(e);return!!t&&!a.has(`${t.in}:${t.name}`)}),...t]},ak=(e,t)=>void 0===e?"web"===t?"https://proxy.scalar.com":null:e,ax=(e,t)=>"[{}]"===JSON.stringify(t)&&e?.length?e.find(e=>"{}"===JSON.stringify(e))?e:[...e,{}]:t??e??[];var aw=a(21502);let aS=(e,t)=>(0,aw.u)(t).flatMap(t=>{let a=(0,r.A)(e?.[t]);return a||[]});var aC=a(88044),a$=a(37560),aA=a(95589);function aR(e,t={}){return Array.isArray(e)?e.map(e=>{var a,r;return a=e,r=t,a.url?.startsWith("/")&&(a.url=function(e,t){let{baseServerUrl:a,documentUrl:r}=t;if(a)return(0,er.Dk)(a,e);if(r){let t=function(e){try{let t=new URL(e),a=t.port?`:${t.port}`:"";return`${t.protocol}//${t.hostname}${a}`}catch{return}}(r);if(t)return(0,er.Dk)(t,e)}let n=function(){if("u">typeof window&&"string"==typeof window?.location?.origin)return window.location.origin}();return n?(0,er.Dk)(n,e):e}(a.url,r)),a}):[]}let aE=(e,t,a,r)=>{let n=(0,aA.yF)(e)?e["x-scalar-selected-server"]:void 0,o=null!=a?n:t?.["x-scalar-selected-server"]??n;return null==o?r[0]??null:r.find(({url:e})=>e===o)??null},aP=(e,t,a,n={})=>{let{path:o,method:l,exampleName:s,isWebhook:i=!1}=a,c=e.workspace.documents[t]??n.fallbackDocument??void 0;if(!c)return{ok:!1,error:`Document ${t} not found`};if(!(0,aA.yF)(c))return{ok:!1,error:`Document ${t} is not an OpenAPI document`};let u=(0,ab.Nv)(i?c.webhooks?.[o]:c.paths?.[o]);if(!u)return{ok:!1,error:i?`Webhook ${o} not found`:`Path ${o} not found`};let d=(0,r.A)((0,ab.Cu)(u,l));if(!d)return{ok:!1,error:i?`Method ${l} not found on webhook ${o}`:`Method ${l} not found on path ${o}`};let p={...d,parameters:aO(u.parameters,d.parameters??[])},m=(0,ay.O)(e,c),h=aR(i?n.servers??p.servers:n.servers??p.servers??c.servers,{baseServerUrl:n.baseServerUrl,documentUrl:c["x-scalar-original-source-url"]}),f=aE(c,p,n.servers??null,h),g=e.auth.getAuthSelectedSchemas({type:"document",documentName:t}),v=e.auth.getAuthSelectedSchemas({type:"operation",documentName:t,path:o??"",method:l??"get"}),y=(0,a$.p)(c.components?.securitySchemes??{},n.authentication?.securitySchemes??{},e.auth,t),b=ax(c.security,p.security),O=(0,aC.Y)(g,v,b,y,n.authentication?.preferredSecurityScheme),k=aS(y,O.selectedSchemes[O.selectedIndex]??{}),x=i||null==p.servers?{type:"document"}:{type:"operation",path:o??"",method:l??"get"},w=void 0!==v?{type:"operation",path:o??"",method:l??"get"}:{type:"document"},S=ak(e.workspace["x-scalar-active-proxy"],n.layout??"other"),C=al({method:l,operation:p,exampleName:s,options:{appVersion:n.appVersion??"0.0.0",isElectron:n.isElectron??!1}});return{ok:!0,data:{operation:p,environment:m,cookies:{workspace:e.workspace["x-scalar-cookies"]??[],document:c["x-scalar-cookies"]??[]},headers:{default:C},servers:{list:h,selected:f,meta:x},proxy:{url:S},security:{schemes:y,requirements:b,selected:O,selectedSchemes:k,meta:w}}}};var aT=a(2829);function a_(){let e=[],t=[],a=[],r=[];return{getEnvironment:()=>e,getGlobals:()=>a,getCollectionVariables:()=>t,getData:()=>({}),getLocalVariables:()=>r,setLocalVariables:e=>{r.length=0,r.push(...e)},setCollectionVariables:e=>{t.length=0,t.push(...e)},setEnvironment:t=>{e.length=0,e.push(...t)},setGlobals:e=>{a.length=0,a.push(...e)},getVariables:()=>Object.fromEntries([...a,...t,...e,...r].map(e=>[e.key,e.value]))}}},23387:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconArrowUp",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M208.49,120.49a12,12,0,0,1-17,0L140,69V216a12,12,0,0,1-24,0V69L64.49,120.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0l72,72A12,12,0,0,1,208.49,120.49Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M200,112H56l72-72Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M205.66,106.34l-72-72a8,8,0,0,0-11.32,0l-72,72A8,8,0,0,0,56,
7120h64v96a8,8,0,0,0,16,0V120h64a8,8,0,0,0,5.66-13.66ZM75.31,104,128,51.31,180.69,104Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M207.39,115.06A8,8,0,0,1,200,120H136v96a8,8,0,0,1-16,0V120H56a8,8,0,0,1-5.66-13.66l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,207.39,115.06Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M204.24,116.24a6,6,0,0,1-8.48,0L134,54.49V216a6,6,0,0,1-12,0V54.49L60.24,116.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0l72,72A6,6,0,0,1,204.24,116.24Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M202.83,114.83a4,4,0,0,1-5.66,0L132,49.66V216a4,4,0,0,1-8,0V49.66L58.83,114.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0l72,72A4,4,0,0,1,202.83,114.83Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},23803:(e,t,a)=>{"use strict";a.d(t,{$Z:()=>n,qK:()=>o});var r=a(26388),n=e=>e??"text/plain;charset=UTF-8",o=e=>(0,r.E)(n(e))},23867:(e,t,a)=>{"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}a.d(t,{_:()=>r})},24252:(e,t,a)=>{"use strict";a.d(t,{L:()=>n,P:()=>l});let r=["userPassword","plain","scramSha256","scramSha512"],n=e=>!!e&&r.includes(e),o=["symmetricEncryption","asymmetricEncryption"],l=e=>!!e&&o.includes(e)},24330:(e,t,a)=>{"use strict";a.d(t,{$:()=>l,S:()=>o});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-variable":r.ZU.Optional(r.ZU.String())}),l=(0,n.Ik)({"x-variable":(0,n.lq)((0,n.Yj)())},{typeName:"XVariable",typeComment:"Variable reference for a schema property"})},24445:(e,t,a)=>{"use strict";a.d(t,{L:()=>o,S:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-internal":r.ZU.Optional(r.ZU.Boolean())}),l=(0,n.Ik)({"x-internal":(0,n.lq)((0,n.zM)({typeComment:"Extension to mark an entity as internal"}))},{typeName:"XInternal",typeComment:"Extension to mark an entity as internal"})},24766:(e,t,a)=>{"use strict";a.d(t,{iy:()=>s,fS:()=>r.f});var r=a(94902);a(25049);var n=a(38547),o=a(10779);a(56942);var l=a(61930),s=(0,n.pM)({__name:"ScalarTooltip",props:{content:{default:""},delay:{default:()=>300},placement:{default:"top"},offset:{default:()=>4}},setup(e){let t=(0,o.KR)(null);return(0,r.f)({content:(0,n.EW)(()=>e.content),delay:(0,n.EW)(()=>e.delay),placement:(0,n.EW)(()=>e.placement),offset:(0,n.EW)(()=>e.offset),targetRef:(0,n.EW)(()=>t.value?.children?.[0]||t.value||void 0)}),(e,a)=>((0,n.uX)(),(0,n.CE)("div",{ref_key:"wrapperRef",ref:t,class:(0,l.C4)({contents:!!e.$slots.default})},[(0,n.RG)(e.$slots,"default")],2))}})},25049:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var r=a(47814),n=a(8873),o=a(38547),l=a(61930),s=a(10779),i={"aria-hidden":"true",class:"contents"},c={class:"sr-only"},u=(0,o.pM)({inheritAttrs:!1,__name:"ScalarHotkey",props:{hotkey:{},modifier:{default:()=>["Meta"]}},setup(e){let{cx:t}=(0,n.AX)(),a=(0,o.EW)(()=>(0,r.fT)(e.hotkey,e.modifier));return(e,n)=>((0,o.uX)(),(0,o.CE)("div",(0,l._B)((0,o.Ng)((0,s.R1)(t)("border-(--scalar-background-3) inline-flex gap-0.5 overflow-hidden rounded border text-xxs rounded-b p-1 font-medium uppercase leading-none"))),[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(a.value,(e,t)=>((0,o.uX)(),(0,o.CE)("div",{key:t},[(0,o.Lk)("span",i,(0,l.v_)(e),1),(0,o.Lk)("span",c,(0,l.v_)((0,s.R1)(r.iU)(e)),1)]))),128))],16))}})},25917:(e,t,a)=>{"use strict";a.d(t,{X:()=>i});var r=a(38547),n=a(10779),o=a(61930),l={key:1,class:"rounded border bg-b-2 p-3 text-sm"},s={key:0,class:"mt-2 rounded border bg-b-1 p-2 font-code text-c-2"},i=(0,r.pM)({__name:"ScalarErrorBoundary",setup(e){let t=(0,n.KR)(!1),a=(0,n.KR)();return(0,r.qG)((e,r,n)=>(console.error("[ERROR]",e,n),t.value=!0,a.value=e,!1)),(e,n)=>t.value?((0,r.uX)(),(0,r.CE)("div",l,[n[0]||(n[0]=(0,r.Lk)("div",{class:"p-2"},"Oops, something went wrong here.",-1)),a.value?((0,r.uX)(),(0,r.CE)("div",s,(0,o.v_)(a.value?.name)+": "+(0,o.v_)(a.value?.message),1)):(0,r.Q3)("",!0)])):(0,r.RG)(e.$slots,"default",{},void 0,void 0,0)}})},26388:(e,t,a)=>{"use strict";a.d(t,{E:()=>o});let r=/^[!#$%&'*+\-.^_`|~A-Za-z0-9]+$/,n=e=>{let[t="",a=""]=e.split("/",2),n=t.trim().toLowerCase(),o=a.trim().toLowerCase();if(!n||!o||!r.test(n)||!r.test(o))throw Error(`Invalid MIME type: "${e}"`);return{essence:`${n}/${o}`,type:n,subtype:o}},o=(e="text/plain")=>{let t,[a="",...o]=e.split(";");try{t=n(a)}catch{t=n("text/plain")}let{essence:l,type:s,subtype:i}=t,c=new Map;
7return o.forEach(e=>{let t=(e=>{let t=e.indexOf("=");if(-1===t)return null;let a=e.slice(0,t).trim().toLowerCase();if(!a||!r.test(a))return null;let n=e.slice(t+1).trim();return n?n.startsWith('"')&&n.endsWith('"')&&n.length>=2?[a,n.slice(1,-1).replaceAll(/\\(["\\])/g,"$1")]:[a,n]:null})(e);if(!t)return;let[a,n]=t;c.set(a,n)}),{essence:l,type:s,subtype:i,parameters:c,toString:()=>{let e=Array.from(c.entries()).map(([e,t])=>{let a,n=r.test(t)?t:(a=t.replaceAll(/(["\\])/g,"\\$1"),`"${a}"`);return`${e}=${n}`});return e.length?`${l}; ${e.join("; ")}`:l}}}},26555:(e,t,a)=>{"use strict";a.d(t,{_:()=>n,ok:()=>r});let r=e=>({ok:!0,data:e}),n=(e,t)=>({ok:!1,error:e,message:t})},26996:(e,t,a)=>{"use strict";a.d(t,{z:()=>x,G:()=>n.A});var r=a(57319),n=a(96677),o=a(8873),l=a(38547),s=a(61930),i=a(10779),c=a(89683),u=a(31790),d=a(11932);function p(e){return e?.type==="text"}function m(e){return e?.type==="element"}function h(e){return{type:"text",value:e}}function f(){return e=>{(0,d.t)(e,"element",(e,t,a)=>{if(a?.type==="element"&&"pre"===a.tagName&&"code"===e.tagName){let t=0;e.children=function e(t,a=[],r){let n=()=>a[a.length-1]??(a.push(g())&&a[a.length-1]||void 0);return t.children.forEach(o=>{if(p(o)&&v(o)){let e=o.value.split(/\n/);e.forEach((o,l)=>{r?n()?.children.push({...t,children:[h(o)]}):n()?.children.push(h(o)),l!==e.length-1&&a.push(g())})}else m(o)&&o.children.some(v)?e(o,a,!0):n()?.children.push(o)}),a}(e),e.children.forEach(e=>{if("element"===e.type&&"span"===e.tagName){let a=e.children[e.children.length-1];a&&(!p(a)||p(a)&&!v(a))&&(e.children.push({type:"text",value:"\n"}),t++)}}),e.properties.style=[`--line-count: ${t};`,`--line-digits: ${t.toString().length};`]}})}}function g(...e){return{type:"element",tagName:"span",properties:{class:["line"]},children:e}}function v(e){return p(e)&&/\r?\n/.test(e.value)||m(e)&&e.children.some(v)}var y=a(4594),b=a(15106),O={tabindex:"0",class:"custom-scroll overflow-x-auto p-2 -outline-offset-2 rounded-[inherit] min-h-0 min-w-0 flex-1"},k=["id","innerHTML"],x=(0,l.pM)({inheritAttrs:!1,__name:"ScalarCodeBlock",props:{content:{},prettyPrintedContent:{},lang:{default:"plaintext"},lineNumbers:{type:Boolean,default:!1},hideCredentials:{},copy:{type:[String,Boolean],default:"hover"}},setup(e){let t=(0,l.Bi)(),a=(0,l.EW)(()=>e.prettyPrintedContent||(0,b.q)(e.content??"")),p=(0,l.EW)(()=>{var t,r,n;let o,l,s;return(t=a.value,r={lang:e.lang.trim(),languages:y.t,lineNumbers:e.lineNumbers,maskCredentials:e.hideCredentials},o=("string"==typeof r?.maskCredentials?[r.maskCredentials]:r?.maskCredentials??[]).filter(e=>!(e.length<3)),l=`language-${c.i[r.lang]??r.lang}`,s=(0,u.t)().use(u.s,{fragment:!0}).use((n=t,()=>e=>{(0,d.t)(e,"element",e=>{"code"===e.tagName&&e.children.push({type:"text",value:n})})})).use(c.t,{languages:r.languages}).use(r?.lineNumbers?f:()=>{}).use(u.n).processSync(`<pre><code class="${l}"></code></pre>`).toString(),o.length?o.reduce((e,t)=>e.split(t).join(`<span class="credential"><span class="credential-value">${t}</span></span>`),s):s).slice(5,-6)}),m=(0,l.EW)(()=>!a.value.includes("\n")),h=(0,l.EW)(()=>null!==a.value&&"null"!==a.value&&"404 Not Found"!==a.value),g=(0,l.EW)(()=>e.copy&&h.value),v=(0,l.EW)(()=>m.value&&g.value),{cx:x}=(0,o.AX)();return(o,c)=>((0,l.uX)(),(0,l.CE)("div",(0,s._B)((0,l.Ng)((0,i.R1)(x)("scalar-code-block group/code-block flex flex-col","relative bg-b-1 min-h-0 min-w-0 focus-visible:outline"))),[(0,l.Lk)("div",O,[(0,l.Lk)("pre",{id:(0,i.R1)(t),class:(0,s.C4)(["m-0 bg-transparent text-nowrap whitespace-pre w-fit",{"pr-6":v.value}]),innerHTML:p.value},null,10,k)]),g.value?((0,l.uX)(),(0,l.Wv)((0,i.R1)(n.A),{key:0,class:(0,s.C4)(["scalar-code-copy absolute",[m.value?"top-1/2 -translate-y-1/2 m-0 right-1":"top-2.5 right-2.5",{"opacity-100":"always"===e.copy}]]),content:a.value,showLang:!m.value,lang:e.lang,"aria-controls":(0,i.R1)(t)},{backdrop:(0,l.k6)(()=>[(0,l.bF)(r.A,{class:(0,s.C4)(["scalar-code-copy-backdrop",[m.value?"-inset-y-0.75 -right-1 group-hocus-within/code-block:-left-0.5 left-3":"-right-1.5 -top-1"]])},null,8,["class"])]),_:1},8,["class","content","showLang","lang","aria-controls"])):(0,l.Q3)("",!0)],16))}})},27231:(e,t,a)=>{"use strict";a.d(t,{h:()=>i});var r=a(42694),n=a(51316),o=a(72560),l=a(70470),s=a(45910);let i={schema:e=>{if(void 0===e)return;let t=(0,n.A)(e,n.F);return(0,l.v)((0,o.Z)(s.IG,r.ZU.Object({$ref:r.ZU.Optional(r.ZU.String())})),t)}}},27279:(e,t,a)=>{"use strict";a.d(t,{K:()=>o,T:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-draft-examples":r.ZU.Optional(r.ZU.Array(r.ZU.String()))}),l=(0,n.Ik)({"x-draft-examples":(0,n.lq)((0,n.YO)((0,n.Yj)()))},{typeName:"XDraftExamples",typeComment:"Draft example identifiers for an operation"})},27417:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var r=a(57443),n=a(38547),o=a(61930),l=a(10779),s=a(8873),i=a(37862),c=["aria-label","checked","disabled"],u=(0,n.pM)({__name:"DataTableCheckbox",props:{modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:"center"},ariaLabel:{default:"Toggle"}},emits:["update:modelValue"],setup(e){let t=(0,s.Fj)({base:"w-8 h-8 flex items-center justify-center text-b-2 peer-checked:text-c-1 pointer-events-none absolute",variants:{align:{left:"left-0",center:"centered"}}});return(a,s)=>((0,n.uX)(),(0,n.Wv)(r.A,{class:"group/cell relative flex min-w-8"},{default:(0,n.k6)(()=>[(0,n.Lk)("input",{"aria-label":e.ariaLabel,checked:e.modelValue,class:"peer absolute inset-0 size-full cursor-pointer opacity-0 disabled:cursor-default",disabled:!!e.disabled,type:"checkbox",onChange:s[0]||(s[0]=e=>a.$emit("update:modelValue",e.target.checked))},null,40,c),(0,n.Lk)("div",{class:(0,o.C4)((0,l.R1)(t)({align:e.align}))},[(0,n.Lk)("div",{class:(0,o.C4)(["absolute m-auto size-3/4 rounded border-[1px] opacity-0",!e.disabled&&"group-has-[:focus-visible]/cell:border-c-accent group-hover:opacity-100 group-has-[:focus-visible]/cell:opacity-100"])},null,2),(0,n.bF)((0,l.R1)(i.k),{icon:"Checkmark",size:"xs",thickness:"2.5"})],2)]),_:1}))}})},27491:(e,t,a)=>{"use strict";a.d(t,{ym:()=>s,t$:()=>Q,wF:()=>M,J8:()=>c,Sk:()=>L,HJ:()=>Z,cL:()=>X});var r=a(38547),n=a(61930),o=a(4356),l=a(83031),s=(0,r.pM)({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=(0,r.EW)(()=>(0,o.g)(String(e.method||""))),a=(0,r.EW)(()=>(0,l.F)(e.method));return(o,l)=>((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.as??"span"),{class:"uppercase",style:(0,n.Tr)({[e.property||"color"]:t.value.color
7Var})},{default:(0,r.k6)(()=>[(0,r.RG)(o.$slots,"default"),(0,r.eW)(" "+(0,n.v_)(e.short?t.value.short:a.value),1)]),_:3},8,["style"]))}}),i=new Set(["document","operation","example","tag","webhook"]),c=(e,t,a)=>a&&1===t.length&&t[0]?.type==="example"&&t[0]?.name==="default"?[]:"reference"===e?t:t.filter(e=>i.has(e.type)),u=a(10779),d=(0,a(8873).Fj)({base:"relative after:absolute after:inset-x-0 after:block after:bg-blue after:opacity-15 after:pointer-events-none after:rounded",variants:{position:{before:"after:-top-0.5 after:h-0.75",after:"after:-bottom-0.5 after:h-0.75",into:"after:inset-0"}}}),p=(0,u.KR)(null),m=(0,u.KR)(null),h=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a},f=a(72312),g={class:"sr-only"},v=h((0,r.pM)({__name:"SidebarHttpBadge",props:{method:{},active:{type:Boolean},label:{},webhook:{type:Boolean}},setup:e=>(t,a)=>((0,r.uX)(),(0,r.Wv)(s,{class:(0,n.C4)(["sidebar-heading-type",`sidebar-heading-type--${e.method.toLowerCase()}`,{"sidebar-heading-type-active":e.active}]),method:e.method,property:"--method-color",short:""},{default:(0,r.k6)(()=>[(0,r.Lk)("span",g,(0,n.v_)(e.label??"HTTP Method")+":\xa0",1),(0,r.RG)(t.$slots,"default",{},()=>[e.webhook?((0,r.uX)(),(0,r.Wv)((0,u.R1)(f.A),{key:0,style:(0,n.Tr)({color:(0,u.R1)(o.g)(e.method).colorVar}),weight:"bold"},null,8,["style"])):(0,r.Q3)("",!0)],!0)]),_:3},8,["class","method"]))}),[["__scopeId","data-v-bdef8365"]]),y={class:"absolute top-[1lh] right-0.75 flex -translate-y-1/2 opacity-0 peer-hover/button:opacity-100 peer-focus-visible/button:opacity-100 focus-within:opacity-100 hover:opacity-100 has-[&[aria-expanded=true]]:opacity-100"},b=h({},[["render",function(e,t){return(0,r.uX)(),(0,r.CE)("div",y,[(0,r.RG)(e.$slots,"default")])}]]),O=e=>"children"in e&&Array.isArray(e.children)&&e.children.length>0,k=(e,t,a,r)=>O(t)?(!r||"operation"!==t.type||t.children?.length!==1||t.children[0]?.type!=="example"||t.children[0]?.name!=="default")&&("client"===e||"reference"===e&&"operation"!==t.type&&"webhook"!==t.type):"client"===e&&!!a&&("document"===t.type||"tag"===t.type),x=a(42187),w=(0,r.pM)({__name:"SidebarItemLabel",props:{item:{},operationTitleSource:{}},setup:e=>(t,a)=>"model"===e.item.type||"example"===e.item.type?((0,r.uX)(),(0,r.Wv)((0,u.R1)(x.A),{key:0,preset:"property",text:e.item.title},null,8,["text"])):((0,r.uX)(),(0,r.Wv)((0,u.R1)(x.A),{key:1,text:"path"===e.operationTitleSource&&"path"in e.item?e.item.path:e.item.title},null,8,["text"]))}),S=a(76610),C=a(8726),$=Object.assign({
7"./icons/basic-shape-diamond.svg":()=>a.e(7746).then(a.bind(a,27746)),
7"./icons/basic-shape-hexagon.svg":()=>a.e(362).then(a.bind(a,10362)),
7"./icons/basic-shape-primary-circle-ellipse-round.svg":()=>a.e(3357).then(a.bind(a,33357)),
7"./icons/basic-shape-primary-square-rectangle.svg":()=>a.e(148).then(a.bind(a,148)),
7"./icons/basic-shape-shield.svg":()=>a.e(535).then(a.bind(a,80535)),
7"./icons/computer-device-desktop-monitor.svg":()=>a.e(4885).then(a.bind(a,94885)),
7"./icons/computer-device-desktop.svg":()=>a.e(6038).then(a.bind(a,46038)),
7"./icons/computer-device-laptop.svg":()=>a.e(9018).then(a.bind(a,29018)),
7"./icons/computer-device-mobile-phone-android-samsung-back.svg":()=>a.e(2998).then(a.bind(a,2998)),
7"./icons/computer-device-mobile-phone-android-samsung.svg":()=>a.e(6694).then(a.bind(a,6694)),
7"./icons/computer-device-mobile-phone-iphone-x-back.svg":()=>a.e(4440).then(a.bind(a,84440)),
7"./icons/computer-device-mobile-phone-iphone-x.svg":()=>a.e(6208).then(a.bind(a,13827)),
7"./icons/computer-device-mobile-tablet-touch.svg":()=>a.e(8937).then(a.bind(a,18937)),
7"./icons/computer-device-mobile-tablet.svg":()=>a.e(9071).then(a.bind(a,69071)),
7"./icons/computer-device-network-ethernet-cat6.svg":()=>a.e(5393).then(a.bind(a,25393)),
7"./icons/computer-device-network-lan-www.svg":()=>a.e(8200).then(a.bind(a,88200)),
7"./icons/computer-device-network-wifi-connection.svg":()=>a.e(8409).then(a.bind(a,48409)),
7"./icons/computer-device-network-wifi-router.svg":()=>a.e(7556).then(a.bind(a,97556)),
7"./icons/ecology-science-erlenmeyer-flask.svg":()=>a.e(2535).then(a.bind(a,82535)),
7"./icons/image-flash-lightning.svg":()=>a.e(9156).then(a.bind(a,79156)),
7"./icons/image-picture-flower.svg":()=>a.e(3017).then(a.bind(a,63017)),
7"./icons/interface-alert-exclamation-diamond.svg":()=>a.e(9864).then(a.bind(a,69864)),
7"./icons/interface-alert-exclamation-triangle-warning.svg":()=>a.e(749).then(a.bind(a,70749)),
7"./icons/interface-alert-information-circle.svg":()=>a.e(4265).then(a.bind(a,44265)),
7"./icons/interface-award-crown.svg":()=>a.e(420).then(a.bind(a,80420)),
7"./icons/interface-bookmark-tag.svg":()=>a.e(1360).then(a.bind(a,91360)),
7"./icons/interface-bookmark.svg":()=>a.e(1185).then(a.bind(a,61185)),
7"./icons/interface-calendar-date-one.svg":()=>a.e(3175).then(a.bind(a,23175)),
7"./icons/interface-content-book-open-pages.svg":()=>a.e(9330).then(a.bind(a,99330)),
7"./icons/interface-content-book-page.svg":()=>a.e(3308).then(a.bind(a,43308)),
7"./icons/interface-content-file.svg":()=>a.e(1471).then(a.bind(a,11471)),
7"./icons/interface-content-folder.svg":()=>Promise.resolve().then(a.bind(a,8726)),
7"./icons/interface-copy-clipboard.svg":()=>a.e(8891).then(a.bind(a,68891)),
7"./icons/interface-edit-attachment.svg":()=>a.e(4957).then(a.bind(a,54957)),
7"./icons/interface-edit-binocular.svg":()=>a.e(2017).then(a.bind(a,32017)),
7"./icons/interface-edit-magic-wand.svg":()=>a.e(9248).then(a.bind(a,19248)),
7"./icons/interface-edit-tool-paint-roller.svg":()=>a.e(6626).then(a.bind(a,46626)),
7"./icons/interface-edit-tool-pencil.svg":()=>a.e(7848).then(a.bind(a,77848)),
7"./icons/interface-favorite-award.svg":()=>a.e(657).then(a.bind(a,20657)),
7"./icons/interface-favorite-flag.svg":()=>a.e(6550).then(a.bind(a,46550)),
7"./icons/interface-favorite-heart.svg":()=>a.e(9904).then(a.bind(a,59904)),
7"./icons/interface-favorite-star.svg":()=>a.e(1420).then(a.bind(a,1420)),
7"./icons/interface-favorite-stars-sparkles.svg":()=>a.e(2775).then(a.bind(a,32775)),
7"./icons/interface-hierarchy-flowchart.svg":()=>a.e(2481).then(a.bind(a,2481)),
7"./icons/interface-home-house.svg":()=>a.e(1499).then(a.bind(a,51499)),
7"./icons/interface-hyperlink.svg":()=>a.e(6533).then(a.bind(a,96533)),
7"./icons/interface-lighting-brightness.svg":()=>a.e(7227).then(a.bind(a,47227)),
7"./icons/interface-lock-closed.svg":()=>a.e(3905).then(a.bind(a,53905)),
7"./icons/interface-lock-open-unlock.svg":()=>a.e(7980).then(a.bind(a,7980)),
7"./icons/interface-login-key.svg":()=>a.e(3776).then(a.bind(a,3776)),
7"./icons/interface-search.svg":()=>a.e(8565).then(a.bind(a,48565)),
7"./icons/interface-setting-cog.svg":()=>a.e(4637).then(a.bind(a,74637)),
7"./icons/interface-share-megaphone-bullhorn.svg":()=>a.e(178).then(a.bind(a,178)),
7"./icons/interface-share-rocket.svg":()=>a.e(6263).then(a.bind(a,76263)),
7"./icons/interface-share-satellite.svg":()=>a.e(5092).then(a.bind(a,45092)),
7"./icons/interface-share-space-ship.svg":()=>a.e(772).then(a.bind(a,70772)),
7"./icons/interface-share.svg":()=>a.e(2940).then(a.bind(a,82940)),
7"./icons/interface-signal-square.svg":()=>a.e(2483).then(a.bind(a,52483)),
7"./icons/interface-time-clock-circle.svg":()=>a.e(1022).then(a.bind(a,61022)),
7"./icons/interface-time-hour-glass.svg":()=>a.e(9988).then(a.bind(a,79988)),
7"./icons/interface-users-multiple.svg":()=>a.e(7674).then(a.bind(a,67674)),
7"./icons/interface-weather-moon.svg":()=>a.e(3827).then(a.bind(a,43827)),
7"./icons/mail-chat-bubble-square.svg":()=>a.e(4110).then(a.bind(a,44110)),
7"./icons/mail-send-email-paper-airplane.svg":()=>a.e(5892).then(a.bind(a,85892)),
7"./icons/mail-send-envelope.svg":()=>a.e(8216).then(a.bind(a,28216)),
7"./icons/money-cashier-receipt.svg":()=>a.e(3732).then(a.bind(a,33732)),
7"./icons/money-currency-dollar-pay.svg":()=>a.e(5411).then(a.bind(a,85411)),
7"./icons/money-graph-arrow-increase.svg":()=>a.e(9603).then(a.bind(a,49603)),
7"./icons/money-graph-bar-chart-increase.svg":()=>a.e(2996).then(a.bind(a,32996)),
7"./icons/nature-ecology-leaf.svg":()=>a.e(988).then(a.bind(a,30988)),
7"./icons/phone-telephone.svg":()=>a.e(1964).then(a.bind(a,11964)),
7"./icons/programming-bug.svg":()=>a.e(6103).then(a.bind(a,86103)),
7"./icons/programming-cloud.svg":()=>a.e(8384).then(a.bind(a,98384)),
7"./icons/programming-computer-database-server.svg":()=>a.e(412).then(a.bind(a,10412)),
7"./icons/programming-computer-database.svg":()=>a.e(7468).then(a.bind(a,37468)),
7"./icons/programming-module-four-layout.svg":()=>a.e(8227).then(a.bind(a,98227)),
7"./icons/programming-module-three.svg":()=>a.e(1242).then(a.bind(a,31242)),
7"./icons/programming-module.svg":()=>a.e(4359).then(a.bind(a,54359)),
7"./icons/programming-script-code.svg":()=>a.e(4270).then(a.bind(a,4270)),
7"./icons/shopping-cart.svg":()=>a.e(6108).then(a.bind(a,16108)),
7"./icons/shopping-gift-present.svg":()=>a.e(7462).then(a.bind(a,57462)),
7"./icons/shopping-shipping-box-parcel-package.svg":()=>a.e(2987).then(a.bind(a,72987)),
7"./icons/tag-new-circle.svg":()=>a.e(2617).then(a.bind(a,62617)),
7"./icons/travel-map-earth-globe.svg":()=>a.e(7777)
7.then(a.bind(a,87777))}),A=Object.assign({"./icons/interface-content-folder.svg":C.interface_content_folder_exports})["./icons/interface-content-folder.svg"];Object.keys($).map(e=>e.replace("./icons/","").replace(".svg","")).map(e=>({src:e,title:e.replaceAll("-"," "),tags:[]}));var R=new Map;async function E(e){let t=R.get(e);if(t)return t;let a=$[`./icons/${e}.svg`];if(!a)return;let r=await a(),n=(0,u.IG)(r.default??r);return R.set(e,n),n}A?.default&&R.set("interface-content-folder",(0,u.IG)(A.default));var P=(0,r.pM)({__name:"LibraryIcon",props:{src:{}},setup(e){let t=(0,u.IJ)();return(0,r.nT)(async()=>{t.value=await E(e.src)}),(e,a)=>t.value?((0,r.uX)(),(0,r.Wv)((0,r.$y)(t.value),{key:0})):(0,r.Q3)("",!0)}}),T={key:0,class:"line-through"},_={key:0,class:"line-through"},j=(0,r.pM)({__name:"SidebarItem",props:{item:{},layout:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},getHref:{type:Function},isDraggable:{},isDroppable:{type:Function}},emits:["selectItem","onDragEnd","toggleGroup"],setup(e,{emit:t}){let a=(0,r.Ht)(),o=e=>("isDeprecated"in e&&e.isDeprecated)??!1,l=(e,a)=>{t("onDragEnd",e,a)},{draggableAttrs:s,draggableEvents:i}=function(e){var t;let a,{ceiling:n=.8,floor:o=.2,isDraggable:l=!0,isDroppable:s=!0,parentIds:i=[],id:c,onDragStart:h,onDragEnd:f}=e,g=(0,r.EW)(()=>i.at(-1)??null),v=(t=e=>{let t;if(!p.value||p.value.id===c||i.includes(p.value?.id??""))return;let a=m.value?.offset,r=e.target.offsetHeight,l=o*r,d=n*r,h=null;e.offsetY<=0&&a&&"after"!==a?h=a:e.offsetY<=l?h="before":e.offsetY>=d?h="after":e.offsetY>l&&e.offsetY<d&&(h="into"),t=h,("function"==typeof s?s(p.value,{id:c,parentId:g.value,offset:t}):(0,u.BA)(s))&&(m.value={id:c,parentId:g.value,offset:h})},a=!1,(...e)=>{a||(t(...e),a=!0,setTimeout(()=>a=!1,25))}),y=(0,r.EW)(()=>{let e=c===m.value?.id?m.value.offset:void 0;return e?d({position:e}):""});return{draggableAttrs:(0,r.EW)(()=>({class:y.value||void 0,draggable:!!(0,u.BA)(l)||void 0})),draggableEvents:{dragend:()=>{if(!m.value||!p.value)return;let e={...p.value},t={...m.value};p.value=null,m.value=null,document.querySelectorAll("[data-dragging]").forEach(e=>e.removeAttribute("data-dragging")),e.id!==t.id&&f?.(e,t)},dragover:e=>{e.preventDefault(),e.stopPropagation(),v(e)},dragstart:e=>{e.stopPropagation(),(e=>{if(!(0,u.BA)(l)||!e.dataTransfer||!(e.target instanceof HTMLElement))return;e.target.setAttribute("data-dragging","true"),e.dataTransfer.dropEffect="move",e.dataTransfer.effectAllowed="move";let t={id:c,parentId:g.value};p.value=t,h?.(t)})(e)}},draggingItem:p,hoveredItem:m}}({id:e.item.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,onDragEnd:l}),h=(0,r.EW)(()=>O(e.item)?c(e.layout,e.item.children,e.options?.hideOperationDefaultExamples):[]),f=(0,r.EW)(()=>e.getHref?.(e.item)||void 0),g=(0,r.EW)(()=>!!f.value||"reference"===e.layout&&"text"===e.item.type),y=a=>{if(f.value){if((a.target instanceof Element?a.target.closest("a"):null)?.getAttribute("href")!==f.value||a.defaultPrevented||!(0===a.button&&!a.metaKey&&!a.ctrlKey&&!a.shiftKey&&!a.altKey))return;a.preventDefault()}t("selectItem",e.item.id)};return(c,d)=>{let p,m=(0,r.g2)("SidebarItem",!0);return h.value.length>0&&"isGroup"in(p=e.item)&&p.isGroup?((0,r.uX)(),(0,r.Wv)((0,u.R1)(S.Kx),(0,r.v6)({key:0,"data-sidebar-id":e.item.id},(0,u.R1)(s),(0,r.Tb)((0,u.R1)(i))),{items:(0,r.k6)(()=>[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(h.value,n=>((0,r.uX)(),(0,r.Wv)(m,{key:n.id,getHref:e.getHref,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:n,layout:e.layout,options:e.options,onOnDragEnd:l,onSelectItem:d[0]||(d[0]=e=>t("selectItem",e)),onToggleGroup:d[1]||(d[1]=e=>t("toggleGroup",e))},(0,r.eX)({_:2},[a.decorator?{name:"decorator",fn:(0,r.k6)(e=>[(0,r.RG)(c.$slots,"decorator",(0,r.v6)({ref_for:!0},e))]),key:"0"}:void 0,a.empty?{name:"empty",fn:(0,r.k6)(e=>[(0,r.RG)(c.$slots,"empty",(0,r.v6)({ref_for:!0},e))]),key:"1"}:void 0,a.icon?{name:"icon",fn:(0,r.k6)(e=>[(0,r.RG)(c.$slots,"icon",(0,r.v6)({ref_for:!0},e))]),key:"2"}:void 0]),1032,["getHref","isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128))]),default:(0,r.k6)(()=>[(0,r.eW)((0,n.v_)(e.item.title)+" ",1)]),_:3},16,["data-sidebar-id"])):(0,u.R1)(k)(e.layout,e.item,void 0!==a.empty,e.options?.hideOperationDefaultExamples??!1)?((0,r.uX)(),(0,r.Wv)((0,u.R1)(S._L),(0,r.v6)({ke
7y:1,active:e.isSelected(e.item.id),class:"relative",controlled:"","data-sidebar-id":e.item.id},(0,u.R1)(s),{discrete:g.value,open:e.isExpanded(e.item.id)},(0,r.Tb)((0,u.R1)(i))),(0,r.eX)({button:(0,r.k6)(({open:l,level:s})=>[(0,r.bF)((0,u.R1)(S.dp),{is:f.value?"a":"button",active:e.isSelected(e.item.id),"aria-expanded":g.value?void 0:l,href:f.value,indent:s,onClick:y},(0,r.eX)({indent:(0,r.k6)(()=>[(0,r.bF)((0,u.R1)(S.xS),{class:"-my-2 mr-0",indent:s},null,8,["indent"])]),aside:(0,r.k6)(()=>["method"in e.item?((0,r.uX)(),(0,r.Wv)(v,{key:0,active:e.isSelected(e.item.id),class:(0,n.C4)(["ml-2 h-4 self-start",{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":a.decorator}]),label:e.options?.labels?.httpMethod,method:e.item.method,webhook:"webhook"===e.item.type},null,8,["active","class","label","method","webhook"])):(0,r.Q3)("",!0),g.value?((0,r.uX)(),(0,r.Wv)((0,u.R1)(S.qx),{key:1})):"method"in e.item?(0,r.Q3)("",!0):((0,r.uX)(),(0,r.Wv)((0,u.R1)(S.SL),{key:2,class:"text-sidebar-c-2",open:l},{label:(0,r.k6)(()=>[(0,r.eW)((0,n.v_)(l?e.options?.labels?.closeGroup??"Close Group":e.options?.labels?.openGroup??"Open Group"),1)]),_:2},1032,["open"]))]),default:(0,r.k6)(()=>[o(e.item)?((0,r.uX)(),(0,r.CE)("span",T,[(0,r.bF)(w,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"])])):((0,r.uX)(),(0,r.Wv)(w,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"]))]),_:2},["document"===e.item.type?{name:"icon",fn:(0,r.k6)(()=>[(0,r.RG)(c.$slots,"icon",{item:e.item,open:l},()=>[(0,r.bF)((0,u.R1)(P),{class:"block",src:"icon"in e.item&&e.item.icon||"interface-content-folder"},null,8,["src"])])]),key:"0"}:void 0]),1032,["is","active","aria-expanded","href","indent"]),g.value?((0,r.uX)(),(0,r.Wv)((0,u.R1)(S.eb),{key:0,open:l,onClick:d[2]||(d[2]=()=>t("toggleGroup",e.item.id))},{label:(0,r.k6)(()=>{let t;return[(0,r.eW)((0,n.v_)((t=l?e.options?.labels?.closeGroup??"Close Group":e.options?.labels?.openGroup??"Open Group",e.item.title?`${t} - ${e.item.title}`:t)),1)]}),_:2},1032,["open"])):(0,r.Q3)("",!0)]),items:(0,r.k6)(()=>[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(h.value,n=>((0,r.uX)(),(0,r.Wv)(m,{key:n.id,getHref:e.getHref,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:n,layout:e.layout,options:e.options,parentIds:[],onOnDragEnd:l,onSelectItem:d[3]||(d[3]=e=>t("selectItem",e)),onToggleGroup:d[4]||(d[4]=e=>t("toggleGroup",e))},(0,r.eX)({_:2},[a.decorator?{name:"decorator",fn:(0,r.k6)(e=>[(0,r.RG)(c.$slots,"decorator",(0,r.v6)({ref_for:!0},e))]),key:"0"}:void 0,a.empty?{name:"empty",fn:(0,r.k6)(e=>[(0,r.RG)(c.$slots,"empty",(0,r.v6)({ref_for:!0},e))]),key:"1"}:void 0,a.icon?{name:"icon",fn:(0,r.k6)(e=>[(0,r.RG)(c.$slots,"icon",(0,r.v6)({ref_for:!0},e))]),key:"2"}:void 0]),1032,["getHref","isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128)),a.empty&&(e.item.children?.length??0)===0?(0,r.RG)(c.$slots,"empty",{item:e.item},void 0,void 0,0):(0,r.Q3)("",!0)]),_:2},[a.decorator?{name:"after",fn:(0,r.k6)(()=>[(0,r.bF)(b,null,{default:(0,r.k6)(()=>[(0,r.RG)(c.$slots,"decorator",{item:e.item})]),_:3})]),key:"0"}:void 0]),1040,["active","data-sidebar-id","discrete","open"])):((0,r.uX)(),(0,r.Wv)((0,u.R1)(S.sj),(0,r.v6)({key:2},(0,u.R1)(s),{class:"relative","data-sidebar-id":e.item.id},(0,r.Tb)((0,u.R1)(i)),{onClick:y}),(0,r.eX)({button:(0,r.k6)(({level:t})=>[(0,r.bF)((0,u.R1)(S.dp),{is:f.value?"a":"button",href:f.value,indent:t,selected:e.isSelected(e.item.id)},(0,r.eX)({default:(0,r.k6)(()=>[o(e.item)?((0,r.uX)(),(0,r.CE)("span",_,[(0,r.bF)(w,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"])])):((0,r.uX)(),(0,r.Wv)(w,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"]))]),_:2},[a.icon?{name:"icon",fn:(0,r.k6)(()=>[(0,r.RG)(c.$slots,"icon",{item:e.item,open:!0})]),key:"0"}:void 0,"method"in e.item?{name:"aside",fn:(0,r.k6)(()=>[(0,r.bF)(v,{active:e.isSelected(e.item.id),class:(0,n.C4)(["ml-2 h-4 self-start",{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":a.decorator}]),label:e.options?.labels?.httpMethod,method:e.item.method,webhook:"webhook"===e.item.type},null,8,["active","class","label","method","webhook"])]),key:"1"}:void 0]),1032,["is","href","indent","selected"])]),_:2},[a.decorator?{name:"after",fn:(0,r.k6)(()=>[(0,r.bF)(b,null,{default:(0,r.k6)(()=>[(0,r.RG)(c.$slots,"decorator",{item:e.item})]),_:3})]),key:"0"}:void 0]),1040,["data-sidebar-id"]))}}}),Q=(0,r.pM)({__name:"ScalarSidebar",props:{layout:{},items:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},indent:{default:20},getHref:{type:Function},isDraggable:{},isDroppable:{type:Function}},emits:["reorder","selectItem","toggleGroup"],setup(e,{emit:t}){let a=(0,r.Ht)(),o=(e,a)=>{t("reorder",e,a)};return(l,s)=>((0,r.uX)(),(0,r.Wv)((0,u.R1)(S.t$),{class:"flex min-h-0 flex-col",style:(0,n.Tr)({"--scalar-sidebar-indent":e.indent+"px"})},{default:(0,r.k6)(()=>[(0,r.RG)(l.$slots,"header"),(0,r.RG)(l.$slots,"default",{},()=>[(0,r.bF)((0,u.R1)(S.d4),{class:"custom-scroll"},{default:(0,r.k6)(()=>[(0,r.RG)(l.$slots,"before"),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)((0,u.R1)(c)(e.layout,e.items),n=>((0,r.uX)(),(0,r.Wv)(j,{key:n.id,getHref:e.getHref,isDraggable:e.isDraggable??"client"===e.layout,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:n,layout:e.layout,options:e.options,onOnDragEnd:o,onSelectItem:s[0]||(s[0]=e=>t("selectItem",e)),onToggleGroup:s[1]||(s[1]=e=>t("toggleGroup",e))},(0,r.eX)({_:2},[a.decorator?{name:"decorator",fn:(0,r.k6)(e=>[(0,r.RG)(l.$slots,"decorator",(0,r.v6)({ref_for:!0},e))]),key:"0"}:void 0,a.empty?{name:"empty",fn:(0,r.k6)(e=>[(0,r.RG)(l.$slots,"empty",(0,r.v6)({ref_for:!0},e))]),key:"1"}:void 0,a.icon?{name:"icon",fn:(0,r.k6)(e=>[(0,r.RG)(l.$slots,"icon",(0,r.v6)({ref_for:!0},e))]),key:"2"}:void 0]),1032,["getHref","isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128))]),_:3}),(0,r.RG)(l.$slots,"spacer",{},()=>[s[2]||(s[2]=(0,r.Lk)("div",{class:"flex-1"},null,-1))])]),(0,r.RG)(l.$slots,"footer")]),_:3},8,["style"]))}}),L=({items:e,nestedKey:t="children",filter:a=()=>!0,getId:r=e=>e.id})=>{let n=new Map,o=e=>{a(e)&&n.set(r(e),e),t in e&&Array.isArray(e[t])&&e[t]?.forEach(t=>o({...t,parent:e}))};return e.forEach(o),n},M=(e,t)=>{let a=(0,r.EW)(()=>L({items:(0,u.BA)(e),nestedKey:t?.key??"children"})),n=(0,u.KR)({}),o=(0,u.KR)({}),l=(0,u.KR)(null);return{items:(0,r.EW)(()=>(0,u.BA)(e)),index:a,selectedItems:n,expandedItems:o,selectedItem:l,setSelected:e=>{let r=e=>{e&&(n.value[e.id]=!0,"parent"in e&&e.parent&&r(e.parent))};t?.hooks?.onBeforeSelect&&t.hooks.onBeforeSelect(e),n.value={},l.value=e,null!==e&&r(a.value.get(e)),t?.hooks?.onAfterSelect&&t.hooks.onAfterSelect(e)},setExpanded:(e,r)=>{let n=e=>{e&&(o.value[e.id]=!0,"parent"in e&&e.parent&&n(e.parent))};t?.hooks?.onBeforeExpand&&t.hooks.onBeforeExpand(e),!1===r?o.value[e]=!1:n(a.value.get(e)),t?.hooks?.onAfterExpand&&t.hooks.onAfterExpand(e)},isExpanded:e=>o.value[e]??!1,isSelected:e=>n.value[e]??!1,getEntryById:e=>a.value.get(e),reset:()=>{n.value={},o.value={}}}},Z=(e,t)=>{if(t.type===e)return t;if("children"in t)for(let a of t.children??[]){let t=Z(e,a);if(t)return t}return null},U=100,X=(e,t=U)=>
7{if("u"<typeof window)return;let a=document.querySelector(`[data-sidebar-id="${e}"]`),r=a?.closest(".custom-scroll, .custom-scrollbar")??null;if(!a||!r)return;let n=((e,t)=>{let a=e.offsetTop,r=e.offsetParent;for(;r&&r!==t;)a+=r.offsetTop,r=r.offsetParent;return a})((e=>{if("contents"!==window.getComputedStyle(e).display)return e;for(let t of e.children)if(t instanceof HTMLElement&&null!==t.offsetParent)return t;return e})(a),r)+("heading"!==a.dataset.sidebarType?0:a.querySelector(".sidebar-heading")?.offsetHeight??0)-t;r.scrollTo({top:n>0?n:0})}},28041:(e,t,a)=>{"use strict";a.d(t,{wF:()=>S,LJ:()=>g,Et:()=>E});var r=a(75005),n=a(10779),o=a(42694),l=a(72560),s=a(64518),i=a(87890),c=a(11305),u=a(45910);let d=(0,l.Z)(o.ZU.Object({type:o.ZU.Literal("apiKey")}),i.Xe),p=(0,l.Z)(o.ZU.Object({type:o.ZU.Literal("http")}),i.Xe,i.qE),m=(0,l.Z)(i.mF,i.Xe,i.SS),h=o.ZU.Object({implicit:o.ZU.Optional((0,l.Z)(m,i.wb)),password:o.ZU.Optional((0,l.Z)(m,i.qE,i.J9,s.F)),clientCredentials:o.ZU.Optional((0,l.Z)(m,i.J9,s.F)),authorizationCode:o.ZU.Optional((0,l.Z)(m,i.J9,i.wb,s.F))}),f=(0,l.Z)(o.ZU.Object({type:o.ZU.Literal("oauth2")}),h),g=o.ZU.Object({type:o.ZU.Literal("openIdConnect"),implicit:o.ZU.Optional((0,l.Z)(c.wz,m,i.wb)),password:o.ZU.Optional((0,l.Z)(c.a3,m,i.qE,i.J9,s.F)),clientCredentials:o.ZU.Optional((0,l.Z)(c.ov,m,i.J9,s.F)),authorizationCode:o.ZU.Optional((0,l.Z)(c.Lq,m,i.J9,i.wb,s.F))}),v=(0,l.Z)(o.ZU.Object({type:o.ZU.Union([o.ZU.Literal("userPassword"),o.ZU.Literal("plain"),o.ZU.Literal("scramSha256"),o.ZU.Literal("scramSha512")])}),i.qE),y=(0,l.Z)(o.ZU.Object({type:o.ZU.Literal("X509")}),i.k7,i.qh),b=(0,l.Z)(o.ZU.Object({type:o.ZU.Union([o.ZU.Literal("symmetricEncryption"),o.ZU.Literal("asymmetricEncryption")])}),i.Xe),O=(0,l.Z)(o.ZU.Object({type:o.ZU.Literal("gssapi")}),i.Wx),k=o.ZU.Union([d,p,f,g,v,y,b,O]),x=o.ZU.Record(o.ZU.String(),k),w=o.ZU.Object({selectedIndex:o.ZU.Number(),selectedSchemes:o.ZU.Array(u.Yq)}),S=o.ZU.Object({secrets:x,selected:o.ZU.Object({document:o.ZU.Optional(w),path:o.ZU.Optional(o.ZU.Record(o.ZU.String(),o.ZU.Record(o.ZU.String(),o.ZU.Optional(w))))})}),C=o.ZU.Record(o.ZU.String(),S);var $=a(33041),A=a(51324),R=a(70470);let E=({hooks:e}={})=>{let t=(0,n.Kh)({});return{clearAuthSelectedSchemas:a=>{let n=t[a.documentName];if(!n)return;if("document"===a.type){delete n.selected.document,e?.onAuthChange?.(a.documentName);return}(0,r.R)(a.method),(0,r.R)(a.path);let o=n.selected.path?.[a.path];o&&(delete o[a.method],e?.onAuthChange?.(a.documentName))},getAuthSecrets:(e,a)=>t[e]?.secrets?.[a],setAuthSecrets:(a,r,n)=>{t[a]||={secrets:{},selected:{document:void 0,path:void 0}},t[a].secrets[r]=(0,R.v)(k,n),e?.onAuthChange?.(a)},clearAuthSecrets:(a,r)=>{delete t[a]?.secrets?.[r],e?.onAuthChange?.(a)},getAuthSelectedSchemas:e=>"document"===e.type?t[e.documentName]?.selected?.document:t[e.documentName]?.selected?.path?.[e.path]?.[e.method],setAuthSelectedSchemas:(a,n)=>{t[a.documentName]||={secrets:{},selected:{document:void 0,path:void 0}};let o=t[a.documentName];"document"===a.type?o.selected.document=n:((0,r.R)(a.path),(0,r.R)(a.method),o.selected.path||={},o.selected.path[a.path]||={},o.selected.path[a.path][a.method]=n),e?.onAuthChange?.(a.documentName)},clearDocumentAuth:a=>{delete t[a],e?.onAuthChange?.(a)},load:a=>{(0,$.rV)(t,(0,R.v)(C,a)),Object.keys(a).forEach(t=>{e?.onAuthChange?.(t)})},export:()=>(0,A.s)(t)}}},28205:(e,t,a)=>{"use strict";a.d(t,{K:()=>n});var r=a(67741);let n=(e={})=>{let t=new Map;return{slug(a){let n=(0,r.Y)(a,e),o=t.get(n);if(void 0===o)return t.set(n,0),n;let l=o+1;return t.set(n,l),`${n}-${l}`},reset(){t.clear()}}}},28900:(e,t,a)=>{"use strict";a.d(t,{R:()=>u});var r=a(90003),n=a(62205),o=a(8873),l=a(38547),s=a(10779),i=a(61930),c={key:3,class:"centered"},u=(0,l.pM)({inheritAttrs:!1,__name:"ScalarButton",props:{is:{default:"button"},variant:{default:"solid"},size:{default:"md"},disabled:{type:Boolean},icon:{type:[Object,Function]},loader:{}},setup(e){let t=(0,o.Fj)({base:"scalar-button flex cursor-pointer items-center justify-center rounded font-medium -outline-offset-1",variants:{disabled:{true:"bg-b-2 text-color-3 shadow-none"},size:{xs:"px-2 py-1 text-xs/4",sm:"px-3.5 py-2 text-sm/4",md:"px-5 py-3 text-sm/4"},variant:n.I},compoundVariants:[{disabled:!0,variant:["solid","outlined","ghost","gradient","danger"],class:"bg-b-2 text-c-3 shadow-none hover:bg-b-[_] cursor-not-allowed active:bg-b-[_] hover:text-c-[_] active:text-c-[_]"},{disabled:!0,variant:["gradient"],class:"to-b-1.5 bg-linear-to-b hover:bg-linear-to-b dark:hover:bg-linear-to-t"}]}),a=(0,o.Fj)({base:"shrink-0",variants:{size:{xs:"size-2.75 -ml-0.25 mr-1",sm:"size-3.5 -ml-0.25 mr-1",md:"size-3.5 -ml-0.5 mr-1.5"}}}),u=(0,o.Fj)({variants:{size:{xs:"size-4",sm:"size-5",md:"size-6"}}}),{cx:d}=(0,o.AX)();return(n,o)=>((0,l.uX)(),(0,l.Wv)((0,l.$y)(e.is),(0,l.v6)({"aria-disabled":e.disabled||void 0,type:"button"===e.is?"button":void 0},(0,s.R1)(d)((0,s.R1)(t)({disabled:e.disabled,size:e.size,variant:e.variant}),{relative:e.loader?.isActive})),{default:(0,l.k6)(()=>[n.$slots.icon||e.icon?((0,l.uX)(),(0,l.CE)("div",{key:0,class:(0,i.C4)([(0,s.R1)(a)({size:e.size}),{invisible:e.loader?.isActive}])},[(0,l.RG)(n.$slots,"icon",{},()=>[((0,l.uX)(),(0,l.Wv)((0,l.$y)(e.icon),{class:"size-full"}))])],2)):(0,l.Q3)("",!0),e.loader?((0,l.uX)(),(0,l.CE)("span",{key:1,class:(0,i.C4)({invisible:e.loader?.isActive})},[(0,l.RG)(n.$slots,"default")],2)):(0,l.RG)(n.$slots,"default",{},void 0,void 0,2),e.loader?.isActive?((0,l.uX)(),(0,l.CE)("div",c,[(0,l.bF)((0,s.R1)(r.A),{class:(0,i.C4)((0,s.R1)(u)({size:e.size})),loader:e.loader},null,8,["class","loader"])])):(0,l.Q3)("",!0)]),_:3},16,["aria-disabled","type"]))}})},30278:(e,t,a)=>{"use strict";a.d(t,{h:()=>l,u:()=>o});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-scalar-is-dirty":r.ZU.Optional(r.ZU.Boolean())}),l=(0,n.Ik)({"x-scalar-is-dirty":(0,n.lq)((0,n.zM)({typeComment:"Whether the document state is dirty, this is used to track if the document has been modified since it was last saved"}))},{typeName:"XScalarIsDirty",typeComment:"Tracks whether the document has been modified since it was last saved"})},30698:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconInfo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},30895:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var r=a(13416),n=a(38547),o=a(10779),l=a(85939),s=a(16250),i=["href"],c=(0,n.pM)({__name:"OpenApiClientButton",props:{buttonSource:{},source:{default:"api-reference"},isDevelopment:{type:Boolean},integration:{},url:{},operationPath:{},operationMethod:{}},setup(e){let t=(0,n.EW)(()=>{let t=e.url??("u">typeof window?window.location.href:void 0);if(!t)return;let a=(0,s.r)(t);if(!a?.length)return;let r=new URL(e.isDevelopment?"http://localhost:5065":"https://client.scalar.com");if(r.searchParams.set("url",a),e.operationPath?.length&&e.operationMethod?.length&&(r.searchParams.set("operation_path",e.operationPath),r.searchParams.set("operation_method",e.operationMethod.toLowerCase())),null!==e.integration&&r.searchParams.set("integration",e.integration??"vue"),r.searchParams.set("utm_source","api-reference"),r.searchParams.set("utm_medium","button"),r.searchParams.set("utm_campaign",e.buttonSource),"gitbook"===e.source){r.searchParams.set("utm_source","gitbook");let e=document.querySelector("img.dark\\:block[alt='Logo']"),t=document.querySelector("img.dark\\:hidden[alt='Logo']");e&&e instanceof HTMLImageElement&&r.searchParams.set("dark_logo",encodeURIComponent(e.src)),t&&t instanceof HTMLImageElement&&r.searchParams.set("light_logo",encodeURIComponent(t.src))}return r.toString()});return(e,a)=>t.value?((0,n.uX)(),(0,n.CE)("a",{key:0,class:"open-api-client-button",href:t.value,target:"_blank"},[(0,n.bF)((0,o.R1)(l.A),{class:"size-3",weight:"regular"}),a[0]||(a[0]=(0,n.eW)(" Open API Client ",-1))],8,i)):(0,n.Q3)("",!0)}}),u=(0,r.A)(c,[["__scopeId","data-v-cd067f84"]])},31354:(e,t,a)=>{"use strict";a.d(t,{VA:()=>s,vu:()=>l});var r=a(96466),n=a(9085);class o extends n.i{}function l(e){return("or"!==e.type||2!==e.expr.length||"const"!==e.expr[0].type||"0"!==e.expr[0].const||"const"!==e.expr[1].type||"[1-9][0-9]*"!==e.expr[1].const)&&("const"!==e.type||".*"!==e.const)&&("or"===e.type&&2===e.expr.length&&"const"===e.expr[0].type&&"true"===e.expr[0].const&&"const"===e.expr[1].type&&"false"===e.expr[1].const||("and"===e.type?e.expr.every(e=>l(e)):"or"===e.type?e.expr.every(e=>l(e)):"const"===e.type||(()=>{throw new o("Unknown expression type")})()))}function s(e){return l((0,r.gL)(e.pattern))}},32097:(e,t,a)=>{"use strict";a.d(t,{Ck:()=>l,H7:()=>r,b8:()=>s,hi:()=>n,tJ:()=>o});let r=Symbol.for("TypeBox.Transform"),n=Symbol.for("TypeBox.Readonly"),o=Symbol.for("TypeBox.Optional"),l=Symbol.for("TypeBox.Hint"),s=Symbol.for("TypeBox.Kind")},32392:(e,t,a)=>{"use strict";a.d(t,{U:()=>r});let r=()=>{if("u"<typeof navigator)return!1;let e=(e=>{let t=Reflect.get(e,"userAgentData");if(t&&"object"==typeof t&&"platform"in t&&"string"==typeof t.platform)return t.platform})(navigator);return e?e.toLowerCase().includes("mac"):/Mac/.test(navigator.userAgent)}},33041:(e,t,a)=>{"use strict";function r(e){return e.startsWith("#")}a.d(t,{X9:()=>r,rV:()=>n});let n=(e,t)=>{Object.assign(e,t)}},33139:(e,t,a)=>{"use strict";a.d(t,{f:()=>r.A});var r=a(4406)},33640:(e,t,a)=>{"use strict";a.d(t,{R:()=>l,l:()=>o});var r=a(38547),n=Symbol(),o=()=>(0,r.WQ)(n,!1),l=()=>{(0,r.Gt)(n,!0)}},33705:(e,t,a)=>{"use strict";a.d(t,{M:()=>o});var r=a(38547),n=a(56992);function o(e,t,a){n._.isServer||(0,r.nT)(r=>{window.addEventListener(e,t,a),r(()=>window.removeEventListener(e,t,a))})}},33753:(e,t,a)=>{"use strict";a.d(t,{t:()=>l});
7var r=a(11932),n=["note","tip","important","warning","caution","success"];function o(e){return"text"===e.type&&"string"==typeof e.value&&/^\s*$/.test(e.value)}function l(){return e=>{(0,r.t)(e,"element",(e,t,a)=>{if("blockquote"!==e.tagName||"number"!=typeof t||!a||"root"!==a.type)return;let r=e.children.findIndex(e=>!o(e));if(-1===r)return;let l=e.children[r];if(!l||"element"!==l.type||"p"!==l.tagName)return;let s=l.children[0];if(!s||"text"!==s.type||!s.value.startsWith("[!"))return;let i=s.value.indexOf("]");if(-1===i)return;let c=s.value.slice(2,i).toLowerCase();if(!n.includes(c))return;if(i+1===s.value.length){let t=l.children[1];if(t){if("element"!==t.type||"br"!==t.tagName||!l.children[2])return;l.children=l.children.slice(2);let e=l.children[0];e&&"text"===e.type&&"\n"===e.value.charAt(0)&&(e.value=e.value.slice(1))}else{let t=r+1<e.children.length&&o(e.children[r+1])?r+2:r+1;if(t>=e.children.length||e.children[t]?.type!=="element")return;e.children=e.children.slice(t)}}else"\n"!==s.value.charAt(i+1)||i+2!==s.value.length&&/^\s*$/.test(s.value.slice(i+2))?s.value=s.value.replace(/^\s*\[!.*?\]\s*/,""):s.value=s.value.slice(i+2);let u=[];for(let t=r;t<e.children.length;t++){let a=e.children[t];a?.type==="element"&&"p"===a.tagName&&a.children?u.push(...a.children):u.push(a)}a.children[t]={type:"element",tagName:"div",properties:{className:["markdown-alert",`markdown-alert-${c}`]},children:[{type:"element",tagName:"div",properties:{className:["markdown-alert-icon"]},children:[]},{type:"element",tagName:"div",properties:{className:["markdown-alert-content"]},children:[{type:"text",value:" "},...u]}]}})}}},34020:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconGear",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32
7-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},34741:(e,t,a)=>{"use strict";a.d(t,{we:()=>d});var r=a(78170),n=a(10352),o=a(10779),l=a(38547);function s(e){if(null!=e&&"object"==typeof e&&"$el"in e){let t=e.$el;return(0,n.Ll)(t)&&"#comment"===(0,n.mq)(t)?null:t}return e}function i(e){return"function"==typeof e?e():(0,o.R1)(e)}function c(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let a=c(e);return Math.round(t*a)/a}function d(e,t,a){let n;void 0===a&&(a={});let d=a.whileElementsMounted,p=(0,l.EW)(()=>{var e;return null==(e=i(a.open))||e}),m=(0,l.EW)(()=>i(a.middleware)),h=(0,l.EW)(()=>{var e;return null!=(e=i(a.placement))?e:"bottom"}),f=(0,l.EW)(()=>{var e;return null!=(e=i(a.strategy))?e:"absolute"}),g=(0,l.EW)(()=>{var e;return null==(e=i(a.transform))||e}),v=(0,l.EW)(()=>s(e.value)),y=(0,l.EW)(()=>s(t.value)),b=(0,o.KR)(0),O=(0,o.KR)(0),k=(0,o.KR)(f.value),x=(0,o.KR)(h.value),w=(0,o.IJ)({}),S=(0,o.KR)(!1),C=(0,l.EW)(()=>{let e={position:k.value,left:"0",top:"0"};if(!y.value)return e;let t=u(y.value,b.value),a=u(y.value,O.value);return g.value?{...e,transform:"translate("+t+"px, "+a+"px)",...c(y.value)>=1.5&&{willChange:"transform"}}:{position:k.value,left:t+"px",top:a+"px"}});function $(){if(null==v.value||null==y.value)return;let e=p.value;(0,r.rD)(v.value,y.value,{middleware:m.value,placement:h.value,strategy:f.value}).then(t=>{b.value=t.x,O.value=t.y,k.value=t.strategy,x.value=t.placement,w.value=t.middlewareData,S.value=!1!==e})}function A(){"function"==typeof n&&(n(),n=void 0)}return(0,l.wB)([m,h,f,p],$,{flush:"sync"}),(0,l.wB)([v,y],function(){if(A(),void 0===d)return void $();if(null!=v.value&&null!=y.value){n=d(v.value,y.value,$);return}},{flush:"sync"}),(0,l.wB)(p,function(){p.value||(S.value=!1)},{flush:"sync"}),(0,o.o5)()&&(0,o.jr)(A),{x:(0,o.nD)(b),y:(0,o.nD)(O),strategy:(0,o.nD)(k),placement:(0,o.nD)(x),middlewareData:(0,o.nD)(w),isPositioned:(0,o.nD)(S),floatingStyles:C,update:$}}},35207:(e,t,a)=>{"use strict";a.d(t,{$:()=>r.A});var r=a(83691)},35398:(e,t,a)=>{"use strict";a.d(t,{X:()=>l,m:()=>o});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-usePkce":r.ZU.Union([r.ZU.Literal("SHA-256"),r.ZU.Literal("plain"),r.ZU.Literal("no")],{default:"no"})}),l=(0,n.Ik)({"x-usePkce":(0,n.KC)([(0,n.eu)("SHA-256"),(0,n.eu)("plain"),(0,n.eu)("no")],{typeComment:"PKCE mode for the OAuth2 authorization code flow"})},{typeName:"XusePkce",typeComment:"PKCE setting for OAuth2"})},35480:(e,t,a)=>{"use strict";a.d(t,{U:()=>o,n:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-scalar-selected-server":r.ZU.Optional(r.ZU.String())}),l=(0,n.Ik)({"x-scalar-selected-server":(0,n.lq)((0,n.Yj)({typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}))},{typeName:"XScalarSelectedServer",typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."})},36384:(e,t,a)=>{"use strict";a.d(t,{H:()=>r});var r=(0,a(8873).Fj)({variants:{size:{xs:"size-3",sm:"size-3.5",md:"size-4",lg:"size-5",xl:"size-6","2xl":"size-8","3xl":"size-10",full:"size-full"}},defaultVariants:{size:"full"}})},37092:(e,t,a)=>{"use strict";function r(e,t){return e.includes(t)}function n(e){return[...new Set(e)]}function o(e){var t,a;return 1===e.length?e[0]:e.length>1?(t=e.slice(1),a=e[0],t.reduce((e,t)=>e.filter(e=>t.includes(e)),a)):[]}function l(e){let t=[];for(let a of e)t.push(...a);return t}a.d(t,{lN:()=>n,lw:()=>l,oU:()=>r,vC:()=>o})},37138:(e,t,a)=>{"use strict";a.d(t,{P:()=>a6});var r,n,o=a(60652),l=a(67741);function s(e,t){return e.map(e=>(function(e,t){if(!(0,o.G)(e))return;let[a]=Object.entries(e);if(!a)return;let[r,n]=a,l=t[r];return(0,o.G)(l)&&"oauth2"===l.type&&Array.isArray(n)?{...l,scopes:n}:{$ref:`#/components/securitySchemes/${r}`}})(e,t)).filter(e=>void 0!==e)}function i(e){if(!(0,o.G)(e.components)||!(0,o.G)(e.components.securitySchemes))return{};let t={};for(let[a,r]of Object.entries(e.components.securitySchemes))(0,o.G)(r)&&(t[a]=r);return t}function c(e,t){if(!(0,o.G)(e)||!(0,o.G)(e.message))return[];let a=e.message,r=Array.isArray(a.oneOf)?a.oneOf:[a],n=[];for(let e of r){if(!(0,o.G)(e))continue;let a=function(e,t){if("string"==typeof e.$ref){let t=e.$ref.split("/").pop();if(t)return t}if("string"==typeof e.name&&e.name)return e.name;let a=0;for(;`message-${a}`in t;)a+=1;return`message-${a}`}(e,t);t[a]=e,n.push(a)}return n}
7function u(e,t,a){return"string"==typeof e.operationId&&e.operationId?e.operationId:`${t}-${a}`}function d(e,t,a,r,n){let o={action:t,channel:{$ref:`#/channels/${a}`}};for(let[t,a]of Object.entries(e))if("message"!==t&&"operationId"!==t){if("security"===t&&Array.isArray(a)){o.security=s(a,n);continue}o[t]=a}return o.messages=r.map(e=>({$ref:`#/channels/${a}/messages/${e}`})),o}function p(e,t){if(!t.has(e))return t.add(e),e;let a=2;for(;t.has(`${e}-${a}`);)a+=1;let r=`${e}-${a}`;return t.add(r),r}let m=/^#\/components\/messages\/(.+)$/;function h(e,t,a){if(!Array.isArray(e))return;let r=function(e){if(!(0,o.G)(e)||"string"!=typeof e.$ref)return;let t=e.$ref.match(/^#\/channels\/([^/]+)$/);return t?t[1]:void 0}(t);if(!r)return;let n=a[r];if((0,o.G)(n)){for(let t=0;t<e.length;t+=1){let a=e[t];if(!(0,o.G)(a)||"string"!=typeof a.$ref)continue;let[,l]=a.$ref.match(m)??[];l&&(function(e,t,a){(0,o.G)(e.messages)||(e.messages={});let r=e.messages;t in r||(r[t]={$ref:a})}(n,l,a.$ref),e[t]={$ref:`#/channels/${r}/messages/${l}`})}var l=e;let t=new Set,a=0;for(let e of l){if((0,o.G)(e)&&"string"==typeof e.$ref){if(t.has(e.$ref))continue;t.add(e.$ref)}l[a]=e,a+=1}l.length=a}}var f=a(95994),g=a(75005),v=a(44084);let y=async(e,t)=>{let a=performance.now(),r=await t(),n=Math.round(performance.now()-a);return console.info(`${e}: ${n} ms`),r};var b=a(75230),O=a(84889);class k extends Error{constructor(e){super(e),this.name="InvalidChangesDetectedError"}}let x=(e,t)=>{let a=[],r=(e,t,n=[])=>{if(typeof e!=typeof t)return void 0===e?void a.push({path:n,changes:t,type:"add"}):void 0===t?void a.push({path:n,changes:e,type:"delete"}):void a.push({path:n,changes:t,type:"update"});if("object"==typeof e&&"object"==typeof t&&null!==e&&null!==t){if(Array.isArray(e)!==Array.isArray(t))return void a.push({path:n,changes:t,type:"update"});let o=[...new Set([...Object.keys(e),...Object.keys(t)])].filter(e=>!(0,g.s)(e));for(let a of Array.isArray(e)&&Array.isArray(t)&&e.length>=t.length?o.reverse():o)r(e[a],t[a],[...n,a]);return}e!==t&&a.push({path:n,changes:t,type:"update"})};return r(e,t),a};class w{value;children=Object.create(null);constructor(e){this.value=e}}class S{root;constructor(){this.root=new w(null)}addPath(e,t){let a=this.root;for(let t of e)a.children[t]||(a.children[t]=new w(null)),a=a.children[t];a.value=t}findMatch(e,t){let a=this.root;for(let r of e){null!==a.value&&t(a.value);let e=a.children[r];if(!e)return;a=e}let r=e=>{for(let t of Object.keys(e?.children??{}))e&&Object.hasOwn(e.children,t)&&r(e?.children[t]);e?.value&&t(e.value)};r(a)}}let C=(e,t)=>{if(typeof e!=typeof t)return!0;if("object"==typeof e&&"object"==typeof t&&null!==e&&null!==t){if(Array.isArray(e)!==Array.isArray(t))return!0;for(let a of new Set([...Object.keys(e),...Object.keys(t)]))if(!(0,g.s)(a)&&void 0!==e[a]&&void 0!==t[a]&&C(e[a],t[a]))return!0;return!1}return e!==t},$=(e,t)=>{for(let a in t)if(!(0,g.s)(a))if(a in e){let r=e[a],n=t[a];"object"==typeof r&&null!==r&&"object"==typeof n&&null!==n&&(e[a]=$(r,n))}else e[a]=t[a];return e},A=(e,t)=>
7{if(e.length!==t.length)return!1;for(let a=0;a<=e.length;++a)if(e[a]!==t[a])return!1;return!0};var R=a(85238);function E(e,t,a=[]){let r={};for(let[n,o]of Object.entries(e)){let e=[...a,n];if(Array.isArray(o)){r[n]=o.map((a,r)=>"object"!=typeof a||Array.isArray(a)||null===a?a:E(a,t,[...e,r.toString()]));continue}if("object"==typeof o&&null!==o){r[n]=E(o,t,e);continue}r[n]=o}return t(r,a)}let P="application/json";function T(e){let t=e["x-example"],a=e["x-examples"];return delete e["x-example"],delete e["x-examples"],{xExample:t,xExamples:a}}function _(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&Object.keys(e).length>0}function j(e){let t=Object.keys(e);if(t.some(t=>{let a=e[t];return a?.example!==void 0||a?.examples!==void 0}))for(let a of t){let t=e[a];if(!t)continue;let r=void 0!==t.example||void 0!==t.examples;void 0!==t.schema&&!r&&1===Object.keys(t).length&&function(e){return"object"!=typeof e||null===e||!(e.allOf||e.oneOf||e.anyOf||e.items||e.$ref||"additionalProperties"in e||["enum","const","not","format","multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","maxProperties","minProperties","required"].some(t=>t in e))&&("object"!=typeof e.properties||null===e.properties||!(Object.keys(e.properties).length>0))}(t.schema)&&delete e[a]}}let Q=new Set(["summary","description","value","externalValue"]);function L(e){if("object"!=typeof e||null===e)return!1;let t="value"in e||"externalValue"in e,a=Object.keys(e).every(e=>Q.has(e));return t&&a}function M(e){return L(e)?e:{value:e}}let Z=/^[a-zA-Z0-9*+.-]+\/[a-zA-Z0-9*+.+-]+$/;function U(e){return Z.test(e)}let X=e=>{switch(e){case"application":return"clientCredentials";case"accessCode":return"authorizationCode";case"implicit":return"implicit";case"password":return"password";default:return e}};function I(e){return["type","format","default","items","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf"].reduce((t,a)=>(Object.hasOwn(e,a)&&(t[a]=e[a],delete e[a]),t),{})}function B(e){if(Object.hasOwn(e,"$ref")&&"string"==typeof e.$ref)return{$ref:e.$ref};let t=function(e){if("array"!==e.type||"query"!==e.in&&"path"!==e.in&&"header"!==e.in)return{};let t=e.collectionFormat??"csv";return e.in in N&&t in N[e.in]?N[e.in][t]:{}}(e),a=I(e),{xExample:r,xExamples:n}=T(e);if(_(r)?e.examples=Object.entries(r).reduce((e,[t,a])=>(e[t]={value:a},e),{}):_(n)&&(e.examples=Object.entries(n).reduce((e,[t,a])=>(e[t]=M(a),e),{})),delete e.collectionFormat,delete e.default,!e.in)throw Error('Parameter object must have an "in" property');return{schema:a,...t,...e,in:function(e){if("formData"===e)throw Error("Encountered a formData parameter which should have been filtered out by the caller");if("body"===e)throw Error("Encountered a body parameter which should have been filtered out by the caller");return e}(e.in)}}function q(e){if(Object.hasOwn(e,"$ref")&&"string"==typeof e.$ref)return{$ref:e.$ref};let t=I(e);return{...e,schema:t}}let W={ssv:{style:"spaceDelimited",explode:!1},pipes:{style:"pipeDelimited",explode:!1},multi:{style:"form",explode:!0},csv:{style:"form",explode:!1},tsv:{}},D={ssv:{},pipes:{},multi:{},csv:{style:"simple",explode:!1},tsv:{}},N={header:D,query:W,path:D};function V(e,t){let{xExample:a,xExamples:r}=T(e);delete e.name,delete e.in;let{schema:n,...o}=e,l={content:{},...o};if(l.content)for(let e of t){if(l.content[e]={schema:n},_(r)&&e in r){let t=r[e];if(_(t)&&Object.values(t).every(e=>L(e)))l.content[e].examples=t;else _(t)&&Object.values(t).every(e=>"object"==typeof e&&null!==e&&!Array.isArray(e))?l.content[e].examples=Object.entries(t).reduce((e,[t,a])=>(e[t]=M(a),e),{}):l.content[e].examples={default:M(t)}}else _(r)&&!Object.keys(r).some(U)&&(l.content[e].examples=Object.entries(r).reduce((e,[t,a])=>(e[t]=M(a),e),{}));!l.content[e].examples&&_(a)&&e in a&&(l.content[e].example=a[e])}return l}function F(e,t=["multipart/form-data"]){let a={content:{}},r=t.filter(e=>"multipart/form-data"===e||"application/x-www-form-urlencoded"===e),n=r.length>0?r:["multipart/form-data"];if(a.content)for(let t of n){a.content[t]={schema:{type:"object",properties:{},required:[]}};let r=a.content?.[t];if(r?.schema&&"object"==typeof r.schema&&"properties"in r.schema){for(let t of e)if(t.name&&r.schema.properties){r.schema.properties[t.name]={...I(structuredClone(t)),...void 0!==t.description?{description:t.description}:{}};let e=function(e){if("array"!==e.type||"string"!=typeof e.collectionFormat)return;let t=W[e.collectionFormat];if(t&&0!==Object.keys(t).length)return t}(t);e&&(r.encoding??={},r.encoding[t.name]=e),t.required&&Array.isArray(r.schema.required)&&r.sc
7hema.required.push(t.name)}}}return a}function z(e,t){let a={parameters:e.filter(e=>"body"!==e.in&&"formData"!==e.in).map(e=>B(e))},r=structuredClone(e.find(e=>"body"===e.in)??{});r&&Object.keys(r).length&&(a.requestBody=V(r,t));let n=e.filter(e=>"formData"===e.in);if(n.length>0){let e=F(n,t);"object"!=typeof a.requestBody?a.requestBody=e:a.requestBody={...a.requestBody,content:{...a.requestBody.content,...e.content}},"object"!=typeof a.requestBody&&(a.requestBody={content:{}})}return a}let H=new Set(["properties","items","allOf","anyOf","oneOf","not","additionalProperties","schema"]),Y=new Set(["properties","patternProperties","$defs","definitions"]);function G(e){let t=e?.[e.length-1];return void 0!==t&&("schemas"===t&&e?.[e.length-2]==="components"||Y.has(t))}let K=new Set(["example","default","const","enum"]),J=(e,t)=>{if(function(e){if(!e)return!1;for(let[t,a]of e.entries())if(K.has(a)&&!G(e.slice(0,t))||"value"===a&&"examples"===e[t-2]&&!G(e.slice(0,t-2)))return!0;return!1}(t))return e;if(void 0!==e.type&&!0===e.nullable)e.type=[e.type,"null"],delete e.nullable;else if(!0===e.nullable&&void 0===e.type){if("string"==typeof e.$ref){let{nullable:t,$ref:a,...r}=e;return{...r,anyOf:[{$ref:a},{type:"null"}]}}if(Array.isArray(e.allOf)){let{nullable:t,allOf:a,...r}=e,n=1===a.length?a[0]:{allOf:a};return{...r,anyOf:[n,{type:"null"}]}}}!0===e.exclusiveMinimum?(e.exclusiveMinimum=e.minimum,delete e.minimum):!1===e.exclusiveMinimum&&delete e.exclusiveMinimum,!0===e.exclusiveMaximum?(e.exclusiveMaximum=e.maximum,delete e.maximum):!1===e.exclusiveMaximum&&delete e.exclusiveMaximum;let a=t?.some((e,a)=>"examples"===e&&a>0&&!G(t.slice(0,a)));void 0!==e.example&&!a&&!G(t)&&((t&&(t.some(e=>H.has(e))||t.some(e=>e.endsWith("Schema"))||t.length>=2&&"components"===t[0]&&"schemas"===t[1])?0:1)?e.examples={default:{value:e.example}}:e.examples=[e.example],delete e.example);if("object"===e.type&&void 0!==e.properties){let a=t?.slice(0,-1);if(a?.some((e,a)=>"content"===e&&t?.[a+1]==="multipart/form-data")&&null!==e.properties)for(let t of Object.values(e.properties))"object"==typeof t&&null!==t&&"type"in t&&"format"in t&&"string"===t.type&&"binary"===t.format&&(t.contentMediaType="application/octet-stream",delete t.format)}if(t?.includes("content")&&t?.includes("application/octet-stream"))return{};let{format:r,...n}=e;if("string"===e.type){if("binary"===e.format)return{...n,type:"string",contentMediaType:"application/octet-stream"};if("base64"===e.format)return{...n,type:"string",contentEncoding:"base64"};if("byte"===e.format){let e=t?.slice(0,-1),a=e?.find((e,a)=>t?.[a-1]==="content");return{...n,type:"string",contentEncoding:"base64",contentMediaType:a}}}return void 0!==e["x-webhooks"]&&(void 0===t||0===t.length)&&(e.webhooks=e["x-webhooks"],delete e["x-webhooks"]),e};var ee=a(92412);let et=(e,t)=>{var a,r;return((...e)=>e.join("\n\n"))(e,(a=t.language,r=t.body,`@example
8${`\`\`\`${a}
9${r.trimEnd()}
10\`\`\``}`))},ea=(0,ee.Ik)({"x-internal":(0,ee.lq)((0,ee.zM)({typeComment:"When true, hides the entity from public documentation"}))},{typeName:"XInternal",typeComment:et("Marks an entity as internal (hidden from external consumers).",{language:"yaml",body:"x-internal: true"})}),er=(0,ee.Ik)({"x-original-aas-version":(0,ee.lq)((0,ee.Yj)({typeComment:"Original AsyncAPI Specification version the document was loaded with."}))},{typeName:"XOriginalAasVersion",typeComment:et("Original AsyncAPI Specification version of the source document before ingestion.",{language:"yaml",body:'x-original-aas-version: "3.0.0"'})});(0,ee.Ik)({"x-original-oas-version":(0,ee.lq)((0,ee.Yj)({typeComment:"Original OpenAPI Specification version of the source document."}))},{typeName:"XOriginalOasVersion",typeComment:et("Original OpenAPI Specification version of the source document before ingestion.",{language:"yaml",body:'x-original-oas-version: "3.1.0"'})});let en=(0,ee.Ik)({name:(0,ee.Yj)({typeComment:"Variable name"}),value:(0,ee.KC)([(0,ee.Ik)({description:(0,ee.lq)((0,ee.Yj)()),default:(0,ee.Yj)()}),(0,ee.Yj)()],{typeComment:"Variable value as a string, or an object with description and default"})},{typeName:"XScalarEnvVar",typeComment:"An environment variable definition"}),eo=(0,ee.Ik)({description:(0,ee.lq)((0,ee.Yj)({typeComment:"Optional description for the environment"})),color:(0,ee.Yj)({typeComment:"Color for the environment (for example a hex value)"}),variables:(0,ee.YO)(en,{typeComment:"Variables available in this environment"})},{typeName:"XScalarEnvironment",typeComment:"A named environment with variables and display color"});(0,ee.Ik)({"x-scalar-environments":(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),eo,{typeComment:"Environments keyed by name"}))},{typeName:"XScalarEnvironments",typeComment:et("Named environments with variables for the API client (base URLs, tokens, etc.).",{language:"yaml",body:`x-scalar-environments:
11  production:
12    color: "#00ff00"
13    variables:
14      - name: apiKey
15        value: prod-key`})}),(0,ee.Ik)({"x-scalar-icon":(0,ee.lq)((0,ee.Yj)({typeComment:"Icon identifier or URL for the API description"}))},{typeName:"XScalarIcon",typeComment:et("A custom icon representing the API description in the Scalar UI.",{language:"yaml",body:"x-scalar-icon: rocket"})});let el=(0,ee.Ik)({"x-scalar-ignore":(0,ee.lq)((0,ee.zM)({typeComment:"When true, the entity is hidden or ignored in the UI"}))},{typeName:"XScalarIgnore",typeComment:et("Internal extension to mark an entity as ignored in the Scalar UI.",{language:"yaml",body:"x-scalar-ignore: true"})}),es=(0,ee.Ik)({"x-scalar-is-dirty":(0,ee.lq)((0,ee.zM)({typeComment:"When true, the document has unsaved changes"}))},{typeName:"XScalarIsDirty",typeComment:et("Tracks whether the document has been modified since it was last saved.",{language:"yaml",body:"x-scalar-is-dirty: true"})}),ei=(0,ee.Ik)({name:(0,ee.Yj)({typeComment:"The label to display for the link."}),url:(0,ee.Yj)({typeComment:"The URL the link points to."})},{typeName:"XScalarLinkItem",typeComment:"A named link to display alongside the API info"});(0,ee.Ik)({"x-scalar-links":(0,ee.lq)((0,ee.YO)(ei,{typeComment:"Additional named links to display alongside the API info (e.g. privacy policy, imprint)"}))},{typeName:"XScalarLinks",typeComment:et("Additional named links to display alongside the API info, for example a privacy policy or an imprint. This is handy for the legal texts that some countries require on public websites.",{language:"yaml",body:`x-scalar-links:
16  - name: Privacy Policy
17    url: https://example.com/privacy
18  - name: Imprint
19    url: https://example.com/imprint`})});let ec=(0,ee.Ik)({"x-scalar-navigation":(0,ee.lq)((0,ee.bz)({typeComment:"Serialized client navigation tree (`TraversedDocument`) for this API description"}))},{typeName:"XScalarNavigation",typeComment:"Client-side navigation tree persisted on the document. Matches `TraversedDocumentObjectRef` in strict OpenAPI schemas."}),eu=(0,ee.Ik)({"x-scalar-original-document-hash":(0,ee.Yj)({typeComment:"Hash of the document as originally loaded from an external source"})},{typeName:"XScalarOriginalDocumentHash",typeComment:et("Tracks the original document hash when loading from an external source. Used to detect modifications since last save.",{language:"yaml",body:'x-scalar-original-document-hash: "abc123"'})}),ed=(0,ee.Ik)({"x-scalar-original-source-url":(0,ee.lq)((0,ee.Yj)({typeComment:"Original document source URL when loaded from an external source"}))},{typeName:"XScalarOriginalSourceUrl",typeComment:et("Original document source URL when the API description was loaded from an external source.",{language:"yaml",body:"x-scalar-original-source-url: https://example.com/openapi.yaml"})}),ep=(0,ee.Ik)({namespace:(0,ee.Yj)({typeComment:"The namespace under which this registry meta is scoped."}),slug:(0,ee.Yj)({typeComment:"A unique slug identifier for this registry meta within the namespace."}),version:(0,ee.Yj)({typeComment:"The version of the registry meta."}),commitHash:(0,ee.lq)((0,ee.Yj)({typeComment:"Last known commit hash of this document. Is going to be used to track if the document has been modified since it was last saved."})),conflictCheckedAgainstHash:(0,ee.lq)((0,ee.Yj)({typeComment:"Registry commit hash that the cached `hasConflict` flag was computed against. When the registry advertises a different hash later, the cached result is stale and the conflict check must be re-run."})),hasConflict:(0,ee.lq)((0,ee.zM)({typeComment:"Cached outcome of the last conflict check, valid only while `conflictCheckedAgainstHash` matches the registry current hash for this version."}))},{typeName:"XScalarRegistryMetaInner",typeComment:"Registry meta namespace and slug"}),em=(0,ee.Ik)({"x-scalar-registry-meta":(0,ee.lq)(ep)},{typeName:"XScalarRegistryMeta",typeComment:et("Registry sync metadata for a document published to Scalar Registry.",{language:"yaml",body:`x-scalar-registry-meta:
20  namespace: acme
21  slug: public-api
22  version: "1.0.0"`})}),eh=(0,ee.Ik)({lang:(0,ee.Yj)({typeComment:"Programming language or platform (for example `TypeScript`, `Java`, `Python`)"}),description:(0,ee.lq)((0,ee.Yj)({typeComment:"Installation instructions in Markdown (supports fenced code blocks)"})),source:(0,ee.lq)((0,ee.Yj)({typeComment:"@deprecated Use `description` instead. When set, it is appended to `description` as a fenced code block (or used on its own when there is no `description`)."}))},{typeName:"XScalarSdkInstallationItem",typeComment:"One SDK installation instruction block"});(0,ee.Ik)({"x-scalar-sdk-installation":(0,ee.lq)((0,ee.YO)(eh,{typeComment:"Installation instructions shown in the API reference"}))},{typeName:"XScalarSdkInstallation",typeComment:et("Scalar SDK installation instructions for the API description.",{language:"yaml",body:"x-scalar-sdk-installation:\n  - lang: TypeScript\n    description: Install our SDK from npm with `npm install @scalar/sdk`"})});let ef=(0,ee.Ik)({"x-scalar-watch-mode":(0,ee.lq)((0,ee.zM)({typeComment:"When true, the document is 
22watched for external file changes"}))},{typeName:"XScalarWatchMode",typeComment:et("Whether the document is in watch mode (reloads when the source file changes).",{language:"yaml",body:"x-scalar-watch-mode: true"})}),eg=(0,ee.Ik)({"x-tags":(0,ee.lq)((0,ee.YO)((0,ee.Yj)(),{typeComment:"Ordered list of tag names for this schema object"}))},{typeName:"XTags",typeComment:et("Custom tag ordering hints for schema objects in the sidebar.",{language:"yaml",body:`x-tags:
23  - users
24  - admin`})}),ev=(0,ee.Ik)({"x-scalar-selected-server":(0,ee.lq)((0,ee.Yj)({typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}))},{typeName:"XScalarSelectedServer",typeComment:et("The currently selected server for this API description. For OpenAPI documents the value is the server URL; for AsyncAPI documents the value is the server name (key in `document.servers`).",{language:"yaml",body:"x-scalar-selected-server: https://api.example.com"})}),ey=(0,ee.Ik)({"x-additionalPropertiesName":(0,ee.lq)((0,ee.Yj)({typeComment:"Human-readable label for additional properties on this schema"}))},{typeName:"XAdditionalPropertiesName",typeComment:et("Display name for additional properties on a schema object.",{language:"yaml",body:"x-additionalPropertiesName: metadata"})}),eb=(0,ee.KC)([(0,ee.g1)((0,ee.Yj)(),(0,ee.Yj)()),(0,ee.YO)((0,ee.Yj)())]),eO=(0,ee.Ik)({"x-enumDescriptions":(0,ee.lq)(eb,{typeComment:"Map or list of descriptions keyed by enum value (camelCase spelling)"}),"x-enum-descriptions":(0,ee.lq)(eb,{typeComment:"Map or list of descriptions keyed by enum value (kebab-case spelling)"})},{typeName:"XEnumDescriptions",typeComment:et("Descriptions for enum values. Keys must match enum values.",{language:"yaml",body:`x-enumDescriptions:
25  other: Other reason`})}),ek=(0,ee.Ik)({"x-enum-varnames":(0,ee.lq)((0,ee.YO)((0,ee.Yj)(),{typeComment:"Display names for enum values (same order as `enum`)"})),"x-enumNames":(0,ee.lq)((0,ee.YO)((0,ee.Yj)(),{typeComment:"Alias for x-enum-varnames — display names for enum values"}))},{typeName:"XEnumVarNames",typeComment:et("Display names for enum values. Must match the order of the `enum` array.",{language:"yaml",body:`enum: [moon, asteroid]
26x-enum-varnames: [Moon, Asteroid]`})}),ex=(0,ee.Ik)({"x-examples":(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),(0,ee.bz)(),{typeComment:"Map of example name to example value"}))},{typeName:"XExamples",typeComment:et("Named examples attached to a schema. Keys are example names; values are the example payloads.",{language:"yaml",body:`x-examples:
27  user:
28    id: 1
29    name: Ada`})}),ew=(0,ee.Ik)({"x-variable":(0,ee.lq)((0,ee.Yj)({typeComment:"Variable name used for substitution in the API client"}))},{typeName:"XVariable",typeComment:et("References a variable for schema property substitution in the API client.",{language:"yaml",body:"x-variable: userId"})}),eS=(0,ee.Ik)({propertyName:(0,ee.Yj)({typeComment:"REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined."}),mapping:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),(0,ee.Yj)(),{typeComment:"An object to hold mappings between payload values and schema names or URI references."}))},{typeName:"DiscriminatorObject"}),eC=(0,ee.Ik)({url:(0,ee.Yj)({typeComment:"REQUIRED. The URI for the target documentation. This MUST be in the form of a URI."}),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A description of the target documentation. CommonMark syntax MAY be used for rich text representation."}))},{typeName:"ExternalDocumentationObject"}),e$=(0,ee.Ik)({$status:(0,ee.lq)((0,ee.KC)([(0,ee.eu)("loading"),(0,ee.eu)("error")]),{typeComment:"Indicates the current status of the reference resolution. Can be either 'loading' while fetching the reference or 'error' if the resolution failed."}),$global:(0,ee.lq)((0,ee.zM)({typeComment:"Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context."}))},{typeName:"ReferenceObjectExtensions"}),eA=(0,ee.Ik)({$ref:(0,ee.Yj)({typeComment:"REQUIRED. The reference identifier. This MUST be in the form of a URI."}),summary:(0,ee.lq)((0,ee.Yj)({typeComment:"A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a summary field, then this field has no effect."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a description field, then this field has no effect."}))},{typeName:"ReferenceObject"}),eR=e=>(0,ee.KC)([eA,e]),eE=(0,ee.Ik)({name:(0,ee.lq)((0,ee.Yj)({typeComment:'Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being "array" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored.'})),namespace:(0,ee.lq)((0,ee.Yj)({typeComment:"The URI of the namespace definition. Value MUST be in the form of a non-relative URI."})),prefix:(0,ee.lq)((0,ee.Yj)({typeComment:"The prefix to be used for the name."})),attribute:(0,ee.lq)((0,ee.zM)({typeComment:"Declares whether the property definition translates to an attribute instead of an element. Default value is false."})),wrapped:(0,ee.lq)((0,ee.zM)({typeComment:'MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>
29) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items).'}))},{typeName:"XMLObject"}),eP=(0,ee.Ik)({name:(0,ee.lq)((0,ee.Yj)({typeComment:"Schema name (extension)."})),title:(0,ee.lq)((0,ee.Yj)({typeComment:"A title for the schema."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A description of the schema."})),default:(0,ee.lq)((0,ee.bz)({typeComment:"Default value for the schema."})),enum:(0,ee.lq)((0,ee.YO)((0,ee.bz)(),{typeComment:"Array of allowed values.",typeName:"JsonSchemaEnum"})),const:(0,ee.lq)((0,ee.bz)({typeComment:"Constant value that must match exactly."})),contentMediaType:(0,ee.lq)((0,ee.Yj)({typeComment:"Media type for content validation."})),contentEncoding:(0,ee.lq)((0,ee.Yj)({typeComment:"Content encoding."})),contentSchema:(0,ee.lq)(eR((0,ee.RZ)(()=>eq))),deprecated:(0,ee.lq)((0,ee.zM)({typeComment:"Whether the schema is deprecated."})),discriminator:(0,ee.lq)(eS),readOnly:(0,ee.lq)((0,ee.zM)({typeComment:"Whether the schema is read-only."})),writeOnly:(0,ee.lq)((0,ee.zM)({typeComment:"Whether the schema is write-only."})),xml:(0,ee.lq)(eE),externalDocs:(0,ee.lq)(eC),example:(0,ee.lq)((0,ee.bz)({typeComment:"A free-form field to include an example of an instance for this schema. Deprecated 
29in favor of the JSON Schema examples keyword."})),examples:(0,ee.lq)((0,ee.YO)((0,ee.bz)(),{typeComment:"An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.",typeName:"SchemaExamplesArray"})),allOf:(0,ee.lq)((0,ee.YO)(eR((0,ee.RZ)(()=>eq)),{typeName:"SchemaObjectAllOf"})),oneOf:(0,ee.lq)((0,ee.YO)(eR((0,ee.RZ)(()=>eq)),{typeName:"SchemaObjectOneOf"})),anyOf:(0,ee.lq)((0,ee.YO)(eR((0,ee.RZ)(()=>eq)),{typeName:"SchemaObjectAnyOf"})),not:(0,ee.lq)(eR((0,ee.RZ)(()=>eq)))}),eT=(0,ee.Ik)({multipleOf:(0,ee.lq)((0,ee.ai)({typeComment:"Number must be a multiple of this value."})),maximum:(0,ee.lq)((0,ee.ai)({typeComment:"Maximum value (inclusive)."})),exclusiveMaximum:(0,ee.lq)((0,ee.ai)({typeComment:"Maximum value (exclusive)."})),minimum:(0,ee.lq)((0,ee.ai)({typeComment:"Minimum value (inclusive)."})),exclusiveMinimum:(0,ee.lq)((0,ee.ai)({typeComment:"Minimum value (exclusive)."}))}),e_=(0,ee.E$)([(0,ee.Ik)({type:(0,ee.KC)([(0,ee.eu)("number"),(0,ee.eu)("integer")]),format:(0,ee.lq)((0,ee.Yj)({typeComment:"Different subtypes."}))}),eT],{typeName:"NumberSchemaObject"}),ej=(0,ee.Ik)({maxLength:(0,ee.lq)((0,ee.ai)({typeComment:"Maximum string length."})),minLength:(0,ee.lq)((0,ee.ai)({typeComment:"Minimum string length."})),pattern:(0,ee.lq)((0,ee.Yj)({typeComment:"Regular expression pattern."}))}),eQ=(0,ee.E$)([(0,ee.Ik)({type:(0,ee.eu)("string"),format:(0,ee.lq)((0,ee.Yj)({typeComment:"Different subtypes."}))}),ej],{typeName:"StringSchemaObject"}),eL=(0,ee.Ik)({maxProperties:(0,ee.lq)((0,ee.ai)({typeComment:"Maximum number of properties."})),minProperties:(0,ee.lq)((0,ee.ai)({typeComment:"Minimum number of properties."})),properties:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),eR((0,ee.RZ)(()=>eq)),{typeName:"SchemaObjectProperties"})),required:(0,ee.lq)((0,ee.YO)((0,ee.Yj)(),{typeName:"SchemaObjectRequired"})),additionalProperties:(0,ee.lq)((0,ee.KC)([eR((0,ee.RZ)(()=>eq)),(0,ee.Ik)({}),(0,ee.zM)()],{typeName:"SchemaObjectAdditionalProperties"})),patternProperties:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),eR((0,ee.RZ)(()=>eq)),{typeName:"SchemaObjectPatternProperties"})),propertyNames:(0,ee.lq)(eR((0,ee.RZ)(()=>eq)))}),eM=(0,ee.E$)([(0,ee.Ik)({type:(0,ee.eu)("object")}),eL],{typeName:"ObjectSchemaObject"}),eZ=(0,ee.Ik)({maxItems:(0,ee.lq)((0,ee.ai)({typeComment:"Maximum number of items in array."})),minItems:(0,ee.lq)((0,ee.ai)({typeComment:"Minimum number of items in array."})),uniqueItems:(0,ee.lq)((0,ee.zM)({typeComment:"Whether array items must be unique."})),items:(0,ee.lq)(eR((0,ee.RZ)(()=>eq))),prefixItems:(0,ee.lq)((0,ee.YO)(eR((0,ee.RZ)(()=>eq)),{typeComment:"Schema for tuple validation."}))}),eU=(0,ee.E$)([(0,ee.Ik)({type:(0,ee.eu)("array")}),eZ],{typeName:"ArraySchemaObject"}),eX=(0,ee.KC)([(0,ee.eu)("null"),(0,ee.eu)("boolean"),(0,ee.eu)("string"),(0,ee.eu)("number"),(0,ee.eu)("integer"),(0,ee.eu)("object"),(0,ee.eu)("array")],{typeName:"SchemaObjectMultiTypeKeywords"}),eI=(0,ee.Ik)({type:(0,ee.KC)([(0,ee.eu)("null"),(0,ee.eu)("boolean")],{typeName:"SchemaObjectOtherTypeKeyword"})}),eB=(0,ee.E$)([(0,ee.Ik)({type:(0,ee.YO)(eX,{typeName:"SchemaObjectMultiTypeKeywordArray"}),format:(0,ee.lq)((0,ee.Yj)({typeComment:"Different subtypes."}))}),eT,ej,eZ,eL],{typeName:"MultiTypeSchemaObject"}),eq=(0,ee.E$)([eP,el,ea,ew,ex,eO,ek,ey,eg,(0,ee.KC)([eI,e_,eQ,eM,eU,eB,(0,ee.Ik)({})])],{typeName:"SchemaObject"}),eW=(0,ee.Ik)({$ref:(0,ee.Yj)({typeComment:"REQUIRED. The reference string."})},{typeName:"AsyncApiReferenceObject",typeComment:"JSON Reference for AsyncAPI components."}),eD=e=>(0,o.G)(e)&&"$ref"in e?eD(e["$ref-value"]):e,eN=e=>(0,ee.E$)([eW,(0,ee.Ik)({"$ref-value":(0,ee.lq)((0,ee._3)(eD,e))}),e$]),eV=e=>(0,ee.KC)([e,eN(e)]),eF=(0,ee.Ik)({schemaFormat:(0,ee.lq)((0,ee.Yj)({typeComment:"Media type identifying the schema format. When omitted, defaults to the AsyncAPI JSON Schema vocabulary for the document version."})),schema:(0,ee.L5)({typeComment:"REQUIRED. Schema definition in the format given by schemaFormat."})},{typeName:"AsyncApiMultiFormatSchemaObject"}),ez=(0,ee.KC)([(0,ee.eu)(!0),(0,ee.eu)(!1),eq],{typeName:"AsyncApiSchemaJsonShape"}),eH=eV(ez),eY=eV((0,ee.KC)([eF,ez],{typeName:"AsyncApiMultiFormatSchemaOrSchemaObject"})),eG=(0,ee.Ik)({method:(0,ee.lq)((0,ee.KC)([(0,ee.eu)("GET"),(0,ee.eu)("POST")],{typeComment:"HTTP method used when establishing the WebSocket connection (typically GET)."})),query:(0,ee.lq)(eH,{typeComment:"Schema Object describing WebSocket handshake query parameters (type object with properties). May be a Reference Object."}),headers:(0,ee.lq)(eH,{typeComment:"Schema Object describing HTTP headers sent during the WebSocket handshake 
29(type object with properties). May be a Reference Object."}),bindingVersion:(0,ee.lq)((0,ee.Yj)({typeComment:'Version of the WebSocket binding. When omitted, "latest" is assumed per the binding spec.'}))},{typeName:"AsyncApiWsBindingObject",typeComment:"AsyncAPI WebSocket binding for handshake method, query, and headers."}),eK=["http","ws","kafka","anypointmq","amqp","amqp1","mqtt","mqtt5","nats","jms","sns","solace","sqs","stomp","redis","mercure","ibmmq","googlepubsub","pulsar","ros2"],eJ=()=>(0,ee.lq)((0,ee.L5)({typeComment:"Protocol-specific binding definition (see AsyncAPI protocol bindings)."})),e0=(e,t)=>(0,ee.Ik)((()=>{let e={};for(let t of eK)e[t]="ws"===t?(0,ee.lq)(eG):eJ();return e})(),{typeName:e,typeComment:t}),e1=e0("AsyncApiServerBindingsObject","Map describing protocol-specific definitions for a server (AsyncAPI 3.1.0)."),e2=e0("AsyncApiChannelBindingsObject","Map describing protocol-specific definitions for a channel (AsyncAPI 3.1.0)."),e4=e0("AsyncApiOperationBindingsObject","Map describing protocol-specific definitions for an operation (AsyncAPI 3.1.0)."),e8=e0("AsyncApiMessageBindingsObject","Map describing protocol-specific definitions for a message (AsyncAPI 3.1.0)."),e3=eV((0,ee.Ik)({description:(0,ee.lq)((0,ee.Yj)({typeComment:"A short description of the target documentation. CommonMark syntax MAY be used for rich text representation."})),url:(0,ee.Yj)({typeComment:"REQUIRED. The URL for the target documentation. This MUST be in the form of an absolute URL."})},{typeName:"AsyncApiExternalDocumentationObject"})),e6=eV((0,ee.Ik)({description:(0,ee.lq)((0,ee.Yj)({typeComment:"An optional description of the identifier. CommonMark syntax MAY be used for rich text representation."})),location:(0,ee.Yj)({typeComment:"REQUIRED. A runtime expression that specifies the location of the correlation ID."})},{typeName:"AsyncApiCorrelationIdObject"})),e5=(0,ee.Ik)({headers:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),(0,ee.L5)(),{typeComment:"Example headers; MUST validate against the Message Object headers field when present."})),payload:(0,ee.lq)((0,ee.L5)({typeComment:"Example payload; MUST validate against the Message Object payload field when present."})),name:(0,ee.lq)((0,ee.Yj)({typeComment:"A machine-friendly name."})),summary:(0,ee.lq)((0,ee.Yj)({typeComment:"A short summary of what the example is about."}))},{typeName:"AsyncApiMessageExampleObject"}),e7=eV((0,ee.Ik)({name:(0,ee.Yj)({typeComment:"REQUIRED. The name of the tag."}),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A short description for the tag. CommonMark syntax MAY be used for rich text representation."})),externalDocs:(0,ee.lq)(e3)},{typeName:"AsyncApiTagObject"})),e9=(0,ee.YO)(e7,{typeName:"AsyncApiTagsObject",typeComment:"A list of Tag Objects (entries MAY be Reference Objects)."}),te=eV((0,ee.Ik)({headers:(0,ee.lq)(eY),correlationId:(0,ee.lq)(e6),contentType:(0,ee.lq)((0,ee.Yj)({typeComment:"The content type to use when encoding/decoding a message payload (for example application/json)."})),name:(0,ee.lq)((0,ee.Yj)({typeComment:"A machine-friendly name for the message."})),title:(0,ee.lq)((0,ee.Yj)({typeComment:"A human-friendly title for the message."})),summary:(0,ee.lq)((0,ee.Yj)({typeComment:"A short summary of what the message is about."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A verbose explanation of the message. CommonMark syntax MAY be used for rich text representation."})),tags:(0,ee.lq)(e9),externalDocs:(0,ee.lq)(e3),bindings:(0,ee.lq)(eV(e8)),examples:(0,ee.lq)((0,ee.YO)(eV(e5)))},{typeName:"AsyncApiMessageTraitObject"})),tt=(0,ee.RZ)(()=>eV((0,ee.Ik)({headers:(0,ee.lq)(eY),payload:(0,ee.lq)(eY),correlationId:(0,ee.lq)(e6),contentType:(0,ee.lq)((0,ee.Yj)({typeComment:"The content type to use when encoding/decoding a message payload (for example application/json)."})),name:(0,ee.lq)((0,ee.Yj)({typeComment:"A machine-friendly name for the message."})),title:(0,ee.lq)((0,ee.Yj)({typeComment:"A human-friendly title for the message."})),summary:(0,ee.lq)((0,ee.Yj)({typeComment:"A short summary of what the message is about."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A verbose explanation of the message. C
29ommonMark syntax MAY be used for rich text representation."})),tags:(0,ee.lq)(e9),externalDocs:(0,ee.lq)(e3),bindings:(0,ee.lq)(eV(e8)),examples:(0,ee.lq)((0,ee.YO)(eV(e5))),traits:(0,ee.lq)((0,ee.YO)(te))},{typeName:"AsyncApiMessageObject"}))),ta=(0,ee.g1)((0,ee.Yj)(),tt,{typeName:"AsyncApiMessagesObject",typeComment:"Map of messageId to Message Object or Reference Object."}),tr=eV((0,ee.Ik)({enum:(0,ee.lq)((0,ee.YO)((0,ee.Yj)(),{typeComment:"An enumeration of string values for substitution."})),default:(0,ee.lq)((0,ee.Yj)({typeComment:"The default value to use for substitution, and to send, if an alternate value is not supplied."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"An optional description for the parameter. CommonMark syntax MAY be used for rich text representation."})),examples:(0,ee.lq)((0,ee.YO)((0,ee.Yj)(),{typeComment:"Examples of the parameter value."})),location:(0,ee.lq)((0,ee.Yj)({typeComment:"A runtime expression that specifies the location of the parameter value."}))},{typeName:"AsyncApiParameterObject"})),tn=(0,ee.g1)((0,ee.Yj)(),tr,{typeName:"AsyncApiParametersObject",typeComment:"Map of parameter name to Parameter Object or Reference Object."}),to=(0,ee.Ik)({authorizationUrl:(0,ee.lq)((0,ee.Yj)({typeComment:"REQUIRED for implicit and authorizationCode flows. The authorization URL (absolute URL)."})),tokenUrl:(0,ee.lq)((0,ee.Yj)({typeComment:"REQUIRED for password, clientCredentials, and authorizationCode flows. The token URL (absolute URL)."})),refreshUrl:(0,ee.lq)((0,ee.Yj)({typeComment:"The URL to be used for obtaining refresh tokens. This MUST be in the form of an absolute URL."})),availableScopes:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),(0,ee.Yj)(),{typeComment:"REQUIRED for OAuth2 flows. Map of scope name to a short description."}))},{typeName:"AsyncApiOAuthFlowObject"}),tl=(0,ee.Ik)({implicit:(0,ee.lq)(eV(to)),password:(0,ee.lq)(eV(to)),clientCredentials:(0,ee.lq)(eV(to)),authorizationCode:(0,ee.lq)(eV(to))},{typeName:"AsyncApiOAuthFlowsObject"}),ts=eV((0,ee.Ik)({type:(0,ee.KC)([(0,ee.eu)("userPassword"),(0,ee.eu)("apiKey"),(0,ee.eu)("X509"),(0,ee.eu)("symmetricEncryption"),(0,ee.eu)("asymmetricEncryption"),(0,ee.eu)("httpApiKey"),(0,ee.eu)("http"),(0,ee.eu)("oauth2"),(0,ee.eu)("openIdConnect"),(0,ee.eu)("plain"),(0,ee.eu)("scramSha256"),(0,ee.eu)("scramSha512"),(0,ee.eu)("gssapi")],{typeComment:"REQUIRED. Security scheme type: userPassword, apiKey, X509, symmetricEncryption, asymmetricEncryption, httpApiKey, http, oauth2, openIdConnect, plain, scramSha256, scramSha512, gssapi."}),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A short description for security scheme. CommonMark syntax MAY be used for rich text representation."})),name:(0,ee.lq)((0,ee.Yj)({typeComment:"REQUIRED for httpApiKey. The name of the header, query or cookie parameter."})),in:(0,ee.lq)((0,ee.KC)([(0,ee.eu)("user"),(0,ee.eu)("password"),(0,ee.eu)("query"),(0,ee.eu)("header"),(0,ee.eu)("cookie")],{typeComment:"REQUIRED for apiKey and httpApiKey. Location of the API key: user, password, query, header, or cookie."})),scheme:(0,ee.lq)((0,ee.Yj)({typeComment:"REQUIRED for http. The name of the HTTP Authorization scheme to be used in the Authorization header."})),bearerFormat:(0,ee.lq)((0,ee.Yj)({typeComment:"A hint to the client to identify how the bearer token is formatted."})),flows:(0,ee.lq)(eV(tl)),openIdConnectUrl:(0,ee.lq)((0,ee.Yj)({typeComment:"REQUIRED for openIdConnect. OpenId Connect URL to discover OAuth2 configuration values (absolute URL)."})),scopes:(0,ee.lq)((0,ee.YO)((0,ee.Yj)(),{typeComment:"List of the needed scope names for oauth2 and openIdConnect."}))},{typeName:"AsyncApiSecuritySchemeObject"})),ti=eV((0,ee.Ik)({enum:(0,ee.lq)((0,ee.YO)((0,ee.Yj)(),{typeComment:"An enumeration of string values for substitution."})),default:(0,ee.lq)((0,ee.Yj)({typeComment:"The default value to use for substitution, and to send, if an alternate value is not supplied."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"An optional description for the server variable. CommonMark syntax MAY be used for rich text representation."})),examples:(0,ee.lq)((0,ee.YO)((0,ee.Yj)(),{typeComment:"Examples of the server variable."}))},{typeName:"AsyncApiServerVariableObject"})),tc=eV((0,ee.Ik)({host:(0,ee.Yj)({typeComment:"REQUIRED. The server host name. It MAY include the port. Supports Server Variables in {braces}."}),protocol:(0,ee.Yj)({typeComment:"REQUIRED. The protocol this server supports for connection."}),protocolVersion:(0,ee.lq)((0,ee.Yj)({typeComment:"The version of the protocol used for c
29onnection (for example 0-9-1 for AMQP)."})),pathname:(0,ee.lq)((0,ee.Yj)({typeComment:"The path to a resource in the host. Supports Server Variables in {braces}."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"An optional string describing the server. CommonMark syntax MAY be used for rich text representation."})),title:(0,ee.lq)((0,ee.Yj)({typeComment:"A human-friendly title for the server."})),summary:(0,ee.lq)((0,ee.Yj)({typeComment:"A short summary of the server."})),variables:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),ti,{typeComment:"Map between a variable name and its Server Variable Object or Reference Object."})),security:(0,ee.lq)((0,ee.YO)(ts,{typeComment:"Alternative security schemes for this server; only one of the security scheme objects need to be satisfied."})),tags:(0,ee.lq)(e9),externalDocs:(0,ee.lq)(e3),bindings:(0,ee.lq)(eV(e1))},{typeName:"AsyncApiServerObject"})),tu=(0,ee.g1)((0,ee.Yj)(),tc,{typeName:"AsyncApiServersObject",typeComment:"Map of server name to Server Object or Reference Object."}),td=(0,ee.RZ)(()=>(0,ee.Ik)({address:(0,ee.lq)((0,ee.KC)([(0,ee.Yj)(),(0,ee.me)()],{typeComment:"Channel address or null when unknown."})),messages:(0,ee.lq)(ta),title:(0,ee.lq)((0,ee.Yj)({typeComment:"A human-friendly title for the channel."})),summary:(0,ee.lq)((0,ee.Yj)({typeComment:"A short summary of the channel."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"An optional description of this channel. CommonMark syntax MAY be used for rich text representation."})),servers:(0,ee.lq)((0,ee.YO)(eN(tc),{typeComment:"References to Server definitions where this channel is available (Reference Objects only in the raw document)."})),parameters:(0,ee.lq)(tn),tags:(0,ee.lq)(e9),externalDocs:(0,ee.lq)(e3),bindings:(0,ee.lq)(eV(e2))},{typeName:"AsyncApiChannelObject"})),tp=(0,ee.g1)((0,ee.Yj)(),eV(td),{typeName:"AsyncApiChannelsObject",typeComment:"Map of channelId to Channel Object or Reference Object."}),tm=eV((0,ee.Ik)({description:(0,ee.lq)((0,ee.Yj)({typeComment:"An optional description of the address. CommonMark syntax MAY be used for rich text representation."})),location:(0,ee.Yj)({typeComment:"REQUIRED. A runtime expression that specifies the location of the reply address."})},{typeName:"AsyncApiOperationReplyAddressObject"})),th=(0,ee.RZ)(()=>eV((0,ee.Ik)({address:(0,ee.lq)(tm),channel:(0,ee.lq)(eN(td)),messages:(0,ee.lq)((0,ee.YO)(eN(tt),{typeComment:"List of $ref pointers to Message Objects used as reply payloads (Reference Objects only in the raw document)."}))},{typeName:"AsyncApiOperationReplyObject"}))),tf=eV((0,ee.Ik)({title:(0,ee.lq)((0,ee.Yj)({typeComment:"A human-friendly title for the operation."})),summary:(0,ee.lq)((0,ee.Yj)({typeComment:"A short summary of what the operation is about."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A verbose explanation of the operation. CommonMark syntax MAY be used for rich text representation."})),security:(0,ee.lq)((0,ee.YO)(ts,{typeComment:"Security schemes for this operation. Only one of the security scheme objects MUST be satisfied."})),tags:(0,ee.lq)(e9),externalDocs:(0,ee.lq)(e3),bindings:(0,ee.lq)(eV(e4))},{typeName:"AsyncApiOperationTraitObject"})),tg=(0,ee.RZ)(()=>eV((0,ee.Ik)({action:(0,ee.KC)([(0,ee.eu)("send"),(0,ee.eu)("receive")],{typeComment:"REQUIRED. send when the application sends to the channel; receive when it receives from the channel."}),channel:eN(td),title:(0,ee.lq)((0,ee.Yj)({typeComment:"A human-friendly title for the operation."})),summary:(0,ee.lq)((0,ee.Yj)({typeComment:"A short summary of what the operation is about."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A verbose explanation of the operation. CommonMark syntax MAY be used for rich text representation."})),security:(0,ee.lq)((0,ee.YO)(ts,{typeComment:"Security schemes for this operation. Only one of the security scheme objects MUST be satisfied."})),tags:(0,ee.lq)(e9),externalDocs:(0,ee.lq)(e3),bindings:(0,ee.lq)(eV(e4)),traits:(0,ee.lq)((0,ee.YO)(tf)),messages:(0,ee.lq)((0,ee.YO)(eN(tt),{typeComment:"Subset of channel messages as Reference Objects only. Omit to include all channel messages; use [] for none."})),reply:(0,ee.lq)(th)}
29,{typeName:"AsyncApiOperationObject"}))),tv=(0,ee.g1)((0,ee.Yj)(),tg,{typeName:"AsyncApiOperationsObject",typeComment:"Map of operationId to Operation Object or Reference Object."}),ty=(0,ee.RZ)(()=>(0,ee.Ik)({schemas:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),eY,{typeComment:"Reusable Multi Format Schema, Schema Object, or Reference Object."})),servers:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),tc)),channels:(0,ee.lq)(tp),operations:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),tg)),messages:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),tt)),securitySchemes:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),ts)),serverVariables:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),ti)),parameters:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),tr)),correlationIds:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e6)),replies:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),th)),replyAddresses:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),tm)),externalDocs:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e3)),tags:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e7)),operationTraits:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),tf)),messageTraits:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),te)),serverBindings:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),eV(e1))),channelBindings:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),eV(e2))),operationBindings:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),eV(e4))),messageBindings:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),eV(e8)))},{typeName:"AsyncApiComponentsObject",typeComment:"Reusable objects. Definitions here have no effect unless referenced from outside components."})),tb=(0,ee.Ik)({name:(0,ee.lq)((0,ee.Yj)({typeComment:"The identifying name of the contact person/organization."})),url:(0,ee.lq)((0,ee.Yj)({typeComment:"The URL pointing to the contact information. This MUST be in the form of an absolute URL."})),email:(0,ee.lq)((0,ee.Yj)({typeComment:"The email address of the contact person/organization."}))},{typeName:"AsyncApiContactObject"}),tO=eV((0,ee.Ik)({name:(0,ee.Yj)({typeComment:"REQUIRED. The license name used for the API."}),url:(0,ee.lq)((0,ee.Yj)({typeComment:"A URL to the license used for the API. This MUST be in the form of an absolute URL."}))},{typeName:"AsyncApiLicenseObject"})),tk=(0,ee.Ik)({title:(0,ee.Yj)({typeComment:"REQUIRED. The title of the application."}),version:(0,ee.Yj)({typeComment:"REQUIRED. Provides the version of the application API (not to be confused with the AsyncAPI Specification version)."}),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A short description of the application. CommonMark syntax MAY be used for rich text representation."})),termsOfService:(0,ee.lq)((0,ee.Yj)({typeComment:"A URL to the Terms of Service for the API (absolute URL)."})),contact:(0,ee.lq)(tb),license:(0,ee.lq)(tO),tags:(0,ee.lq)(e9),externalDocs:(0,ee.lq)(e3)},{typeName:"AsyncApiInfoObject"}),tx=(0,ee.E$)([er,ec,ed,eu,es,ef,em,ev],{typeName:"AsyncApiExtensions",typeComment:"AsyncAPI document-level Scalar extensions shared with workspace tooling."}),tw=(0,ee.Ik)({asyncapi:(0,ee.Yj)({typeComment:"REQUIRED. AsyncAPI Specification version (major.minor.patch). Patch MAY include a hyphen suffix."}),id:(0,ee.lq)((0,ee.Yj)({typeComment:"Identifier of the application the AsyncAPI document is defining (URI, RFC3986)."})),info:tk,servers:(0,ee.lq)(tu),defaultContentType:(0,ee.lq)((0,ee.Yj)({typeComment:"Default content type when encoding/decoding a message payload (for example application/json)."})),channels:(0,ee.lq)(tp),operations:(0,ee.lq)(tv),components:(0,ee.lq)(eV(ty))},{typeName:"AsyncApiDocumentCore",typeComment:"Root AsyncAPI 3.1.0 document combining resource listing and API declaration."}),tS=(0,ee.E$)([tw,tx],{typeName:"AsyncApiObject",typeComment:"Root AsyncAPI 3.1.0 document including Scalar workspace extensions (AsyncApiExtensionsSchema)."});var tC=a(95486),t$=a(14701),tA=a(55370),tR=a(21473),tE=a(66772),tP=a(81462),tT=a(32097);let t_=function(e){switch(e.errorType){case n.ArrayContains:return"Expected array to contain at least one matching value";case n.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case n.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case n.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case n.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case n.ArrayUniqueItems:return"Expected array elements to be unique";case n.Array:return"Expected array";case n.AsyncIterator:return"Expected AsyncIterator";case n.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case n.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case n.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case n.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case n.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case n.BigInt:return"Expected bigint";case n.Boolean:return"Expected boolean";case n.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case n.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case n.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case n.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case n.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case n.Date:return"Expected Date";case n.Function:return"Expected function";case n.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case n.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case n.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case n.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case n.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case n.Integer:return"Expected integer";case n.IntersectUnevaluatedProperties:return"Unexpected property";case n.Intersect:return"Expected all values to match";case n.Iterator:return"Expected Iterator";
29case n.Literal:return`Expected ${"string"==typeof e.schema.const?`'${e.schema.const}'`:e.schema.const}`;case n.Never:return"Never";case n.Not:return"Value should not match";case n.Null:return"Expected null";case n.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case n.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case n.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case n.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case n.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case n.Number:return"Expected number";case n.Object:return"Expected object";case n.ObjectAdditionalProperties:return"Unexpected property";case n.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case n.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case n.ObjectRequiredProperty:return"Expected required property";case n.Promise:return"Expected Promise";case n.RegExp:return"Expected string to match regular expression";case n.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case n.StringFormat:return`Expected string to match '${e.schema.format}' format`;case n.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case n.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case n.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case n.String:return"Expected string";case n.Symbol:return"Expected symbol";case n.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case n.Tuple:return"Expected tuple";case n.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case n.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case n.Uint8Array:return"Expected Uint8Array";case n.Undefined:return"Expected undefined";case n.Union:return"Expected union value";case n.Void:return"Expected void";case n.Kind:return`Expected kind '${e.schema[tT.b8]}'`;default:return"Unknown error type"}};var tj=a(9085),tQ=a(15830),tL=a(72804),tM=a(82181),tZ=a(89166);(r=n||(n={}))[r.ArrayContains=0]="ArrayContains",r[r.ArrayMaxContains=1]="ArrayMaxContains",r[r.ArrayMaxItems=2]="ArrayMaxItems",r[r.ArrayMinContains=3]="ArrayMinContains",r[r.ArrayMinItems=4]="ArrayMinItems",r[r.ArrayUniqueItems=5]="ArrayUniqueItems",r[r.Array=6]="Array",r[r.AsyncIterator=7]="AsyncIterator",r[r.BigIntExclusiveMaximum=8]="BigIntExclusiveMaximum",r[r.BigIntExclusiveMinimum=9]="BigIntExclusiveMinimum",r[r.BigIntMaximum=10]="BigIntMaximum",r[r.BigIntMinimum=11]="BigIntMinimum",r[r.BigIntMultipleOf=12]="BigIntMultipleOf",r[r.BigInt=13]="BigInt",r[r.Boolean=14]="Boolean",r[r.DateExclusiveMaximumTimestamp=15]="DateExclusiveMaximumTimestamp",r[r.DateExclusiveMinimumTimestamp=16]="DateExclusiveMinimumTimestamp",r[r.DateMaximumTimestamp=17]="DateMaximumTimestamp",r[r.DateMinimumTimestamp=18]="DateMinimumTimestamp",r[r.DateMultipleOfTimestamp=19]="DateMultipleOfTimestamp",r[r.Date=20]="Date",r[r.Function=21]="Function",r[r.IntegerExclusiveMaximum=22]="IntegerExclusiveMaximum",r[r.IntegerExclusiveMinimum=23]="IntegerExclusiveMinimum",r[r.IntegerMaximum=24]="IntegerMaximum",r[r.IntegerMinimum=25]="IntegerMinimum",r[r.IntegerMultipleOf=26]="IntegerMultipleOf",r[r.Integer=27]="Integer",r[r.IntersectUnevaluatedProperties=28]="IntersectUnevaluatedProperties",r[r.Intersect=29]="Intersect",r[r.Iterator=30]="Iterator",r[r.Kind=31]="Kind",r[r.Literal=32]="Literal",r[r.Never=33]="Never",r[r.Not=34]="Not",r[r.Null=35]="Null",r[r.NumberExclusiveMaximum=36]="NumberExclusiveMaximum",r[r.NumberExclusiveMinimum=37]="NumberExclusiveMinimum",r[r.NumberMaximum=38]="NumberMaximum",r[r.NumberMinimum=39]="NumberMinimum",r[r.NumberMultipleOf=40]="NumberMultipleOf",r[r.Number=41]="Number",r[r.ObjectAdditionalProperties=42]="ObjectAdditionalProperties",r[r.ObjectMaxProperties=43]="ObjectMaxProperties",r[r.ObjectMinProperties=44]="Ob
29jectMinProperties",r[r.ObjectRequiredProperty=45]="ObjectRequiredProperty",r[r.Object=46]="Object",r[r.Promise=47]="Promise",r[r.RegExp=48]="RegExp",r[r.StringFormatUnknown=49]="StringFormatUnknown",r[r.StringFormat=50]="StringFormat",r[r.StringMaxLength=51]="StringMaxLength",r[r.StringMinLength=52]="StringMinLength",r[r.StringPattern=53]="StringPattern",r[r.String=54]="String",r[r.Symbol=55]="Symbol",r[r.TupleLength=56]="TupleLength",r[r.Tuple=57]="Tuple",r[r.Uint8ArrayMaxByteLength=58]="Uint8ArrayMaxByteLength",r[r.Uint8ArrayMinByteLength=59]="Uint8ArrayMinByteLength",r[r.Uint8Array=60]="Uint8Array",r[r.Undefined=61]="Undefined",r[r.Union=62]="Union",r[r.Void=63]="Void";class tU extends tj.i{constructor(e){super("Unknown type"),this.schema=e}}function tX(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function tI(e){return void 0!==e}class tB{constructor(e){this.iterator=e}[Symbol.iterator](){return this.iterator}First(){let e=this.iterator.next();return e.done?void 0:e.value}}function tq(e,t,a,r,n=[]){return{type:e,schema:t,path:a,value:r,message:t_({errorType:e,path:a,schema:t,value:r,errors:n}),errors:n}}function*tW(e,t,a,r){let o=tI(e.$id)?[...t,e]:t;switch(e[tT.b8]){case"Any":return yield*function*(){}();case"Argument":return yield*function*(){}();case"Array":return yield*function*(e,t,a,r){if(!(0,tZ.QS)(r))return yield tq(n.Array,e,a,r);tI(e.minItems)&&!(r.length>=e.minItems)&&(yield tq(n.ArrayMinItems,e,a,r)),tI(e.maxItems)&&!(r.length<=e.maxItems)&&(yield tq(n.ArrayMaxItems,e,a,r));for(let n=0;n<r.length;n++)yield*tW(e.items,t,`${a}/${n}`,r[n]);if(!0===e.uniqueItems&&!function(){let e=new Set;for(let t of r){let a=(0,tL.V)(t);if(e.has(a))return!1;e.add(a)}return!0}()&&(yield tq(n.ArrayUniqueItems,e,a,r)),!(tI(e.contains)||tI(e.minContains)||tI(e.maxContains)))return;let o=tI(e.contains)?e.contains:(0,tM.p)(),l=r.reduce((e,r,n)=>!0===tW(o,t,`${a}${n}`,r).next().done?e+1:e,0);0===l&&(yield tq(n.ArrayContains,e,a,r)),(0,tZ.Mx)(e.minContains)&&l<e.minContains&&(yield tq(n.ArrayMinContains,e,a,r)),(0,tZ.Mx)(e.maxContains)&&l>e.maxContains&&(yield tq(n.ArrayMaxContains,e,a,r))}(e,o,a,r);case"AsyncIterator":return yield*function*(e,t,a){(0,tZ.H1)(a)||(yield tq(n.AsyncIterator,e,t,a))}(e,a,r);case"BigInt":return yield*function*(e,t,a){if(!(0,tZ.cQ)(a))return yield tq(n.BigInt,e,t,a);tI(e.exclusiveMaximum)&&!(a<e.exclusiveMaximum)&&(yield tq(n.BigIntExclusiveMaximum,e,t,a)),tI(e.exclusiveMinimum)&&!(a>e.exclusiveMinimum)&&(yield tq(n.BigIntExclusiveMinimum,e,t,a)),tI(e.maximum)&&!(a<=e.maximum)&&(yield tq(n.BigIntMaximum,e,t,a)),tI(e.minimum)&&!(a>=e.minimum)&&(yield tq(n.BigIntMinimum,e,t,a)),tI(e.multipleOf)&&a%e.multipleOf!==BigInt(0)&&(yield tq(n.BigIntMultipleOf,e,t,a))}(e,a,r);case"Boolean":return yield*function*(e,t,a){(0,tZ.Zx)(a)||(yield tq(n.Boolean,e,t,a))}(e,a,r);case"Constructor":return yield*function*(e,t,a,r){yield*tW(e.returns,t,a,r.prototype)}(e,o,a,r);case"Date":return yield*function*(e,t,a){if(!(0,tZ.XF)(a))return yield tq(n.Date,e,t,a);tI(e.exclusiveMaximumTimestamp)&&!(a.getTime()<e.exclusiveMaximumTimestamp)&&(yield tq(n.DateExclusiveMaximumTimestamp,e,t,a)),tI(e.exclusiveMinimumTimestamp)&&!(a.getTime()>e.exclusiveMinimumTimestamp)&&(yield tq(n.DateExclusiveMinimumTimestamp,e,t,a)),tI(e.maximumTimestamp)&&!(a.getTime()<=e.maximumTimestamp)&&(yield tq(n.DateMaximumTimestamp,e,t,a)),tI(e.minimumTimestamp)&&!(a.getTime()>=e.minimumTimestamp)&&(yield tq(n.DateMinimumTimestamp,e,t,a)),tI(e.multipleOfTimestamp)&&a.getTime()%e.multipleOfTimestamp!=0&&(yield tq(n.DateMultipleOfTimestamp,e,t,a))}(e,a,r);case"Function":return yield*function*(e,t,a){(0,tZ.hg)(a)||(yield tq(n.Function,e,t,a))}(e,a,r);case"Import":return yield*function*(e,t,a,r){let n=globalThis.Object.values(e.$defs),o=e.$defs[e.$ref];yield*tW(o,[...t,...n],a,r)}(e,o,a,r);case"Integer":return yield*function*(e,t,a){if(!(0,tZ.$p)(a))return yield tq(n.Integer,e,t,a);tI(e.exclusiveMaximum)&&!(a<e.exclusiveMaximum)&&(yield tq(n.IntegerExclusiveMaximum,e,t,a)),tI(e.exclusiveMinimum)&&!(a>e.exclusiveMinimum)&&(yield tq(n.IntegerExclusiveMinimum,e,t,a)),tI(e.maximum)&&!(a<=e.maximum)&&(yield tq(n.IntegerMaximum,e,t,a)),tI(e.minimum)&&!(a>=e.minimum)&&(yield tq(n.IntegerMinimum,e,t,a)),tI(e.multipleOf)&&a%e.multipleOf!=0&&(yield tq(n.IntegerMultipleOf,e,t,a))}(e,a,r);case"Intersect":return yield*function*(e,t,a,r){let o=!1;for(let n of e.allOf)for(let e of tW(n,t,a,r))o=!0,yield e;if(o)return yield tq(n.Intersect,e,a,r);if(!1===e.unevaluatedProperties){let t=new RegExp((0,tA.n)(e));for(let o of Object.getOwnPropertyNames(r))t.test(o)||(yield tq(n.IntersectUnevaluatedProperties,e,`${a}/${o}`,r))}if("object"==typeof e.unevaluatedProperties){let n=new RegExp((0,tA.n)(e));for(let o of Object.getOwnPropertyNames(r))if(!n.test(o)){let n=tW(e.unevaluatedProperties,t,`${a}/${o}`,r[o]).next();n.done||(yield n.value)}}}(e,o,a,r);case"Iterator":return yield*function*(e,t,a){(0,tZ.jo)(a)||(yield tq(n.Iterator,e,t,a))}(e,a,r);case"Literal":return yield*function*(e,t,a){a!==e.const&&(yield tq(n.Literal,e,t,a))}(e,a,r);case"Never":return yield*function*(e,t,a){yield tq(n.Never,e,t,a)}(e,a,r);case"Not":return yield*function*(e,t,a,r){!0===tW(e.not,t,a,r).next().done&&(yield tq(n.Not,e,a,r))}(e,o,a,r);
29case"Null":return yield*function*(e,t,a){(0,tZ.Ef)(a)||(yield tq(n.Null,e,t,a))}(e,a,r);case"Number":return yield*function*(e,t,a){if(!t$.Q.IsNumberLike(a))return yield tq(n.Number,e,t,a);tI(e.exclusiveMaximum)&&!(a<e.exclusiveMaximum)&&(yield tq(n.NumberExclusiveMaximum,e,t,a)),tI(e.exclusiveMinimum)&&!(a>e.exclusiveMinimum)&&(yield tq(n.NumberExclusiveMinimum,e,t,a)),tI(e.maximum)&&!(a<=e.maximum)&&(yield tq(n.NumberMaximum,e,t,a)),tI(e.minimum)&&!(a>=e.minimum)&&(yield tq(n.NumberMinimum,e,t,a)),tI(e.multipleOf)&&a%e.multipleOf!=0&&(yield tq(n.NumberMultipleOf,e,t,a))}(e,a,r);case"Object":return yield*function*(e,t,a,r){if(!t$.Q.IsObjectLike(r))return yield tq(n.Object,e,a,r);tI(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield tq(n.ObjectMinProperties,e,a,r)),tI(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield tq(n.ObjectMaxProperties,e,a,r));let o=Array.isArray(e.required)?e.required:[],l=Object.getOwnPropertyNames(e.properties),s=Object.getOwnPropertyNames(r);for(let t of o)s.includes(t)||(yield tq(n.ObjectRequiredProperty,e.properties[t],`${a}/${tX(t)}`,void 0));if(!1===e.additionalProperties)for(let t of s)l.includes(t)||(yield tq(n.ObjectAdditionalProperties,e,`${a}/${tX(t)}`,r[t]));if("object"==typeof e.additionalProperties)for(let n of s)l.includes(n)||(yield*tW(e.additionalProperties,t,`${a}/${tX(n)}`,r[n]));for(let o of l){let l=e.properties[o];e.required&&e.required.includes(o)?(yield*tW(l,t,`${a}/${tX(o)}`,r[o]),!(0,tP.Q)(e)||o in r||(yield tq(n.ObjectRequiredProperty,l,`${a}/${tX(o)}`,void 0))):t$.Q.IsExactOptionalProperty(r,o)&&(yield*tW(l,t,`${a}/${tX(o)}`,r[o]))}}(e,o,a,r);case"Promise":return yield*function*(e,t,a){(0,tZ.OD)(a)||(yield tq(n.Promise,e,t,a))}(e,a,r);case"Record":return yield*function*(e,t,a,r){if(!t$.Q.IsRecordLike(r))return yield tq(n.Object,e,a,r);tI(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield tq(n.ObjectMinProperties,e,a,r)),tI(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield tq(n.ObjectMaxProperties,e,a,r));let[o,l]=Object.entries(e.patternProperties)[0],s=new RegExp(o);for(let[e,n]of Object.entries(r))s.test(e)&&(yield*tW(l,t,`${a}/${tX(e)}`,n));if("object"==typeof e.additionalProperties)for(let[n,o]of Object.entries(r))s.test(n)||(yield*tW(e.additionalProperties,t,`${a}/${tX(n)}`,o));if(!1===e.additionalProperties){for(let[t,o]of Object.entries(r))if(!s.test(t))return yield tq(n.ObjectAdditionalProperties,e,`${a}/${tX(t)}`,o)}}(e,o,a,r);case"Ref":return yield*function*(e,t,a,r){yield*tW((0,tQ.Lk)(e,t),t,a,r)}(e,o,a,r);case"RegExp":return yield*function*(e,t,a){return(0,tZ.IP)(a)?(tI(e.minLength)&&!(a.length>=e.minLength)&&(yield tq(n.StringMinLength,e,t,a)),tI(e.maxLength)&&!(a.length<=e.maxLength)&&(yield tq(n.StringMaxLength,e,t,a)),new RegExp(e.source,e.flags).test(a))?void 0:yield tq(n.RegExp,e,t,a):yield tq(n.String,e,t,a)}(e,a,r);case"String":return yield*function*(e,t,a){if(!(0,tZ.IP)(a))return yield tq(n.String,e,t,a);tI(e.minLength)&&!(a.length>=e.minLength)&&(yield tq(n.StringMinLength,e,t,a)),tI(e.maxLength)&&!(a.length<=e.maxLength)&&(yield tq(n.StringMaxLength,e,t,a)),(0,tZ.IP)(e.pattern)&&(new RegExp(e.pattern).test(a)||(yield tq(n.StringPattern,e,t,a))),(0,tZ.IP)(e.format)&&(tR.ru(e.format)?tR.nu(e.format)(a)||(yield tq(n.StringFormat,e,t,a)):yield tq(n.StringFormatUnknown,e,t,a))}(e,a,r);case"Symbol":return yield*function*(e,t,a){(0,tZ.nH)(a)||(yield tq(n.Symbol,e,t,a))}(e,a,r);case"TemplateLiteral":return yield*function*(e,t,a){if(!(0,tZ.IP)(a))return yield tq(n.String,e,t,a);new RegExp(e.pattern).test(a)||(yield tq(n.StringPattern,e,t,a))}(e,a,r);case"This":return yield*function*(e,t,a,r){yield*tW((0,tQ.Lk)(e,t),t,a,r)}(e,o,a,r);case"Tuple":return yield*function*(e,t,a,r){if(!(0,tZ.QS)(r))return yield tq(n.Tuple,e,a,r);if(void 0===e.items&&0!==r.length||r.length!==e.maxItems)return yield tq(n.TupleLength,e,a,r);if(e.items)for(let n=0;n<e.items.length;n++)yield*tW(e.items[n],t,`${a}/${n}`,r[n])}(e,o,a,r);case"Undefined":return yield*function*(e,t,a){(0,tZ.R1)(a)||(yield tq(n.Undefined,e,t,a))}(e,a,r);case"Union":return yield*function*(e,t,a,r){if((0,tC.J)(e,t,r))return;let o=e.anyOf.map(e=>new tB(tW(e,t,a,r)));yield tq(n.Union,e,a,r,o)}(e,o,a,r);case"Uint8Array":return yield*function*(e,t,a){if(!(0,tZ.G4)(a))return yield tq(n.Uint8Array,e,t,a);tI(e.maxByteLength)&&!(a.length<=e.maxByteLength)&&(yield tq(n.Uint8ArrayMaxByteLength,e,t,a)),tI(e.minByteLength)&&!(a.length>=e.minByteLength)&&(yield tq(n.Uint8ArrayMinByteLength,e,t,a))}(e,a,r);case"Unknown":return yield*function*(){}();case"Void":return yield*function*(e,t,a){t$.Q.IsVoidLike(a)||(yield tq(n.Void,e,t,a))}(e,a,r);default:if(!tE.ru(e[tT.b8]))throw new tU(e);return yield*function*(e,t,a){tE.nu(e[tT.b8])(e,a)||(yield tq(n.Kind,e,t,a))}(e,a,r)}}var tD=a(22262),tN=a(10779),tV=a(52614),tF=a(28041),tz=a(42694);
29let tH=tz.ZU.Object({name:tz.ZU.String(),value:tz.ZU.String()}),tY=tz.ZU.Object({url:tz.ZU.String(),method:tz.ZU.String(),httpVersion:tz.ZU.String(),headers:tz.ZU.Array(tH),cookies:tz.ZU.Array(tH),headersSize:tz.ZU.Number(),queryString:tz.ZU.Array(tH),bodySize:tz.ZU.Number(),postData:tz.ZU.Optional(tz.ZU.Union([tz.ZU.Object({mimeType:tz.ZU.String(),text:tz.ZU.String()}),tz.ZU.Object({mimeType:tz.ZU.String(),params:tz.ZU.Array(tz.ZU.Object({name:tz.ZU.String(),value:tz.ZU.Optional(tz.ZU.String())}))})]))}),tG=tz.ZU.Object({status:tz.ZU.Number(),statusText:tz.ZU.String(),headers:tz.ZU.Array(tH),cookies:tz.ZU.Array(tH),httpVersion:tz.ZU.String(),redirectURL:tz.ZU.String(),headersSize:tz.ZU.Number(),bodySize:tz.ZU.Number(),content:tz.ZU.Object({size:tz.ZU.Number(),mimeType:tz.ZU.String(),encoding:tz.ZU.Optional(tz.ZU.String()),text:tz.ZU.Optional(tz.ZU.String())})}),tK=tz.ZU.Object({time:tz.ZU.Number(),timestamp:tz.ZU.Number(),request:tY,response:tG,meta:tz.ZU.Object({example:tz.ZU.String()}),requestMetadata:tz.ZU.Object({variables:tz.ZU.Record(tz.ZU.String(),tz.ZU.Str
29ing())})}),tJ=tz.ZU.Record(tz.ZU.String(),tz.ZU.Record(tz.ZU.String(),tz.ZU.Array(tK))),t0=tz.ZU.Record(tz.ZU.String(),tJ);var t1=a(33041),t2=a(51324),t4=a(70470),t8=a(12121),t3=a(99113),t6=a(11125),t5=a(13699),t7=a(89889),t9=a(70287),ae=a(21438),at=a(95665),aa=a(22480);let ar=(e,t)=>{if(e&&"object"==typeof e&&"$ref"in e&&"string"==typeof e.$ref&&e.$ref.startsWith("#")){let a=(0,aa.i)(e.$ref.slice(1));return ar((0,f.A)(t.rootNode,a),t)}return e},an=()=>({type:"lifecycle",onAfterNodeProcess:async(e,t)=>{let a=e.externalValue,r=t.resolutionCache;if("string"!=typeof a)return;let n=t.loaders.find(e=>e.validate(a));if(!n)return;r.has(a)||r.set(a,n.exec(a));let o=await r.get(a);o?.ok&&(e.value=o.data)}}),ao=["__scalar_","$status"];var al=a(74958),as=a(95589),ai=a(24445),ac=a(7041),au=a(75182),ad=a(55465),ap=a(30278),am=a(44564),ah=a(50169),af=a(40350),ag=a(40498),av=a(40688),ay=a(81062),ab=a(22377),aO=a(38959),ak=a(95205),ax=a(85058),aw=a(76086),aS=a(37163),aC=a(22460),a$=a(17557),aA=a(39021),aR=a(27279),aE=a(53606),aP=a(91095),aT=a(46284),a_=a(87423),aj=a(54541),aQ=a(8669),aL=a(38709),aM=a(12961),aZ=a(18826),aU=a(24330),aX=a(91092),aI=a(64518),aB=a(47605),aq=a(81235),aW=a(87890),aD=a(77745),aN=a(35398),aV=a(35480),aF=a(90423),az=a(93434);let aH=(0,ee.Ik)({url:(0,ee.Yj)({typeComment:"REQUIRED. The URI for the target documentation. This MUST be in the form of a URI."}),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A description of the target documentation. CommonMark syntax MAY be used for rich text representation."}))},{typeName:"ExternalDocumentationObject"}),aY=(0,ee.Ik)({name:(0,ee.lq)((0,ee.Yj)({typeComment:'Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being "array" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored.'})),namespace:(0,ee.lq)((0,ee.Yj)({typeComment:"The URI of the namespace definition. Value MUST be in the form of a non-relative URI."})),prefix:(0,ee.lq)((0,ee.Yj)({typeComment:"The prefix to be used for the name."})),attribute:(0,ee.lq)((0,ee.zM)({typeComment:"Declares whether the property definition translates to an attribute instead of an element. Default value is false."})),wrapped:(0,ee.lq)((0,ee.zM)({typeComment:'MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items).'}))},{typeName:"XMLObject"}),aG=(0,ee.Ik)({propertyName:(0,ee.Yj)({typeComment:"REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined."}),mapping:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),(0,ee.Yj)(),{typeComment:"An object to hold mappings between payload values and schema names or URI references."}))},{typeName:"DiscriminatorObject"}),aK=(0,ee.Ik)({$status:(0,ee.lq)((0,ee.KC)([(0,ee.eu)("loading"),(0,ee.eu)("error")]),{typeComment:"Indicates the current status of the reference resolution. Can be either 'loading' while fetching the reference or 'error' if the resolution failed."}),$global:(0,ee.lq)((0,ee.zM)({typeComment:"Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context."}))},{typeName:"ReferenceObjectExtensions"}),aJ=(0,ee.Ik)({$ref:(0,ee.Yj)({typeComment:"REQUIRED. The reference identifier. This MUST be in the form of a URI."}),summary:(0,ee.lq)((0,ee.Yj)({typeComment:"A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a summary field, then this field has no effect."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a description field, then this field has no effect."}))},{typeName:"ReferenceObject"}),a0=e=>(0,o.G)(e)&&"$ref"in e?a0(e["$ref-value"]):e;var a1=a(45910);function a2(e){if("url"in e)return(0,O.Z6)({fetch:e.fetch}).exec(e.url);if("path"in e){let t=e.fileLoader;return t?t.exec(e.path):(console.error("No loader provided for loading files"),Promise.resolve({ok:!1}))}return Promise.resolve({ok:!0,data:e.document,raw:JSON.stringify(e.document)})}a(62449);let a4=e=>"url"in e?e.url:"path"in e?e.path:void 0,a8=((e,t={})=>{let a,r,n,o,l,s,i,c,u,d,p,m,h,f,g,v=(0,ee.Ik)({name:(0,ee.lq)((0,ee.Yj)({typeComment:"The name of the contact."})),url:(0,ee.lq)((0,ee.Yj)({typeComment:"The URI for the contact information. This MUST be in the form of a URI."})),email:(0,ee.lq)((0,ee.Yj)({typeComment:"The email address of the contact person/organization. This MUST be in the form of an email address."}))},{typeName:"ContactObject"}),y=(0,ee.Ik)({name:(0,ee.lq)((0,ee.Yj)({typeComment:"REQUIRED. The license name used for the API."})),identifier:(0,ee.lq)((0,ee.Yj)({typeComment:"An SPDX license expression for the API. The identifier field is mutually exclusive of the url field."})),url:(0,ee.lq)((0,ee.Yj)({typeComment:"A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field."}))},{typeName:"LicenseObject"}),b=(0,ee.E$)([(0,ee.Ik)({title:(0,ee.Yj)({typeComment:"REQUIRED. The title of the API."}),version:(0,ee.Yj)({typeComment:"REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description)."}),summary:(0,ee.lq)((0,ee.Yj)({typeComment:"A short summary of the API."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A description of the API. CommonMark syntax MAY be used for rich text representation."})),termsOfService:(0,ee.lq)((0,ee.Yj)({typeComment:"A URI for the Terms of Service for the API. This MUST be in the form of a URI."})),contact:(0,ee.lq)(v),license:(0,ee.lq)(y)}
29,{typeName:"InfoObject"}),av.l,am.w]),O=(0,ee.Ik)({enum:(0,ee.lq)((0,ee.YO)((0,ee.Yj)(),{typeComment:"An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty."})),default:(0,ee.lq)((0,ee.Yj)({typeComment:"The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than inserting the value into the data."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"An optional description for the server variable. CommonMark syntax MAY be used for rich text representation."}))},{typeName:"ServerVariableObject"}),k=(0,ee.Ik)({url:(0,ee.Yj)({typeComment:"REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}."}),description:(0,ee.lq)((0,ee.Yj)({typeComment:"An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation."})),variables:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),O,{typeComment:"A map between a variable name and its value. The value is used for substitution in the server's URL template."}))},{typeName:"ServerObject"}),x=t.schemaObject??(a=[ad.p,ai.S,aU.$,aM.m,aQ.X,aL.n,aj.i,aZ.f,ab.k],r=(0,ee.Ik)({name:(0,ee.lq)((0,ee.Yj)({typeComment:"Schema name (extension)."})),$id:(0,ee.lq)((0,ee.Yj)({typeComment:"JSON Schema 2020-12 schema identifier."})),$anchor:(0,ee.lq)((0,ee.Yj)({typeComment:"JSON Schema 2020-12 plain-name anchor."})),$dynamicAnchor:(0,ee.lq)((0,ee.Yj)({typeComment:"JSON Schema 2020-12 dynamic anchor; the target a matching `$dynamicRef` resolves to."})),$dynamicRef:(0,ee.lq)((0,ee.Yj)({typeComment:"JSON Schema 2020-12 dynamic reference, resolved against the active `$dynamicAnchor`."})),title:(0,ee.lq)((0,ee.Yj)({typeComment:"A title for the schema."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A description of the schema."})),default:(0,ee.lq)((0,ee.bz)({typeComment:"Default value for the schema."})),enum:(0,ee.lq)((0,ee.YO)((0,ee.bz)(),{typeComment:"Array of allowed values.",typeName:"JsonSchemaEnum"})),const:(0,ee.lq)((0,ee.bz)({typeComment:"Constant value that must match exactly."})),contentMediaType:(0,ee.lq)((0,ee.Yj)({typeComment:"Media type for content validation."})),contentEncoding:(0,ee.lq)((0,ee.Yj)({typeComment:"Content encoding."})),contentSchema:(0,ee.lq)(e((0,ee.RZ)(()=>g))),deprecated:(0,ee.lq)((0,ee.zM)({typeComment:"Whether the schema is deprecated."})),discriminator:(0,ee.lq)(aG),readOnly:(0,ee.lq)((0,ee.zM)({typeComment:"Whether the schema is read-only."})),writeOnly:(0,ee.lq)((0,ee.zM)({typeComment:"Whether the schema is write-only."})),xml:(0,ee.lq)(aY),externalDocs:(0,ee.lq)(aH),example:(0,ee.lq)((0,ee.bz)({typeComment:"A free-form field to include an example of an instance for this schema. Deprecated 
29in favor of the JSON Schema examples keyword."})),examples:(0,ee.lq)((0,ee.YO)((0,ee.bz)(),{typeComment:"An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.",typeName:"SchemaExamplesArray"})),allOf:(0,ee.lq)((0,ee.YO)(e((0,ee.RZ)(()=>g)),{typeName:"SchemaObjectAllOf"})),oneOf:(0,ee.lq)((0,ee.YO)(e((0,ee.RZ)(()=>g)),{typeName:"SchemaObjectOneOf"})),anyOf:(0,ee.lq)((0,ee.YO)(e((0,ee.RZ)(()=>g)),{typeName:"SchemaObjectAnyOf"})),not:(0,ee.lq)(e((0,ee.RZ)(()=>g)))}),n=(0,ee.Ik)({__scalar_:(0,ee.Yj)({typeComment:"Internal marker for schema object disambiguation."})}),o=(0,ee.Ik)({multipleOf:(0,ee.lq)((0,ee.ai)({typeComment:"Number must be a multiple of this value."})),maximum:(0,ee.lq)((0,ee.ai)({typeComment:"Maximum value (inclusive)."})),exclusiveMaximum:(0,ee.lq)((0,ee.ai)({typeComment:"Maximum value (exclusive)."})),minimum:(0,ee.lq)((0,ee.ai)({typeComment:"Minimum value (inclusive)."})),exclusiveMinimum:(0,ee.lq)((0,ee.ai)({typeComment:"Minimum value (exclusive)."}))}),l=(0,ee.E$)([(0,ee.Ik)({type:(0,ee.KC)([(0,ee.eu)("number"),(0,ee.eu)("integer")]),format:(0,ee.lq)((0,ee.Yj)({typeComment:"Different subtypes."}))}),o],{typeName:"NumberSchemaObject"}),s=(0,ee.Ik)({maxLength:(0,ee.lq)((0,ee.ai)({typeComment:"Maximum string length."})),minLength:(0,ee.lq)((0,ee.ai)({typeComment:"Minimum string length."})),pattern:(0,ee.lq)((0,ee.Yj)({typeComment:"Regular expression pattern."}))}),i=(0,ee.E$)([(0,ee.Ik)({type:(0,ee.eu)("string"),format:(0,ee.lq)((0,ee.Yj)({typeComment:"Different subtypes."}))}),s],{typeName:"StringSchemaObject"}),c=(0,ee.Ik)({maxProperties:(0,ee.lq)((0,ee.ai)({typeComment:"Maximum number of properties."})),minProperties:(0,ee.lq)((0,ee.ai)({typeComment:"Minimum number of properties."})),properties:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>g)),{typeName:"SchemaObjectProperties"})),required:(0,ee.lq)((0,ee.YO)((0,ee.Yj)(),{typeName:"SchemaObjectRequired"})),additionalProperties:(0,ee.lq)((0,ee.KC)([(0,ee.zM)(),e((0,ee.RZ)(()=>g))],{typeName:"SchemaObjectAdditionalProperties"})),patternProperties:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>g)),{typeName:"SchemaObjectPatternProperties"})),propertyNames:(0,ee.lq)(e((0,ee.RZ)(()=>g)))}),u=(0,ee.E$)([(0,ee.Ik)({type:(0,ee.eu)("object")}),c],{typeName:"ObjectSchemaObject"}),d=(0,ee.Ik)({maxItems:(0,ee.lq)((0,ee.ai)({typeComment:"Maximum number of items in array."})),minItems:(0,ee.lq)((0,ee.ai)({typeComment:"Minimum number of items in array."})),uniqueItems:(0,ee.lq)((0,ee.zM)({typeComment:"Whether array items must be unique."})),items:(0,ee.lq)(e((0,ee.RZ)(()=>g))),prefixItems:(0,ee.lq)((0,ee.YO)(e((0,ee.RZ)(()=>g)),{typeComment:"Schema for tuple validation."}))}),p=(0,ee.E$)([(0,ee.Ik)({type:(0,ee.eu)("array")}),d],{typeName:"ArraySchemaObject"}),m=(0,ee.KC)([(0,ee.eu)("null"),(0,ee.eu)("boolean"),(0,ee.eu)("string"),(0,ee.eu)("number"),(0,ee.eu)("integer"),(0,ee.eu)("object"),(0,ee.eu)("array")],{typeName:"SchemaObjectMultiTypeKeywords"}),h=(0,ee.Ik)({type:(0,ee.KC)([(0,ee.eu)("null"),(0,ee.eu)("boolean")],{typeName:"SchemaObjectOtherTypeKeyword"})}),f=(0,ee.E$)([(0,ee.Ik)({type:(0,ee.YO)(m,{typeName:"SchemaObjectMultiTypeKeywordArray"}),format:(0,ee.lq)((0,ee.Yj)({typeComment:"Different subtypes."}))}),o,s,d,c],{typeName:"MultiTypeSchemaObject"}),g=(0,ee.E$)([r,...a,(0,ee.KC)([n,h,l,i,u,p,f])],{typeName:"SchemaObject"})),w=(0,ee.E$)([(0,ee.Ik)({name:(0,ee.Yj)({typeComment:"REQUIRED. The name of the tag."}),summary:(0,ee.lq)((0,ee.Yj)({typeComment:"A short summary of the tag, used for display purposes. (OpenAPI 3.2)"})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A description for the tag. CommonMark syntax MAY be used for rich text representation."})),parent:(0,ee.lq)((0,ee.Yj)({typeComment:"The name of a tag that this tag is nested under. The named tag MUST exist in the API description, and circular references MUST NOT be used. (OpenAPI 3.2)"})),kind:(0,ee.lq)((0,ee.Yj)({typeComment:"A machine-readable string to categorize what sort of tag it is, for example `nav`, `badge` or `audience`. (OpenAPI 3.2)"})),externalDocs:(0,ee.lq)(aH)},{typeName:"TagObject"}),aF.y,ai.S,ad.p,aC.T]),S=(0,ee.g1)((0,ee.Yj)(),(0,ee.YO)((0,ee.Yj)()),{typeName:"SecurityRequirementObject",typeComment:"Lists the required security schemes to execute this operation. An empty object ({}) indicates anonymous access is supported."}),C=(0,ee.Ik)({description:(0,ee.lq)((0,ee.Yj)({typeComment:"A description for security scheme. CommonMark syntax MAY be used for rich text representation."}))}),$=(0,ee.Ik)({...C.properties,type:(0,ee.eu)("apiKey"),name:(0,ee.Yj)({typeComment:"REQUIRED. The name of the header, query or cookie parameter to be used."}),in:(0,ee.KC)([(0,ee.eu)("query"),(0,ee.eu)("header"),(0,ee.eu)("cookie")],{typeComment:'REQUIRED. The location of the API key. Valid values are "query", "header", or "cookie".'})},{typeName:"ApiKeySecuritySchemeObject"}),A=(0,ee.Ik)({...C.properties,type:(0,ee.eu)("http"),scheme:(0,ee.KC)([(0,ee.eu)("basic"),(0,ee.eu)("bearer")],{typeName:"HttpSecuritySchemeScheme",typeComment:"REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235."}),bearerFormat:(0,ee.lq)((0,ee.Yj)({typeComment:"A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes."}))},{typeName:"HttpSecuritySchemeObject"}),R=[aq.h,aB.D,aD.D,aW.eH,aW.Tn],E=(0,ee.Ik)({refreshUrl:(0,ee.Yj)({typeComment:"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."}),scopes:(0,ee.g1)((0,ee.Yj)(),(0,ee.Yj)(),{typeComment:"REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.",typeName:"OAuthFlowScopes"})}
29,{typeName:"OAuthFlowBaseCore"}),P=(0,ee.E$)([E,...R,(0,ee.Ik)({authorizationUrl:(0,ee.Yj)({typeComment:"REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"ImplicitOAuthFlowObject"})]),T=(0,ee.E$)([E,...R,(0,ee.Ik)({tokenUrl:(0,ee.Yj)({typeComment:"REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"PasswordOAuthFlowObject"}),aI.c]),_=(0,ee.E$)([E,...R,(0,ee.Ik)({tokenUrl:(0,ee.Yj)({typeComment:"REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"ClientCredentialsOAuthFlowObject"}),aI.c]),j=(0,ee.E$)([E,...R,(0,ee.Ik)({authorizationUrl:(0,ee.Yj)({typeComment:"REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."}),tokenUrl:(0,ee.Yj)({typeComment:"REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"AuthorizationCodeOAuthFlowObject"}),aN.X,aI.c]),Q=(0,ee.Ik)({implicit:(0,ee.lq)(P),password:(0,ee.lq)(T),clientCredentials:(0,ee.lq)(_),authorizationCode:(0,ee.lq)(j)},{typeName:"OAuthFlowsObject"}),L=(0,ee.E$)([(0,ee.Ik)({...C.properties,type:(0,ee.eu)("oauth2"),flows:Q},{typeName:"OAuth2SecuritySchemeObject"}),aX.f]),M=(0,ee.Ik)({...C.properties,type:(0,ee.eu)("openIdConnect"),openIdConnectUrl:(0,ee.Yj)({typeComment:"REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata."})},{typeName:"OpenIdConnectSecuritySchemeObject"}),Z=(0,ee.KC)([$,A,L,M],{typeName:"SecuritySchemeObject"}),U=(0,ee.Ik)({schemas:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e(x),{typeName:"ComponentsSchemas"})),responses:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>G)),{typeName:"ComponentsResponses"})),parameters:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>z)),{typeName:"ComponentsParameters"})),examples:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>X)),{typeName:"ComponentsExamples"})),requestBodies:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>H)),{typeName:"ComponentsRequestBodies"})),headers:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>W)),{typeName:"ComponentsHeaders"})),securitySchemes:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>Z)),{typeName:"ComponentsSecuritySchemes"})),links:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>Y)),{typeName:"ComponentsLinks"})),callbacks:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>J)),{typeName:"ComponentsCallbacks"})),pathItems:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),(0,ee.RZ)(()=>ea),{typeName:"ComponentsPathItems"}))},{typeName:"ComponentsObject"}),X=(0,ee.E$)([(0,ee.Ik)({summary:(0,ee.lq)((0,ee.Yj)({typeComment:"Short description for the example."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"Long description for the example. CommonMark syntax MAY be used for rich text representation."})),value:(0,ee.lq)((0,ee.bz)({typeComment:"Embedded literal example. The value field and externalValue field are mutually exclusive."})),externalValue:(0,ee.lq)((0,ee.Yj)({typeComment:"A URI that identifies the literal example. The value field and externalValue field are mutually exclusive."}))},{typeName:"ExampleObject"}),aO.n]),I=(0,ee.Ik)({description:(0,ee.lq)((0,ee.Yj)({typeComment:"A brief description of the header. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:(0,ee.lq)((0,ee.zM)({typeComment:"Determines whether this header is mandatory. The default value is false."})),deprecated:(0,ee.lq)((0,ee.zM)({typeComment:"Specifies that the header is deprecated and SHOULD be transitioned out of usage. Default value is false."}))},{typeName:"HeaderBase"}),B=(0,ee.E$)([I,(0,ee.Ik)({style:(0,ee.lq)((0,ee.Yj)({typeComment:'Describes how the header value will be serialized. The default (and only legal value for headers) is "simple".'})),explode:(0,ee.lq)((0,ee.zM)({typeComment:"When this is true, header values of type array or object generate a single header whose value is a comma-separated list of the array items or key-value pairs of the map, see Style Examples."})),schema:(0,ee.lq)(e((0,ee.RZ)(()=>x))),example:(0,ee.lq)((0,ee.bz)()),examples:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>X)),{typeName:"HeaderExamples"}))},{typeName:"HeaderObjectWithSchema"})]),q=(0,ee.E$)([I,(0,ee.Ik)({content:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),(0,ee.RZ)(()=>N),{typeName:"HeaderContent"}))},{typeName:"HeaderObjectWithContent"})]),W=(0,ee.KC)([B,q],{typeName:"HeaderObject"}),D=(0,ee.Ik)({contentType:(0,ee.lq)((0,ee.Yj)({typeComment:"The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a 
29wildcard media type (e.g. image/*)."})),headers:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>W)),{typeName:"EncodingHeaders"}))},{typeName:"EncodingObject"}),N=(0,ee.Ik)({schema:(0,ee.lq)(e((0,ee.RZ)(()=>x))),example:(0,ee.lq)((0,ee.bz)({typeComment:"Example of the media type."})),examples:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>X)),{typeName:"MediaTypeExamples"})),encoding:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),D,{typeComment:"A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property.",typeName:"MediaTypeEncoding"}))},{typeName:"MediaTypeObject"}),V=(0,ee.E$)([(0,ee.Ik)({name:(0,ee.Yj)({typeComment:'REQUIRED. The name of the parameter. Parameter names are case sensitive. If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object.'}),in:(0,ee.KC)([(0,ee.eu)("query"),(0,ee.eu)("header"),(0,ee.eu)("path"),(0,ee.eu)("cookie")],{typeName:"ParameterLocation",typeComment:'REQUIRED. The location of the parameter. Possible values are "query", "header", "path" or "cookie".'}),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:(0,ee.lq)((0,ee.zM)({typeComment:'Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true.'})),deprecated:(0,ee.lq)((0,ee.zM)({typeComment:"Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false."})),allowEmptyValue:(0,ee.lq)((0,ee.zM)({typeComment:"If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely. This field is valid only for query parameters."})),allowReserved:(0,ee.lq)((0,ee.zM)({typeComment:"When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570. This field only applies to parameters with an in value of query. The default value is false."})),style:(0,ee.lq)((0,ee.Yj)({typeComment:"Describes how the parameter value will be serialized (depending on the schema type)."})),explode:(0,ee.lq)((0,ee.zM)({typeComment:"When this is true, parameter values of type array or object generate separate parameters for each array item or object property."})),schema:(0,ee.lq)(e((0,ee.RZ)(()=>x))),example:(0,ee.lq)((0,ee.bz)()),examples:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>X)),{typeName:"ParameterExamples"}))},{typeName:"ParameterObjectWithSchema"}),a_.I,ai.S,ad.p]),F=(0,ee.E$)([(0,ee.Ik)({name:(0,ee.Yj)({typeComment:'REQUIRED. The name of the parameter. Parameter names are case sensitive. If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object.'}),in:(0,ee.KC)([(0,ee.eu)("query"),(0,ee.eu)("header"),(0,ee.eu)("path"),(0,ee.eu)("cookie")],{typeName:"ParameterLocation",typeComment:'REQUIRED. The location of the parameter. Possible values are "query", "header", "path" or "cookie".'}),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:(0,ee.lq)((0,ee.zM)({typeComment:'Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true.'})),deprecated:(0,ee.lq)((0,ee.zM)({typeComment:"Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false."})),allowEmptyValue:(0,ee.lq)((0,ee.zM)({typeComment:"If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely. This field is valid only for query parameters."})),allowReserved:(0,ee.lq)((0,ee.zM)({typeComment:"When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570. This field only applies to parameters with an in value of query. The default value is false."})),content:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),(0,ee.RZ)(()=>N),{typeName:"ParameterContent"}))},{typeName:"ParameterObjectWithContent"}),a_.I,ai.S,ad.p]),z=(0,ee.KC)([V,F],{typeName:"ParameterObject"}),H=(0,ee.E$)([(0,ee.Ik)({description:(0,ee.lq)((0,ee.Yj)({typeComment:"A brief description of the request body. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),content:(0,ee.g1)((0,ee.Yj)(),(0,ee.RZ)(()=>N),{typeComment:"REQUIRED. The content of the request body. The key is a media type or media type range and the value describes it.",typeName:"RequestBodyContent"}),required:(0,ee.lq)((0,ee.zM)({typeComment:"Determines if the request body is required in the request. Defaults to false."}))},{typeName:"RequestBodyObject"}),aP.h]),Y=(0,ee.Ik)({operationRef:(0,ee.lq)((0,ee.Yj)({typeComment:"A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object."})),operationId:(0,ee.lq)((0,ee.Yj)({typeComment:"The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field."})),parameters:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),(0,ee.bz)(),{typeComment:"A map representing parameters to pass to an operation as specified with operationId or identified via operationRef.",typeName:"LinkParameters"})),requestBody:(0,ee.lq)((0,ee.bz)({typeComment:"A literal value or {expression} to use as a request body when calling the target operation."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A description of the link. CommonMark syntax MAY be used for rich text representation."})),server:(0,ee.lq)(k)},{typeName:"LinkObject"}),G=(0,ee.Ik)({description:(0,ee.Yj)({typeComment:"REQUIRED. A description of the response. CommonMark syntax MAY be used for rich text representation."}),headers:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>
29W)),{typeName:"ResponseHeaders"})),content:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),(0,ee.RZ)(()=>N),{typeName:"ResponseContent"})),links:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>Y)),{typeName:"ResponseLinks"}))},{typeName:"ResponseObject"}),K=(0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>G)),{typeName:"ResponsesObject"}),J=(0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>ea)),{typeName:"CallbackObject"}),et=(0,ee.E$)([(0,ee.Ik)({tags:(0,ee.lq)((0,ee.YO)((0,ee.Yj)(),{typeComment:"A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.",typeName:"OperationTags"})),summary:(0,ee.lq)((0,ee.Yj)({typeComment:"A short summary of what the operation does."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"A verbose explanation of the operation behavior. CommonMark syntax MAY be used for rich text representation."})),externalDocs:(0,ee.lq)(aH),operationId:(0,ee.lq)((0,ee.Yj)({typeComment:"Unique string used to identify the operation. The id MUST be unique among all operations described in the API. The operationId value is case-sensitive."})),parameters:(0,ee.lq)((0,ee.YO)(e((0,ee.RZ)(()=>z)),{typeName:"OperationParameters"})),requestBody:(0,ee.lq)(e((0,ee.RZ)(()=>H))),responses:(0,ee.lq)((0,ee.RZ)(()=>K)),deprecated:(0,ee.lq)((0,ee.zM)({typeComment:"Declares this operation to be deprecated. Consumers SHOULD refrain from usage of the declared operation. Default value is false."})),security:(0,ee.lq)((0,ee.YO)(S,{typeName:"OperationSecurity"})),servers:(0,ee.lq)((0,ee.YO)(k,{typeName:"OperationServers"})),callbacks:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),e((0,ee.RZ)(()=>J)),{typeName:"OperationCallbacks"}))},{typeName:"OperationObject"}),a$.Lm,ai.S,ad.p,aA.Dl,aT.C$,aE.f,ak.E,ax.H,aR.T,aV.n]),ea=(0,ee.Ik)({$ref:(0,ee.lq)((0,ee.Yj)({typeComment:"Allows for a referenced definition of this path item. The value MUST be in the form of a URI, and the referenced structure MUST be in the form of a Path Item Object."})),summary:(0,ee.lq)((0,ee.Yj)({typeComment:"An optional string summary, intended to apply to all operations in this path."})),description:(0,ee.lq)((0,ee.Yj)({typeComment:"An optional string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation."})),get:(0,ee.lq)(e((0,ee.RZ)(()=>et))),put:(0,ee.lq)(e((0,ee.RZ)(()=>et))),post:(0,ee.lq)(e((0,ee.RZ)(()=>et))),delete:(0,ee.lq)(e((0,ee.RZ)(()=>et))),patch:(0,ee.lq)(e((0,ee.RZ)(()=>et))),connect:(0,ee.lq)(e((0,ee.RZ)(()=>et))),options:(0,ee.lq)(e((0,ee.RZ)(()=>et))),head:(0,ee.lq)(e((0,ee.RZ)(()=>et))),trace:(0,ee.lq)(e((0,ee.RZ)(()=>et))),servers:(0,ee.lq)((0,ee.YO)(k,{typeName:"PathItemServers"})),parameters:(0,ee.lq)((0,ee.YO)(e((0,ee.RZ)(()=>z)),{typeName:"PathItemParameters"}))},{typeName:"PathItemObject"}),er=(0,ee.Ik)({"x-original-oas-version":(0,ee.lq)((0,ee.Yj)({typeComment:"Original OpenAPI Specification version of the source document."})),[al.X.document.navigation]:(0,ee.lq)((0,ee.bz)({typeComment:"Client navigation tree (TraversedDocument) for this OpenAPI description. Matches TraversedDocumentObjectRef in strict schemas."}))},{typeName:"OpenApiExtensionsPartial"}),en=(0,ee.Ik)({openapi:(0,ee.Yj)({typeComment:"REQUIRED. This string MUST be the version number of the OpenAPI Specification that the OpenAPI Document uses. The openapi field SHOULD be used by tooling to interpret the OpenAPI Document. This is not related to the API info.version string."}),info:b,jsonSchemaDialect:(0,ee.lq)((0,ee.Yj)({typeComment:"The default value for the $schema keyword within Schema Objects contained within this OAS document. This MUST be in the form of a URI."})),servers:(0,ee.lq)((0,ee.YO)(k,{typeComment:"An array of Server Objects, which provide connectivity information to a target server. If the servers field is not provided, or is an empty array, the default value would be a Server Object with a url value of /.",typeName:"OpenApiServers"})),paths:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),ea,{typeComment:"The available paths and operations for the API.",typeName:"PathsObject"})),webhooks:(0,ee.lq)((0,ee.g1)((0,ee.Yj)(),ea,{typeComment:"The incoming webhooks that MAY be received as part of this API and that the API consumer MAY cho
29ose to implement.",typeName:"WebhooksObject"})),components:(0,ee.lq)(U),security:(0,ee.lq)((0,ee.YO)(S,{typeComment:"A declaration of which security mechanisms can be used across the API. The list of values includes alternative Security Requirement Objects that can be used. Only one of the Security Requirement Objects need to be satisfied to authorize a request.",typeName:"OpenApiSecurity"})),tags:(0,ee.lq)((0,ee.YO)(w,{typeComment:"A list of tags used by the OpenAPI Description with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools."})),externalDocs:(0,ee.lq)(aH)},{typeName:"OpenApiDocumentCore"});return(0,ee.E$)([en,er,af.e,az.Zk,ac.L$,aV.n,au.w,aC.T,aS.sM,ah.V,ap.h,aw._,ay.R,ag.t,ax.H,ak.E],{typeName:"OpenApiDocument",typeComment:"Root OpenAPI 3.1 document including Scalar workspace extensions (OpenApiExtensionsSchema)."})})(e=>(0,ee.KC)([e,(0,ee.E$)([aJ,(0,ee.Ik)({"$ref-value":(0,ee._3)(a0,e)}),aK])])),a3=new Set(["x-scalar-is-dirty","x-scalar-registry-meta"]),a6=e=>{let{verbose:t=!1}=e??{},a=(e,a)=>{let r,n,o;return t?(r=performance.now(),n=a(),o=Math.round(performance.now()-r),console.info(`${e}: ${o} ms`),n):a()},r=(e,a)=>t?y(e,a):a(),n={},m=t=>{e?.plugins?.forEach(e=>e.hooks?.onWorkspaceStateChanges?.(t))},w=(0,tN.Kh)((0,t3.DP)({...e?.meta,documents:{},get activeDocument(){return w.documents[I()]}},{hooks:{onAfterChange(e){let t=e[0];if("documents"===t){if(e.length<2)return void console.log("[WARN]: Overriding entire documents object is not supported");let t=e[1],a=w.documents[t]??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""},r={type:"documents",documentName:t,value:(0,t2.s)(a),path:e.slice(2)};return r.path.length>0&&!a3.has(r.path[0])&&(a["x-scalar-is-dirty"]=!0),void m(r)}if("activeDocument"===t){let t=I(),a=w.documents[t]??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""},r={type:"documents",documentName:t,value:(0,t2.s)(a),path:e.slice(2)};r.path.length>0&&!a3.has(r.path[0])&&(a["x-scalar-is-dirty"]=!0),m(r);return}let{activeDocument:a,documents:r,...n}=w;m({type:"meta",value:(0,t2.s)(n,{depth:1})})}}})),{originalDocuments:T,intermediateDocuments:_,overrides:Q}=(0,t3.DP)({originalDocuments:{},intermediateDocuments:{},overrides:{}},{hooks:{onAfterChange(e){let t=e[0];if(!t||e.length<2)return;let a=e[1];"originalDocuments"===t&&m({type:t,documentName:a,value:(0,t2.s)(T[a]??{}),path:e.splice(2)}),"intermediateDocuments"===t&&m({type:t,documentName:a,value:(0,t2.s)(_[a]??{}),path:e.splice(2)}),"overrides"===t&&m({type:t,documentName:a,value:(0,t2.s)(Q[a]??{})})}}}),L=(({hooks:e})=>{let t=(0,tN.Kh)({});return{getHistory:(e,a,r)=>t[e]?.[a]?.[r],addHistory:(a,r,n,o)=>{t[a]||={},t[a][r]||={},t[a][r][n]||=[],t[a][r][n].length>=5&&(t[a][r][n]=(0,t2.s)(t[a][r][n].filter((e,t)=>0!==t),{depth:1})),t[a][r][n].push(o),e?.onHistoryChange?.(a)},clearOperationHistory:(a,r,n)=>{delete t[a]?.[r]?.[n],e?.onHistoryChange?.(a)},clearPathHistory:(a,r)=>{delete t[a]?.[r],e?.onHistoryChange?.(a)},clearDocumentHistory:a=>{delete t[a],e?.onHistoryChange?.(a)},load:a=>{let r=(0,t4.v)(t0,a);(0,t1.rV)(t,r),Object.keys(r).forEach(t=>{e?.onHistoryChange?.(t)})},export:()=>(0,t2.s)(t)}})({hooks:{onHistoryChange:e=>{m({type:"history",documentName:e,value:L.export()[e]??{}})}}}),Z=(0,tF.Et)({hooks:{onAuthChange:e=>{m({type:"auth",documentName:e,value:Z.export()[e]??{secrets:{},selected:{document:{selectedIndex:0,selectedSchemes:[]},path:{}}}})}}});function I(){return w[al.X.workspace.activeDocument]??Object.keys(w.documents)[0]??""}function W(e,t,a){let r=T[e];if(r)return"json"===t?a?JSON.stringify(r):JSON.stringify(r,null,2):tV.Ay.stringify(r)}let D=async e=>{let t=w.documents[e],a=await Y(e);return t&&a?(T[e]=a,_[e]=(0,t8.G)(a),t["x-scalar-is-dirty"]=!1,!0):(console.warn("Failed to save document, active document is missing"),!1)};async function N(t,m){let{name:f}=t,g=(0,t8.G)(t.meta),v=a("deepClone",()=>(0,t8.G)(t.document));a("initialize",()=>{!1!==t.initialize&&(T[f]=(0,t8.G)(v),_[f]=(0,t8.G)(v),Q[f]=t.overrides??{},n[f]={fetch:t.fetch})});let y=[(0,O.Z6)({fetch:n[f]?.fetch??e?.fetch,limit:10})];if(e?.fileLoader&&y.push(e.fileLoader),(0,as.KK)(v)){let e=v.asyncapi,n=a("upgrade",()=>{var e,t,a;return e=(0,t8.G)(v),(0,o.G)(e)&&"string"==typeof e.asyncapi&&e.asyncapi.startsWith("1.")&&(e.asyncapi="2.6.0",function(e){if(!Array.isArray(e.servers))return;let t={},a=new Set;
29for(let[r,n]of e.servers.entries()){if(!(0,o.G)(n))continue;let e={};for(let[t,a]of Object.entries(n))"scheme"===t?e.protocol=a:"schemeVersion"===t?e.protocolVersion=a:e[t]=a;let s=function(e,t,a){let r=(0,l.Y)(e)||`server-${t}`;if(!a.has(r))return r;let n=2;for(;a.has(`${r}-${n}`);)n+=1;return`${r}-${n}`}("string"==typeof n.description?n.description:"",r,a);a.add(s),t[s]=e}e.servers=t}(e),function(e){if(!(0,o.G)(e.topics)){"string"==typeof e.baseTopic&&delete e.baseTopic;return}let t="string"==typeof e.baseTopic?e.baseTopic:"",a={};for(let[r,n]of Object.entries(e.topics)){if(!(0,o.G)(n))continue;let e=t?`${t}.${r}`:r,l={};for(let[e,t]of Object.entries(n))if("parameters"===e){let e=function(e){if(!Array.isArray(e))return;let t={};for(let a of e){if(!(0,o.G)(a))continue;if("string"==typeof a.$ref){let e=a.$ref.split("/").pop()??"";e&&(t[e]={$ref:a.$ref});continue}if("string"!=typeof a.name)continue;let{name:e,...r}=a;t[e]=r}return t}(t);e&&(l.parameters=e)}else"publish"===e||"subscribe"===e?l[e]={message:t}:l[e]=t;a[e]=l}e.channels=a,delete e.topics,delete e.baseTopic}(e),function(e){if(!(0,o.G)(e.stream))return;let t={};Array.isArray(e.stream.read)&&(t.subscribe={message:{oneOf:e.stream.read}}),Array.isArray(e.stream.write)&&(t.publish={message:{oneOf:e.stream.write}});let a=(0,o.G)(e.channels)?e.channels:{};a["/"]=t,e.channels=a,delete e.stream}(e),function(e){if(!(0,o.G)(e.events))return;let t={};Array.isArray(e.events.receive)&&(t.subscribe={message:{oneOf:e.events.receive}}),Array.isArray(e.events.send)&&(t.publish={message:{oneOf:e.events.send}});let a=(0,o.G)(e.channels)?e.channels:{};a["/"]=t,e.channels=a,delete e.events}(e)),t=e,(0,o.G)(t)&&"string"==typeof t.asyncapi&&t.asyncapi.startsWith("2.")&&(t.asyncapi="3.0.0",function(e){if((0,o.G)(e.components)&&(0,o.G)(e.components.securitySchemes)){for(let t of Object.values(e.components.securitySchemes))if((0,o.G)(t)&&"oauth2"===t.type&&(0,o.G)(t.flows))for(let e of Object.values(t.flows))(0,o.G)(e)&&"scopes"in e&&(e.availableScopes=e.scopes,delete e.scopes)}}(t),function(e){if(!(0,o.G)(e.servers))return;let t=i(e);for(let a of Object.values(e.servers))if((0,o.G)(a)){if("string"==typeof a.url){let{host:e,pathname:t}=function(e){let t=e.match(/^[a-zA-Z][a-zA-Z0-9+\-.]*:\/\/(.*)$/),a=t?t[1]:e,r=a.indexOf("/");return -1===r?{host:a,pathname:""}:{host:a.slice(0,r),pathname:a.slice(r)}}(a.url);a.host=e,t&&(a.pathname=t),delete a.url}Array.isArray(a.security)&&(a.security=s(a.security,t))}}(t),function(e){if(!(0,o.G)(e.channels))return;let t=i(e),a={},r={},n=new Set,s=new Set;for(let[i,h]of Object.entries(e.channels)){var m;if(!(0,o.G)(h))continue;let e=p((m=i,(0,l.Y)(m.replace(/[^a-zA-Z0-9]+/g," "))),n),f={address:i},g={};for(let[e,t]of Object.entries(h))if("publish"!==e&&"subscribe"!==e&&"parameters"!==e){if("servers"===e&&Array.isArray(t)){f.servers=t.map(e=>({$ref:`#/servers/${e}`}));continue}f[e]=t}(0,o.G)(h.parameters)&&(f.parameters=h.parameters);let v=c(h.publish,g),y=c(h.subscribe,g);f.messages=g,a[e]=f,(0,o.G)(h.publish)&&(r[p(u(h.publish,"receive",e),s)]=d(h.publish,"receive",e,v,t)),(0,o.G)(h.subscribe)&&(r[p(u(h.subscribe,"send",e),s)]=d(h.subscribe,"send",e,y,t))}e.channels=a,e.operations=r}(t)),a=t,(0,o.G)(a)&&"string"==typeof a.asyncapi&&a.asyncapi.startsWith("3.0")&&(a.asyncapi="3.1.0",function(e){if(!(0,o.G)(e.operations)||!(0,o.G)(e.channels))return;let t=e.channels;for(let a of Object.values(e.operations))(0,o.G)(a)&&(h(a.messages,a.channel,t),(0,o.G)(a.reply)&&h(a.reply.messages,a.reply.channel??a.channel,t))}(a)),a}),O=(0,R.Q)({...n,...g,"x-original-aas-version":e,"x-scalar-original-document-hash":t.documentHash,"x-scalar-original-source-url":t.documentSource});await r("bundle",async()=>await (0,b.l2)((0,R.T)(O),{treeShake:!1,plugins:y,urlMap:!0,origin:t.documentSource}));let k=a("coerceValue",()=>(0,tD.a)(tS,(0,t8.G)((0,R.T)(O))));if(a("mergeObjects",()=>(0,t5.r)(O,k)),void 0===O[al.X.document.navigation]){let e=(0,t9.U4)(f,O,m);O[al.X.document.navigation]=e}w.documents[f]=(0,t7.G3)(O,{overrides:(0,t2.s)(Q[f])});return}let k=a("upgrade",()=>{let e;return null!==(e=function(e){let t=e;if(!(null!==t&&"object"==typeof t&&"string"==typeof t.swagger&&t.swagger?.startsWith("2.0")))return t;if(t.openapi="3.0.4",delete t.swagger,t.host){let e=Array.isArray(t.schemes)&&t.schemes?.length?t.schemes:["http"];t.servers=e.map(e=>({url:`${e}://${t.host}${t.basePath??""}`})),delete t.basePath,delete t.schemes,delete t.host}else t.basePath&&(t.servers=[{url:t.basePath}],delete t.basePath);if(t.definitions&&(t.components=Object.assign({},t.components,{schemas:t.definitions}),delete t.definitions,t=E(t,e=>("string"==typeof e.$ref&&e.$ref.startsWith("#/definitions/")&&(e.$ref=e.$ref.replace(/^#\/definitions\//,"#/components/schemas/")),e))),Object.hasOwn(t=E(t,e=>("file"===e.type&&(e.type="string",e.format="binary"),e)),"parameters")){t=E(t,e=>{if("string"==typeof e.$ref&&e.$ref.startsWith("#/parameters/")){let a=e.$ref.split("/")[2];if(!a)return e;let r=t.parameters&&"object"==typeof t.parameters&&a in t.parameters?t.parameters[a]:void 0;r&&"object"==typeof r&&"in"in r&&("body"===r.in||"formData"===r.in)?e.$ref=e.$ref.replace(/^#\/parameters\//,"#/components/requestBodies/"):e.$ref=e.$ref.replace(/^#\/parameters\//,"#/components/parameters/")}return e}),t.components??={};let e={},a={};for(let[r,n]of Object.entries(t.parameters&&"object"==typeof t.parameters?t.parameters:{}))if(n&&"object"==typeof n){if("$ref"in n){let t=B(n);e[r]=t}else if("in"in n)if("body"===n.in)a[r]=V(n,t.consumes??[P]);else if("formData"===n.in)a[r]=F([n],t.consumes);else{let t=B(n);e[r]=t}}Object.keys(e).length>0&&(t.components.parameters=e),Object.keys(a).length>0&&(t.components.requestBodies=a),delete t.parameters}if(Object.hasOwn(t,"responses")&&"object"==typeof t.responses&&null!==t.responses){t=E(t,e=>("string"==typeof e.$ref&&e.$ref.startsWith("#/responses/")&&(e.$ref=e.$ref.replace(/^#\/responses\//,"#/components/responses/")),e)),t.components??={};let e={};for(let[a,r]of Object.entries(t.responses))if(r&&"object"==typeof r)if("$ref"in r)e[a]=r;else{let n=t.produces??[P];if(r.schema){for(let e of("object"!=typeof r.content&&(r.content={}),n))r.content[e]={schema:r.schema};delete r.schema}if(r.examples&&"object"==typeof r.examples){"object"!=typeof r.content&&(r.content={});let e=n[0]??P;for(let[t,a]of Object.entries(r.examples))if(U(t))"object"!=typeof r.content[t]&&(r.content[t]={}),r.content[t].example=a;else{"object"!=typeof r.content[e]&&(r.content[e]={});let n=r.content[e];"object"!=typeof n.examples&&(n.examples={}),n.examples[t]=M(a)}delete r.examples}r.content&&"object"==typeof r.content&&j(r.content),r.headers&&"object"==typeof r.headers&&(r.headers=Object.entries(r.headers).reduce((e,[t,a
29])=>a&&"object"==typeof a?{[t]:q(a),...e}:e,{})),e[a]=r}Object.keys(e).length>0&&(t.components.responses=e),delete t.responses}if("object"==typeof t.paths){for(let e in t.paths)if(Object.hasOwn(t.paths,e)){let a,r=t.paths&&"object"==typeof t.paths&&e in t.paths?t.paths[e]:void 0;if(!r||"object"!=typeof r)continue;for(let e in r)if("parameters"===e&&Object.hasOwn(r,e)){let e=z(r.parameters,t.consumes??[P]);r.parameters=e.parameters,a=e.requestBody}else if(Object.hasOwn(r,e)){let n=r[e];if(a&&(n.requestBody=a),n.parameters){let e=z(n.parameters,n.consumes??t.consumes??[P]);n.parameters=e.parameters,e.requestBody&&(n.requestBody=e.requestBody)}if(delete n.consumes,n.responses){for(let e in n.responses)if(Object.hasOwn(n.responses,e)){let a=n.responses[e];if(a.headers&&"object"==typeof a.headers&&(a.headers=Object.entries(a.headers).reduce((e,[t,a])=>a&&"object"==typeof a?{[t]:q(a),...e}:e,{})),a.schema){let e=t.produces??n.produces??[P];for(let t of("object"!=typeof a.content&&(a.content={}),e))a.content[t]={schema:a.schema};delete a.schema}if(a.examples&&"object"==typeof a.examples){"object"!=typeof a.content&&(a.content={});let e=(t.produces??n.produces??[P])[0]??P;for(let[t,r]of Object.entries(a.examples))if(U(t))"object"!=typeof a.content[t]&&(a.content[t]={}),a.content[t].example=r;else{"object"!=typeof a.content[e]&&(a.content[e]={});let n=a.content[e];"object"!=typeof n.examples&&(n.examples={}),n.examples[t]=M(r)}delete a.examples}a.content&&"object"==typeof a.content&&j(a.content)}}delete n.produces,n.parameters?.length===0&&delete n.parameters}}}if(t.securityDefinitions){for(let[e,a]of(("object"!=typeof t.components||null===t.components)&&(t.components={}),t.components&&"object"==typeof t.components&&Object.assign(t.components,{securitySchemes:{}}),Object.entries(t.securityDefinitions)))if("object"==typeof a)if("type"in a&&"oauth2"===a.type){let{flow:r,authorizationUrl:n,tokenUrl:o,scopes:l}=a;t.components&&"object"==typeof t.components&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:{type:"oauth2",flows:{[X(r||"implicit")]:Object.assign({},n&&{authorizationUrl:n},o&&{tokenUrl:o},l&&{scopes:l})}}})}else"type"in a&&"basic"===a.type?t.components&&"object"==typeof t.components&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:{type:"http",scheme:"basic"}}):t.components&&"object"==typeof t.components&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:a});delete t.securityDefinitions}return delete t.consumes,delete t.produces,t}((0,t8.G)(v)))&&"string"==typeof e.openapi&&e.openapi.startsWith("3.0")?(e.openapi="3.1.1",e=E(e,J)):e}),x=(0,R.Q)({...k,...g,"x-original-oas-version":T[f]?.openapi??T[f]?.swagger,"x-scalar-original-document-hash":t.documentHash,"x-scalar-original-source-url":t.documentSource},{showInternal:!0});if(void 0===x[al.X.document.navigation]){await r("bundle",async()=>await (0,b.l2)((0,R.T)(x),{treeShake:!1,plugins:[...y,{type:"lifecycle",onBeforeNodeProcess:(e,t)=>{let{path:a}=t;if("string"==typeof e.$ref&&("components"!==a[0]||"schemas"!==a[1])){let t=new Set(["$ref","summary","description","$status","$id","$anchor","$dynamicAnchor","$dynamicRef","$defs"]);Object.keys(e).forEach(a=>{t.has(a)||delete e[a]})}}},an(),{type:"lifecycle",onBeforeNodeProcess:async(e,t)=>{let{path:a,resolutionCache:r,parentNode:n}=t,o=e.$ref;if("string"!=typeof o||!n||!a.length)return;let l=t.loaders.find(e=>e.validate(o));if(l&&"info"===a[0]){r.has(o)||r.set(o,l.exec(o));let e=await r.get(o);e?.ok&&(n[a.at(-1)]=e.data)}}},{type:"lifecycle",onAfterNodeProcess:(e,t)=>{let{path:a}=t;if(3===a.length&&"components"===a[0]&&"securitySchemes"===a[1]){let a=ar(e,t);"object"==typeof a&&null!==a&&"scheme"in a&&"string"==typeof a.scheme&&a.scheme.toLowerCase()!==a.scheme&&(a.scheme=a.scheme.toLowerCase())}}},{type:"lifecycle",onBeforeNodeProcess:(e,t)=>{let{path:a}=t;if(2!==a.length||"paths"!==a[0]||"string"!=typeof a[1])return;let r=a[1];for(let a of ae.y){let n=ar(e[a],t);if(!(0,o.G)(n))continue;let l=e=>{let a=ar(e,t);return(0,o.G)(a)&&"name"in a&&"string"==typeof a.name&&"in"in a&&"string"==typeof a.in},s=e=>{let a=ar(e,t);return l(a)&&"path"===a.in},i=("parameters"in n&&Array.isArray(n.parameters)?n.parameters:[]).filter(l),c=new Set(i.map(e=>ar(e,t)).filter(s).map(e=>e.name)),u=("parameters"in e&&Array.isArray(e.parameters)?e.parameters:[]).filter(e=>{let a=ar(e,t);if(!s(a))return!1;let r=!c.has(a.name);return r&&c.add(a.name),r}),d=(0,at.G)(r,r,[...i,...u],e=>ar(e,t));d.length>0&&(n.parameters=d)}}}],urlMap:!0,origin:t.documentSource}));let e=a("coerceValue",()=>(0,tD.a)(a8,(0,t8.G)(x)));a("mergeObjects",()=>(0,t5.r)(x,e))}if(!tC.J(a1.rJ,x)){let e=Array.from(function(...e){return new tB(3===e.length?tW(e[0],e[1],"",e[2]):tW(e[0],[],"",e[1]))}(a1.rJ,x));console.warn("document validation errors: "),console.warn(e.map(e=>({message:e.message,path:e.path,schema:e.schema,value:e.value})))}if(void 0===x[al.X.document.navigation]){let e=(0,t9.xp)(f,x,m);x[al.X.document.navigation]=e}w.documents[f]=(0,t7.G3)((0,R.Q)((0,R.T)(x)),{overrides:(0,t2.s)(Q[f])})}async function H(t,a){var n;let{name:l,meta:s}=t,i=(n={fetch:t.fetch??e?.fetch,proxyUrl:w["x-scalar-active-proxy"]??void 0}).fetch?n.fetch:(e,t)=>fetch((0,t6.m)(n.proxyUrl,e.toString()),t),c=await r("loadDocument",async()=>await a2({...t,fetch:i,fileLoader:e?.fileLoader}));return await r("addDocument",async()=>c.ok?(0,o.G)(c.data)?(await N({...t,document:c.data,documentSource:a4(t),documentHash:(0,v.W)(c.raw)},a),!0):(console.error(`Failed to load document '${l}': response data is not a valid object`),w.documents[l]={...s,openapi:"3.1.0",info:{title:`Document '${l}' could not be loaded`,version:"unknown"},"x-scalar-original-document-hash":"not-a-hash"},!1):(console.error(`Failed to fetch document '${l}': request was not successful`),w.documents[l]={...s,openapi:"3.1.0",info:{title:`Document '${l}' could not be loaded`,version:"unknown"},"x-scalar-original-document-hash":"not-a-hash"},!1))}let Y=async e=>{let t=(0,t2.s)(w.documents[e],{depth:1});if(!t)return null;var a=await (0,b.l2)((0,t8.G)(t),{plugins:[{type:"lifecycle",onBeforeNodeProcess:(e,t)=>{let a=e.$ref,r=t.rootNode["x-ext-urls"];"string"==typeof a&&"object"==typeof r&&null!==r&&(0,t1.X9)(a)&&(e.$ref=r[a.split("/").at(-1)??""]??a)}},{type:"lifecycle",onBeforeNodeProcess:e=>{if((0,o.G)(e))for(let t of ao)t in e&&delete e[t]}}],treeShake:!1,urlMap:!0});let r=(0,t8.G)(a);for(let e of["x-ext","x-ext-urls","x-scalar-navigation","x-scalar-is-dirty","x-original-oas-version","x-scalar-original-document-hash","x-scalar-original-source-url","x-scalar-registry-meta"])delete r[e];return r},G=new Set;return{get workspace(){return w},get history(){return L},get auth(){return Z},update(e,t){(0,g.R)(e),Object.assign(w,{[e]:t})},getEditableDocument:Y,getOriginalDocument:e=>{let t=(0,t2.s)(T[e],{depth:1});return t||null},getIntermediateDocument:e=>{let t=(0,t2.s)(_[e],{depth:1});return t||null},updateDocument(e,t,a){let r=w.documents["active"===e?I():e];return!!r&&((0,g.R)(t),Object.assign(r,{[t]:a}),!0)},async replaceDocument(e,t){let a=(0,t2.s)(w.documents[e],{depth:1});if(!a)return console.error(`Document '${e}' does not exist in the workspace.`);await N({name:e,document:t,documentSource:a["x-scalar-original-source-url"],documentHash:a["x-scalar-original-document-hash"],meta:{"x-scalar-registry-meta":a["x-scalar-registry-meta"],"x-scalar-is-dirty":!0,"x-scalar-navigation":void 0},initialize:!1})},resolve:e=>{let t=w.activeDocument,a=(0,f.A)(t,e);return(0,o.G)(a)?(0,b.l2)(a,{root:t,treeShake:!1,plugins:[(0,O.Z6)(),{type:"lifecycle",onResolveStart:e=>{e.$status="loading"},onResolveError:e=>{e.$status="error"},onResolveSuccess:e=>{delete e.$status}},an()],urlMap:!0,visitedNodes:G}):(console.error(`Invalid path provided for resolution. Path: [${e.join(", ")}]. Found value of type: ${typeof a}. Expected an object.`),Promise.resolve())},addDocument:H,deleteDocument:e=>{if(!w.documents[e])return;delete w.documents[e],delete T[e],delete _[e],delete Q[e],delete n[e],L.clearDocumentHistory(e),Z.clearDocumentAuth(e);let t=Object.keys(w.documents);w["x-scalar-active-document"]===e&&(w["x-scalar-active-document"]=t[0]??void 0),m({type:"deleteDocument",documentName:e})},exportDocument:W,exportActiveDocument:(e,t)=>
29W(I(),e,t),buildSidebar:e=>{let t=w.documents[e];if(!t)return console.error(`Document '${e}' does not exist in the workspace.`),!1;if(!(0,as.yF)(t))return!1;let a=(0,t9.xp)(e,t);return t[al.X.document.navigation]=a,!0},saveDocument:D,promoteIntermediateToOriginal:e=>!!_[e],async revertDocumentChanges(e){let t=(0,t2.s)(w.documents[e],{depth:1}),a=(0,t2.s)(T[e],{depth:1});t&&a&&(_[e]=(0,t8.G)(a),await N({name:e,document:a,documentSource:t["x-scalar-original-source-url"],documentHash:t["x-scalar-original-document-hash"],initialize:!1,meta:{"x-scalar-registry-meta":t["x-scalar-registry-meta"]}}))},commitDocument(e){console.warn(`Commit operation for document '${e}' is not implemented yet.`)},exportWorkspace(){let{activeDocument:e,documents:t,...a}=(0,t2.s)(w);return{documents:{...Object.fromEntries(Object.entries(t).map(([e,t])=>[e,(0,t2.s)(t)]))},meta:(0,t2.s)(a)??{},originalDocuments:(0,t2.s)(T),intermediateDocuments:(0,t2.s)(_),overrides:(0,t2.s)(Q),history:L.export(),auth:Z.export()}},loadWorkspace(e){(0,t1.rV)(w.documents,Object.fromEntries(Object.entries(e.documents).map(([t,a])=>[t,(0,t7.G3)((0,R.Q)(a),{overrides:e.overrides[t]})]))),(0,t1.rV)(T,e.originalDocuments),(0,t1.rV)(_,e.intermediateDocuments),(0,t1.rV)(Q,e.overrides),(0,t1.rV)(w,e.meta),L.load(e.history),Z.load(e.auth)},importWorkspaceFromSpecification:e=>{let{documents:t,overrides:a,info:r,workspace:n,...o}=e;return(0,t1.rV)(w,o),Promise.all(Object.entries(t??{}).map(([e,t])=>H({url:t.$ref,name:e,overrides:a?.[e]})))},rebaseDocument:async t=>{let{name:a}=t,l=(0,t2.s)(T[a],{depth:1}),s=(0,t2.s)(w.documents[a],{depth:1}),i=await Y(a);if(!l||!i||!s)return{ok:!1,type:"CORRUPTED_STATE",message:`Cannot rebase document '${a}': missing original or active document state`};let c=await r("loadDocument",async()=>await a2({...t,fetch:t.fetch??e?.fetch,fileLoader:e?.fileLoader}));if(!c.ok||!(0,o.G)(c.data))return{ok:!1,type:"FETCH_FAILED",message:`Failed to fetch document '${a}': request was not successful or returned invalid data`};let u=(0,v.W)(c.raw);if(s["x-scalar-original-document-hash"]===u)return{ok:!1,type:"NO_CHANGES_DETECTED",message:`No changes detected for document '${a}': document hash matches the active document`};let d=c.data;Q[a]=t.overrides??{},n[a]={fetch:t.fetch};let p=x(l,d);if(0===p.length)return{ok:!1,type:"NO_CHANGES_DETECTED",message:`No changes detected for document '${a}' after fetching the latest version.`};let m=((e,t)=>{let a=new S;for(let[t,r]of e.entries())a.addPath(r.path,{index:t,changes:r});let r=new Set,n=new Set,o=new Map,l=new Map;for(let[e,s]of t.entries())a.findMatch(s.path,t=>{if("delete"===s.type)if("delete"===t.changes.type)t.changes.path.length>s.path.length?r.add(t.index):n.add(e);else{r.add(t.index),n.add(e);let a=l.get(e);void 0!==a?a[0].push(t.changes):l.set(e,[[t.changes],[s]])}if("add"===s.type||"update"===s.type){if(A(s.path,t.changes.path)&&"delete"!==t.changes.type&&!C(s.changes,t.changes.changes)){r.add(t.index),"object"==typeof s.changes&&$(s.changes,t.changes.changes);return}r.add(t.index),n.add(e);let a=o.get(t.index);void 0!==a?a[1].push(s):o.set(t.index,[[t.changes],[s]])}});let s=[...o.values(),...l.values()];return{diffs:[...e.filter((e,t)=>!r.has(t)),...t.filter((e,t)=>!n.has(t))],conflicts:s}})(p,x(l,i));return{ok:!0,conflicts:m.conflicts,changes:m.diffs,applyChanges:async e=>{let r=(()=>{if("resolvedConflicts"in e){let a=m.diffs.concat(e.resolvedConflicts);var t=(0,t8.G)(l);let r=(e,t,a,n=0)=>{if(void 0===t[n])throw new k(`Process aborted. Path ${t.join(".")} at depth ${n} is undefined, check diff object`);if(n>=t.length-1)return void("add"===a.type||"update"===a.type?e[t[n]]=a.changes:Array.isArray(e)?e.splice(Number.parseInt(t[n]),1):delete e[t[n]]);if(void 0===e[t[n]]||"object"!=typeof e[t[n]])throw new k("Process aborted, check diff object");r(e[t[n]],t,a,n+1)};for(let e of a){if(0===e.path.length)throw new k("Process aborted. Root-level replacement is not supported, the change targets the document itself instead of a property inside it");let t=e.path.find(g.s);if(void 0!==t)throw new k(`Process aborted. Path ${e.path.join(".")} contains the unsafe segment "${t}", which can modify the prototype chain`)}for(let e of a)r(t,e.path,e);return t}return e.resolvedDocument})(),n=x(d,r).length>0;T[a]=r,_[a]=(0,t8.G)(r);let o=(0,as.yF)(s),i=o?s["x-scalar-environments"]:void 0,u=o?s["x-scalar-order"]:void 0,p=r.
29servers,h=s.servers,f=Array.isArray(p)&&p.length>0,y=Array.isArray(h)&&h.length>0,b=(0,as.KK)(r)||f||!y?void 0:(0,t8.G)(h);await N({...t,document:{...r,[al.X.document.navigation]:void 0},documentSource:a4(t),documentHash:(0,v.W)(c.raw),initialize:!1,meta:{...t.meta,"x-scalar-registry-meta":s["x-scalar-registry-meta"],"x-scalar-watch-mode":s["x-scalar-watch-mode"],"x-scalar-selected-server":s["x-scalar-selected-server"],...void 0!==i?{"x-scalar-environments":i}:{},...void 0!==u?{"x-scalar-order":u}:{},...void 0!==b?{servers:b}:{},"x-scalar-is-dirty":n}})}}}}}},37163:(e,t,a)=>{"use strict";a.d(t,{Jg:()=>s,sM:()=>i,w6:()=>o});var r=a(42694),n=a(92412);let o=r.ZU.Object({name:r.ZU.String(),value:r.ZU.String(),domain:r.ZU.Optional(r.ZU.String()),path:r.ZU.Optional(r.ZU.String()),isDisabled:r.ZU.Optional(r.ZU.Boolean())}),l=(0,n.Ik)({name:(0,n.Yj)({typeComment:"Defines the cookie name and its value."}),value:(0,n.Yj)({typeComment:"Defines the cookie value."}),domain:(0,n.lq)((0,n.Yj)({typeComment:"Allows this domain and all subdomains."})),path:(0,n.lq)((0,n.Yj)({typeComment:"Restricts this cookie to requests that contain this path."})),isDisabled:(0,n.lq)((0,n.zM)({typeComment:"Indicates if the cookie is disabled."}))},{typeName:"XScalarCookie",typeComment:"A persisted cookie definition for the workspace"}),s=r.ZU.Object({"x-scalar-cookies":r.ZU.Optional(r.ZU.Array(o))}),i=(0,n.Ik)({"x-scalar-cookies":(0,n.lq)((0,n.YO)(l,{typeComment:"Cookies persisted for the workspace"}))},{typeName:"XScalarCookies",typeComment:"Persisted workspace cookies"})},37433:(e,t,a)=>{"use strict";a.d(t,{w:()=>u});var r=a(68491),n=a(72662),o=a(8873),l=a(38547),s=a(10779),i=a(61930),c=a(60411),u=(0,l.pM)({inheritAttrs:!1,__name:"ScalarPopover",props:{focus:{type:Boolean},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e){let{cx:t}=(0,o.AX)();return(a,o)=>((0,l.uX)(),(0,l.Wv)((0,s.R1)(c.AM),{as:"template"},{default:(0,l.k6)(({open:o})=>[(0,l.bF)((0,s.R1)(r.A),(0,i._B)((0,l.Ng)(a.$props)),{floating:(0,l.k6)(({width:r,height:i})=>[(0,l.bF)((0,s.R1)(c.QT),(0,l.v6)({focus:e.focus,style:{width:r,height:i}},(0,s.R1)(t)("relative flex flex-col p-0.75")),{default:(0,l.k6)(({close:e})=>[(0,l.RG)(a.$slots,"popover",{close:()=>e(),open:o}),(0,l.RG)(a.$slots,"backdrop",{open:o},()=>[(0,l.bF)((0,s.R1)(n.A))])]),_:2},1040,["focus","style"])]),default:(0,l.k6)(()=>[(0,l.bF)((0,s.R1)(c.ut),{as:"template"},{default:(0,l.k6)(()=>[(0,l.RG)(a.$slots,"default",{open:o})]),_:2},1024)]),_:2},1040)]),_:3}))}})},37560:(e,t,a)=>{"use strict";a.d(t,{p:()=>y});var r=a(80986),n=a(12121),o=a(51316),l=a(13699),s=a(70470),i=a(45910),c=a(60652),u=a(24252);let d={"x-scalar-secret-client-id":"x-scalar-client-id","x-scalar-secret-client-secret":"clientSecret","x-scalar-secret-password":"password","x-scalar-secret-redirect-uri":"x-scalar-redirect-uri","x-scalar-secret-token":"token","x-scalar-secret-username":"username","x-scalar-secret-auth-url":"authorizationUrl","x-scalar-secret-token-url":"tokenUrl"},p=(e,t,a={},r)=>Object.fromEntries(e.map(e=>{let n="string"==typeof a[e]?a[e]:void 0,o="string"==typeof t[e]?t[e]:void 0,l="string"==typeof t[d[e]]?t[d[e]]:void 0;return[e,"x-scalar-secret-redirect-uri"===e?n??o??l??r??"":n||o||l||""]})),m=(e,t)=>{let a=e[t];return"string"==typeof a?a:""},h=(e={})=>{let t=e["x-scalar-secret-refresh-token"];return"string"==typeof t?{"x-scalar-secret-refresh-token":t}:{}},f=(e,t={})=>{let a=t["x-scalar-credentials-location"]??e["x-scalar-credentials-location"];return a?{"x-scalar-credentials-location":a}:{}},g=(e,t,a)=>{let n=new Set;return{flows:(0,r.W)(e??{}).reduce((e,[r,o])=>{if(!(0,c.G)(o))return e;let l=o.selectedScopes;return Array.isArray(l)&&l.forEach(e=>"string"==typeof e&&n.add(e)),"implicit"===r&&(e.implicit={...o,...p(["x-scalar-secret-client-id","x-scalar-secret-redirect-uri","x-scalar-secret-token","x-scalar-secret-auth-url"],o,t?.implicit,a),...h(t?.implicit)}),"password"===r&&(e[r]={...o,...p(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-username","x-scalar-secret-password","x-scalar-secret-token","x-scalar-secret-token-url"],o,t?.password),...f(o,t?.password),...h(t?.password)}),"clientCredentials"===r&&(e[r]={...o,...p(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-token","x-scalar-secret-token-url"],o,t?.clientCredentials),...f(o,t?.clientCredentials),...h(t?.clientCredentials)}),"authorizationCode"===r&&(e[r]={...o,...p(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-redirect-uri","x-scalar-secret-token","x-scalar-secret-auth-url","x-scalar-secret-token-url"],o,t?.authorizationCode,a),...f(o,t?.authorizationCode),...h(t?.authorizationCode)}),e},{}),selectedScopes:Array.from(n)}},v=e=>{let t=(0,o.A)(e);return!!t&&"object"==typeof t&&"availableScopes"in t},y=(e={},t={},a,c,d)=>
29{let p=(0,r.W)(e).reduce((e,[t,a])=>{let r=(0,n.G)((0,o.A)(a));return r&&(e[t]=r),e},{}),h=(0,l.r)(p,t)??{};return(0,r.W)(h).reduce((e,[t,n])=>{let l=(e=>{if(!(e&&"object"==typeof e&&"type"in e))return e;if("httpApiKey"===e.type)return{...e,type:"apiKey"};if("oauth2"===e.type&&"flows"in e&&e.flows){let t=(e=>{let t=(0,o.A)(e);if(!t||"object"!=typeof t)return e;let a=Object.entries(t);return a.some(([,e])=>v(e))?Object.fromEntries(a.map(([e,t])=>{if(!v(t))return[e,t];let{availableScopes:a,scopes:r,...n}=(0,o.A)(t);return[e,{...n,scopes:r??a??{}}]})):e})(e.flows);if(t!==e.flows)return{...e,flows:t}}return e})(n),p={...(0,s.v)(i.k1,l),...l};return e[t]=((e,t,a,n,o)=>{let l=t.getAuthSecrets(n,a);if("apiKey"===e.type){let t=l?.type==="apiKey"?l:void 0;return{...e,"x-scalar-secret-token":t?.["x-scalar-secret-token"]||m(e,"x-scalar-secret-token")||e.value||""}}if("http"===e.type){let t=l?.type==="http"?l:void 0;return{...e,"x-scalar-secret-token":t?.["x-scalar-secret-token"]||m(e,"x-scalar-secret-token")||e.token||"","x-scalar-secret-username":t?.["x-scalar-secret-username"]||m(e,"x-scalar-secret-username")||e.username||"","x-scalar-secret-password":t?.["x-scalar-secret-password"]||m(e,"x-scalar-secret-password")||e.password||""}}if("oauth2"===e.type){let t=l?.type==="oauth2"?l:void 0,a=g(e.flows,t,o),r=Array.from(new Set([...Array.isArray(e["x-default-scopes"])?e["x-default-scopes"].filter(e=>"string"==typeof e):[],...a.selectedScopes]));return{...e,flows:a.flows,"x-default-scopes":r}}if("openIdConnect"===e.type){let t=l?.type==="openIdConnect"?l:void 0,a=g({implicit:t?.implicit,password:t?.password,clientCredentials:t?.clientCredentials,authorizationCode:t?.authorizationCode},t,o);return{...e,...(0,r.W)(a.flows).length?{flows:a.flows}:{}}}if((0,u.L)(e.type)){let t=l?.type===e.type?l:void 0;return{...e,"x-scalar-secret-username":t?.["x-scalar-secret-username"]||e.username||"","x-scalar-secret-password":t?.["x-scalar-secret-password"]||e.password||""}}if("X509"===e.type){let t=l?.type==="X509"?l:void 0;return{...e,"x-scalar-secret-client-certificate":t?.["x-scalar-secret-client-certificate"]||"","x-scalar-secret-private-key":t?.["x-scalar-secret-private-key"]||""}}if((0,u.P)(e.type)){let t=l?.type===e.type?l:void 0;return{...e,"x-scalar-secret-token":t?.["x-scalar-secret-token"]||e.token||""}}if("gssapi"===e.type){let t=l?.type==="gssapi"?l:void 0;return{...e,"x-scalar-secret-service-name":t?.["x-scalar-secret-service-name"]||""}}return e})(p,a,t,c,d),e},{})}},37862:(e,t,a)=>{"use strict";a.d(t,{k:()=>r.A});var r=a(1701);a(84044)},38653:(e,t,a)=>{"use strict";a.d(t,{Ee:()=>f,ZL:()=>d,k2:()=>m});var r=a(38547),n=a(10779),o=a(65790),l=a(96691),s=a(9e3),i=a(78465);let c=new WeakMap;function u(e,t){var a;let r=t(null!=(a=c.get(e))?a:0);return r<=0?c.delete(e):c.set(e,r),r}let d=(0,r.pM)({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:a}){let c=(0,n.KR)(null),d=(0,r.EW)(()=>(0,s.T)(c)),m=(0,o.S)(),f=(0,r.WQ)(h,null),g=(0,n.KR)(!0===m||null==f?function(e){let t=(0,s.T)(e);if(!t){if(null===e)return null;throw Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let a=t.getElementById("headlessui-portal-root");if(a)return a;let r=t.createElement("div");return r.setAttribute("id","headlessui-portal-root"),t.body.appendChild(r)}(c.value):f.resolveTarget());g.value&&u(g.value,e=>e+1);let v=(0,n.KR)(!1);(0,r.sV)(()=>{v.value=!0}),(0,r.nT)(()=>{m||null!=f&&(g.value=f.resolveTarget())});let y=(0,r.WQ)(p,null),b=!1,O=(0,r.nI)();return(0,r.wB)(c,()=>{if(b||!y)return;let e=(0,l.t)(c);e&&((0,r.hi)(y.register(e),O),b=!0)}),(0,r.hi)(()=>{var e,t;let a=null==(e=d.value)?void 0:e.getElementById("headlessui-portal-root");!a||g.value!==a||u(g.value,e=>e-1)||g.value.children.length>0||null==(t=g.value.parentElement)||t.removeChild(g.value)}),()=>v.value&&null!==g.value?(0,r.h)(r.Im,{to:g.value},(0,i.XX)({ourProps:{ref:c,"data-headlessui-portal":""},theirProps:e,slot:{},attrs:a,slots:t,name:"Portal"})):null}}),p=Symbol("PortalParentContext");function m(){let e=(0,r.WQ)(p,null),t=(0,n.KR)([]);function a(a){let r=t.value.indexOf(a);-1!==r&&t.value.splice(r,1),e&&e.unregister(a)}let o={register:function(r){return t.value.push(r),e&&e.register(r),()=>a(r)},unregister:a,portals:t};return[t,(0,r.pM)({name:"PortalWrapper",setup:(e,{slots:t})=>((0,r.Gt)(p,o),()=>{var e;return null==(e=t.default)?void 0:e.call(t)})})]}let h=Symbol("PortalGroupContext"),f=(0,r.pM)({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:a}){let o=(0,n.Kh)({resolveTarget:()=>e.target});return(0,r.Gt)(h,o),()=>{let{target:r,...n}=e;return(0,i.XX)({theirProps:n,ourProps:{},slot:{},attrs:t,slots:a,name:"PortalGroup"})}}})},38709:(e,t,a)=>{"use strict";a.d(t,{a:()=>o,n:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-enum-varnames":r.ZU.Optional(r.ZU.Array(r.ZU.String())),"x-enumNames":r.ZU.Optional(r.ZU.Array(r.ZU.String()))}),l=(0,n.Ik)({"x-enum-varnames":(0,n.lq)((0,n.YO)((0,n.Yj)())),"x-enumNames":(0,n.lq)((0,n.YO)((0,n.Yj)()))},{typeName:"XEnumVarNames",typeComment:"Display names for enum values"})},38749:(e,t,a)=>{"use strict";a.d(t,{ev:()=>n.A,ks:()=>i});var r=a(45340),n=a(73330),o=a(38547),l=a(10779),s=["id"],i=(0,o.pM)({inheritAttrs:!1,__name:"ScalarTeleportRoot",props:{id:{}},setup(e){let t=(0,r.AQ)(e.id);return(e,a)=>((0,o.uX)(),(0,o.CE)(o.FK,null,[(0,o.RG)(e.$slots,"default"),(0,o.Lk)("div",{id:(0,l.R1)(t),class:"scalar-teleport-root contents"},null,8,s)],64))}})},38959:(e,t,a)=>{"use strict";a.d(t,{Q:()=>o,n:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-disabled":r.ZU.Optional(r.ZU.Boolean())}),l=(0,n.Ik)({"x-disabled":(0,n.lq)((0,n.zM)())},{typeName:"XDisabled",typeComment:"Whether a parameter example is disabled in the API client"})},39021:(e,t,a)=>{"use strict";a.d(t,{Dl:()=>g,al:()=>u});var r=a(42694),n=a(92412);let o=r.ZU.Object({lang:r.ZU.Optional(r.ZU.String()),label:r.ZU.Optional(r.ZU.String()),source:r.ZU.String()}),l=r.ZU.Object({language:r.ZU.Optional(r.ZU.String()),code:r.ZU.String(),name:r.ZU.Optional(r.ZU.String()),install:r.ZU.Optional(r.ZU.String()),correspondingExample:r.ZU.Optional(r.ZU.String())}),s=r.ZU.Object({"code-samples":r.ZU.Optional(r.ZU.Array(l)),"samples-languages":r.ZU.Optional(r.ZU.Array(r.ZU.String()))}),i=r.ZU.Object({title:r.ZU.Optional(r.ZU.String()),request:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Str
29ing())),response:r.ZU.Optional(r.ZU.Unknown())}),c=r.ZU.Union([i,r.ZU.Array(i)]),u=r.ZU.Object({"x-codeSamples":r.ZU.Optional(r.ZU.Array(o)),"x-code-samples":r.ZU.Optional(r.ZU.Array(o)),"x-custom-examples":r.ZU.Optional(r.ZU.Array(o)),"x-readme":r.ZU.Optional(s),"x-stainless-snippets":r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.String())),"x-stainless-examples":r.ZU.Optional(c),"x-scalar-examples":r.ZU.Optional(r.ZU.Array(o))}),d=(0,n.Ik)({lang:(0,n.lq)((0,n.Yj)()),label:(0,n.lq)((0,n.Yj)()),source:(0,n.Yj)()}),p=(0,n.Ik)({language:(0,n.lq)((0,n.Yj)()),code:(0,n.Yj)(),name:(0,n.lq)((0,n.Yj)()),install:(0,n.lq)((0,n.Yj)()),correspondingExample:(0,n.lq)((0,n.Yj)())}),m=(0,n.Ik)({"code-samples":(0,n.lq)((0,n.YO)(p)),"samples-languages":(0,n.lq)((0,n.YO)((0,n.Yj)()))}),h=(0,n.Ik)({title:(0,n.lq)((0,n.Yj)()),request:(0,n.lq)((0,n.g1)((0,n.Yj)(),(0,n.Yj)())),response:(0,n.lq)((0,n.L5)())}),f=(0,n.KC)([h,(0,n.YO)(h)]),g=(0,n.Ik)({"x-codeSamples":(0,n.lq)((0,n.YO)(d)),"x-code-samples":(0,n.lq)((0,n.YO)(d)),"x-custom-examples":(0,n.lq)((0,n.YO)(d)),"x-readme":(0,n.lq)(m),"x-stainless-snippets":(0,n.lq)((0,n.g1)((0,n.Yj)(),(0,n.Yj)())),"x-stainless-examples":(0,n.lq)(f),"x-scalar-examples":(0,n.lq)((0,n.YO)(d))})},40279:(e,t,a)=>{"use strict";a.d(t,{F:()=>o,E:()=>n});var r=a(80986);let n={c:["libcurl"],clojure:["clj_http"],csharp:["httpclient","restsharp"],dart:["http"],fsharp:["httpclient"],go:["native"],http:["http1.1"],java:["asynchttp","nethttp","okhttp","unirest"],js:["axios","fetch","jquery","ofetch","xhr"],julia:["http"],kotlin:["okhttp"],node:["axios","fetch","ofetch","undici"],objc:["nsurlsession"],ocaml:["cohttp"],php:["curl","guzzle","laravel"],powershell:["restmethod","webrequest"],python:["python3","requests","aiohttp","httpx_sync","httpx_async"],r:["httr2"],ruby:["native"],rust:["reqwest"],shell:["curl","httpie","wget"],swift:["nsurlsession"]},o=(0,r.W)(n).flatMap(([e,t])=>t.map(t=>`${e}/${t}`))},40350:(e,t,a)=>{"use strict";a.d(t,{$:()=>o,e:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Partial(r.ZU.Object({"x-scalar-original-source-url":r.ZU.String()})),l=(0,n.Ik)({"x-scalar-original-source-url":(0,n.lq)((0,n.Yj)({typeComment:"Original document source URL when loaded from an external source"}))},{typeName:"XScalarOriginalSourceUrl",typeComment:"Original document source URL when loaded from an external source."})},40498:(e,t,a)=>{"use strict";a.d(t,{m:()=>l,t:()=>i});var r=a(42694),n=a(92412);let o=r.ZU.Object({namespace:r.ZU.String(),slug:r.ZU.String(),version:r.ZU.String(),commitHash:r.ZU.Optional(r.ZU.String()),conflictCheckedAgainstHash:r.ZU.Optional(r.ZU.String()),hasConflict:r.ZU.Optional(r.ZU.Boolean())}),l=r.ZU.Object({"x-scalar-registry-meta":r.ZU.Optional(o)}),s=(0,n.Ik)({namespace:(0,n.Yj)({typeComment:"The namespace under which this registry meta is scoped."}),slug:(0,n.Yj)({typeComment:"A unique slug identifier for this registry meta within the namespace."}),version:(0,n.Yj)({typeComment:"The version of the registry meta."}),commitHash:(0,n.lq)((0,n.Yj)({typeComment:"Last known commit hash of this document. Is going to be used to track if the document has been modified since it was last saved."})),conflictCheckedAgainstHash:(0,n.lq)((0,n.Yj)({typeComment:"Registry commit hash that the cached hasConflict flag was computed against. The cache is invalid when this no longer matches the registry hash."})),hasConflict:(0,n.lq)((0,n.zM)({typeComment:"Cached outcome of the last conflict check, valid only while conflictCheckedAgainstHash matches the registry hash."}))},{typeName:"XScalarRegistryMetaInner",typeComment:"Registry meta namespace and slug"}),i=(0,n.Ik)({"x-scalar-registry-meta":(0,n.lq)(s)},{typeName:"XScalarRegistryMeta",typeComment:"The registry meta for the document"})},40688:(e,t,a)=>{"use strict";a.d(t,{e:()=>l,l:()=>i});var r=a(42694),n=a(92412);let o=r.ZU.Object({lang:r.ZU.String(),description:r.ZU.Optional(r.ZU.String()),source:r.ZU.Optional(r.ZU.String())}),l=r.ZU.Object({"x-scalar-sdk-installation":r.ZU.Optional(r.ZU.Array(o))}),s=(0,n.Ik)({lang:(0,n.Yj)(),description:(0,n.lq)((0,n.Yj)()),source:(0,n.lq)((0,n.Yj)())},{typeName:"XScalarSdkInstallationItem",typeComment:"Scalar SDK installation entry"}),i=(0,n.Ik)({"x-scalar-sdk-installation":(0,n.lq)((0,n.YO)(s,{typeComment:"Scalar SDK installation information"}))},{typeName:"XScalarSdkInstallation",typeComment:"Scalar SDK installation information"})},40978:(e,t,a)=>{"use strict";let r,n,o;a.d(t,{cy:()=>I,Pq:()=>l.A});var l=a(77387),s=a(8873),i=a(38547),c=a(10779),u=a(61930),d=a(56261),p=a(69022),m=a(70386),h=a(13273),f=a(19146),g=a(98211),v=a(21878),y=a(83886),b=a(88209),O=a(96691),k=a(53261);function x(e,t){return e?e+"["+t+"]":t}var w=a(6974),S=a(78465);function C(e,t){return e===t}var $=((r=$||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),A=((n=A||{})[n.Single=0]="Single",n[n.Multi=1]="Multi",n),R=((o=R||{})[o.Pointer=0]="Pointer",o[o.Other=1]="Other",o);let E=Symbol("ListboxContext");function P(e){let t=(0,i.WQ)(E,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,P),t}return t}let T=(0,i.pM)({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>C},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:a,emit:r}){var n,o,l;let s,u,d=(0,c.KR)(1),m=(0,c.KR)(null),h=(0,c.KR)(null),f=(0,c.KR)(null),y=(0,c.KR)([]),C=(0,c.KR)(""),$=(0,c.KR)(null),A=(0,c.KR)(1);function R(e=e=>e){let t=null!==$.value?y.value[$.value]:null,a=(0,k.wl)(e(y.value.slice()),e=>(0,O.t)(e.dataRef.domRef)),r=t?a.indexOf(t):null;return -1===r&&(r=null),{options:a,activeOptionIndex:r}}let P=(0,i.EW)(()=>+!!e.multiple),[T,_]=(n=(0,i.EW)(()=>e.modelValue),o=e=>r("update:modelValue",e),l=(0,i.EW)(()=>e.defaultValue),s=(0,c.KR)(null==l?void 0:l.value),u=(0,i.EW)(()=>void 0!==n.value),[(0,i.EW)(()=>u.value?n.value:s.value),function(e){return u.value||(s.value=e),null==o?void 0:o(e)}]),j=(0,i.EW)(()=>void 0===T.value?(0,w.Y)(P.value,{1:[],0:void 0}
29):T.value),Q={listboxState:d,value:j,mode:P,compare(t,a){if("string"==typeof e.by){let r=e.by;return(null==t?void 0:t[r])===(null==a?void 0:a[r])}return e.by(t,a)},orientation:(0,i.EW)(()=>e.horizontal?"horizontal":"vertical"),labelRef:m,buttonRef:h,optionsRef:f,disabled:(0,i.EW)(()=>e.disabled),options:y,searchQuery:C,activeOptionIndex:$,activationTrigger:A,closeListbox(){e.disabled||1!==d.value&&(d.value=1,$.value=null)},openListbox(){e.disabled||0!==d.value&&(d.value=0)},goToOption(t,a,r){if(e.disabled||1===d.value)return;let n=R(),o=(0,b.X)(t===b.B.Specific?{focus:b.B.Specific,id:a}:{focus:t},{resolveItems:()=>n.options,resolveActiveIndex:()=>n.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});C.value="",$.value=o,A.value=null!=r?r:1,y.value=n.options},search(t){if(e.disabled||1===d.value)return;let a=+(""===C.value);C.value+=t.toLowerCase();let r=(null!==$.value?y.value.slice($.value+a).concat(y.value.slice(0,$.value+a)):y.value).find(e=>e.dataRef.textValue.startsWith(C.value)&&!e.dataRef.disabled),n=r?y.value.indexOf(r):-1;-1===n||n===$.value||($.value=n,A.value=1)},clearSearch(){e.disabled||1!==d.value&&""!==C.value&&(C.value="")},registerOption(e,t){let a=R(a=>[...a,{id:e,dataRef:t}]);y.value=a.options,$.value=a.activeOptionIndex},unregisterOption(e){let t=R(t=>{let a=t.findIndex(t=>t.id===e);return -1!==a&&t.splice(a,1),t});y.value=t.options,$.value=t.activeOptionIndex,A.value=1},theirOnChange(t){e.disabled||_(t)},select(t){e.disabled||_((0,w.Y)(P.value,{0:()=>t,1:()=>{let e=(0,c.ux)(Q.value.value).slice(),a=(0,c.ux)(t),r=e.findIndex(e=>Q.compare(a,(0,c.ux)(e)));return -1===r?e.push(a):e.splice(r,1),e}}))}};(0,p.j)([h,f],(e,t)=>{var a;Q.closeListbox(),(0,k.Bm)(t,k.MZ.Loose)||(e.preventDefault(),null==(a=(0,O.t)(h))||a.focus())},(0,i.EW)(()=>0===d.value)),(0,i.Gt)(E,Q),(0,v.Fo)((0,i.EW)(()=>(0,w.Y)(d.value,{0:v.Uw.Open,1:v.Uw.Closed})));let L=(0,i.EW)(()=>{var e;return null==(e=(0,O.t)(h))?void 0:e.closest("form")});return(0,i.sV)(()=>{(0,i.wB)([L],()=>{if(L.value&&void 0!==e.defaultValue)return L.value.addEventListener("reset",t),()=>{var e;null==(e=L.value)||e.removeEventListener("reset",t)};function t(){Q.theirOnChange(e.defaultValue)}},{immediate:!0})}),()=>{let{name:r,modelValue:n,disabled:o,form:l,...s}=e,c={open:0===d.value,disabled:o,value:j.value};return(0,i.h)(i.FK,[...null!=r&&null!=j.value?(function e(t={},a=null,r=[]){for(let[n,o]of Object.entries(t))!function t(a,r,n){if(Array.isArray(n))for(let[e,o]of n.entries())t(a,x(r,e.toString()),o);else n instanceof Date?a.push([r,n.toISOString()]):"boolean"==typeof n?a.push([r,n?"1":"0"]):"string"==typeof n?a.push([r,n]):"number"==typeof n?a.push([r,`${n}`]):null==n?a.push([r,""]):e(n,r,a)}(r,x(a,n),o);return r})({[r]:j.value}).map(([e,t])=>(0,i.h)(g.j,(0,S.oE)({features:g.O.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:l,disabled:o,name:e,value:t}))):[],(0,S.XX)({ourProps:{},theirProps:{...a,...(0,S.cJ)(s,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:c,slots:t,attrs:a,name:"Listbox"})])}}}),_=(0,i.pM)({name:"ListboxLabel",props:{as:{type:[Object,String],default:"label"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a}){var r;let n=null!=(r=e.id)?r:`headlessui-listbox-label-${(0,d.B)()}`,o=P("ListboxLabel");function l(){var e;null==(e=(0,O.t)(o.buttonRef))||e.focus({preventScroll:!0})}return()=>{let r={open:0===o.listboxState.value,disabled:o.disabled.value},{...s}=e,i={id:n,ref:o.labelRef,onClick:l};return(0,S.XX)({ourProps:i,theirProps:s,slot:r,attrs:t,slots:a,name:"ListboxLabel"})}}}),j=(0,i.pM)({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){var n;let o=null!=(n=e.id)?n:`headlessui-listbox-button-${(0,d.B)()}`,l=P("ListboxButton");function s(e){switch(e.key){case y.D.Space:case y.D.Enter:case y.D.ArrowDown:e.preventDefault(),l.openListbox(),(0,i.dY)(()=>{var e;null==(e=(0,O.t)(l.optionsRef))||e.focus({preventScroll:!0}),l.value.value||l.goToOption(b.B.First)});break;case y.D.ArrowUp:e.preventDefault(),l.openListbox(),(0,i.dY)(()=>{var e;null==(e=(0,O.t)(l.optionsRef))||e.focus({preventScroll:!0}),l.value.value||l.goToOption(b.B.Last)})}}function c(e){e.key===y.D.Space&&e.preventDefault()}function u(e){var t;l.disabled.value||(0===l.listboxState.value?(l.closeListbox(),(0,i.dY)(()=>{var e;return null==(e=(0,O.t)(l.buttonRef))?void 0:e.focus({preventScroll:!0})}
29)):(e.preventDefault(),l.openListbox(),t=()=>{var e;return null==(e=(0,O.t)(l.optionsRef))?void 0:e.focus({preventScroll:!0})},requestAnimationFrame(()=>requestAnimationFrame(t))))}r({el:l.buttonRef,$el:l.buttonRef});let p=(0,m.c)((0,i.EW)(()=>({as:e.as,type:t.type})),l.buttonRef);return()=>{var r,n;let i={open:0===l.listboxState.value,disabled:l.disabled.value,value:l.value.value},{...d}=e,m={ref:l.buttonRef,id:o,type:p.value,"aria-haspopup":"listbox","aria-controls":null==(r=(0,O.t)(l.optionsRef))?void 0:r.id,"aria-expanded":0===l.listboxState.value,"aria-labelledby":l.labelRef.value?[null==(n=(0,O.t)(l.labelRef))?void 0:n.id,o].join(" "):void 0,disabled:!0===l.disabled.value||void 0,onKeydown:s,onKeyup:c,onClick:u};return(0,S.XX)({ourProps:m,theirProps:d,slot:i,attrs:t,slots:a,name:"ListboxButton"})}}}),Q=(0,i.pM)({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){var n;let o=null!=(n=e.id)?n:`headlessui-listbox-options-${(0,d.B)()}`,l=P("ListboxOptions"),s=(0,c.KR)(null);function u(e){switch(s.value&&clearTimeout(s.value),e.key){case y.D.Space:if(""!==l.searchQuery.value)return e.preventDefault(),e.stopPropagation(),l.search(e.key);case y.D.Enter:if(e.preventDefault(),e.stopPropagation(),null!==l.activeOptionIndex.value){let e=l.options.value[l.activeOptionIndex.value];l.select(e.dataRef.value)}0===l.mode.value&&(l.closeListbox(),(0,i.dY)(()=>{var e;return null==(e=(0,O.t)(l.buttonRef))?void 0:e.focus({preventScroll:!0})}
29));break;case(0,w.Y)(l.orientation.value,{vertical:y.D.ArrowDown,horizontal:y.D.ArrowRight}):return e.preventDefault(),e.stopPropagation(),l.goToOption(b.B.Next);case(0,w.Y)(l.orientation.value,{vertical:y.D.ArrowUp,horizontal:y.D.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),l.goToOption(b.B.Previous);case y.D.Home:case y.D.PageUp:return e.preventDefault(),e.stopPropagation(),l.goToOption(b.B.First);case y.D.End:case y.D.PageDown:return e.preventDefault(),e.stopPropagation(),l.goToOption(b.B.Last);case y.D.Escape:e.preventDefault(),e.stopPropagation(),l.closeListbox(),(0,i.dY)(()=>{var e;return null==(e=(0,O.t)(l.buttonRef))?void 0:e.focus({preventScroll:!0})});break;case y.D.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(l.search(e.key),s.value=setTimeout(()=>l.clearSearch(),350))}}r({el:l.optionsRef,$el:l.optionsRef});let p=(0,v.O_)(),m=(0,i.EW)(()=>null!==p?(p.value&v.Uw.Open)===v.Uw.Open:0===l.listboxState.value);return()=>{var r,n;let s={open:0===l.listboxState.value},{...i}=e,c={"aria-activedescendant":null===l.activeOptionIndex.value||null==(r=l.options.value[l.activeOptionIndex.value])?void 0:r.id,"aria-multiselectable":1===l.mode.value||void 0,"aria-labelledby":null==(n=(0,O.t)(l.buttonRef))?void 0:n.id,"aria-orientation":l.orientation.value,id:o,onKeydown:u,role:"listbox",tabIndex:0,ref:l.optionsRef};return(0,S.XX)({ourProps:c,theirProps:i,slot:s,attrs:t,slots:a,features:S.O5.RenderStrategy|S.O5.Static,visible:m.value,name:"ListboxOptions"})}}}),L=(0,i.pM)({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:a,expose:r}){var n;let o=null!=(n=e.id)?n:`headlessui-listbox-option-${(0,d.B)()}`,l=P("ListboxOption"),s=(0,c.KR)(null);r({el:s,$el:s});let u=(0,i.EW)(()=>null!==l.activeOptionIndex.value&&l.options.value[l.activeOptionIndex.value].id===o),p=(0,i.EW)(()=>(0,w.Y)(l.mode.value,{0:()=>l.compare((0,c.ux)(l.value.value),(0,c.ux)(e.value)),1:()=>(0,c.ux)(l.value.value).some(t=>l.compare((0,c.ux)(t),(0,c.ux)(e.value)))})),m=(0,i.EW)(()=>(0,w.Y)(l.mode.value,{1:()=>{var e;let t=(0,c.ux)(l.value.value);return(null==(e=l.options.value.find(e=>t.some(t=>l.compare((0,c.ux)(t),(0,c.ux)(e.dataRef.value)))))?void 0:e.id)===o},0:()=>p.value})),g=(0,h.q)(s),v=(0,i.EW)(()=>({disabled:e.disabled,value:e.value,get textValue(){return g()},domRef:s}));function y(t){if(e.disabled)return t.preventDefault();l.select(e.value),0===l.mode.value&&(l.closeListbox(),(0,i.dY)(()=>{var e;return null==(e=(0,O.t)(l.buttonRef))?void 0:e.focus({preventScroll:!0})}
29))}function k(){if(e.disabled)return l.goToOption(b.B.Nothing);l.goToOption(b.B.Specific,o)}(0,i.sV)(()=>l.registerOption(o,v)),(0,i.hi)(()=>l.unregisterOption(o)),(0,i.sV)(()=>{(0,i.wB)([l.listboxState,p],()=>{0===l.listboxState.value&&p.value&&(0,w.Y)(l.mode.value,{1:()=>{m.value&&l.goToOption(b.B.Specific,o)},0:()=>{l.goToOption(b.B.Specific,o)}})},{immediate:!0})}),(0,i.nT)(()=>{0===l.listboxState.value&&u.value&&0!==l.activationTrigger.value&&(0,i.dY)(()=>{var e,t;return null==(t=null==(e=(0,O.t)(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})})});let x=(0,f.J)();function C(e){x.update(e)}function $(t){x.wasMoved(t)&&(e.disabled||u.value||l.goToOption(b.B.Specific,o,0))}function A(t){x.wasMoved(t)&&(e.disabled||u.value&&l.goToOption(b.B.Nothing))}return()=>{let{disabled:r}=e,n={active:u.value,selected:p.value,disabled:r},{value:l,disabled:i,...c}=e,d={id:o,ref:s,role:"option",tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,"aria-selected":p.value,disabled:void 0,onClick:y,onFocus:k,onPointerenter:C,onMouseenter:C,onPointermove:$,onMousemove:$,onPointerleave:A,onMouseleave:A};return(0,S.XX)({ourProps:d,theirProps:c,slot:n,attrs:a,slots:t,name:"ListboxOption"})}}});var M=(0,i.pM)({__name:"ScalarListboxItem",props:{option:{},multiselect:{type:Boolean}},setup(e){let t=(0,s.Fj)({base:["group/item","flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left","truncate bg-transparent text-c-1","cursor-pointer hover:bg-b-2"],variants:{selected:{true:"text-c-1"},active:{true:"bg-b-2"},disabled:{true:"pointer-events-none opacity-50"}}});return(a,r)=>((0,i.uX)(),(0,i.Wv)((0,c.R1)(L),{as:"template",disabled:e.option.disabled,value:e.option},{default:(0,i.k6)(({active:a,selected:r})=>[(0,i.Lk)("li",{class:(0,u.C4)((0,c.R1)(s.cx)((0,c.R1)(t)({active:a,selected:r,disabled:e.option.disabled})))},[(0,i.bF)(l.A,{multiselect:e.multiselect,selected:r},null,8,["multiselect","selected"]),(0,i.Lk)("span",{class:(0,u.C4)(["inline-block min-w-0 flex-1 truncate",e.option.color?e.option.color:"text-c-1"])},(0,u.v_)(e.option.label),3)],2)]),_:1},8,["disabled","value"]))}}),Z=a(68491),U=a(72662),X={class:"custom-scroll min-h-0 flex-1"},I=(0,i.pM)({inheritAttrs:!1,__name:"ScalarListbox",props:{options:{},id:{},label:{},multiple:{type:Boolean},modelValue:{},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},emits:["update:modelValue"],setup(e){let{cx:t}=(0,s.AX)();return(a,r)=>((0,i.uX)(),(0,i.Wv)((0,c.R1)(T),{modelValue:e.modelValue,multiple:e.multiple,"onUpdate:modelValue":r[0]||(r[0]=e=>a.$emit("update:modelValue",e))},{default:(0,i.k6)(({open:r})=>[e.label?((0,i.uX)(),(0,i.Wv)((0,c.R1)(_),{key:0,class:"sr-only"},{default:(0,i.k6)(()=>[(0,i.eW)((0,u.v_)(e.label),1)]),_:1})):(0,i.Q3)("",!0),(0,i.bF)((0,c.R1)(Z.A),(0,i.v6)(a.$props,{placement:e.placement??"bottom-start"}),{floating:(0,i.k6)(({width:a})=>[r?((0,i.uX)(),(0,i.CE)("div",(0,i.v6)({key:0,style:{width:a}},(0,c.R1)(t)("relative flex max-h-[inherit] w-40 max-w-[inherit] rounded text-sm")),[(0,i.Lk)("div",X,[(0,i.bF)((0,c.R1)(Q),{class:"flex flex-col gap-0.75 p-0.75 -outline-offset-1"},{default:(0,i.k6)(()=>[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(e.options,t=>((0,i.uX)(),(0,i.Wv)(M,{key:t.id,multiselect:e.multiple,option:t},null,8,["multiselect","option"]))),128))]),_:1})]),(0,i.bF)((0,c.R1)(U.A))],16)):(0,i.Q3)("",!0)]),default:(0,i.k6)(()=>[(0,i.bF)((0,c.R1)(j),{id:e.id,as:"template"},{default:(0,i.k6)(()=>[(0,i.RG)(a.$slots,"default",{open:r})]),_:2},1032,["id"])]),_:2},1040,["placement"])]),_:3},8,["modelValue","multiple"]))}});a(17438),a(95876)},41097:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(62205),n=a(84044),o=a(94902),l=a(8873),s=a(38547),i=a(10779),c=a(61930),u=["aria-disabled"],d={key:0,class:"sr-only"},p=(0,s.pM)({inheritAttrs:!1,__name:"ScalarIconButton",props:{label:{},icon:{type:[Object,Function]},disabled:{type:Boolean},variant:{default:"ghost"},size:{default:"md"},thickness:{},weight:{},tooltip:{type:[Boolean,String,Object]}},setup(e){let t=(0,l.Fj)({base:"scalar-icon-button grid aspect-square cursor-pointer rounded",variants:{size:{xxs:"size-3.5 p-0.5",xs:"size-5 p-1",sm:"size-6 p-1",md:"size-10 p-3",full:"size-full"},disabled:{true:"cursor-not-allowed shadow-none"},variant:r.I}
29,compoundVariants:[{size:"md",variant:"ghost",class:"size-8 p-2 m-1 -outline-offset-2 rounded-lg"}]}),{cx:a}=(0,l.AX)(),p=(0,s.rk)("ref");return(0,o.f)({content:(0,s.EW)(()=>e.label),offset:(0,s.EW)(()=>4*("ghost"!==e.variant)),placement:(0,s.EW)(()=>"boolean"==typeof e.tooltip?void 0:e.tooltip),targetRef:(0,s.EW)(()=>e.tooltip?p.value:void 0)}),(r,o)=>((0,s.uX)(),(0,s.CE)("button",(0,s.v6)({ref:"ref","aria-disabled":e.disabled,type:"button"},(0,i.R1)(a)((0,i.R1)(t)({size:e.size,variant:e.variant,disabled:e.disabled}))),[(0,s.bF)((0,i.R1)(n.A),{icon:e.icon,thickness:e.thickness,weight:e.weight},null,8,["icon","thickness","weight"]),e.tooltip?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("span",d,(0,c.v_)(e.label),1))],16,u))}})},41283:(e,t,a)=>{"use strict";let r;a.d(t,{EN:()=>v,_q:()=>y,kS:()=>b});var n=a(38547),o=a(10779),l=a(56261),s=a(70386),i=a(21878),c=a(83886),u=a(96691),d=a(6974),p=a(78465),m=((r=m||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r);let h=Symbol("DisclosureContext");function f(e){let t=(0,n.WQ)(h,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,f),t}return t}let g=Symbol("DisclosurePanelContext"),v=(0,n.pM)({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:a}){let r=(0,o.KR)(+!e.defaultOpen),s=(0,o.KR)(null),c=(0,o.KR)(null),m={buttonId:(0,o.KR)(`headlessui-disclosure-button-${(0,l.B)()}`),panelId:(0,o.KR)(`headlessui-disclosure-panel-${(0,l.B)()}`),disclosureState:r,panel:s,button:c,toggleDisclosure(){r.value=(0,d.Y)(r.value,{0:1,1:0})},closeDisclosure(){1!==r.value&&(r.value=1)},close(e){m.closeDisclosure();let t=e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?(0,u.t)(e):(0,u.t)(m.button):(0,u.t)(m.button);null==t||t.focus()}};return(0,n.Gt)(h,m),(0,i.Fo)((0,n.EW)(()=>(0,d.Y)(r.value,{0:i.Uw.Open,1:i.Uw.Closed}))),()=>{let{defaultOpen:n,...o}=e,l={open:0===r.value,close:m.close};return(0,p.XX)({theirProps:o,ourProps:{},slot:l,slots:t,attrs:a,name:"Disclosure"})}}}),y=(0,n.pM)({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){let l=f("DisclosureButton"),i=(0,n.WQ)(g,null),d=(0,n.EW)(()=>null!==i&&i.value===l.panelId.value);(0,n.sV)(()=>{d.value||null!==e.id&&(l.buttonId.value=e.id)}),(0,n.hi)(()=>{d.value||(l.buttonId.value=null)});let m=(0,o.KR)(null);r({el:m,$el:m}),d.value||(0,n.nT)(()=>{l.button.value=m.value});let h=(0,s.c)((0,n.EW)(()=>({as:e.as,type:t.type})),m);function v(){var t;e.disabled||(d.value?(l.toggleDisclosure(),null==(t=(0,u.t)(l.button))||t.focus()):l.toggleDisclosure())}function y(t){var a;if(!e.disabled)if(d.value)switch(t.key){case c.D.Space:case c.D.Enter:t.preventDefault(),t.stopPropagation(),l.toggleDisclosure(),null==(a=(0,u.t)(l.button))||a.focus()}else switch(t.key){case c.D.Space:case c.D.Enter:t.preventDefault(),t.stopPropagation(),l.toggleDisclosure()}}function b(e){e.key===c.D.Space&&e.preventDefault()}return()=>{var r;let n={open:0===l.disclosureState.value},{id:o,...s}=e,i=d.value?{ref:m,type:h.value,onClick:v,onKeydown:y}:{id:null!=(r=l.buttonId.value)?r:o,ref:m,type:h.value,"aria-expanded":0===l.disclosureState.value,"aria-controls":0===l.disclosureState.value||(0,u.t)(l.panel)?l.panelId.value:void 0,disabled:!!e.disabled||void 0,onClick:v,onKeydown:y,onKeyup:b};return(0,p.XX)({ourProps:i,theirProps:s,slot:n,attrs:t,slots:a,name:"DisclosureButton"})}}}),b=(0,n.pM)({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){let o=f("DisclosurePanel");(0,n.sV)(()=>{null!==e.id&&(o.panelId.value=e.id)}),(0,n.hi)(()=>{o.panelId.value=null}),r({el:o.panel,$el:o.panel}),(0,n.Gt)(g,o.panelId);let l=(0,i.O_)(),s=(0,n.EW)(()=>null!==l?(l.value&i.Uw.Open)===i.Uw.Open:0===o.disclosureState.value);return()=>{var r;let n={open:0===o.disclosureState.value,close:o.close},{id:l,...i}=e,c={id:null!=(r=o.panelId.value)?r:l,ref:o.panel};return(0,p.XX)({ourProps:c,theirProps:i,slot:n,attrs:t,slots:a,features:p.O5.RenderStrategy|p.O5.Static,visible:s.value,
29name:"DisclosurePanel"})}}})},42187:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r={path:/[\/\.-]/,property:/[A-Z\_\.-]/},n=a(38547),o=a(61930),l={key:0},s=(0,n.pM)({inheritAttrs:!1,__name:"ScalarWrappingText",props:{text:{default:""},preset:{default:"path"},regex:{}},setup(e){let t=(0,n.EW)(()=>{let t=RegExp(e.regex??r[e.preset],"g");return e.text.replace(t,"⁠$&").split("⁠").filter(Boolean)});return(e,a)=>((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(t.value,(e,t)=>((0,n.uX)(),(0,n.CE)(n.FK,{key:t},[0!==t?((0,n.uX)(),(0,n.CE)("wbr",l)):(0,n.Q3)("",!0),(0,n.eW)((0,o.v_)(e),1)],64))),128))}})},42694:(e,t,a)=>{"use strict";a.d(t,{ZU:()=>ao});var r,n,o={};a.r(o),a.d(o,{Any:()=>i,Argument:()=>c,Array:()=>u,AsyncIterator:()=>d,Awaited:()=>x,BigInt:()=>w,Boolean:()=>S,Capitalize:()=>tj,Composite:()=>q,Const:()=>et,Constructor:()=>ea,ConstructorParameters:()=>er,Date:()=>W,Enum:()=>en,Exclude:()=>function e(t,a,r={}){var o;let s;return(0,h.gm)(t)?(0,l.v)(e(es(t),a),r):(0,h.ZD)(t)?(0,l.v)($(function(t,a){var r=t.properties;let n={};for(let t of globalThis.Object.getOwnPropertyNames(r))n[t]=e(r[t],a);return n}(t,a)),r):(0,l.v)((0,h.my)(t)?(o=t.anyOf,1===(s=o.filter(e=>tp(e,a)===n.False)).length?s[0]:y(s)):tp(t,a)!==n.False?(0,m.p)():t,r)},Extends:()=>function e(t,a,r,o,s){var i,c,u,d,p;let m;return(0,h.ZD)(t)?$(function(t,a,r,n,o){var l=t.properties;let s={};for(let t of globalThis.Object.getOwnPropertyNames(l))s[t]=e(l[t],a,r,n,(0,Q.i)(o));return s}(t,a,r,o,s)):(0,h.zZ)(t)?(0,l.v)($((i=t.keys,i.reduce((t,n)=>({...t,...{[n]:e(N(n),a,r,o,(0,Q.i)(s))}}),{})))):(0,l.v)((c=t,u=a,d=r,p=o,(m=tp(c,u))===n.Union?y([d,p]):m===n.True?d:p),s)},Extract:()=>function e(t,a,r){var o;let s;return(0,h.gm)(t)?(0,l.v)(e(es(t),a),r):(0,h.ZD)(t)?(0,l.v)($(function(t,a){var r=t.properties;let n={};for(let t of globalThis.Object.getOwnPropertyNames(r))n[t]=e(r[t],a);return n}(t,a)),r):(0,l.v)((0,h.my)(t)?(o=t.anyOf,1===(s=o.filter(e=>tp(e,a)!==n.False)).length?s[0]:y(s)):tp(t,a)!==n.False?t:(0,m.p)(),r)},Function:()=>D,Index:()=>U,InstanceType:()=>tm,Instantiate:()=>tS,Integer:()=>tC,Intersect:()=>g,Iterator:()=>tZ,KeyOf:()=>tU,Literal:()=>N,Lowercase:()=>tL,Mapped:()=>tW,Module:()=>t2,Never:()=>m.p,Not:()=>t4,Null:()=>V,Number:()=>eo,Object:()=>I,Omit:()=>tD,Optional:()=>A,Parameters:()=>t8,Partial:()=>tz,Pick:()=>tN,Promise:()=>tX,Readonly:()=>H,ReadonlyOptional:()=>tf,Record:()=>tb,Recursive:()=>t6,Ref:()=>O,RegExp:()=>t5,Required:()=>tG,Rest:()=>t7,ReturnType:()=>t9,String:()=>el,Symbol:()=>F,TemplateLiteral:()=>tE,Transform:()=>aa,Tuple:()=>z,Uint8Array:()=>G,Uncapitalize:()=>tQ,Undefined:()=>Y,Union:()=>y,Unknown:()=>K,Unsafe:()=>ar,Uppercase:()=>tM,Void:()=>an});var l=a(58499),s=a(32097);function i(e){return(0,l.v)({[s.b8]:"Any"},e)}function c(e){return(0,l.v)({[s.b8]:"Argument",index:e})}function u(e,t){return(0,l.v)({[s.b8]:"Array",type:"array",items:e},t)}function d(e,t){return(0,l.v)({[s.b8]:"AsyncIterator",type:"AsyncIterator",items:e},t)}function p(e,t,a){return(0,l.v)({[s.b8]:"Computed",target:e,parameters:t},a)}var m=a(82181),h=a(16114);function f(e,t={}){let a=e.every(e=>(0,h.av)(e)),r=(0,h.Yi)(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return(0,l.v)(!1===t.unevaluatedProperties||(0,h.Yi)(t.unevaluatedProperties)||a?{...r,[s.b8]:"Intersect",type:"object",allOf:e}:{...r,[s.b8]:"Intersect",allOf:e},t)}function g(e,t){if(1===e.length)return(0,l.v)(e[0],t);if(0===e.length)return(0,m.p)(t);if(e.some(e=>(0,h.n_)(e)))throw Error("Cannot intersect transform types");return f(e,t)}function v(e,t){return(0,l.v)({[s.b8]:"Union",anyOf:e},t)}function y(e,t){return 0===e.length?(0,m.p)(t):1===e.length?(0,l.v)(e[0],t):v(e,t)}var b=a(9085);function O(...e){let[t,a]="string"==typeof e[0]?[e[0],e[1]]:[e[0].$id,e[1]];if("string"!=typeof t)throw new b.i("Ref: $ref must be a string");return(0,l.v)({[s.b8]:"Ref",$ref:t},a)}function k(e){return e.map(e=>x(e))}function x(e,t){return(0,l.v)((0,h.Y6)(e)?p("Awaited",[p(e.target,e.parameters)]):(0,h.Yq)(e)?g(k(e.allOf)):(0,h.my)(e)?y(k(e.anyOf)):(0,h.OD)(e)?x(e.item):(0,h.in)(e)?p("Awaited",[O(e.$ref)]):e,t)}function w(e){return(0,l.v)({[s.b8]:"BigInt",type:"bigint"},e)}function S(e){return(0,l.v)({[s.b8]:"Boolean",type:"boolean"},e)}function C(e,t){return t.reduce((e,t)=>
29(function(e,t){let{[t]:a,...r}=e;return r})(e,t),e)}function $(e){return(0,l.v)({[s.b8]:"MappedResult",properties:e})}function A(e,t){let a=t??!0;return(0,h.ZD)(e)?$(function(e,t){var a=e.properties;let r={};for(let e of globalThis.Object.getOwnPropertyNames(a))r[e]=A(a[e],t);return r}(e,a)):!1===a?(0,l.v)(C(e,[s.tJ])):(0,l.v)({...e,[s.tJ]:"Optional"})}function R(e){return e.map(e=>(0,h.X$)(e)?C(e,[s.tJ]):e)}function E(e,t={}){if(1===e.length)return(0,l.v)(e[0],t);if(0===e.length)return(0,m.p)(t);if(e.some(e=>(0,h.n_)(e)))throw Error("Cannot intersect transform types");return e.every(e=>(0,h.X$)(e))?A(f(R(e),t)):f(R(e),t)}function P(e){return e.map(e=>(0,h.X$)(e)?C(e,[s.tJ]):e)}function T(e,t){var a,r;return 1===e.length?(0,l.v)(e[0],t):0===e.length?(0,m.p)(t):(a=e,r=t,a.some(e=>(0,h.X$)(e))?A(v(P(a),r)):v(P(a),r))}var _=a(6962);function j(e){return[...new Set((0,h.gm)(e)?(0,_.vl)(e).map(e=>e.toString()):(0,h.my)(e)?function(e){let t=[];for(let a of e)t.push(...j(a));return t}(e.anyOf):(0,h.gP)(e)?[e.const.toString()]:(0,h.Mx)(e)||(0,h.$p)(e)?["[number]"]:[])]}var Q=a(66429);function L(e,t){return e.map(e=>M(e,t))}function M(e,t){var a,r,n,o,l;return(0,h.Yq)(e)?(l=e.allOf,E(L(l,t).filter(e=>!(0,h.Df)(e)))):(0,h.my)(e)?T((a=L(e.anyOf,t)).some(e=>(0,h.Df)(e))?[]:a):(0,h.PN)(e)?t in(r=e.items??[])?r[t]:"[number]"===t?T(r):(0,m.p)():(0,h.QS)(e)?(n=e.items,"[number]"===t?n:(0,m.p)()):(0,h.av)(e)&&t in(o=e.properties)?o[t]:(0,m.p)()}function Z(e,t){return t.map(t=>M(e,t))}function U(e,t,a){if((0,h.in)(e)||(0,h.in)(t)){if(!(0,h.Yi)(e)||!(0,h.Yi)(t))throw new b.i("Index types using Ref parameters require both Type and Key to be of TSchema");return p("Index",[e,t])}if((0,h.ZD)(t))return $(function(e,t,a){var r=t.properties;let n={};for(let t of Object.getOwnPropertyNames(r))n[t]=U(e,j(r[t]),a);return n}(e,t,a));if((0,h.zZ)(t)){var r;return $((r=t.keys,r.reduce((t,r)=>({...t,...{[r]:U(e,[r],(0,Q.i)(a))}}),{})))}return(0,l.v)((0,h.Yi)(t)?T(Z(e,j(t))):T(Z(e,t)),a)}var X=a(55370),I=function(e,t){let a=function(e){let t=[];for(let a in e)(0,h.X$)(e[a])||t.push(a);return t}(e),r=a.length>0?{[s.b8]:"Object",type:"object",properties:e,required:a}:{[s.b8]:"Object",type:"object",properties:e};return(0,l.v)(r,t)},B=a(37092);function q(e,t){let a=function(e){let t=[];for(let a of e)t.push(...(0,X.g)(a));return(0,B.lN)(t)}(e);return I(function(e,t){let a={};for(let r of t)a[r]=E(function(e,t){let a=[];for(let r of e)a.push(...Z(r,[t]));return a.filter(e=>!(0,h.Df)(e))}(e,r));return a}(e,a),t)}function W(e){return(0,l.v)({[s.b8]:"Date",type:"Date"},e)}function D(e,t,a){return(0,l.v)({[s.b8]:"Function",type:"Function",parameters:e,returns:t},a)}function N(e,t){return(0,l.v)({[s.b8]:"Literal",const:e,type:typeof e},t)}function V(e){return(0,l.v)({[s.b8]:"Null",type:"null"},e)}function F(e){return(0,l.v)({[s.b8]:"Symbol",type:"symbol"},e)}function z(e,t){return(0,l.v)(e.length>0?{[s.b8]:"Tuple",type:"array",items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[s.b8]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}function H(e,t){let a=t??!0;return(0,h.ZD)(e)?$(function(e,t){var a=e.properties;let r={};for(let e of globalThis.Object.getOwnPropertyNames(a))r[e]=H(a[e],t);return r}(e,a)):!1===a?(0,l.v)(C(e,[s.hi])):(0,l.v)({...e,[s.hi]:"Readonly"})}function Y(e){return(0,l.v)({[s.b8]:"Undefined",type:"undefined"},e)}function G(e){return(0,l.v)({[s.b8]:"Uint8Array",type:"Uint8Array"},e)}function K(e){return(0,l.v)({[s.b8]:"Unknown"},e)}var J=a(80597);function ee(e,t){return!0===t?e:H(e)}function et(e,t){return(0,l.v)(function e(t,a){return(0,J.H1)(t)||(0,J.jo)(t)?ee(i(),a):(0,J.QS)(t)?H(z(t.map(t=>e(t,!1)))):(0,J.G4)(t)?G():(0,J.XF)(t)?W():(0,J.av)(t)?ee(I(function(t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(t))a[r]=H(e(t[r],!1));return a}(t)),a):(0,J.hg)(t)?ee(D([],K()),a):(0,J.R1)(t)?Y():(0,J.Ef)(t)?V():(0,J.nH)(t)?F():(0,J.cQ)(t)?w():(0,J.Mx)(t)||(0,J.Zx)(t)||(0,J.IP)(t)?N(t):I({})}(e,!0),t)}function ea(e,t,a){return(0,l.v)({[s.b8]:"Constructor",type:"Constructor",parameters:e,returns:t},a)}function er(e,t){return h.ZV(e)?z(e.parameters,t):(0,m.p)(t)}function en(e,t){if((0,J.R1)(e))throw Error("Enum undefined or empty");return y([...new Set(globalThis.Object.getOwnPropertyNames(e).filter(e=>isNaN(e)).map(t=>e[t]))].map(e=>N(e)),{...t,[s.Ck]:"Enum"})}function eo(e){return(0,l.v)({[s.b8]:"Number",type:"number"},e)}function el(e){return(0,l.v)({[s.b8]:"String",type:"string"},e)}function es(e){return T((0,_.vl)(e).map(e=>N(e)))}let ei="(0|[1-9][0-9]*)",ec="(.*)",eu=`^${ei}$`,ed=`^${ec}$`,ep=["Argument","Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function em(e){try{return new RegExp(e),!0}catch{return!1}}function eh(e){if(!J.IP(e))return!1;for(let t=0;t<e.length;t++){let a=e.charCodeAt(t);if(a>=7&&a<=13||27===a||127===a)return!1}return!0}function ef(e){return J.R1(e)||J.cQ(e)}function eg(e){return J.R1(e)||J.Mx(e)}function ev(e){return J.R1(e)||J.Zx(e)}function ey(e){return J.R1(e)||J.IP(e)}function eb(e){return J.R1(e)||e1(e)}function eO(e){return J.av(e)&&"Optional"===e[s.tJ]}function ek(e){return ej(e,"Any")&&ey(e.$id)}function ex(e){return ej(e,"Array")&&"array"===e.type&&ey(e.$id)&&e1(e.items)&&eg(e.minItems)&&eg(e.maxItems)&&ev(e.uniqueItems)&&eb(e.contains)&&eg(e.minContains)&&eg(e.maxContains)}function ew(e){return ej(e,"AsyncIterator")&&"AsyncIterator"===e.type&&ey(e.$id)&&e1(e.items)}function eS(e){return ej(e,"BigInt")&&"bigint"===e.type&&ey(e.$id)&&ef(e.exclusiveMaximum)&&ef(e.exclusiveMinimum)&&ef(e.maximum)&&ef(e.minimum)&&ef(e.multipleOf)}function eC(e){return ej(e,"Boolean")&&"boolean"===e.type&&ey(e.$id)}function e$(e){return ej(e,"Constructor")&&"Constructor"===e.type&&ey(e.$id)&&J.QS(e.parameters)&&e.parameters.every(e=>e1(e))&&e1(e.returns)}function eA(e){return ej(e,"Date")&&"Date"===e.type&&ey(e.$id)&&eg(e.exclusiveMaximumTimestamp)&&eg(e.exclusiveMinimumTimestamp)&&eg(e.maximumTimestamp)&&eg(e.minimumTimestamp)&&eg(e.multipleOfTimestamp)}function eR(e){return ej(e,"Function")&&"Function"===e.type&&ey(e.$id)&&J.QS(e.parameters)&&e.parameters.every(e=>e1(e))&&e1(e.returns)}function eE(e){return ej(e,"Integer")&&"integer"===e.type&&ey(e.$id)&&eg(e.exclusiveMaximum)&&eg(e.exclusiveMinimum)&&eg(e.maximum)&&eg(e.minimum)&&eg(e.multipleOf)}function eP(e){return J.av(e)&&Object.entries(e).every(([e,t])=>eh(e)&&e1(t))}function eT(e){return ej(e,"Intersect")&&(!J.IP(e.type)||"object"===e.type)&&J.QS(e.allOf)&&e.allOf.every(e=>{var t;return e1(e)&&(t=e,!J.av(t)||!(s.H7 in t))})&&ey(e.type)&&(ev(e.unevaluatedProperties)||eb(e.unevaluatedProperties))&&ey(e.$id)}function e_(e){return ej(e,"Iterator")&&"Iterator"===e.type&&ey(e.$id)&&e1(e.items)}function ej(e,t){return J.av(e)&&s.b8 in e&&e[s.b8]===t}function eQ(e){return eZ(e)&&J.IP(e.const)}function eL(e){return eZ(e)&&J.Mx(e.const)}function eM(e){return eZ(e)&&J.Zx(e.const)}function eZ(e){var t;
29return ej(e,"Literal")&&ey(e.$id)&&(t=e.const,J.Zx(t)||J.Mx(t)||J.IP(t))}function eU(e){return ej(e,"Never")&&J.av(e.not)&&0===Object.getOwnPropertyNames(e.not).length}function eX(e){return ej(e,"Not")&&e1(e.not)}function eI(e){return ej(e,"Null")&&"null"===e.type&&ey(e.$id)}function eB(e){return ej(e,"Number")&&"number"===e.type&&ey(e.$id)&&eg(e.exclusiveMaximum)&&eg(e.exclusiveMinimum)&&eg(e.maximum)&&eg(e.minimum)&&eg(e.multipleOf)}function eq(e){var t;return ej(e,"Object")&&"object"===e.type&&ey(e.$id)&&eP(e.properties)&&(ev(t=e.additionalProperties)||e1(t))&&eg(e.minProperties)&&eg(e.maxProperties)}function eW(e){return ej(e,"Promise")&&"Promise"===e.type&&ey(e.$id)&&e1(e.item)}function eD(e){var t;let a;return ej(e,"Record")&&"object"===e.type&&ey(e.$id)&&(ev(t=e.additionalProperties)||e1(t))&&J.av(e.patternProperties)&&1===(a=Object.getOwnPropertyNames(e.patternProperties)).length&&em(a[0])&&J.av(e.patternProperties)&&e1(e.patternProperties[a[0]])}function eN(e){return ej(e,"RegExp")&&ey(e.$id)&&J.IP(e.source)&&J.IP(e.flags)&&eg(e.maxLength)&&eg(e.minLength)}function eV(e){var t,a;return ej(e,"String")&&"string"===e.type&&ey(e.$id)&&eg(e.minLength)&&eg(e.maxLength)&&(t=e.pattern,J.R1(t)||J.IP(t)&&eh(t)&&em(t))&&(a=e.format,J.R1(a)||J.IP(a)&&eh(a))}function eF(e){return ej(e,"Symbol")&&"symbol"===e.type&&ey(e.$id)}function ez(e){return ej(e,"TemplateLiteral")&&"string"===e.type&&J.IP(e.pattern)&&"^"===e.pattern[0]&&"$"===e.pattern[e.pattern.length-1]}function eH(e){return ej(e,"Tuple")&&"array"===e.type&&ey(e.$id)&&J.Mx(e.minItems)&&J.Mx(e.maxItems)&&e.minItems===e.maxItems&&(J.R1(e.items)&&J.R1(e.additionalItems)&&0===e.minItems||J.QS(e.items)&&e.items.every(e=>e1(e)))}function eY(e){return ej(e,"Undefined")&&"undefined"===e.type&&ey(e.$id)}function eG(e){return ej(e,"Union")&&ey(e.$id)&&J.av(e)&&J.QS(e.anyOf)&&e.anyOf.every(e=>e1(e))}function eK(e){return ej(e,"Uint8Array")&&"Uint8Array"===e.type&&ey(e.$id)&&eg(e.minByteLength)&&eg(e.maxByteLength)}function eJ(e){return ej(e,"Unknown")&&ey(e.$id)}function e0(e){return ej(e,"Void")&&"void"===e.type&&ey(e.$id)}function e1(e){return J.av(e)&&(ek(e)||ej(e,"Argument")&&J.Mx(e.index)||ex(e)||eC(e)||eS(e)||ew(e)||ej(e,"Computed")&&J.IP(e.target)&&J.QS(e.parameters)&&e.parameters.every(e=>e1(e))||e$(e)||eA(e)||eR(e)||eE(e)||eT(e)||e_(e)||eZ(e)||ej(e,"MappedKey")&&J.QS(e.keys)&&e.keys.every(e=>J.Mx(e)||J.IP(e))||ej(e,"MappedResult")&&eP(e.properties)||eU(e)||eX(e)||eI(e)||eB(e)||eq(e)||eW(e)||eD(e)||ej(e,"Ref")&&ey(e.$id)&&J.IP(e.$ref)||eN(e)||eV(e)||eF(e)||ez(e)||ej(e,"This")&&ey(e.$id)&&J.IP(e.$ref)||eH(e)||eY(e)||eG(e)||eK(e)||eJ(e)||ej(e,"Unsafe")||e0(e)||J.av(e)&&s.b8 in e&&J.IP(e[s.b8])&&!ep.includes(e[s.b8]))}class e2 extends b.i{}function e4(e){return e===n.False?e:n.True}function e8(e){throw new e2(e)}function e3(e){return eU(e)||eT(e)||eG(e)||eJ(e)||ek(e)}function e6(e,t){return eU(t)?n.False:eT(t)?e9(e,t):eG(t)?td(e,t):eJ(t)||ek(t)?n.True:e8("StructuralRight")}function e5(e,t){return eM(e)||eC(e)?n.True:n.False}function e7(e,t){return eZ(e)&&J.Mx(e.const)||eB(e)||eE(e)?n.True:n.False}function e9(e,t){return t.allOf.every(t=>tp(e,t)===n.True)?n.True:n.False}(r=n||(n={}))[r.Union=0]="Union",r[r.True=1]="True",r[r.False=2]="False";function te(e){let[t,a]=[e,0];for(;eX(t);)t=t.not,a+=1;return a%2==0?t:K()}function tt(e,t){return eL(e)||eB(e)||eE(e)?n.True:n.False}function ta(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function tr(e){return ta(e,0)||ta(e,1)&&"description"in e.properties&&eG(e.properties.description)&&2===e.properties.description.anyOf.length&&(eV(e.properties.description.anyOf[0])&&eY(e.properties.description.anyOf[1])||eV(e.properties.description.anyOf[1])&&eY(e.properties.description.anyOf[0]))}function tn(e){let t=eo();return ta(e,0)||ta(e,1)&&"length"in e.properties&&e4(tp(e.properties.length,t))===n.True}function to(e,t){return tp(e,t)===n.False||eO(e)&&!eO(t)?n.False:n.True}function tl(e,t){let a;return eJ(e)?n.False:ek(e)?n.Union:eU(e)||eQ(e)&&tn(t)||eL(e)&&ta(t,0)||eM(e)&&ta(t,0)||eF(e)&&tr(t)||eS(e)&&ta(t,0)||eV(e)&&tn(t)||eF(e)&&tr(t)||eB(e)&&ta(t,0)||eE(e)&&ta(t,0)||eC(e)&&ta(t,0)||eK(e)&&tn(t)||eA(e)&&ta(t,0)||e$(e)&&ta(t,0)||eR(e)&&(a=eo(),ta(t,0)||ta(t,1)&&"length"in t.properties&&e4(tp(t.properties.length,a))===n.True)?n.True:eD(e)&&eV(ts(e))?"Record"===t[s.Ck]?n.True:n.False:eD(e)&&eB(ts(e))&&ta(t,0)?n.True:n.False}function ts(e){return eu in e.patternProperties?eo():ed in e.patternProperties?el():e8("Unknown re
29cord key pattern")}function ti(e){return eu in e.patternProperties?e.patternProperties[eu]:ed in e.patternProperties?e.patternProperties[ed]:e8("Unable to get record value schema")}function tc(e,t){let[a,r]=[ts(t),ti(t)];return eQ(e)&&eB(a)&&e4(tp(e,r))===n.True?n.True:eK(e)&&eB(a)||eV(e)&&eB(a)||ex(e)&&eB(a)?tp(e,r):eq(e)?(()=>{for(let t of Object.getOwnPropertyNames(e.properties))if(to(r,e.properties[t])===n.False)return n.False;return n.True})():n.False}function tu(e,t){return eZ(e)&&J.IP(e.const)||eV(e)?n.True:n.False}function td(e,t){return t.anyOf.some(t=>tp(e,t)===n.True)?n.True:n.False}function tp(e,t){var a;let r;return ez(e)||ez(t)?ez(e)?tp(es(e),t):ez(t)?tp(e,es(t)):e8("Invalid fallthrough for TemplateLiteral"):eN(e)||eN(t)?tp(eN(e)?el():e,eN(t)?el():t):eX(e)||eX(t)?eX(e)?tp(te(e),t):eX(t)?tp(e,te(t)):e8("Invalid fallthrough for Not"):ek(e)?eT(t)?e9(e,t):eG(t)&&t.anyOf.some(e=>ek(e)||eJ(e))?n.True:eG(t)?n.Union:eJ(t)||ek(t)?n.True:n.Union:ex(e)?eq(t)&&tn(t)?n.True:e3(t)?e6(e,t):ex(t)?e4(tp(e.items,t.items)):n.False:eS(e)?e3(t)?e6(e,t):eq(t)?tl(e,t):eD(t)?tc(e,t):eS(t)?n.True:n.False:eC(e)?e3(t)?e6(e,t):eq(t)?tl(e,t):eD(t)?tc(e,t):eC(t)?n.True:n.False:ew(e)?e3(t)?e6(e,t):ew(t)?e4(tp(e.items,t.items)):n.False:e$(e)?e3(t)?e6(e,t):eq(t)?tl(e,t):e$(t)?e.parameters.length>t.parameters.length?n.False:e.parameters.every((e,a)=>e4(tp(t.parameters[a],e))===n.True)?e4(tp(e.returns,t.returns)):n.False:n.False:eA(e)?e3(t)?e6(e,t):eq(t)?tl(e,t):eD(t)?tc(e,t):eA(t)?n.True:n.False:eR(e)?e3(t)?e6(e,t):eq(t)?tl(e,t):eR(t)?e.parameters.length>t.parameters.length?n.False:e.parameters.every((e,a)=>e4(tp(t.parameters[a],e))===n.True)?e4(tp(e.returns,t.returns)):n.False:n.False:eE(e)?eE(t)||eB(t)?n.True:e3(t)?e6(e,t):eq(t)?tl(e,t):eD(t)?tc(e,t):n.False:eT(e)?e.allOf.some(e=>tp(e,t)===n.True)?n.True:n.False:e_(e)?e3(t)?e6(e,t):e_(t)?e4(tp(e.items,t.items)):n.False:eZ(e)?eZ(t)&&t.const===e.const?n.True:e3(t)?e6(e,t):eq(t)?tl(e,t):eD(t)?tc(e,t):eV(t)?tu(e,t):eB(t)?tt(e,t):eE(t)?e7(e,t):eC(t)?e5(e,t):n.False:eU(e)?n.True:eI(e)?e3(t)?e6(e,t):eq(t)?tl(e,t):eD(t)?tc(e,t):eI(t)?n.True:n.False:eB(e)?e3(t)?e6(e,t):eq(t)?tl(e,t):eD(t)?tc(e,t):eE(t)||eB(t)?n.True:n.False:eq(e)?e3(t)?e6(e,t):eD(t)?tc(e,t):eq(t)?(()=>{for(let a of Object.getOwnPropertyNames(t.properties)){if(!(a in e.properties)&&!eO(t.properties[a]))return n.False;if(eO(t.properties[a]))break;if(to(e.properties[a],t.properties[a])===n.False)return n.False}return n.True})():n.False:eD(e)?e3(t)?e6(e,t):eq(t)?tl(e,t):eD(t)?tp(ti(e),ti(t)):n.False:eV(e)?e3(t)?e6(e,t):eq(t)?tl(e,t):eD(t)?tc(e,t):eV(t)?n.True:n.False:eF(e)?e3(t)?e6(e,t):eq(t)?tl(e,t):eD(t)?tc(e,t):eF(t)?n.True:n.False:eH(e)?e3(t)?e6(e,t):eq(t)&&tn(t)||ex(t)&&ex(t)&&void 0!==e.items&&e.items.every(e=>tp(e,t.items)===n.True)?n.True:eH(t)?J.R1(e.items)&&!J.R1(t.items)||!J.R1(e.items)&&J.R1(t.items)?n.False:J.R1(e.items)&&!J.R1(t.items)||e.items.every((e,a)=>tp(e,t.items[a])===n.True)?n.True:n.False:n.False:eW(e)?e3(t)?e6(e,t):eq(t)&&(r=D([i()],i()),ta(t,0)||ta(t,1)&&"then"in t.properties&&e4(tp(t.properties.then,r))===n.True)?n.True:eW(t)?e4(tp(e.item,t.item)):n.False:eK(e)?e3(t)?e6(e,t):eq(t)?tl(e,t):eD(t)?tc(e,t):eK(t)?n.True:n.False:eY(e)?e3(t)?e6(e,t):eq(t)?tl(e,t):eD(t)?tc(e,t):e0(t)?eY(a=e)||eY(a)?n.True:n.False:eY(t)?n.True:n.False:eG(e)?e.anyOf.every(e=>tp(e,t)===n.True)?n.True:n.False:eJ(e)?eU(t)?n.False:eT(t)?e9(e,t):eG(t)?td(e,t):ek(t)?n.True:eV(t)?tu(e,t):eB(t)?tt(e,t):eE(t)?e7(e,t):eC(t)?e5(e,t):ex(t)?eJ(e)?n.False:ek(e)?n.Union:eU(e)?n.True:n.False:eH(t)?eU(e)?n.True:eJ(e)?n.False:ek(e)?n.Union:n.False:eq(t)?tl(e,t):eJ(t)?n.True:n.False:e0(e)?eT(t)?e9(e,t):eG(t)?td(e,t):eJ(t)||ek(t)?n.True:eq(t)?tl(e,t):e0(t)?n.True:n.False:e8(`Unknown left type operand '${e[s.b8]}'`)}function tm(e,t){return h.ZV(e)?(0,l.v)(e.returns,t):(0,m.p)(t)}function th(e,t){return void 0===t?(0,Q.i)(e):(0,Q.i)({...t,...e})}function tf(e){return H(A(e))}var tg=a(31354);function tv(e,t,a){return(0,l.v)({[s.b8]:"Record",type:"object",patternProperties:{[e]:t}},a)}function ty(e,t,a){let r={};for(let a of e)r[a]=t;return I(r,{...a,[s.Ck]:"Record"})}function tb(e,t,a={}){var r,n;return(0,h.my)(e)?(r=e.anyOf,ty(j(y(r)),t,a)):(0,h.gm)(e)?(0,tg.VA)(e)?ty(j(e),t,a):tv(e.pattern,t,a):(0,h.gP)(e)?(n=e.const,ty([n.toString()],t,a)):(0,h.Zx)(e)?I({true:t,false:t},a):(0,h.$p)(e)||(0,h.Mx)(e)?tv(eu,t,a):(0,h.__)(e)?tv(e.source,t,a):(0,h.IP)(e)?tv((0,J.R1)(e.pattern)?ed:e.pattern,t,a):(0,h.h4)(e)?tv(ed,t,a):(0,h.Df)(e)?tv("^(?!.*)$",t,a):(0,m.p)(a)}function tO(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function tk(e){return e.patternProperties[tO(e)]}function tx(e,t){return t.map(t=>tw(e,t))}function tw(e,t){var a,r,n,o;let l,s,i;return h.ZV(t)||h.hg(t)?(t.parameters=tx(e,t.parameters),t.returns=tw(e,t.returns),t):h.Yq(t)?(t.allOf=tx(e,t.allOf),t):h.my(t)?(t.anyOf=tx(e,t.anyOf),t):h.PN(t)?(J.R1(t.items)||(t.items=tx(e,t.items)),t):h.QS(t)||h.H1(t)||h.jo(t)?(t.items=tw(e,t.items),t):h.OD(t)?(t.item=tw(e,t.item),t):h.av(t)?(a=e,r=t.properties,l=globalThis.Object.getOwnPropertyNames(r).reduce((e,t)=>
29{var n;let o,l,s;return{...e,[t]:(n=r[t],o=h.TC(n),l=h.X$(n),s=tw(a,n),o&&l?tf(s):o&&!l?H(s):!o&&l?A(s):s)}},{}),{...t,...I(l)}):h.cZ(t)?(i=tb(tw(n=e,(s=tO(o=t))===ed?el():s===eu?eo():el({pattern:s})),tw(n,tk(o))),{...o,...i}):h.Cz(t)?t.index in e?e[t.index]:K():t}function tS(e,t){return tw(t,th(e))}function tC(e){return(0,l.v)({[s.b8]:"Integer",type:"integer"},e)}var t$=a(96466);class tA extends b.i{}function tR(e){return`^${e.map(e=>(function e(t,a){return(0,h.gm)(t)?t.pattern.slice(1,t.pattern.length-1):(0,h.my)(t)?`(${t.anyOf.map(t=>e(t,a)).join("|")})`:(0,h.Mx)(t)||(0,h.$p)(t)||(0,h.cQ)(t)?`${a}${ei}`:(0,h.IP)(t)?`${a}${ec}`:(0,h.gP)(t)?`${a}${t.const.toString().replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}`:(0,h.Zx)(t)?`${a}(true|false)`:(()=>{throw new tA(`Unexpected Kind '${t[s.b8]}'`)})()})(e,"")).join("")}$`}function tE(e,t){let a=(0,J.IP)(e)?tR([...function* e(t){for(let a=0;a<t.length;a++)if("$"===t[a]){let r=N(t.slice(0,a)),n=function*(t){if("{"!==t[1]){let a=N("$"),r=e(t.slice(1));return yield*[a,...r]}for(let a=2;a<t.length;a++)if("}"===t[a]){let r=function*(e){let t,a=e.trim().replace(/"|'/g,"");return"boolean"===a?yield S():"number"===a?yield eo():"bigint"===a?yield w():"string"===a?yield el():yield 0===(t=a.split("|").map(e=>N(e.trim()))).length?(0,m.p)():1===t.length?t[0]:T(t)}(t.slice(2,a)),n=e(t.slice(a+1));return yield*[...r,...n]}yield N(t)}(t.slice(a));return yield*[r,...n]}yield N(t)}(e)]):tR(e);return(0,l.v)({[s.b8]:"TemplateLiteral",type:"string",pattern:a},t)}function tP(e,t){return"string"==typeof e?"Uncapitalize"===t?function(e){let[t,a]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),a].join("")}(e):"Capitalize"===t?function(e){let[t,a]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),a].join("")}(e):"Uppercase"===t?e.toUpperCase():"Lowercase"===t?e.toLowerCase():e:e.toString()}function tT(e,t){return e.map(e=>t_(e,t))}function t_(e,t,a={}){var r;let n;return(0,h.zZ)(e)?$((r=e.keys,r.reduce((e,r)=>({...e,...{[r]:t_(N(r),t,(0,Q.i)(a))}}),{}))):(0,h.gm)(e)?(n=(0,t$.gL)(e.pattern),(0,tg.vu)(n)?tE([y(tT([...(0,_.Jt)(n)].map(e=>N(e)),t))],a):{...e,pattern:tP(e.pattern,t)}):(0,h.my)(e)?y(tT(e.anyOf,t),a):(0,h.gP)(e)?N(tP(e.const,t),a):(0,l.v)(e,a)}function tj(e,t={}){return t_(e,"Capitalize",t)}function tQ(e,t={}){return t_(e,"Uncapitalize",t)}function tL(e,t={}){return t_(e,"Lowercase",t)}function tM(e,t={}){return t_(e,"Uppercase",t)}function tZ(e,t){return(0,l.v)({[s.b8]:"Iterator",type:"Iterator",items:e},t)}function tU(e,t){let a;return(0,h.Y6)(e)?p("KeyOf",[p(e.target,e.parameters)]):(0,h.in)(e)?p("KeyOf",[O(e.$ref)]):(0,h.ZD)(e)?$(function(e,t){var a=e.properties;let r={};for(let e of globalThis.Object.getOwnPropertyNames(a))r[e]=tU(a[e],(0,Q.i)(t));return r}(e,t)):(a=T((0,X.g)(e).map(e=>"[number]"===e?eo():N(e))),(0,l.v)(a,t))}function tX(e,t){return(0,l.v)({[s.b8]:"Promise",type:"Promise",item:e},t)}function tI(e,t){return e in t?tq(e,t[e]):$(t)}function tB(e,t){return t.map(t=>tq(e,t))}function tq(e,t){var a;let r,n={...t};return(0,h.X$)(t)?A(tq(e,C(t,[s.tJ]))):(0,h.TC)(t)?H(tq(e,C(t,[s.hi]))):(0,h.ZD)(t)?tI(e,t.properties):(0,h.zZ)(t)?(a=t.keys,r=(0,B.oU)(a,e)?{[e]:N(e)}:function(e){let t={};for(let a of e)t[a]=N(a);return t}(a),tI(e,r)):(0,h.ZV)(t)?ea(tB(e,t.parameters),tq(e,t.returns),n):(0,h.hg)(t)?D(tB(e,t.parameters),tq(e,t.returns),n):(0,h.H1)(t)?d(tq(e,t.items),n):(0,h.jo)(t)?tZ(tq(e,t.items),n):(0,h.Yq)(t)?g(tB(e,t.allOf),n):(0,h.my)(t)?y(tB(e,t.anyOf),n):(0,h.PN)(t)?z(tB(e,t.items??[]),n):(0,h.av)(t)?I(function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(t))a[r]=tq(e,t[r]);return a}(e,t.properties),n):(0,h.QS)(t)?u(tq(e,t.items),n):(0,h.OD)(t)?tX(tq(e,t.item),n):t}function tW(e,t,a){let r=(0,h.Yi)(e)?j(e):e,n=t({[s.b8]:"MappedKey",keys:r});return I(function(e,t){let a={};for(let r of e)a[r]=tq(r,t);return a}(r,n),a)}function tD(e,t,a){var r;let n=(0,J.QS)(t)?y(t.reduce((e,t)=>(0,h.fJ)(t)?[...e,N(t)]:e,[])):t,o=(0,h.Yi)(t)?j(t):t,i=(0,h.in)(e),c=(0,h.in)(t);return(0,h.ZD)(e)?$(function(e,t,a){var r=e.properties;let n={};for(let e of globalThis.Object.getOwnPropertyNames(r))n[e]=tD(r[e],t,(0,Q.i)(a));return n}(e,o,a)):(0,h.zZ)(t)?$((r=t.keys,r.reduce((t,r)=>({...t,...{[r]:tD(e,[r],(0,Q.i)(a))}}),{}))):i&&c||!i&&c||i&&!c?p("Omit",[e,n],a):(0,l.v)({...function e(t,a){var r,n,o;let l;return(0,h.Yq)(t)?g((r=t.allOf,r.map(t=>e(t,a)))):(0,h.my)(t)?y((n=t.anyOf,n.map(t=>e(t,a)))):(0,h.av)(t)?(l=C(t,[s.H7,"$id","required","properties"]),I((o=t.properties,a.reduce((e,t)=>
29(function(e,t){let{[t]:a,...r}=e;return r})(e,t),o)),l)):I({})}(e,o),...a})}function tN(e,t,a){var r;let n=(0,J.QS)(t)?y(t.reduce((e,t)=>(0,h.fJ)(t)?[...e,N(t)]:e,[])):t,o=(0,h.Yi)(t)?j(t):t,i=(0,h.in)(e),c=(0,h.in)(t);return(0,h.ZD)(e)?$(function(e,t,a){var r=e.properties;let n={};for(let e of globalThis.Object.getOwnPropertyNames(r))n[e]=tN(r[e],t,(0,Q.i)(a));return n}(e,o,a)):(0,h.zZ)(t)?$((r=t.keys,r.reduce((t,r)=>({...t,...{[r]:tN(e,[r],(0,Q.i)(a))}}),{}))):i&&c||!i&&c||i&&!c?p("Pick",[e,n],a):(0,l.v)({...function e(t,a){var r,n;let o;return(0,h.Yq)(t)?g((r=t.allOf,r.map(t=>e(t,a)))):(0,h.my)(t)?y((n=t.anyOf,n.map(t=>e(t,a)))):(0,h.av)(t)?(o=C(t,[s.H7,"$id","required","properties"]),I(function(e,t){let a={};for(let r of t)r in e&&(a[r]=e[r]);return a}(t.properties,a),o)):I({})}(e,o),...a})}function tV(e){return e.map(e=>tF(e))}function tF(e){let t;return h.Y6(e)?p("Partial",[p(e.target,e.parameters)]):h.in(e)?p("Partial",[O(e.$ref)]):h.Yq(e)?g(tV(e.allOf)):h.my(e)?y(tV(e.anyOf)):h.av(e)?(t=C(e,[s.H7,"$id","required","properties"]),I(function(e){let t={};for(let a of globalThis.Object.getOwnPropertyNames(e))t[a]=A(e[a]);return t}(e.properties),t)):h.cQ(e)||h.Zx(e)||h.$p(e)||h.gP(e)||h.Ef(e)||h.Mx(e)||h.IP(e)||h.nH(e)||h.R1(e)?e:I({})}function tz(e,t){return h.ZD(e)?$(function(e,t){var a=e.properties;let r={};for(let e of globalThis.Object.getOwnPropertyNames(a))r[e]=tz(a[e],(0,Q.i)(t));return r}(e,t)):(0,l.v)({...tF(e),...t})}function tH(e){return e.map(e=>tY(e))}function tY(e){let t;return h.Y6(e)?p("Required",[p(e.target,e.parameters)]):h.in(e)?p("Required",[O(e.$ref)]):h.Yq(e)?g(tH(e.allOf)):h.my(e)?y(tH(e.anyOf)):h.av(e)?(t=C(e,[s.H7,"$id","required","properties"]),I(function(e){let t={};for(let a of globalThis.Object.getOwnPropertyNames(e))t[a]=C(e[a],[s.tJ]);return t}(e.properties),t)):h.cQ(e)||h.Zx(e)||h.$p(e)||h.gP(e)||h.Ef(e)||h.Mx(e)||h.IP(e)||h.nH(e)||h.R1(e)?e:I({})}function tG(e,t){return h.ZD(e)?$(function(e,t){var a=e.properties;let r={};for(let e of globalThis.Object.getOwnPropertyNames(a))r[e]=tG(a[e],t);return r}(e,t)):(0,l.v)({...tY(e),...t})}function tK(e,t){return t in e?h.in(e[t])?tK(e,e[t].$ref):t0(e,e[t]):(0,m.p)()}function tJ(e,t){return t.map(t=>t0(e,t))}function t0(e,t){var a,r,n,o,i;return h.X$(t)?(0,l.v)(t0(e,C(t,[s.tJ])),t):h.TC(t)?(0,l.v)(t0(e,C(t,[s.hi])),t):h.n_(t)?(0,l.v)(h.in(t)?{...tK(e,t.$ref),[s.H7]:t[s.H7]}:t,t):h.QS(t)?(0,l.v)(u(t0(e,t.items)),t):h.H1(t)?(0,l.v)(d(t0(e,t.items)),t):h.Y6(t)?(0,l.v)(function(e,t,a){let r=a.map(t=>h.in(t)?tK(e,t.$ref):t0(e,t));return"Awaited"===t?x(r[0]):"Index"===t?U(r[0],r[1]):"KeyOf"===t?tU(r[0]):"Partial"===t?tz(r[0]):"Omit"===t?tD(r[0],r[1]):"Pick"===t?tN(r[0],r[1]):"Required"===t?tG(r[0]):(0,m.p)()}(e,t.target,t.parameters)):h.ZV(t)?(0,l.v)((a=t.parameters,r=t.returns,ea(tJ(e,a),t0(e,r))),t):h.hg(t)?(0,l.v)((n=t.parameters,o=t.returns,D(tJ(e,n),t0(e,o))),t):h.Yq(t)?(0,l.v)(g(tJ(e,t.allOf)),t):h.jo(t)?(0,l.v)(tZ(t0(e,t.items)),t):h.av(t)?(0,l.v)((i=t.properties,I(globalThis.Object.keys(i).reduce((t,a)=>({...t,[a]:t0(e,i[a])}),{}))),t):h.cZ(t)?(0,l.v)(function(e,t){let[a,r]=[t0(e,tk(t)),tO(t)],n=th(t);return n.patternProperties[r]=a,n}(e,t)):h.PN(t)?(0,l.v)(z(tJ(e,t.items||[])),t):h.my(t)?(0,l.v)(y(tJ(e,t.anyOf)),t):t}class t1{constructor(e){const t=function(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,a)=>({...t,[a]:a in e?t0(e,e[a]):(0,m.p)()}),{})}(e),a=this.WithIdentifiers(t);this.$defs=a}Import(e,t){let a={...this.$defs,[e]:(0,l.v)(this.$defs[e],t)};return(0,l.v)({[s.b8]:"Import",$defs:a,$ref:e})}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,a)=>({...t,[a]:{...e[a],$id:a}}),{})}}function t2(e){return new t1(e)}function t4(e,t){return(0,l.v)({[s.b8]:"Not",not:e},t)}function t8(e,t){return h.hg(e)?z(e.parameters,t):(0,m.p)()}let t3=0;function t6(e,t={}){(0,J.R1)(t.$id)&&(t.$id=`T${t3++}`);let a=th(e({[s.b8]:"This",$ref:`${t.$id}`}));return a.$id=t.$id,(0,l.v)({[s.Ck]:"Recursive",...a},t)}function t5(e,t){let a=(0,J.IP)(e)?new globalThis.RegExp(e):e;return(0,l.v)({[s.b8]:"RegExp",type:"RegExp",source:a.source,flags:a.flags},t)}function t7(e){return(0,h.Yq)(e)?e.allOf:(0,h.my)(e)?e.anyOf:(0,h.PN)(e)?e.items??[]:[]}function t9(e,t){return h.hg(e)?(0,l.v)(e.returns,t):(0,m.p)(t)}class ae{constructor(e){this.schema=e}Decode(e){return new at(this.schema,e)}}class at{constructor(e,t){this.schema=e,this.decode=t}EncodeTransform(e,t){let a=e=>this.decode(t[s.H7].Decode(e));return{...t,[s.H7]:{Encode:a=>t[s.H7].Encode(e(a)),Decode:a}}}EncodeSchema(e,t){let a={Decode:this.decode,Encode:e};return{...t,[s.H7]:a}}Encode(e){return(0,h.n_)(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}}function aa(e){return new ae(e)}function ar(e={}){return(0,l.v)({[s.b8]:e[s.b8]??"Unsafe"},e)}function an(e){return(0,l.v)({[s.b8]:"Void",type:"void"},e)}let ao=o},44084:(e,t,a)=>{"use strict";a.d(t,{W:()=>r});let r=e=>{let t=0,a=0,r=e.length,n=15&r,o=r-n;for(let r=0;r<o;r+=16){let n=255&e.charCodeAt(r)|(255&e.charCodeAt(r+1))<<8|(255&e.charCodeAt(r+2))<<16|(255&e.charCodeAt(r+3))<<24,o=255&e.charCodeAt(r+4)|(255&e.charCodeAt(r+5))<<8|(255&e.charCodeAt(r+6))<<16|(255&e.charCodeAt(r+7))<<24,l=255&e.charCodeAt(r+8)|(255&e.charCodeAt(r+9))<<8|(255&e.charCodeAt(r+10))<<16|(255&e.charCodeAt(r+11))<<24,s=255&e.charCodeAt(r+12)|(255&e.charCodeAt(r+13))<<8|(255&e.charCodeAt(r+14))<<16|(255&e.charCodeAt(r+15
29))<<24;t^=n=Math.imul(n=(n=Math.imul(n,0x87c37b91))<<15|n>>>17,0x4cf5ad43),t=Math.imul(t=t<<13|t>>>19,5)+0xe6546b64,a^=o=Math.imul(o=(o=Math.imul(o,0x4cf5ad43))<<16|o>>>16,0x52dce729),a=Math.imul(a=a<<17|a>>>15,5)+0x1b873593,t^=l=Math.imul(l=(l=Math.imul(l,0x52dce729))<<17|l>>>15,0x38495ab5),t=Math.imul(t=t<<15|t>>>17,5)+0x52dce729,a^=s=Math.imul(s=(s=Math.imul(s,0x38495ab5))<<18|s>>>14,0x87c37b91),a=Math.imul(a=a<<13|a>>>19,5)+0x38495ab5}if(n>0){let r=0,l=0,s=0,i=0;n>=15&&(i^=(255&e.charCodeAt(o+14))<<16),n>=14&&(i^=(255&e.charCodeAt(o+13))<<8),n>=13&&(i^=255&e.charCodeAt(o+12),a^=i=Math.imul(i=(i=Math.imul(i,0x38495ab5))<<18|i>>>14,0x87c37b91)),n>=12&&(s^=(255&e.charCodeAt(o+11))<<24),n>=11&&(s^=(255&e.charCodeAt(o+10))<<16),n>=10&&(s^=(255&e.charCodeAt(o+9))<<8),n>=9&&(s^=255&e.charCodeAt(o+8),t^=s=Math.imul(s=(s=Math.imul(s,0x52dce729))<<17|s>>>15,0x38495ab5)),n>=8&&(l^=(255&e.charCodeAt(o+7))<<24),n>=7&&(l^=(255&e.charCodeAt(o+6))<<16),n>=6&&(l^=(255&e.charCodeAt(o+5))<<8),n>=5&&(l^=255&e.charCodeAt(o+4),a^=l=Math.imul(l=(l=Math.imul(l,0x4cf5ad43))<<16|l>>>16,0x52dce729)),n>=4&&(r^=(255&e.charCodeAt(o+3))<<24),n>=3&&(r^=(255&e.charCodeAt(o+2))<<16),n>=2&&(r^=(255&e.charCodeAt(o+1))<<8),n>=1&&(r^=255&e.charCodeAt(o),t^=r=Math.imul(r=(r=Math.imul(r,0x87c37b91))<<15|r>>>17,0x4cf5ad43))}return t^=r,a^=r,t+=a,a+=t,t^=t>>>16,t=Math.imul(t,0x85ebca6b),t^=t>>>13,t=Math.imul(t,0xc2b2ae35),t^=t>>>16,a^=a>>>16,a=Math.imul(a,0x85ebca6b),a^=a>>>13,a=Math.imul(a,0xc2b2ae35),a^=a>>>16,t+=a,a+=t,(t>>>0).toString(16).padStart(8,"0")+(a>>>0).toString(16).padStart(8,"0")}},44419:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconMagnifyingGlass",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},44564:(e,t,a)=>{"use strict";a.d(t,{j:()=>l,w:()=>i});var r=a(42694),n=a(92412);let o=r.ZU.Object({name:r.ZU.String(),url:r.ZU.String()}),l=r.ZU.Object({"x-scalar-links":r.ZU.Optional(r.ZU.Array(o))}),s=(0,n.Ik)({name:(0,n.Yj)(),url:(0,n.Yj)()},{typeName:"XScalarLinkItem",typeComment:"A named link to display alongside the API info"}),i=(0,n.Ik)({"x-scalar-links":(0,n.lq)((0,n.YO)(s,{typeComment:"Additional named links to display alongside the API info (e.g. privacy policy, imprint)"}))},{typeName:"XScalarLinks",typeComment:"Additional named links to display alongside the API info"})},45340:(e,t,a)=>{"use strict";a.d(t,{AQ:()=>l,nW:()=>o});var r=a(38547),n=Symbol(),o=()=>(0,r.WQ)(n,"body"),l=e=>{let t=e??`scalar-teleport-${(0,r.Bi)()}`;return(0,r.Gt)(n,`#${t}`),t}},45460:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(13416),n=a(38547),o={class:"group contents"},l=(0,r.A)({},[["render",function(e,t){return(0,n.uX)(),(0,n.CE)("tr",o,[(0,n.RG)(e.$slots,"default")])}]])},45734:(e,t,a)=>{"use strict";function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function n(){return r()||/Android/gi.test(window.navigator.userAgent)}a.d(t,{Fr:()=>n,un:()=>r})},45910:(e,t,a)=>{"use strict";a.d(t,{rJ:()=>t0,IG:()=>t2,Yq:()=>t1,k1:()=>t8,iP:()=>t4});var r=a(42694),n=a(72560),o=a(74958),l=a(7041),s=a(75182),i=a(30278),c=a(50169),u=a(40350),d=a(40498),p=a(81062),m=a(95205),h=a(85058),f=a(76086),g=a(37163),v=a(22460),y=a(35480),b=a(93434),O=a(21438);let k="ComponentsObject",x="SecurityRequirementObject",w="TagObject",S="CallbackObject",C="PathsObject",$
29="PathItemObject",A="OperationObject",R="SchemaObject",E="EncodingObject",P="HeaderObject",T="MediaTypeObject",_="ServerObject",j="ExternalDocumentationObject",Q="InfoObject",L="ContactObject",M="LicenseObject",Z="ResponseObject",U="ResponsesObject",X="ParameterObject",I="ExampleObject",B="RequestBodyObject",q="SecuritySchemeObject",W="LinkObject",D="XMLObject",N="DiscriminatorObject",V="OAuthFlowsObject",F="ServerVariableObject",z="TraversedEntryObject",H="TraversedDocumentObject",Y=r.ZU.Ref(k),G=r.ZU.Ref(x),K=r.ZU.Ref(w),J=r.ZU.Ref(S),ee=r.ZU.Ref($),et=r.ZU.Ref(C),ea=r.ZU.Ref(A),er=r.ZU.Ref(R),en=r.ZU.Ref(E),eo=r.ZU.Ref(P),el=r.ZU.Ref(T),es=r.ZU.Ref(_),ei=r.ZU.Ref(j),ec=r.ZU.Ref(Q),eu=r.ZU.Ref(L),ed=r.ZU.Ref(M),ep=r.ZU.Ref(Z),em=r.ZU.Ref(U),eh=r.ZU.Ref(X),ef=r.ZU.Ref(I),eg=r.ZU.Ref(B),ev=r.ZU.Ref(q),ey=r.ZU.Ref(W),eb=r.ZU.Ref(D),eO=r.ZU.Ref(N),ek=r.ZU.Ref(V),ex=r.ZU.Ref(F),ew=r.ZU.Ref(z),eS=r.ZU.Ref(H),eC=r.ZU.Object({id:r.ZU.String(),title:r.ZU.String()}),e$=(0,n.Z)(eC,r.ZU.Object({type:r.ZU.Literal("document"),name:r.ZU.String(),children:r.ZU.Optional(r.ZU.Array(ew)),icon:r.ZU.Optional(r.ZU.String())})),eA=(0,n.Z)(eC,r.ZU.Object({type:r.ZU.Literal("text"),children:r.ZU.Optional(r.ZU.Array(ew))})),eR=(0,n.Z)(eC,r.ZU.Object({type:r.ZU.Literal("example"),name:r.ZU.String()})),eE=(0,n.Z)(eC,r.ZU.Object({type:r.ZU.Literal("operation"),ref:r.ZU.String(),method:r.ZU.Union(O.y.map(e=>r.ZU.Literal(e))),path:r.ZU.String(),isDeprecated:r.ZU.Optional(r.ZU.Boolean()),children:r.ZU.Optional(r.ZU.Array(ew))})),eP=(0,n.Z)(eC,r.ZU.Object({type:r.ZU.Literal("asyncapi-operation"),operationName:r.ZU.String(),action:r.ZU.Union([r.ZU.Literal("send"),r.ZU.Literal("receive")]),channelName:r.ZU.String(),channelAddress:r.ZU.String(),children:r.ZU.Optional(r.ZU.Array(ew))})),eT=(0,n.Z)(eC,r.ZU.Object({type:r.ZU.Literal("asyncapi-channel"),channelName:r.ZU.String(),channelAddress:r.ZU.String(),children:r.ZU.Optional(r.ZU.Array(ew))})),e_=(0,n.Z)(eC,r.ZU.Object({type:r.ZU.Literal("asyncapi-message"),messageName:r.ZU.String(),channelName:r.ZU.String()})),ej=(0,n.Z)(eC,r.ZU.Object({type:r.ZU.Literal("model"),ref:r.ZU.String(),name:r.ZU.String()})),eQ=(0,n.Z)(eC,r.ZU.Object({type:r.ZU.Literal("webhook"),ref:r.ZU.String(),method:r.ZU.Union(O.y.map(e=>r.ZU.Literal(e))),name:r.ZU.String(),isDeprecated:r.ZU.Optional(r.ZU.Boolean())})),eL=(0,n.Z)(eC,r.ZU.Object({type:r.ZU.Literal("tag"),name:r.ZU.String(),description:r.ZU.Optional(r.ZU.String()),children:r.ZU.Optional(r.ZU.Array(ew)),isGroup:r.ZU.Boolean(),isTagGroup:r.ZU.Optional(r.ZU.Boolean()),isWebhooks:r.ZU.Optional(r.ZU.Boolean()),xKeys:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Unknown()))})),eM=(0,n.Z)(eC,r.ZU.Object({type:r.ZU.Literal("models"),name:r.ZU.String(),children:r.ZU.Optional(r.ZU.Array(ew))})),eZ=r.ZU.Union([eA,eE,eP,eT,e_,ej,eL,eQ,eR,e$,eM]),eU=r.ZU.Object({$status:r.ZU.Optional(r.ZU.Union([r.ZU.Literal("loading"),r.ZU.Literal("error")])),$global:r.ZU.Optional(r.ZU.Boolean())}),eX=(0,n.Z)(r.ZU.Object({$ref:r.ZU.String(),summary:r.ZU.Optional(r.ZU.String()),description:r.ZU.Optional(r.ZU.String())}),eU),eI=e=>(0,n.Z)(eX,r.ZU.Object({"$ref-value":e})),eB=r.ZU.Record(r.ZU.String(),r.ZU.Union([ee,eI(ee)])),eq=r.ZU.Record(r.ZU.String(),r.ZU.Union([ev,eI(ev)])),eW=r.ZU.Object({schemas:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([er,eI(er)]))),responses:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([ep,eI(ep)]))),parameters:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([eh,eI(eh)]))),examples:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([ef,eI(ef)]))),requestBodies:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([eg,eI(eg)]))),headers:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([eo,eI(eo)]))),securitySchemes:r.ZU.Optional(eq),links:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([ey,eI(ey)]))),callbacks:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([J,eI(J)]))),pathItems:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([ee,eI(ee)])))}),eD=r.ZU.Object({name:r.ZU.Optional(r.ZU.String()),url:r.ZU.Optional(r.ZU.String()),email:r.ZU.Optional(r.ZU.String())}),eN=r.ZU.Object({propertyName:r.ZU.String(),mapping:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Str
29ing()))}),eV=r.ZU.Object({contentType:r.ZU.Optional(r.ZU.String()),headers:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([eo,eI(eo)]))),style:r.ZU.Optional(r.ZU.Union([r.ZU.Literal("form"),r.ZU.Literal("spaceDelimited"),r.ZU.Literal("pipeDelimited"),r.ZU.Literal("deepObject")])),explode:r.ZU.Optional(r.ZU.Boolean()),allowReserved:r.ZU.Optional(r.ZU.Boolean())});var eF=a(38959);let ez=(0,n.Z)(r.ZU.Object({summary:r.ZU.Optional(r.ZU.String()),description:r.ZU.Optional(r.ZU.String()),value:r.ZU.Optional(r.ZU.Any()),externalValue:r.ZU.Optional(r.ZU.String())}),eF.Q),eH=r.ZU.Object({url:r.ZU.String(),description:r.ZU.Optional(r.ZU.String())}),eY=r.ZU.Object({description:r.ZU.Optional(r.ZU.String()),required:r.ZU.Optional(r.ZU.Boolean()),deprecated:r.ZU.Optional(r.ZU.Boolean())}),eG=(0,n.Z)(eY,r.ZU.Object({style:r.ZU.Optional(r.ZU.String()),explode:r.ZU.Optional(r.ZU.Boolean()),schema:r.ZU.Optional(r.ZU.Union([er,eI(er)])),example:r.ZU.Optional(r.ZU.Any()),examples:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([ef,eI(ef)])))})),eK=r.ZU.Union([eG,(0,n.Z)(eY,r.ZU.Object({content:r.ZU.Optional(r.ZU.Record(r.ZU.String(),el))}))]);var eJ=a(44564),e0=a(40688);let e1=(0,n.Z)(r.ZU.Object({title:r.ZU.String(),version:r.ZU.String(),summary:r.ZU.Optional(r.ZU.String()),description:r.ZU.Optional(r.ZU.String()),termsOfService:r.ZU.Optional(r.ZU.String()),contact:r.ZU.Optional(eu),license:r.ZU.Optional(ed)}),e0.e,eJ.j),e2=r.ZU.Object({name:r.ZU.Optional(r.ZU.String()),identifier:r.ZU.Optional(r.ZU.String()),url:r.ZU.Optional(r.ZU.String())}),e4=r.ZU.Object({operationRef:r.ZU.Optional(r.ZU.String()),operationId:r.ZU.Optional(r.ZU.String()),parameters:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Any())),requestBody:r.ZU.Optional(r.ZU.Any()),description:r.ZU.Optional(r.ZU.String()),server:r.ZU.Optional(es)}),e8=r.ZU.Object({schema:r.ZU.Optional(r.ZU.Union([er,eI(er)])),example:r.ZU.Optional(r.ZU.Any()),examples:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([ef,eI(ef)]))),encoding:r.ZU.Optional(r.ZU.Record(r.ZU.String(),en))});var e3=a(11305);let e6=r.ZU.Object({implicit:r.ZU.Optional(e3.wz),password:r.ZU.Optional(e3.a3),clientCredentials:r.ZU.Optional(e3.ov),authorizationCode:r.ZU.Optional(e3.Lq)});var e5=a(24445),e7=a(55465),e9=a(17557),te=a(39021),tt=a(27279),ta=a(53606),tr=a(46284);let tn=(0,n.Z)(r.ZU.Object({tags:r.ZU.Optional(r.ZU.Array(r.ZU.String())),summary:r.ZU.Optional(r.ZU.String()),description:r.ZU.Optional(r.ZU.String()),externalDocs:r.ZU.Optional(ei),operationId:r.ZU.Optional(r.ZU.String()),parameters:r.ZU.Optional(r.ZU.Array(r.ZU.Union([eh,eI(eh)]))),requestBody:r.ZU.Optional(r.ZU.Union([eg,eI(eg)])),responses:r.ZU.Optional(em),deprecated:r.ZU.Optional(r.ZU.Boolean()),security:r.ZU.Optional(r.ZU.Array(G)),servers:r.ZU.Optional(r.ZU.Array(es)),callbacks:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([J,eI(J)])))}),e9.YL,e5.L,e7.o,te.al,tr.PL,ta.a,m.v,h.Y,tt.K,y.U);var to=a(87423);let tl=(0,n.Z)(r.ZU.Object({name:r.ZU.String(),in:r.ZU.Union([r.ZU.Literal("query"),r.ZU.Literal("header"),r.ZU.Literal("path"),r.ZU.Literal("cookie")]),description:r.ZU.Optional(r.ZU.String()),required:r.ZU.Optional(r.ZU.Boolean()),deprecated:r.ZU.Optional(r.ZU.Boolean()),allowEmptyValue:r.ZU.Optional(r.ZU.Boolean()),allowReserved:r.ZU.Optional(r.ZU.Boolean())}),to.Z,e5.L,e7.o),ts=(0,n.Z)(tl,r.ZU.Object({style:r.ZU.Optional(r.ZU.String()),explode:r.ZU.Optional(r.ZU.Boolean()),schema:r.ZU.Optional(r.ZU.Union([er,eI(er)])),example:r.ZU.Optional(r.ZU.Any()),examples:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([ef,eI(ef)])))})),ti=(0,n.Z)(tl,r.ZU.Object({content:r.ZU.Optional(r.ZU.Record(r.ZU.String(),el))})),tc=r.ZU.Union([ts,ti]),tu=r.ZU.Object({$ref:r.ZU.Optional(r.ZU.String()),summary:r.ZU.Optional(r.ZU.String()),description:r.ZU.Optional(r.ZU.String()),get:r.ZU.Optional(r.ZU.Union([ea,eI(ea)])),put:r.ZU.Optional(r.ZU.Union([ea,eI(ea)])),post:r.ZU.Optional(r.ZU.Union([ea,eI(ea)])),delete:r.ZU.Optional(r.ZU.Union([ea,eI(ea)])),patch:r.ZU.Optional(r.ZU.Union([ea,eI(ea)])),connect:r.ZU.Optional(r.ZU.Union([ea,eI(ea)])),options:r.ZU.Optional(r.ZU.Union([ea,eI(ea)])),head:r.ZU.Optional(r.ZU.Union([ea,eI(ea)])),trace:r.ZU.Optional(r.ZU.Union([ea,eI(ea)])),servers:r.ZU.Optional(r.ZU.Array(es)),parameters:r.ZU.Optional(r.ZU.Array(r.ZU.Union([eh,eI(eh)])))}),td=r.ZU.Record(r.ZU.String(),r.ZU.Union([ee,eI(ee)]));var tp=a(91095);let tm=(0,n.Z)(r.ZU.Object({description:r.ZU.Optional(r.ZU.String()),content:r.ZU.Record(r.ZU.String(),el),required:r.ZU.Optional(r.ZU.Boolean())}),tp.K),th=r.ZU.Object({description:r.ZU.String(),headers:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([eo,eI(eo)]))),content:r.ZU.Optional(r.ZU.Record(r.ZU.String(),el)),links:r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Union([ey,eI(ey)])))}),tf=r.ZU.Record(r.ZU.String(),r.ZU.Union([ep,eI(ep)]));var tg=a(22377),tv=a(54541),ty=a(8669),tb=a(38709),tO=a(12961),tk=a(18826),tx=a(24330);let tw=r.ZU.Union([er,(0,n.Z)(eX,r.ZU.Object({"$ref-value":r.ZU.Optional(r.ZU.Unknown())}))]),tS=r.ZU.Union([r.ZU.Literal("null"),r.ZU.Literal("boolean"),r.ZU.Literal("string"),r.ZU.Literal("number"),r.ZU.Literal("integer"),r.ZU.Literal("object"),r.ZU.Literal("array")]),tC=r.ZU.Object({type:r.ZU.Union([r.ZU.Literal("null"),r.ZU.Literal("boolean")])}),t$=(0,n.Z)(e7.o,e5.L,tx.S,tO.N,ty.k,tb.a,tv.Z,tk.y,tg.j),tA=r.ZU.Object({$id:r.ZU.Optional(r.ZU.String()),$anchor:r.ZU.Optional(r.ZU.String()),$dynamicAnchor:r.ZU.Optional(r.ZU.String()),$dynamicRef:r.ZU.Optional(r.ZU.String()),name:r.ZU.Optional(r.ZU.String()),title:r.ZU.Optional(r.ZU.String()),description:r.ZU.Optional(r.ZU.String()),default:r.ZU.Optional(r.ZU.Unknown()),enum:r.ZU.Optional(r.ZU.Array(r.ZU.Unknown())),const:r.ZU.Optional(r.ZU.Unknown()),contentMediaType:r.ZU.Optional(r.ZU.String()),contentEncoding:r.ZU.Optional(r.ZU.String()),contentSchema:r.ZU.Optional(tw),deprecated:r.ZU.Optional(r.ZU.Boolean()),discriminator:r.ZU.Optional(eO),readOnly:r.ZU.Optional(r.ZU.Boolean()),writeOnly:r.ZU.Optional(r.ZU.Boolean()),xml:r.ZU.Optional(eb),externalDocs:r.ZU.Optional(ei),example:r.ZU.Optional(r.ZU.Unknown()),examples:r.ZU.Optional(r.ZU.Array(r.ZU.Unknown())),allOf:r.ZU.Optional(r.ZU.Array(tw)),oneOf:r.ZU.Optional(r.ZU.Array(tw)),anyOf:r.ZU.Optional(r.ZU.Array(tw)),not:r.ZU.Optional(tw)}),tR=r.ZU.Object({multipleOf:r.ZU.Optional(r.ZU.Number()),maximum:r.ZU.Optional(r.ZU.Number()),exclusiveMaximum:r.ZU.Optional(r.ZU.Number({minimum:0})),minimum:r.ZU.Optional(r.ZU.Number()),exclusiveMinimum:r.ZU.Optional(r.ZU.Number({minimum:0}))}),tE=(0,n.Z)(r.ZU.Object({type:r.ZU.Union([r.ZU.Literal("number"),r.ZU.Literal("integer")]),format:r.ZU.Optional(r.ZU.String())}),tR),tP=r.ZU.Object({maxLength:r.ZU.Optional(r.ZU.Integer({minimum:0})),minLength:r.ZU.Optional(r.ZU.Integer({minimum:0})),pattern:r.ZU.Optional(r.ZU.String())}),tT=(0,n.Z)(r.ZU.Object({type:r.ZU.Literal("string"),format:r.ZU.Optional(r.ZU.String())}),tP),t_=r.ZU.Object({maxItems:r.ZU.Optional(r.ZU.Integer({minimum:0})),minItems:r.ZU.Optional(r.ZU.Integer({minimum:0})),uniqueItems:r.ZU.Optional(r.ZU.Boolean()),items:r.ZU.Optional(tw),prefixItems:r.ZU.Optional(r.ZU.Array(tw))}),tj=(0,n.Z)(r.ZU.Object({type:r.ZU.Literal("array")}),t_),tQ=r.ZU.Object({maxProperties:r.ZU.Optional(r.ZU.Integer({minimum:0})),minProperties:r.ZU.Optional(r.ZU.Integer({minimum:0})),required:r.ZU.Optional(r.ZU.Array(r.ZU.String())),properties:r.ZU.Optional(r.ZU.Record(r.ZU.String(),tw)),additionalProperties:r.ZU.Optional(r.ZU.Union([r.ZU.Boolean(),tw])),patternProperties:r.ZU.Optional(r.ZU.Record(r.ZU.String(),tw)),propertyNames:r.ZU.Optional(tw)}),tL=(0,n.Z)(r.ZU.Object({type:r.ZU.Literal("object")}),tQ),tM=(0,n.Z)(r.ZU.Object({type:r.ZU.Array(tS),format:r.ZU.Optional(r.ZU.String())}),tR,tP,t_,tQ),tZ=r.ZU.Union([(0,n.Z)(r.ZU.Object({__scalar_:r.ZU.String()}),tA,t$),(0,n.Z)(tC,tA,t$),(0,n.Z)(tE,tA,t$),(0,n.Z)(tT,tA,t$),(0,n.Z)(tL,tA,t$),(0,n.Z)(tj,tA,t$),(0,n.Z)(tM,tA,t$)]),tU=r.ZU.Partial(r.ZU.Record(r.ZU.String(),r.ZU.Array(r.ZU.String())));var tX=a(91092);let tI=(0,n.Z)(r.ZU.Object({description:r.ZU.Optional(r.ZU.String())}),e7.o),tB=(0,n.Z)(tI,r.ZU.Object({type:r.ZU.Literal("apiKey"),name:r.ZU.String(),in:r.ZU.Union([r.ZU.Literal("query"),r.ZU.Literal("header"),r.ZU.Literal("cookie")])}
29)),tq=(0,n.Z)(tI,r.ZU.Object({type:r.ZU.Literal("http"),scheme:r.ZU.Union([r.ZU.Literal("basic"),r.ZU.Literal("bearer")]),bearerFormat:r.ZU.Optional(r.ZU.String())})),tW=(0,n.Z)(tI,r.ZU.Object({type:r.ZU.Literal("oauth2"),flows:ek}),tX.E),tD=(0,n.Z)(tI,r.ZU.Object({type:r.ZU.Literal("openIdConnect"),openIdConnectUrl:r.ZU.String()})),tN=r.ZU.Union([tB,tq,tW,tD]),tV=r.ZU.Object({url:r.ZU.String(),description:r.ZU.Optional(r.ZU.String()),variables:r.ZU.Optional(r.ZU.Record(r.ZU.String(),ex))}),tF=r.ZU.Object({enum:r.ZU.Optional(r.ZU.Array(r.ZU.String())),default:r.ZU.Optional(r.ZU.String()),description:r.ZU.Optional(r.ZU.String())});var tz=a(90423);let tH=(0,n.Z)(r.ZU.Object({name:r.ZU.String(),summary:r.ZU.Optional(r.ZU.String()),description:r.ZU.Optional(r.ZU.String()),parent:r.ZU.Optional(r.ZU.String()),kind:r.ZU.Optional(r.ZU.String()),externalDocs:r.ZU.Optional(ei)}),tz.d,e5.L,e7.o,v.a),tY=r.ZU.Object({name:r.ZU.Optional(r.ZU.String()),namespace:r.ZU.Optional(r.ZU.String()),prefix:r.ZU.Optional(r.ZU.String()),attribute:r.ZU.Optional(r.ZU.Boolean()),wrapped:r.ZU.Optional(r.ZU.Boolean())}),tG=(0,n.Z)(r.ZU.Partial(r.ZU.Object({"x-original-oas-version":r.ZU.String(),[o.X.document.navigation]:eS})),u.$,b.Gl,l.O$,y.U,s.V,v.a,g.Jg,c.A,i.u,f.b,p._,d.m,h.Y,m.v),tK=(0,n.Z)(r.ZU.Object({openapi:r.ZU.String(),info:ec,jsonSchemaDialect:r.ZU.Optional(r.ZU.String()),servers:r.ZU.Optional(r.ZU.Array(es)),paths:r.ZU.Optional(et),webhooks:r.ZU.Optional(et),components:r.ZU.Optional(Y),security:r.ZU.Optional(r.ZU.Array(G)),tags:r.ZU.Optional(r.ZU.Array(K)),externalDocs:r.ZU.Optional(ei)}),tG),tJ=r.ZU.Module({[k]:eW,[x]:tU,[w]:tH,[S]:eB,[$]:tu,[C]:td,[A]:tn,[R]:tZ,[E]:eV,[T]:e8,[P]:eK,[_]:tV,[j]:eH,[Q]:e1,[L]:eD,[M]:e2,[Z]:th,[U]:tf,[X]:tc,[I]:ez,[B]:tm,SecuritySchemes:eq,[q]:tN,[W]:e4,[D]:tY,[N]:eN,[V]:e6,[F]:tF,OpenApiDocument:tK,TraversedDescriptionObject:eA,TraversedOperationObject:eE,TraversedAsyncApiOperationObject:eP,TraversedAsyncApiChannelObject:eT,TraversedAsyncApiMessageObject:e_,TraversedSchemaObject:ej,TraversedWebhookObject:eQ,TraversedTagObject:eL,[z]:eZ,[H]:e$}),t0=tJ.Import("OpenApiDocument");tJ.Import("ComponentsObject");let t1=tJ.Import("SecurityRequirementObject");tJ.Import("TagObject"),tJ.Import("CallbackObject"),tJ.Import("PathItemObject"),tJ.Import("PathsObject"),tJ.Import("OperationObject");let t2=tJ.Import("SchemaObject");tJ.Import("EncodingObject"),tJ.Import("MediaTypeObject"),tJ.Import("HeaderObject");let t4=tJ.Import("ServerObject");tJ.Import("ExternalDocumentationObject"),tJ.Import("InfoObject"),tJ.Import("ContactObject"),tJ.Import("LicenseObject"),tJ.Import("ResponseObject"),tJ.Import("ResponsesObject"),tJ.Import("ParameterObject"),tJ.Import("ExampleObject"),tJ.Import("RequestBodyObject"),tJ.Import("SecuritySchemes");let t8=tJ.Import("SecuritySchemeObject");tJ.Import("LinkObject"),tJ.Import("XMLObject"),tJ.Import("DiscriminatorObject"),tJ.Import("OAuthFlowsObject"),tJ.Import("ServerVariableObject"),tJ.Import("TraversedDescriptionObject"),tJ.Import("TraversedEntryObject"),tJ.Import("TraversedTagObject"),tJ.Import("TraversedOperationObject"),tJ.Import("TraversedSchemaObject"),tJ.Import("TraversedWebhookObject")},46284:(e,t,a)=>{"use strict";a.d(t,{C$:()=>s,PL:()=>l,mI:()=>o});var r=a(42694),n=a(92412);let o={Deprecated:"deprecated",Experimental:"experimental",Stable:"stable"},l=r.ZU.Object({"x-scalar-stability":r.ZU.Optional(r.ZU.Union([r.ZU.Literal("deprecated"),r.ZU.Literal("experimental"),r.ZU.Literal("stable")]))}),s=(0,n.Ik)({"x-scalar-stability":(0,n.lq)((0,n.KC)([(0,n.eu)("deprecated"),(0,n.eu)("experimental"),(0,n.eu)("stable")],{typeComment:"Stability level of the operation"}))},{typeName:"XScalarStability",typeComment:"Stability of the operation in the Scalar UI"})},47197:(e,t,a)=>{"use strict";a.d(t,{F:()=>n.A,Z:()=>r.A});var r=a(68491),n=a(72662)},47358:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconTrash",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},47553:(e,t,a)=>{"use strict";a.d(t,{BN:()=>n,E3:()=>r,xT:()=>c});for(var r={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},n={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},o="u">typeof navigator&&/Mac/.test(navigator.platform),l="u">typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),s=0;s<10;s++)r[48+s]=r[96+s]=String(s);for(var s=1;s<=24;s++)r[s+111]="F"+s;for(var s=65;s<=90;s++)r[s]=String.fromCharCode(s+32),n[s]=String.fromCharCode(s);for(var i in r)n.hasOwnProperty(i)||(n[i]=r[i]);function c(e){var t=!(o&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||l&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?n:r)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}},47605:(e,t,a)=>{"use strict";a.d(t,{D:()=>l,Y:()=>o});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-scalar-security-body":r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Str
29ing()))}),l=(0,n.Ik)({"x-scalar-security-body":(0,n.lq)((0,n.g1)((0,n.Yj)(),(0,n.Yj)()))},{typeName:"XScalarSecurityBody",typeComment:"Additional OAuth token request body parameters"})},47814:(e,t,a)=>{"use strict";a.d(t,{fT:()=>s,iU:()=>i});var r={"⌘":"Command","^":"Control",ctrl:"Control","⌥":"Option",alt:"Alt","⇧":"Shift","⇪":"Caps Lock","↵":"Enter","←":"Left Arrow","→":"Right Arrow","↑":"Up Arrow","↓":"Down Arrow"},n={Meta:"⌘",Shift:"⇧",Alt:"⌥",Control:"^"},o={Meta:"ctrl",Shift:"⇧",Alt:"alt",Control:"ctrl"},l=a(32392);function s(e,t){return[...t.map(e=>{var t;let a;return a="default"===(t=e)?"Meta":t,(0,l.U)()?n[a]:o[a]}),e]}function i(e){return e in r?r[e]:e}},47990:(e,t,a)=>{"use strict";a.d(t,{N:()=>o});var r=a(67741),n=a(10518);let o=(e,t)=>{let a=t?.modelsSectionLabel??n.W,o=(0,r.Y)(a),l=a=>{let n=(0,r.Y)(e);if("text"===a.type)return t?.generateHeadingSlug?t?.generateHeadingSlug({slug:a.slug}):a.slug?`${n}/description/${a.slug}`:`${n}/`;if("tag"===a.type){let e=a.isTagGroup?"tag-group":"tag";return t?.generateTagSlug?`${n}/${e}/${t.generateTagSlug(a.tag)}`:`${n}/${e}/${(0,r.Y)(a.tag.name??"")}`}if("asyncapi-channel"===a.type){let e=a.parentTag?`${l({type:"tag",tag:a.parentTag.tag,parentId:a.parentTag.id})}/`:`${n}/`;return`${e}channel/${(0,r.Y)(a.channelName)}`}if("asyncapi-message"===a.type)return`${a.parentId}/message/${(0,r.Y)(a.messageName)}`;if("asyncapi-operation"===a.type)return`${a.parentId}/operation/${(0,r.Y)(a.operationName)}`;if("operation"===a.type){let e=a.parentTag?`${l({type:"tag",tag:a.parentTag.tag,parentId:a.parentTag.id})}/`:`${n}/`;return t?.generateOperationSlug?`${e}${t.generateOperationSlug({path:a.path,operationId:a.operation.operationId,method:a.method.toUpperCase(),summary:a.operation.summary})}`:`${e}${a.method.toUpperCase()}${a.path}`}if("webhook"===a.type){let e=a.parentTag?`${l({type:"tag",parentId:a.parentTag.id,tag:a.parentTag.tag})}/`:`${n}/`;return t?.generateWebhookSlug?`${e}webhook/${t.generateWebhookSlug({name:a.name,method:a.method?.toUpperCase()})}`:`${e}webhook/${a.method?.toUpperCase()}/${(0,r.Y)(a.name,{allowedSpecialChars:"."})}`}if("model"===a.type){if(!a.name)return`${n}/${o}`;let e=a.parentTag?`${l({type:"tag",parentId:a.parentTag.id,tag:a.parentTag.tag})}/`:`${n}/`;return t?.generateModelSlug?`${e}${o}/${t.generateModelSlug({name:a.name})}`:`${e}${o}/${(0,r.Y)(a.name,{preserveCase:!0})}`}return"example"===a.type?`${a.parentId}/example/${(0,r.Y)(a.name)}`:"document"===a.type?n:(console.warn("[WARNING]: unhandled id generation for navigation item:",a),"unknown-id")};return{hideModels:t?.hideModels??!1,modelsSectionLabel:a,operationsSorter:t?.operationsSorter,tagsSorter:t?.tagsSorter,operationTitleSource:t?.operationTitleSource,generateId:l}}},50169:(e,t,a)=>{"use strict";a.d(t,{A:()=>o,V:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-scalar-original-document-hash":r.ZU.String()}),l=(0,n.Ik)({"x-scalar-original-document-hash":(0,n.Yj)({typeComment:"Original input document hash"})},{typeName:"XScalarOriginalDocumentHash",typeComment:"Original input document hash"})},51316:(e,t,a)=>{"use strict";a.d(t,{A:()=>l,F:()=>o});var r=a(60652);let n=e=>e["$ref-value"],o=e=>{let{"$ref-value":t,...a}=e;return(0,r.G)(t)?{...t,...a}:a},l=(e,t=n)=>"object"==typeof e&&null!==e&&"$ref"in e?t(e):e},51324:(e,t,a)=>{"use strict";a.d(t,{s:()=>s});var r=a(85238),n=a(10779),o=a(99113),l=a(89889);let s=(e,{depth:t=0}={})=>{let a=(s,i=0)=>{if("object"!=typeof s||null===s)return s;let c=(0,o.$Q)((0,n.ux)((0,r.T)((0,l.i)(s))));return null!==t&&i>=t||(0!==i&&c!==s&&(console.warn("%c⚠ Warning:%c You tried to assign a proxied object (depth: %d).\n%c\uD83D\uDCA1 Tip:%c Pass a plain object instead — wrapping a proxy inside another proxy may cause weird bugs.\n%c\uD83D\uDD0D Debug Info:%c The problematic value is shown below:","background: #fdd835; color: #000; font-weight: bold; padding: 2px 4px; border-radius: 3px;","color: inherit;",i,"color: #00bfa5; font-weight: bold;","color: inherit;","color: #03a9f4; font-weight: bold;","color: inherit;",s,e),console.groupCollapsed("%c\uD83D\uDCDC Proxy assignment trace","color: #9c27b0; font-weight: bold;"),console.trace({value:s,raw:c}
29),console.groupEnd()),Object.entries(c).forEach(([e,t])=>{let r=a(t,i+1);Reflect.set(c,e,r)||console.warn('%c\uD83D\uDEAB Readonly Property Error:%c Failed to set property "%s" on object.\n%c\uD83D\uDCA1 Tip:%c This property is readonly or non-configurable. You cannot unpack a readonly property — the value was not updated.\n%c\uD83D\uDD0D Debug Info:%c Property: %s | Value: %o | Object: %o',"background: #f44336; color: #fff; font-weight: bold; padding: 2px 4px; border-radius: 3px;","color: inherit;",e,"color: #00bfa5; font-weight: bold;","color: inherit;","color: #03a9f4; font-weight: bold;","color: inherit;",e,r,c)})),c};return a(e)}},52614:(e,t,a)=>{"use strict";let r;a.d(t,{Ay:()=>ai,parse:()=>al,stringify:()=>as});var n={};a.r(n),a.d(n,{BOM:()=>tW,DOCUMENT:()=>tD,FLOW_END:()=>tN,SCALAR:()=>tV,createScalarToken:()=>t_,isCollection:()=>tF,isScalar:()=>tz,prettyToken:()=>tH,resolveAsScalar:()=>tT,setScalarValue:()=>tj,stringify:()=>tM,tokenType:()=>tY,visit:()=>tq});var o={};a.r(o),a.d(o,{Alias:()=>B,CST:()=>n,Composer:()=>tP,Document:()=>to,Lexer:()=>t4,LineCounter:()=>t8,Pair:()=>ev,Parser:()=>aa,Scalar:()=>W,Schema:()=>tn,YAMLError:()=>ts,YAMLMap:()=>ek,YAMLParseError:()=>ti,YAMLSeq:()=>ew,YAMLWarning:()=>tc,isAlias:()=>m,isCollection:()=>b,isDocument:()=>h,isMap:()=>f,isNode:()=>O,isPair:()=>g,isScalar:()=>v,isSeq:()=>y,parse:()=>al,parseAllDocuments:()=>an,parseDocument:()=>ao,stringify:()=>as,visit:()=>C,visitAsync:()=>A});let l=Symbol.for("yaml.alias"),s=Symbol.for("yaml.document"),i=Symbol.for("yaml.map"),c=Symbol.for("yaml.pair"),u=Symbol.for("yaml.scalar"),d=Symbol.for("yaml.seq"),p=Symbol.for("yaml.node.type"),m=e=>!!e&&"object"==typeof e&&e[p]===l,h=e=>!!e&&"object"==typeof e&&e[p]===s,f=e=>!!e&&"object"==typeof e&&e[p]===i,g=e=>!!e&&"object"==typeof e&&e[p]===c,v=e=>!!e&&"object"==typeof e&&e[p]===u,y=e=>!!e&&"object"==typeof e&&e[p]===d;function b(e){if(e&&"object"==typeof e)switch(e[p]){case i:case d:return!0}return!1}function O(e){if(e&&"object"==typeof e)switch(e[p]){case l:case i:case u:case d:return!0}return!1}let k=e=>(v(e)||b(e))&&!!e.anchor,x=Symbol("break visit"),w=Symbol("skip children"),S=Symbol("remove node");function C(e,t){let a=E(t);h(e)?$(null,e.contents,a,Object.freeze([e]))===S&&(e.contents=null):$(null,e,a,Object.freeze([]))}function $(e,t,a,r){let n=P(e,t,a,r);if(O(n)||g(n))return T(e,r,n),$(e,n,a,r);if("symbol"!=typeof n){if(b(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let n=$(e,t.items[e],a,r);if("number"==typeof n)e=n-1;else{if(n===x)return x;n===S&&(t.items.splice(e,1),e-=1)}}}else if(g(t)){r=Object.freeze(r.concat(t));let e=$("key",t.key,a,r);if(e===x)return x;e===S&&(t.key=null);let n=$("value",t.value,a,r);if(n===x)return x;n===S&&(t.value=null)}}return n}async function A(e,t){let a=E(t);h(e)?await R(null,e.contents,a,Object.freeze([e]))===S&&(e.contents=null):await R(null,e,a,Object.freeze([]))}async function R(e,t,a,r){let n=await P(e,t,a,r);if(O(n)||g(n))return T(e,r,n),R(e,n,a,r);if("symbol"!=typeof n){if(b(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let n=await R(e,t.items[e],a,r);if("number"==typeof n)e=n-1;else{if(n===x)return x;n===S&&(t.items.splice(e,1),e-=1)}}}else if(g(t)){r=Object.freeze(r.concat(t));let e=await R("key",t.key,a,r);if(e===x)return x;e===S&&(t.key=null);let n=await R("value",t.value,a,r);if(n===x)return x;n===S&&(t.value=null)}}return n}function E(e){return"object"==typeof e&&(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 P(e,t,a,r){return"function"==typeof a?a(e,t,r):f(t)?a.Map?.(e,t,r):y(t)?a.Seq?.(e,t,r):g(t)?a.Pair?.(e,t,r):v(t)?a.Scalar?.(e,t,r):m(t)?a.Alias?.(e,t,r):void 0}function T(e,t,a){let r=t[t.length-1];if(b(r))r.items[e]=a;else if(g(r))"key"===e?r.key=a:r.value=a;else if(h(r))r.contents=a;else{let e=m(r)?"alias":"scalar";throw Error(`Cannot replace node with ${e} parent`)}}C.BREAK=x,C.SKIP=w,C.REMOVE=S,A.BREAK=x,A.SKIP=w,A.REMOVE=S;
29let _={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},j=e=>e.replace(/[!,[\]{}]/g,e=>_[e]);class Q{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Q.defaultYaml,e),this.tags=Object.assign({},Q.defaultTags,t)}clone(){let e=new Q(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new Q(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Q.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Q.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:Q.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Q.defaultTags),this.atNextDocument=!1);let a=e.trim().split(/[ \t]+/),r=a.shift();switch(r){case"%TAG":{if(2!==a.length&&(t(0,"%TAG directive should contain exactly two parts"),a.length<2))return!1;let[e,r]=a;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==a.length)return t(0,"%YAML directive should contain exactly one part"),!1;let[e]=a;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;{let a=/^\d+\.\d+$/.test(e);return t(6,`Unsupported YAML version ${e}`,a),!1}}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){let a=e.slice(2,-1);return"!"===a||"!!"===a?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),a)}let[,a,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let n=this.tags[a];if(n)try{return n+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===a?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,a]of Object.entries(this.tags))if(e.startsWith(a))return t+j(e.substring(a.length));return"!"===e[0]?e:`!<${e}>`}toString(e){let t,a=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);if(e&&r.length>0&&O(e.contents)){let a={};C(e.contents,(e,t)=>{O(t)&&t.tag&&(a[t.tag]=!0)}),t=Object.keys(a)}else t=[];for(let[n,o]of r)("!!"!==n||"tag:yaml.org,2002:"!==o)&&(!e||t.some(e=>e.startsWith(o)))&&a.push(`%TAG ${n} ${o}`);return a.join("\n")}}function L(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=JSON.stringify(e);throw Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function M(e){let t=new Set;return C(e,{Value(e,a){a.anchor&&t.add(a.anchor)}}),t}function Z(e,t){for(let a=1;;++a){let r=`${e}${a}`;if(!t.has(r))return r}}function U(e,t,a,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let t=0,a=r.length;t<a;++t){let a=r[t],n=U(e,r,String(t),a);void 0===n?delete r[t]:n!==a&&(r[t]=n)}else if(r instanceof Map)for(let t of Array.from(r.keys())){let a=r.get(t),n=U(e,r,t,a);void 0===n?r.delete(t):n!==a&&r.set(t,n)}else if(r instanceof Set)for(let t of Array.from(r)){let a=U(e,r,t,t);void 0===a?r.delete(t):a!==t&&(r.delete(t),r.add(a))}else for(let[t,a]of Object.entries(r)){let n=U(e,r,t,a);void 0===n?delete r[t]:n!==a&&(r[t]=n)}return e.call(t,a,r)}function X(e,t,a){if(Array.isArray(e))return e.map((e,t)=>X(e,String(t),a));if(e&&"function"==typeof e.toJSON){if(!a||!k(e))return e.toJSON(t,a);let r={aliasCount:0,count:1,res:void 0};a.anchors.set(e,r),a.onCreate=e=>{r.res=e,delete a.onCreate};let n=e.toJSON(t,a);return a.onCreate&&a.onCreate(n),n}return"bigint"!=typeof e||a?.keep?e:Number(e)}Q.defaultYaml={explicit:!1,version:"1.2"},Q.defaultTags={"!!":"tag:yaml.org,2002:"};class I{constructor(e){Object.defineProperty(this,p,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:a,onAnchor:r,reviver:n}={}){if(!h(e))throw TypeError("A document argument is required");let o={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof a?a:100},l=X(this,"",o);if("function"==typeof r)for(let{count:e,res:t}
29of o.anchors.values())r(t,e);return"function"==typeof n?U(n,{"":l},"",l):l}}class B extends I{constructor(e){super(l),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e,t){let a,r;if(t?.maxAliasCount===0)throw ReferenceError("Alias resolution is disabled");for(let n of(t?.aliasResolveCache?a=t.aliasResolveCache:(a=[],C(e,{Node:(e,t)=>{(m(t)||k(t))&&a.push(t)}}),t&&(t.aliasResolveCache=a)),a)){if(n===this)break;n.anchor===this.source&&(r=n)}return r}toJSON(e,t){if(!t)return{source:this.source};let{anchors:a,doc:r,maxAliasCount:n}=t,o=this.resolve(r,t);if(!o)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let l=a.get(o);if(l||(X(o,null,t),l=a.get(o)),l?.res===void 0)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(n>=0&&(l.count+=1,0===l.aliasCount&&(l.aliasCount=function e(t,a,r){if(m(a)){let e=a.resolve(t),n=r&&e&&r.get(e);return n?n.count*n.aliasCount:0}if(b(a)){let n=0;for(let o of a.items){let a=e(t,o,r);a>n&&(n=a)}return n}return g(a)?Math.max(e(t,a.key,r),e(t,a.value,r)):1}(r,o,a)),l.count*l.aliasCount>n))throw ReferenceError("Excessive alias count indicates a resource exh
29austion attack");return l.res}toString(e,t,a){let r=`*${this.source}`;if(e){if(L(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(e.implicitKey)return`${r} `}return r}}let q=e=>!e||"function"!=typeof e&&"object"!=typeof e;class W extends I{constructor(e){super(u),this.value=e}toJSON(e,t){return t?.keep?this.value:X(this.value,e,t)}toString(){return String(this.value)}}function D(e,t,a){let r;if(h(e)&&(e=e.contents),O(e))return e;if(g(e)){let t=a.schema[i].createNode?.(a.schema,null,a);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"u">typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:n,onAnchor:o,onTagObj:l,schema:s,sourceObjects:c}=a;if(n&&e&&"object"==typeof e){if(r=c.get(e))return r.anchor??(r.anchor=o(e)),new B(r.anchor);r={anchor:null,node:null},c.set(e,r)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let u=function(e,t,a){if(t){let e=a.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return a.find(t=>t.identify?.(e)&&!t.format)}(e,t,s.tags);if(!u){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){let t=new W(e);return r&&(r.node=t),t}u=e instanceof Map?s[i]:Symbol.iterator in Object(e)?s[d]:s[i]}l&&(l(u),delete a.onTagObj);let p=u?.createNode?u.createNode(a.schema,e,a):"function"==typeof u?.nodeClass?.from?u.nodeClass.from(a.schema,e,a):new W(e);return t?p.tag=t:u.default||(p.tag=u.tag),r&&(r.node=p),p}function N(e,t,a){let r=a;for(let e=t.length-1;e>=0;--e){let a=t[e];if("number"==typeof a&&Number.isInteger(a)&&a>=0){let e=[];e[a]=r,r=e}else r=new Map([[a,r]])}return D(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}W.BLOCK_FOLDED="BLOCK_FOLDED",W.BLOCK_LITERAL="BLOCK_LITERAL",W.PLAIN="PLAIN",W.QUOTE_DOUBLE="QUOTE_DOUBLE",W.QUOTE_SINGLE="QUOTE_SINGLE";let V=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class F extends I{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>O(t)||g(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(V(e))this.add(t);else{let[a,...r]=e,n=this.get(a,!0);if(b(n))n.addIn(r,t);else if(void 0===n&&this.schema)this.set(a,N(this.schema,r,t));else throw Error(`Expected YAML collection at ${a}. Remaining path: ${r}`)}}deleteIn(e){let[t,...a]=e;if(0===a.length)return this.delete(t);let r=this.get(t,!0);if(b(r))return r.deleteIn(a);throw Error(`Expected YAML collection at ${t}. Remaining path: ${a}`)}getIn(e,t){let[a,...r]=e,n=this.get(a,!0);return 0===r.length?!t&&v(n)?n.value:n:b(n)?n.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!g(t))return!1;let a=t.value;return null==a||e&&v(a)&&null==a.value&&!a.commentBefore&&!a.comment&&!a.tag})}hasIn(e){let[t,...a]=e;if(0===a.length)return this.has(t);let r=this.get(t,!0);return!!b(r)&&r.hasIn(a)}setIn(e,t){let[a,...r]=e;if(0===r.length)this.set(a,t);else{let e=this.get(a,!0);if(b(e))e.setIn(r,t);else if(void 0===e&&this.schema)this.set(a,N(this.schema,r,t));else throw Error(`Expected YAML collection at ${a}. Remaining path: ${r}`)}}}let z=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function H(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}let Y=(e,t,a)=>e.endsWith("\n")?H(a,t):a.includes("\n")?"\n"+H(a,t):(e.endsWith(" ")?"":" ")+a,G="flow",K="block",J="quoted";function ee(e,t,a="flow",{indentAtStart:r,lineWidth:n=80,minContentWidth:o=20,onFold:l,onOverflow:s}={}){let i,c,u;if(!n||n<0)return e;n<o&&(o=0);let d=Math.max(1+o,1+n-t.length);if(e.length<=d)return e;let p=[],m={},h=n-t.length;"number"==typeof r&&(r>n-Math.max(2,o)?p.push(0):h=n-r);let f=!1,g=-1,v=-1,y=-1;for(a===K&&-1!==(g=et(e,g,t.length))&&(h=g+d);u=e[g+=1];){if(a===J&&"\\"===u){switch(v=g,e[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}y=g}if("\n"===u)a===K&&(g=et(e,g,t.length)),h=g+t.length+d,i=void 0;else{if(" "===u&&c&&" "!==c&&"\n"!==c&&"	"!==c){let t=e[g+1];t&&" "!==t&&"\n"!==t&&"	"!==t&&(i=g)}if(g>=h)if(i)p.push(i),h=i+d,i=void 0;else if(a===J){for(;" "===c||"	"===c;)c=u,u=e[g+=1],f=!0;let t=g>y+1?g-2:v-1;if(m[t])return e;p.push(t),m[t]=!0,h=t+d,i=void 0}else f=!0}c=u}if(f&&s&&s(),0===p.length)return e;l&&l();let b=e.slice(0,p[0]);for(let r=0;r<p.length;++r){let n=p[r],o=p[r+1]||e.length;0===n?b=`
30${t}${e.slice(0,o)}`:(a===J&&m[n]&&(b+=`${e[n]}\\`),b+=`
31${t}${e.slice(n+1,o)}`)}return b}function et(e,t,a){let r=t,n=t+1,o=e[n];for(;" "===o||"	"===o;)if(t<n+a)o=e[++t];else{do o=e[++t];while(o&&"\n"!==o);r=t,o=e[n=t+1]}return r}let ea=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}
31);function er(e,t){let a=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return a;let{implicitKey:r}=t,n=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(/^(%|---|\.\.\.)/m.test(e)?"  ":""),l="",s=0;for(let e=0,t=a[e];t;t=a[++e])if(" "===t&&"\\"===a[e+1]&&"n"===a[e+2]&&(l+=a.slice(s,e)+"\\ ",e+=1,s=e,t="\\"),"\\"===t)switch(a[e+1]){case"u":{l+=a.slice(s,e);let t=a.substr(e+2,4);switch(t){case"0000":l+="\\0";break;case"0007":l+="\\a";break;case"000b":l+="\\v";break;case"001b":l+="\\e";break;case"0085":l+="\\N";break;case"00a0":l+="\\_";break;case"2028":l+="\\L";break;case"2029":l+="\\P";break;default:"00"===t.substr(0,2)?l+="\\x"+t.substr(2):l+=a.substr(e,6)}e+=5,s=e+1}break;case"n":if(r||'"'===a[e+2]||a.length<n)e+=1;else{for(l+=a.slice(s,e)+"\n\n";"\\"===a[e+2]&&"n"===a[e+3]&&'"'!==a[e+4];)l+="\n",e+=2;l+=o," "===a[e+2]&&(l+="\\"),e+=1,s=e+1}break;default:e+=1}return l=s?l+a.slice(s):a,r?l:ee(l,o,J,ea(t,!1))}function en(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return er(e,t);let a=t.indent||(/^(%|---|\.\.\.)/m.test(e)?"  ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
32${a}`)+"'";return t.implicitKey?r:ee(r,a,G,ea(t,!1))}function eo(e,t){let a,{singleQuote:r}=t.options;if(!1===r)a=er;else{let t=e.includes('"'),n=e.includes("'");a=t&&!n?en:n&&!t?er:r?en:er}return a(e,t)}try{r=RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{r=/\n+(?!\n|$)/g}function el({comment:e,type:t,value:a},n,o,l){let s,i,c,u,{blockQuote:d,commentString:p,lineWidth:m}=n.options;if(!d||/\n[\t ]+$/.test(a))return eo(a,n);let h=n.indent||(n.forceBlockIndent||(u=a,/^(%|---|\.\.\.)/m.test(u))?"  ":""),f="literal"===d||"folded"!==d&&t!==W.BLOCK_FOLDED&&(t===W.BLOCK_LITERAL||!function(e,t,a){if(!t||t<0)return!1;let r=t-a,n=e.length;if(n<=r)return!1;for(let t=0,a=0;t<n;++t)if("\n"===e[t]){if(t-a>r)return!0;if(n-(a=t+1)<=r)return!1}return!0}(a,m,h.length));if(!a)return f?"|\n":">\n";for(i=a.length;i>0;--i){let e=a[i-1];if("\n"!==e&&"	"!==e&&" "!==e)break}let g=a.substring(i),v=g.indexOf("\n");-1===v?s="-":a===g||v!==g.length-1?(s="+",l&&l()):s="",g&&(a=a.slice(0,-g.length),"\n"===g[g.length-1]&&(g=g.slice(0,-1)),g=g.replace(r,`$&${h}`));let y=!1,b=-1;for(c=0;c<a.length;++c){let e=a[c];if(" "===e)y=!0;else if("\n"===e)b=c;else break}let O=a.substring(0,b<c?b+1:c);O&&(a=a.substring(O.length),O=O.replace(/\n+/g,`$&${h}`));let k=h?"2":"1",x=(y?k:"")+s;if(e&&(x+=" "+p(e.replace(/ ?[\r\n]+/g," ")),o&&o()),!f){let e=a.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${h}`),r=!1,o=ea(n,!0);"folded"!==d&&t!==W.BLOCK_FOLDED&&(o.onOverflow=()=>{r=!0});let l=ee(`${O}${e}${g}`,h,K,o);if(!r)return`>${x}
33${h}${l}`}return a=a.replace(/\n+/g,`$&${h}`),`|${x}
34${h}${O}${a}${g}`}function es(e,t,a,r){let{implicitKey:n,inFlow:o}=t,l="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)}),{type:s}=e;s!==W.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(l.value)&&(s=W.QUOTE_DOUBLE);let i=e=>{switch(e){case W.BLOCK_FOLDED:case W.BLOCK_LITERAL:return n||o?eo(l.value,t):el(l,t,a,r);case W.QUOTE_DOUBLE:return er(l.value,t);case W.QUOTE_SINGLE:return en(l.value,t);case W.PLAIN:return function(e,t,a,r){let{type:n,value:o}=e,{actualString:l,implicitKey:s,indent:i,indentStep:c,inFlow:u}=t;if(s&&o.includes("\n")||u&&/[[\]{},]/.test(o))return eo(o,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return s||u||!o.includes("\n")?eo(o,t):el(e,t,a,r);if(!s&&!u&&n!==W.PLAIN&&o.includes("\n"))return el(e,t,a,r);if(/^(%|---|\.\.\.)/m.test(o)){if(""===i)return t.forceBlockIndent=!0,el(e,t,a,r);else if(s&&i===c)return eo(o,t)}let d=o.replace(/\n+/g,`$&
35${i}`);if(l){let e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(d),{compat:a,tags:r}=t.doc.schema;if(r.some(e)||a?.some(e))return eo(o,t)}return s?d:ee(d,i,G,ea(t,!1))}(l,t,a,r);default:return null}},c=i(s);if(null===c){let{defaultKeyType:e,defaultStringType:a}
35=t.options,r=n&&e||a;if(null===(c=i(r)))throw Error(`Unsupported default string type ${r}`)}return c}function ei(e,t){let a,r=Object.assign({blockQuote:!0,commentString:z,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);switch(r.collectionStyle){case"block":a=!1;break;case"flow":a=!0;break;default:a=null}return{anchors:new Set,doc:e,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof r.indent?" ".repeat(r.indent):"  ",inFlow:a,options:r}}function ec(e,t,a,r){let n;if(g(e))return e.toString(t,a,r);if(m(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let o=O(e)?e:t.doc.createNode(e,{onTagObj:e=>n=e});n??(n=function(e,t){let a,r;if(t.tag){let a=e.filter(e=>e.tag===t.tag);if(a.length>0)return a.find(e=>e.format===t.format)??a[0]}if(v(t)){a=t.value;let n=e.filter(e=>e.identify?.(a));if(n.length>1){let e=n.filter(e=>e.test);e.length>0&&(n=e)}r=n.find(e=>e.format===t.format)??n.find(e=>!e.format)}else a=t,r=e.find(e=>e.nodeClass&&a instanceof e.nodeClass);if(!r){let e=a?.constructor?.name??(null===a?"null":typeof a);throw Error(`Tag not resolved for ${e} value`)}return r}(t.doc.schema.tags,o));let l=function(e,t,{anchors:a,doc:r}){if(!r.directives)return"";let n=[],o=(v(e)||b(e))&&e.anchor;o&&L(o)&&(a.add(o),n.push(`&${o}`));let l=e.tag??(t.default?null:t.tag);return l&&n.push(r.directives.tagString(l)),n.join(" ")}(o,n,t);l.length>0&&(t.indentAtStart=(t.indentAtStart??0)+l.length+1);let s="function"==typeof n.stringify?n.stringify(o,t,a,r):v(o)?es(o,t,a,r):o.toString(t,a,r);return l?v(o)||"{"===s[0]||"["===s[0]?`${l} ${s}`:`${l}
36${t.indent}${s}`:s}function eu(e,t){("debug"===e||"warn"===e)&&console.warn(t)}let ed={identify:e=>"<<"===e||"symbol"==typeof e&&"<<"===e.description,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new W(Symbol("<<")),{addToJSMap:ep}),stringify:()=>"<<"};function ep(e,t,a){let r=eh(e,a);if(y(r))for(let a of r.items)em(e,t,a);else if(Array.isArray(r))for(let a of r)em(e,t,a);else em(e,t,r)}function em(e,t,a){let r=eh(e,a);if(!f(r))throw Error("Merge sources must be maps or map aliases");for(let[a,n]of r.toJSON(null,e,Map))t instanceof Map?t.has(a)||t.set(a,n):t instanceof Set?t.add(a):Object.prototype.hasOwnProperty.call(t,a)||Object.defineProperty(t,a,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}function eh(e,t){return e&&m(t)?t.resolve(e.doc,e):t}function ef(e,t,{key:a,value:r}){if(O(a)&&a.addToJSMap)a.addToJSMap(e,t,r);else if((ed.identify(a)||v(a)&&(!a.type||a.type===W.PLAIN)&&ed.identify(a.value))&&e?.doc.schema.tags.some(e=>e.tag===ed.tag&&e.default))ep(e,t,r);else{let n=X(a,"",e);if(t instanceof Map)t.set(n,X(r,n,e));else if(t instanceof Set)t.add(n);else{let o=function(e,t,a){if(null===t)return"";if("object"!=typeof t)return String(t);if(O(e)&&a?.doc){let t=ei(a.doc,{});for(let e of(t.anchors=new Set,a.anchors.keys()))t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let r=e.toString(t);if(!a.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),eu(a.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),a.mapKeyWarned=!0}return r}return JSON.stringify(t)}(a,n,e),l=X(r,o,e);o in t?Object.defineProperty(t,o,{value:l,writable:!0,enumerable:!0,configurable:!0}):t[o]=l}}return t}function eg(e,t,a){return new ev(D(e,void 0,a),D(t,void 0,a))}class ev{constructor(e,t=null){Object.defineProperty(this,p,{value:c}),this.key=e,this.value=t}clone(e){let{key:t,value:a}=this;return O(t)&&(t=t.clone(e)),O(a)&&(a=a.clone(e)),new ev(t,a)}toJSON(e,t){let a=t?.mapAsMap?new Map:{};return ef(t,a,this)}toString(e,t,a){return e?.doc?function({key:e,value:t},a,r,n){let o,l,s,{allNullValues:i,doc:c,indent:u,indentStep:d,options:{commentString:p,indentSeq:m,simpleKeys:h}}=a,f=O(e)&&e.comment||null;if(h){if(f)throw Error("With simple keys, key nodes cannot have comments");if(b(e)||!O(e)&&"object"==typeof e)throw Error("With simple keys, collection cannot be used as a key value")}let g=!h&&(!e||f&&null==t&&!a.inFlow||b(e)||(v(e)?e.type===W.BLOCK_FOLDED||e.type===W.BLOCK_LITERAL:"object"==typeof e));a=Object.assign({}
36,a,{allNullValues:!1,implicitKey:!g&&(h||!i),indent:u+d});let k=!1,x=!1,w=ec(e,a,()=>k=!0,()=>x=!0);if(!g&&!a.inFlow&&w.length>1024){if(h)throw Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0}if(a.inFlow){if(i||null==t)return k&&r&&r(),""===w?"?":g?`? ${w}`:w}else if(i&&!h||null==t&&g)return w=`? ${w}`,f&&!k?w+=Y(w,a.indent,p(f)):x&&n&&n(),w;k&&(f=null),g?(f&&(w+=Y(w,a.indent,p(f))),w=`? ${w}
37${u}:`):(w=`${w}:`,f&&(w+=Y(w,a.indent,p(f)))),O(t)?(o=!!t.spaceBefore,l=t.commentBefore,s=t.comment):(o=!1,l=null,s=null,t&&"object"==typeof t&&(t=c.createNode(t))),a.implicitKey=!1,!g&&!f&&v(t)&&(a.indentAtStart=w.length+1),x=!1,!(!m&&d.length>=2&&!a.inFlow&&!g&&y(t))||t.flow||t.tag||t.anchor||(a.indent=a.indent.substring(2));let S=!1,C=ec(t,a,()=>S=!0,()=>x=!0),$=" ";if(f||o||l){if($=o?"\n":"",l){let e=p(l);$+=`
38${H(e,a.indent)}`}""!==C||a.inFlow?$+=`
39${a.indent}`:"\n"===$&&s&&($="\n\n")}else if(!g&&b(t)){let e=C[0],r=C.indexOf("\n"),n=-1!==r,o=a.inFlow??t.flow??0===t.items.length;if(n||!o){let t=!1;if(n&&("&"===e||"!"===e)){let a=C.indexOf(" ");"&"===e&&-1!==a&&a<r&&"!"===C[a+1]&&(a=C.indexOf(" ",a+1)),(-1===a||r<a)&&(t=!0)}t||($=`
40${a.indent}`)}}else(""===C||"\n"===C[0])&&($="");return w+=$+C,a.inFlow?S&&r&&r():s&&!S?w+=Y(w,a.indent,p(s)):x&&n&&n(),w}(this,e,t,a):JSON.stringify(this)}}function ey(e,t,a){return(t.inFlow??e.flow?function({items:e},t,{flowChars:a,itemIndent:r}){let{indent:n,indentStep:o,flowCollectionPadding:l,options:{commentString:s}}=t,i=Object.assign({},t,{indent:r+=o,inFlow:!0,type:null}),c=!1,u=0,d=[];for(let a=0;a<e.length;++a){let n=e[a],o=null;if(O(n))n.spaceBefore&&d.push(""),eb(t,d,n.commentBefore,!1),n.comment&&(o=n.comment);else if(g(n)){let e=O(n.key)?n.key:null;e&&(e.spaceBefore&&d.push(""),eb(t,d,e.commentBefore,!1),e.comment&&(c=!0));let a=O(n.value)?n.value:null;a?(a.comment&&(o=a.comment),a.commentBefore&&(c=!0)):null==n.value&&e?.comment&&(o=e.comment)}o&&(c=!0);let l=ec(n,i,()=>o=null);c||(c=d.length>u||l.includes("\n")),a<e.length-1?l+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(c||(c=d.reduce((e,t)=>e+t.length+2,2)+(l.length+2)>t.options.lineWidth)),c&&(l+=",")),o&&(l+=Y(l,r,s(o))),d.push(l),u=d.length}let{start:p,end:m}=a;if(0===d.length)return p+m;if(!c){let e=d.reduce((e,t)=>e+t.length+2,2);c=t.options.lineWidth>0&&e>t.options.lineWidth}if(!c)return`${p}${l}${d.join(" ")}${l}${m}`;{let e=p;for(let t of d)e+=t?`
41${o}${n}${t}`:"\n";return`${e}
42${n}${m}`}}:function({comment:e,items:t},a,{blockItemPrefix:r,flowChars:n,itemIndent:o,onChompKeep:l,onComment:s}){let i,{indent:c,options:{commentString:u}}=a,d=Object.assign({},a,{indent:o,type:null}),p=!1,m=[];for(let e=0;e<t.length;++e){let n=t[e],l=null;if(O(n))!p&&n.spaceBefore&&m.push(""),eb(a,m,n.commentBefore,p),n.comment&&(l=n.comment);else if(g(n)){let e=O(n.key)?n.key:null;e&&(!p&&e.spaceBefore&&m.push(""),eb(a,m,e.commentBefore,p))}p=!1;let s=ec(n,d,()=>l=null,()=>p=!0);l&&(s+=Y(s,o,u(l))),p&&l&&(p=!1),m.push(r+s)}if(0===m.length)i=n.start+n.end;else{i=m[0];for(let e=1;e<m.length;++e){let t=m[e];i+=t?`
43${c}${t}`:"\n"}}return e?(i+="\n"+H(u(e),c),s&&s()):p&&l&&l(),i})(e,t,a)}function eb({indent:e,options:{commentString:t}},a,r,n){if(r&&n&&(r=r.replace(/^\n+/,"")),r){let n=H(t(r),e);a.push(n.trimStart())}}function eO(e,t){let a=v(t)?t.value:t;for(let r of e)if(g(r)&&(r.key===t||r.key===a||v(r.key)&&r.key.value===a))return r}class ek extends F{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(i,e),this.items=[]}static from(e,t,a){let{keepUndefined:r,replacer:n}=a,o=new this(e),l=(e,l)=>{if("function"==typeof n)l=n.call(t,e,l);else if(Array.isArray(n)&&!n.includes(e))return;(void 0!==l||r)&&o.items.push(eg(e,l,a))};if(t instanceof Map)for(let[e,a]of t)l(e,a);else if(t&&"object"==typeof t)for(let e of Object.keys(t))l(e,t[e]);return"function"==typeof e.sortMapEntries&&o.items.sort(e.sortMapEntries),o}add(e,t){let a;a=g(e)?e:e&&"object"==typeof e&&"key"in e?new ev(e.key,e.value):new ev(e,e?.value);let r=eO(this.items,a.key),n=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${a.key} already set`);v(r.value)&&q(a.value)?r.value.value=a.value:r.value=a.value}else if(n){let e=this.items.findIndex(e=>0>n(a,e));-1===e?this.items.push(a):this.items.splice(e,0,a)}else this.items.push(a)}delete(e){let t=eO(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let a=eO(this.items,e),r=a?.value;return(!t&&v(r)?r.value:r)??void 0}has(e){return!!eO(this.items,e)}set(e,t){this.add(new ev(e,t),!0)}toJSON(e,t,a){let r=a?new a:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(r),this.items))ef(t,r,e);return r}toString(e,t,a){if(!e)return JSON.stringify(this);for(let e of this.items)if(!g(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),ey(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:a,onComment:t})}}let ex={collection:"map",default:!0,nodeClass:ek,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>
43(f(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,a)=>ek.from(e,t,a)};class ew extends F{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(d,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=eS(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let a=eS(e);if("number"!=typeof a)return;let r=this.items[a];return!t&&v(r)?r.value:r}has(e){let t=eS(e);return"number"==typeof t&&t<this.items.length}set(e,t){let a=eS(e);if("number"!=typeof a)throw Error(`Expected a valid index, not ${e}.`);let r=this.items[a];v(r)&&q(t)?r.value=t:this.items[a]=t}toJSON(e,t){let a=[];t?.onCreate&&t.onCreate(a);let r=0;for(let e of this.items)a.push(X(e,String(r++),t));return a}toString(e,t,a){return e?ey(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+"  ",onChompKeep:a,onComment:t}):JSON.stringify(this)}static from(e,t,a){let{replacer:r}=a,n=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let o of t){if("function"==typeof r){let a=t instanceof Set?o:String(e++);o=r.call(t,a,o)}n.items.push(D(o,void 0,a))}}return n}}function eS(e){let t=v(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}let eC={collection:"seq",default:!0,nodeClass:ew,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(y(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,a)=>ew.from(e,t,a)},e$={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,a,r)=>es(e,t=Object.assign({actualString:!0},t),a,r)},eA={identify:e=>null==e,createNode:()=>new W(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new W(null),stringify:({source:e},t)=>"string"==typeof e&&eA.test.test(e)?e:t.options.nullStr},eR={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new W("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},a)=>e&&eR.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?a.options.trueStr:a.options.falseStr};function eE({format:e,minFractionDigits:t,tag:a,value:r}){if("bigint"==typeof r)return String(r);let n="number"==typeof r?r:Number(r);
43if(!isFinite(n))return isNaN(n)?".nan":n<0?"-.inf":".inf";let o=Object.is(r,-0)?"-0":JSON.stringify(r);if(!e&&t&&(!a||"tag:yaml.org,2002:float"===a)&&/^-?\d/.test(o)&&!o.includes("e")){let e=o.indexOf(".");e<0&&(e=o.length,o+=".");let a=t-(o.length-e-1);for(;a-- >0;)o+="0"}return o}let eP={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:eE},eT={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():eE(e)}},e_={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new W(parseFloat(e)),a=e.indexOf(".");return -1!==a&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-a-1),t},stringify:eE},ej=e=>"bigint"==typeof e||Number.isInteger(e),eQ=(e,t,a,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),a);function eL(e,t,a){let{value:r}=e;return ej(r)&&r>=0?a+r.toString(t):eE(e)}let eM={identify:e=>ej(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,a)=>eQ(e,2,8,a),stringify:e=>eL(e,8,"0o")},eZ={identify:ej,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,a)=>eQ(e,0,10,a),stringify:eE},eU={identify:e=>ej(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,a)=>
43eQ(e,2,16,a),stringify:e=>eL(e,16,"0x")},eX=[ex,eC,e$,eA,eR,eM,eZ,eU,eP,eT,e_];function eI(e){return"bigint"==typeof e||Number.isInteger(e)}let eB=({value:e})=>JSON.stringify(e),eq=[ex,eC].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:eB},{identify:e=>null==e,createNode:()=>new W(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:eB},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:eB},{identify:eI,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:a})=>a?BigInt(e):parseInt(e,10),stringify:({value:e})=>eI(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:eB}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),eW={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"!=typeof atob)return t("This environment does not support reading binary tags; either Buffer or atob is required"),e;{let t=atob(e.replace(/[\n\r]/g,"")),a=new Uint8Array(t.length);for(let e=0;e<t.length;++e)a[e]=t.charCodeAt(e);return a}},stringify({comment:e,type:t,value:a},r,n,o){let l;if(!a)return"";if("function"==typeof btoa){let e="";for(let t=0;t<a.length;++t)e+=String.fromCharCode(a[t]);l=btoa(e)}else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=W.BLOCK_LITERAL),t!==W.QUOTE_DOUBLE){let e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),a=Math.ceil(l.length/e),n=Array(a);for(let t=0,r=0;t<a;++t,r+=e)n[t]=l.substr(r,e);l=n.join(t===W.BLOCK_LITERAL?"\n":" ")}return es({comment:e,type:t,value:l},r,n,o)}};function eD(e,t){if(y(e))for(let a=0;a<e.items.length;++a){let r=e.items[a];if(!g(r)){if(f(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");let e=r.items[0]||new ev(new W(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}
44${e.key.commentBefore}`:r.commentBefore),r.comment){let t=e.value??e.key;t.comment=t.comment?`${r.comment}
45${t.comment}`:r.comment}r=e}e.items[a]=g(r)?r:new ev(r)}}else t("Expected a sequence for this tag");return e}function eN(e,t,a){let{replacer:r}=a,n=new ew(e);n.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let l,s;if("function"==typeof r&&(e=r.call(t,String(o++),e)),Array.isArray(e))if(2===e.length)l=e[0],s=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`);else if(e&&e instanceof Object){let t=Object.keys(e);if(1===t.length)s=e[l=t[0]];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else l=e;n.items.push(eg(l,s,a))}return n}let eV={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:eD,createNode:eN};class eF extends ew{constructor(){super(),this.add=ek.prototype.add.bind(this),this.delete=ek.prototype.delete.bind(this),this.get=ek.prototype.get.bind(this),this.has=ek.prototype.has.bind(this),this.set=ek.prototype.set.bind(this),this.tag=eF.tag}toJSON(e,t){if(!t)return super.toJSON(e);let a=new Map;for(let e of(t?.onCreate&&t.onCreate(a),this.items)){let r,n;if(g(e)?(r=X(e.key,"",t),n=X(e.value,r,t)):r=X(e,"",t),a.has(r))throw Error("Ordered maps must not include duplicate keys");a.set(r,n)}return a}static from(e,t,a){let r=eN(e,t,a),n=new this;return n.items=r.items,n}}eF.tag="tag:yaml.org,2002:omap";let ez={collection:"seq",identify:e=>e instanceof Map,nodeClass:eF,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let a=eD(e,t),r=[];for(let{key:e}of a.items)v(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new eF,a)},createNode:(e,t,a)=>eF.from(e,t,a)};function eH({value:e,source:t},a){return t&&(e?eY:eG).test.test(t)?t:e?a.options.trueStr:a.options.falseStr}let eY={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new W(!0),stringify:eH},eG={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new W(!1),stringify:eH},eK=e=>"bigint"==typeof e||Number.isInteger(e);function eJ(e,t,a,{intAsBigInt:r}){let n=e[0];if(("-"===n||"+"===n)&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(a){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;
45case 16:e=`0x${e}`}let t=BigInt(e);return"-"===n?BigInt(-1)*t:t}let o=parseInt(e,a);return"-"===n?-1*o:o}function e0(e,t,a){let{value:r}=e;if(eK(r)){let e=r.toString(t);return r<0?"-"+a+e.substr(1):a+e}return eE(e)}class e1 extends ek{constructor(e){super(e),this.tag=e1.tag}add(e){let t;t=g(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new ev(e.key,null):new ev(e,null),eO(this.items,t.key)||this.items.push(t)}get(e,t){let a=eO(this.items,e);return!t&&g(a)?v(a.key)?a.key.value:a.key:a}set(e,t){if("boolean"!=typeof t)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let a=eO(this.items,e);a&&!t?this.items.splice(this.items.indexOf(a),1):!a&&t&&this.items.push(new ev(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,a){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,a);throw Error("Set items must all have null values")}static from(e,t,a){let{replacer:r}=a,n=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),n.items.push(eg(e,null,a));return n}}e1.tag="tag:yaml.org,2002:set";let e2={collection:"map",identify:e=>e instanceof Set,nodeClass:e1,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,a)=>e1.from(e,t,a),resolve(e,t){if(f(e))if(e.hasAllNullValues(!0))return Object.assign(new e1,e);else t("Set items must all have null values");else t("Expected a mapping for this tag");return e}};function e4(e,t){let a=e[0],r="-"===a||"+"===a?e.substring(1):e,n=e=>t?BigInt(e):Number(e),o=r.replace(/_/g,"").split(":").reduce((e,t)=>e*n(60)+n(t),n(0));return"-"===a?n(-1)*o:o}function e8(e){let{value:t}=e,a=e=>e;if("bigint"==typeof t)a=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return eE(e);let r="";t<0&&(r="-",t*=a(-1));let n=a(60),o=[t%n];return t<60?o.unshift(0):(t=(t-o[0])/n,o.unshift(t%n),t>=60&&(t=(t-o[0])/n,o.unshift(t))),r+o.map(e=>String(e).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}let e3={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:a})=>e4(e,a),stringify:e8},e6={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>e4(e,!1),stringify:e8},e5={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(e5.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,a,r,n,o,l,s]=t.map(Number),i=Date.UTC(a,r-1,n,o||0,l||0,s||0,t[7]?Number((t[7]+"00").substr(1,3)):0),c=t[8];if(c&&"Z"!==c){let e=e4(c,!1);30>Math.abs(e)&&(e*=60),i-=6e4*e}return new Date(i)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""},e7=[ex,eC,e$,eA,eY,eG,{identify:eK,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,a)=>eJ(e,2,2,a),stringify:e=>e0(e,2,"0b")},{identify:eK,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,a)=>eJ(e,1,8,a),stringify:e=>e0(e,8,"0")},{identify:eK,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,a)=>eJ(e,0,10,a),stringify:eE},{identify:eK,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,a)=>
45eJ(e,2,16,a),stringify:e=>e0(e,16,"0x")},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:eE},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():eE(e)}},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new W(parseFloat(e.replace(/_/g,""))),a=e.indexOf(".");if(-1!==a){let r=e.substring(a+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:eE},eW,ed,ez,eV,e2,e3,e6,e5],e9=new Map([["core",eX],["failsafe",[ex,eC,e$]],["json",eq],["yaml11",e7],["yaml-1.1",e7]]),te={binary:eW,bool:eR,float:e_,floatExp:eT,floatNaN:eP,floatTime:e6,int:eZ,intHex:eU,intOct:eM,intTime:e3,map:ex,merge:ed,null:eA,omap:ez,pairs:eV,seq:eC,set:e2,timestamp:e5},tt={"tag:yaml.org,2002:binary":eW,"tag:yaml.org,2002:merge":ed,"tag:yaml.org,2002:omap":ez,"tag:yaml.org,2002:pairs":eV,"tag:yaml.org,2002:set":e2,"tag:yaml.org,2002:timestamp":e5};function ta(e,t,a){let r=e9.get(t);if(r&&!e)return a&&!r.includes(ed)?r.concat(ed):r.slice();let n=r;if(!n)if(Array.isArray(e))n=[];else{let e=Array.from(e9.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}if(Array.isArray(e))for(let t of e)n=n.concat(t);else"function"==typeof e&&(n=e(n.slice()));return a&&(n=n.concat(ed)),n.reduce((e,t)=>{let a="string"==typeof t?te[t]:t;if(!a){let e=JSON.stringify(t),a=Object.keys(te).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag ${e}; use one of ${a}`)}return e.includes(a)||e.push(a),e},[])}let tr=(e,t)=>e.key<t.key?-1:+(e.key>t.key);class tn{constructor({compat:e,customTags:t,merge:a,resolveKnownTags:r,schema:n,sortMapEntries:o,toStringDefaults:l}){this.compat=Array.isArray(e)?ta(e,"compat"):e?ta(null,e):null,this.name="string"==typeof n&&n||"core",this.knownTags=r?tt:{},this.tags=ta(t,this.name,a),this.toStringOptions=l??null,Object.defineProperty(this,i,{value:ex}),Object.defineProperty(this,u,{value:e$}),Object.defineProperty(this,d,{value:eC}),this.sortMapEntries="function"==typeof o?o:!0===o?tr:null}clone(){let e=Object.create(tn.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class to{constructor(e,t,a){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,p,{value:s});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===a&&t&&(a=t,t=void 0);const n=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},a);this.options=n;let{version:o}=n;a?._directives?(this.directives=a._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new Q({version:o}),this.setSchema(o,a),this.contents=void 0===e?null:this.createNode(e,r,a)}clone(){let e=Object.create(to.prototype,{[p]:{value:s}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=O(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){tl(this.contents)&&this.contents.add(e)}addIn(e,t){tl(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let a=M(this);e.anchor=!t||a.has(t)?Z(t||"a",a):t}return new B(e.anchor)}createNode(e,t,a){var r,n;let o,l,s,i;if("function"==typeof t)e=t.call({"":e},"",e),o=t;else if(Array.isArray(t)){let e=t.filter(e=>"number"==typeof e||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),o=t}else void 0===a&&t&&(a=t,t=void 0);let{aliasDuplicateObjects:c,anchorPrefix:u,flow:d,keepUndefined:p,onTagObj:m,tag:h}=a??{},{onAnchor:f,setAnchors:g,sourceObjects:y}=(r=this,n=u||"a",l=[],s=new Map,i=null,{onAnchor:e=>{l.push(e),i??(i=M(r));let t=Z(n,i);return i.add(t),t},setAnchors:()=>{for(let e of l){let t=s.get(e);if("object"==typeof t&&t.anchor&&(v(t.node)||b(t.node)))t.node.anchor=t.anchor;else{let t=Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}}},sourceObjects:s}
45),O={aliasDuplicateObjects:c??!0,keepUndefined:p??!1,onAnchor:f,onTagObj:m,replacer:o,schema:this.schema,sourceObjects:y},k=D(e,h,O);return d&&b(k)&&(k.flow=!0),g(),k}createPair(e,t,a={}){return new ev(this.createNode(e,null,a),this.createNode(t,null,a))}delete(e){return!!tl(this.contents)&&this.contents.delete(e)}deleteIn(e){return V(e)?null!=this.contents&&(this.contents=null,!0):!!tl(this.contents)&&this.contents.deleteIn(e)}get(e,t){return b(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return V(e)?!t&&v(this.contents)?this.contents.value:this.contents:b(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!b(this.contents)&&this.contents.has(e)}hasIn(e){return V(e)?void 0!==this.contents:!!b(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=N(this.schema,[e],t):tl(this.contents)&&this.contents.set(e,t)}setIn(e,t){V(e)?this.contents=t:null==this.contents?this.contents=N(this.schema,Array.from(e),t):tl(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let a;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Q({version:"1.1"}),a={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new Q({version:e}),a={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,a=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(a)this.schema=new tn(Object.assign(a,t));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:a,maxAliasCount:r,onAnchor:n,reviver:o}={}){let l={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===a,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},s=X(this.contents,t??"",l);if("function"==typeof n)for(let{count:e,res:t}of l.anchors.values())n(t,e);return"function"==typeof o?U(o,{"":s},"",s):s}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||0>=Number(e.indent))){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){let a=[],r=!0===t.directives;if(!1!==t.directives&&e.directives){let t=e.directives.toString(e);t?(a.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&a.push("---");let n=ei(e,t),{commentString:o}=n.options;if(e.commentBefore){1!==a.length&&a.unshift("");let t=o(e.commentBefore);a.unshift(H(t,""))}let l=!1,s=null;if(e.contents){if(O(e.contents)){if(e.contents.spaceBefore&&r&&a.push(""),e.contents.commentBefore){let t=o(e.contents.commentBefore);a.push(H(t,""))}n.forceBlockIndent=!!e.comment,s=e.contents.comment}let t=s?void 0:()=>l=!0,i=ec(e.contents,n,()=>s=null,t);s&&(i+=Y(i,"",o(s))),("|"===i[0]||">"===i[0])&&"---"===a[a.length-1]?a[a.length-1]=`--- ${i}`:a.push(i)}else a.push(ec(e.contents,n));if(e.directives?.docEnd)if(e.comment){let t=o(e.comment);t.includes("\n")?(a.push("..."),a.push(H(t,""))):a.push(`... ${t}`)}else a.push("...");else{let t=e.comment;t&&l&&(t=t.replace(/^\n+/,"")),t&&((!l||s)&&""!==a[a.length-1]&&a.push(""),a.push(H(o(t),"")))}return a.join("\n")+"\n"}(this,e)}}function tl(e){if(b(e))return!0;throw Error("Expected a YAML collection as document contents")}class ts extends Error{constructor(e,t,a,r){super(),this.name=e,this.code=a,this.message=r,this.pos=t}}class ti extends ts{constructor(e,t,a){super("YAMLParseError",e,t,a)}}class tc extends ts{constructor(e,t,a){super("YAMLWarning",e,t,a)}}let tu=(e,t)=>a=>{if(-1===a.pos[0])return;a.linePos=a.pos.map(e=>t.linePos(e));let{line:r,col:n}=a.linePos[0];a.message+=` at line ${r}, column ${n}`;let o=n-1,l=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(o>=60&&l.length>80){let e=Math.min(o-39,l.length-79);l="…"+l.substring(e),o-=e-1}if(l.length>80&&(l=l.substring(0,79)+"…"),r>1&&/^ *$/.test(l.substring(0,o))){let a=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);a.length>80&&(a=a.substring(0,79)+"…\n"),l=a+l}if(/[^ ]/.test(l)){let e=1,t=a.linePos[1];t?.line===r&&t.col>n&&(e=Math.max(1,Math.min(t.col-n,80-o)));let s=" ".repeat(o)+"^".repeat(e);a.message+=`:
46
47${l}
48${s}
49`}};function td(e,{flow:t,indicator:a,next:r,offset:n,onError:o,parentIndent:l,startOnNewline:s}
49){let i=!1,c=s,u=s,d="",p="",m=!1,h=!1,f=null,g=null,v=null,y=null,b=null,O=null,k=null;for(let n of e)switch(h&&("space"!==n.type&&"newline"!==n.type&&"comma"!==n.type&&o(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h=!1),f&&(c&&"comment"!==n.type&&"newline"!==n.type&&o(f,"TAB_AS_INDENT","Tabs are not allowed as indentation"),f=null),n.type){case"space":!t&&("doc-start"!==a||r?.type!=="flow-collection")&&n.source.includes("	")&&(f=n),u=!0;break;case"comment":{u||o(n,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let e=n.source.substring(1)||" ";d?d+=p+e:d=e,p="",c=!1;break}case"newline":c?d?d+=n.source:O&&"seq-item-ind"===a||(i=!0):p+=n.source,c=!0,m=!0,(g||v)&&(y=n),u=!0;break;case"anchor":g&&o(n,"MULTIPLE_ANCHORS","A node can have at most one anchor"),n.source.endsWith(":")&&o(n.offset+n.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=n,k??(k=n.offset),c=!1,u=!1,h=!0;break;case"tag":v&&o(n,"MULTIPLE_TAGS","A node can have at most one tag"),v=n,k??(k=n.offset),c=!1,u=!1,h=!0;break;case a:(g||v)&&o(n,"BAD_PROP_ORDER",`Anchors and tags must be after the ${n.source} indicator`),O&&o(n,"UNEXPECTED_TOKEN",`Unexpected ${n.source} in ${t??"collection"}`),O=n,c="seq-item-ind"===a||"explicit-key-ind"===a,u=!1;break;case"comma":if(t){b&&o(n,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),b=n,c=!1,u=!1;break}default:o(n,"UNEXPECTED_TOKEN",`Unexpected ${n.type} token`),c=!1,u=!1}let x=e[e.length-1],w=x?x.offset+x.source.length:n;return h&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&o(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),f&&(c&&f.indent<=l||r?.type==="block-map"||r?.type==="block-seq")&&o(f,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:b,foun
49d:O,spaceBefore:i,comment:d,hasNewline:m,anchor:g,tag:v,newlineAfterProp:y,end:w,start:k??w}}function tp(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end){for(let t of e.end)if("newline"===t.type)return!0}return!1;case"flow-collection":for(let t of e.items){for(let e of t.start)if("newline"===e.type)return!0;if(t.sep){for(let e of t.sep)if("newline"===e.type)return!0}if(tp(t.key)||tp(t.value))return!0}return!1;default:return!0}}function tm(e,t,a){if(t?.type==="flow-collection"){let r=t.end[0];r.indent===e&&("]"===r.source||"}"===r.source)&&tp(t)&&a(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function th(e,t,a){let{uniqueKeys:r}=e.options;if(!1===r)return!1;let n="function"==typeof r?r:(e,t)=>e===t||v(e)&&v(t)&&e.value===t.value;return t.some(e=>n(e.key,a))}let tf="All mapping items must start at the same column";function tg(e,t,a,r){let n="";if(e){let o=!1,l="";for(let s of e){let{source:e,type:i}=s;switch(i){case"space":o=!0;break;case"comment":{a&&!o&&r(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let t=e.substring(1)||" ";n?n+=l+t:n=t,l="";break}case"newline":n&&(l+=e),o=!0;break;default:r(s,"UNEXPECTED_TOKEN",`Unexpected ${i} at node end`)}t+=e.length}}return{comment:n,offset:t}}let tv="Block collections are not allowed within flow collections",ty=e=>e&&("block-map"===e.type||"block-seq"===e.type);function tb(e,t,a,r,n,o){let l="block-map"===a.type?function({composeNode:e,composeEmptyNode:t},a,r,n,o){let l=new(o?.nodeClass??ek)(a.schema);a.atRoot&&(a.atRoot=!1);let s=r.offset,i=null;for(let o of r.items){let{start:c,key:u,sep:d,value:p}=o,m=td(c,{indicator:"explicit-key-ind",next:u??d?.[0],offset:s,onError:n,parentIndent:r.indent,startOnNewline:!0}),h=!m.found;if(h){if(u&&("block-seq"===u.type?n(s,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==r.indent&&n(s,"BAD_INDENT",tf)),!m.anchor&&!m.tag&&!d){i=m.end,m.comment&&(l.comment?l.comment+="\n"+m.comment:l.comment=m.comment);continue}(m.newlineAfterProp||tp(u))&&n(u??c[c.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else m.found?.indent!==r.indent&&n(s,"BAD_INDENT",tf);a.atKey=!0;let f=m.end,g=u?e(a,u,m,n):t(a,f,c,null,m,n);a.schema.compat&&tm(r.indent,u,n),a.atKey=!1,th(a,l.items,g)&&n(f,"DUPLICATE_KEY","Map keys must be unique");let v=td(d??[],{indicator:"map-value-ind",next:p,offset:g.range[2],onError:n,parentIndent:r.indent,startOnNewline:!u||"block-scalar"===u.type});if(s=v.end,v.found){h&&(p?.type!=="block-map"||v.hasNewline||n(s,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),a.options.strict&&m.start<v.found.offset-1024&&n(g.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let i=p?e(a,p,v,n):t(a,s,d,null,v,n);a.schema.compat&&tm(r.indent,p,n),s=i.range[2];let c=new ev(g,i);a.options.keepSourceTokens&&(c.srcToken=o),l.items.push(c)}else{h&&n(g.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),v.comment&&(g.comment?g.comment+="\n"+v.comment:g.comment=v.comment);let e=new ev(g);a.options.keepSourceTokens&&(e.srcToken=o),l.items.push(e)}}return i&&i<s&&n(i,"IMPOSSIBLE","Map comment with trailing content"),l.range=[r.offset,s,i??s],l}(e,t,a,r,o):"block-seq"===a.type?function({composeNode:e,composeEmptyNode:t},a,r,n,o){let l=new(o?.nodeClass??ew)(a.schema);a.atRoot&&(a.atRoot=!1),a.atKey&&(a.atKey=!1);let s=r.offset,i=null;for(let{start:o,value:c}of r.items){let u=td(o,{indicator:"seq-item-ind",next:c,offset:s,onError:n,parentIndent:r.indent,startOnNewline:!0});if(!u.found)if(u.anchor||u.tag||c)c?.type==="block-seq"?n(u.end,"BAD_INDENT","All sequence items must start at the same column"):n(s,"MISSING_CHAR","Sequence item without - indicator");else{i=u.end,u.comment&&(l.comment=u.comment);continue}let d=c?e(a,c,u,n):t(a,u.end,o,null,u,n);a.schema.compat&&tm(r.indent,c,n),s=d.range[2],l.items.push(d)}return l.range=[r.offset,s,i??s],l}(e,t,a,r,o):function({composeNode:e,composeEmptyNode:t},a,r,n,o){let l="{"===r.start.source,s=l?"flow map":"flow sequence",i=new(o?.nodeClass??
49(l?ek:ew))(a.schema);i.flow=!0;let c=a.atRoot;c&&(a.atRoot=!1),a.atKey&&(a.atKey=!1);let u=r.offset+r.start.source.length;for(let o=0;o<r.items.length;++o){let c=r.items[o],{start:d,key:p,sep:m,value:h}=c,f=td(d,{flow:s,indicator:"explicit-key-ind",next:p??m?.[0],offset:u,onError:n,parentIndent:r.indent,startOnNewline:!1});if(!f.found){if(!f.anchor&&!f.tag&&!m&&!h){0===o&&f.comma?n(f.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`):o<r.items.length-1&&n(f.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${s}`),f.comment&&(i.comment?i.comment+="\n"+f.comment:i.comment=f.comment),u=f.end;continue}!l&&a.options.strict&&tp(p)&&n(p,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===o)f.comma&&n(f.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`);else if(f.comma||n(f.start,"MISSING_CHAR",`Missing , between ${s} items`),f.comment){let e="";r:for(let t of d)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break r;default:break r}if(e){let t=i.items[i.items.length-1];g(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,f.comment=f.comment.substring(e.length+1)}}if(l||m||f.found){a.atKey=!0;let o=f.end,g=p?e(a,p,f,n):t(a,o,d,null,f,n);ty(p)&&n(g.range,"BLOCK_IN_FLOW",tv),a.atKey=!1;let v=td(m??[],{flow:s,indicator:"map-value-ind",next:h,offset:g.range[2],onError:n,parentIndent:r.indent,startOnNewline:!1});if(v.found){if(!l&&!f.found&&a.options.strict){if(m)for(let e of m){if(e===v.found)break;if("newline"===e.type){n(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}f.start<v.found.offset-1024&&n(v.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else h&&("source"in h&&h.source?.[0]===":"?n(h,"MISSING_CHAR",`Missing space after : in ${s}`):n(v.start,"MISSING_CHAR",`Missing , or : between ${s} items`));let y=h?e(a,h,v,n):v.found?t(a,v.end,m,null,v,n):null;y?ty(h)&&n(y.range,"BLOCK_IN_FLOW",tv):v.comment&&(g.comment?g.comment+="\n"+v.comment:g.comment=v.comment);let b=new ev(g,y);if(a.options.keepSourceTokens&&(b.srcToken=c),l)th(a,i.items,g)&&n(o,"DUPLICATE_KEY","Map keys must be unique"),i.items.push(b);else{let e=new ek(a.schema);e.flow=!0,e.items.push(b);let t=(y??g).range;e.range=[g.range[0],t[1],t[2]],i.items.push(e)}u=y?y.range[2]:v.end}else{let r=h?e(a,h,f,n):t(a,f.end,m,null,f,n);i.items.push(r),u=r.range[2],ty(h)&&n(r.range,"BLOCK_IN_FLOW",tv)}}let d=l?"}":"]",[p,...m]=r.end,h=u;if(p?.source===d)h=p.offset+p.source.length;else{let e=s[0].toUpperCase()+s.substring(1),t=c?`${e} must end with a ${d}`:`${e} in block collection must be sufficiently indented and end with a ${d}`;n(u,c?"MISSING_CHAR":"BAD_INDENT",t),p&&1!==p.source.length&&m.unshift(p)}if(m.length>0){let e=tg(m,h,a.options.strict,n);e.comment&&(i.comment?i.comment+="\n"+e.comment:i.comment=e.comment),i.range=[r.offset,h,e.offset]}else i.range=[r.offset,h,h];return i}(e,t,a,r,o),s=l.constructor;return"!"===n||n===s.tagName?l.tag=s.tagName:n&&(l.tag=n),l}function tO(e,t,a){let r=t.offset,n=function({offset:e,props:t},a,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:n}=t[0],o=n[0],l=0,s="",i=-1;for(let t=1;t<n.length;++t){let a=n[t];if(s||"-"!==a&&"+"!==a){let r=Number(a);!l&&r?l=r:-1===i&&(i=e+t)}else s=a}-1!==i&&r(i,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${n}`);let c=!1,u="",d=n.length;for(let e=1;e<t.length;++e){let n=t[e];switch(n.type){case"space":c=!0;case"newline":d+=n.source.length;break;case"comment":a&&!c&&r(n,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),d+=n.source.length,u=n.source.substring(1);break;case"error":r(n,"UNEXPECTED_TOKEN",n.message),d+=n.source.length;break;default:{let e=`Unexpected token in block scalar header: ${n.type}`;r(n,"UNEXPECTED_TOKEN",e);let t=n.source;t&&"string"==typeof t&&(d+=t.length)}}}return{mode:o,indent:l,chomp:s,comment:u,length:d}}(t,e.options.strict,a);if(!n)return{value:"",type:null,comment:"",range:[r,r,r]};let o=">"===n.mode?W.BLOCK_FOLDED:W.BLOCK_LITERAL,l=t.source?function(e){let t=e.split(/\n( *)/),a=t[0],r=a.match(/^( *)/),n=[r?.[1]?[r[1],a.slice(r[1].length)]:["",a]];for(let e=1;e<t.length;e+=2)n.push([t[e],t[e+1]]);return n}(t.source):[],s=l.length;for(let e=l.length-1;e>=0;--e){let t=l[e][1];if(""===t||"\r"===t)s=e;else break}if(0===s){let e="+"===n.chomp&&l.length>0?"\n".repeat(Math.max(1,l.length-1)):"",a=r+n.length;return t.source&&(a+=t.source.length),{value:e,type:o,comment:n.comment,range:[r,a,a]}}let i=t.indent+n.indent,c=t.offset+n.length,u=0;for(let t=0;t<s;++t){let[r,o]=l[t];if(""===o||"\r"===o)0===n.indent&&r.length>i&&(i=r.length);else{r.length<i&&a(c+r.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),0===n.indent&&(i=r.length),u=t,0!==i||e.atRoot||a(c,"BAD_INDENT","Block scalar values in collections must be indented");break}c+=r.length+o.length+1}for(let e=l.length-1;e>=s;--e)l[e][0].length>i&&(s=e+1);let d="",p="",m=!1;for(let e=0;e<u;++e)d+=l[e][0].slice(i)+"\n";for(let e=u;e<s;++e){let[t,r]=l[e];c+=t.length+r.length+1;let s="\r"===r[r.length-1];if(s&&(r=r.slice(0,-1)),r&&t.length<i){let e=n.indent?"explicit indentation indicator":"first line",o=`Block scalar lines must not be less indented than their ${e}`;a(c-r.length-(s?2:1),"BAD_INDENT",o),t=""}o===W.BLOCK_LITERAL?(d+=p+t.slice(i)+r,p="\n"):t.length>i||"	"===r[0]?(" "===p?p="\n":m||"\n"!==p||(p="\n\n"),d+=p+t.slice(i)+r,p="\n",m=!0):""===r?"\n"===p?d+="\n":p="\n":(d+=p+r,p=" ",m=!1)}switch(n.chomp){case"-":break;case"+":for(let e=s;e<l.length;++e)d+="\n"+l[e][0].slice(i);"\n"!==d[d.length-1]&&(d+="\n");break;default:d+="\n"}let h=r+n.length+t.source.length;return{value:d,type:o,comment:n.comment,range:[r,h,h]}}function tk(e,t,a){let r,n,{offset:o,type:l,source:s,end:i}=e,c=(e,t,r)=>a(o+e,t,r);switch(l){case"scalar":r=W.PLAIN,n=function(e,t){let a="";switch(e[0]){case"	":a="a tab character";break;case",":a="flow indicator character ,";break;case"%":a="directive indicator character %";break;case"|":case">":a=`block scalar indicator ${e[0]}`;break;case"@":case"`":a=`reserved character ${e[0]}`}return a&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${a}`),tx(e)}(s,c);break;case"single-quoted-scalar":var u,d;r=W.QUOTE_SINGLE,u=s,d=c,("'"!==u[u.length-1]||1===u.length)&&d(u.length,"MISSING_CHAR","Missing closing 'quote"),n=tx(u.slice(1,-1)).replace(/''/g,"'");break;case"double-quoted-scalar":r=W.QUOTE_DOUBLE,n=function(e,t){let a="";for(let r=1;r<e.length-1;++r){let n=e[r];if("\r"!==n||"\n"!==e[r+1])if("\n"===n){let{fold:t,offset:n}=function(e,t){let a="",r=e[t+1];for(;(" "===r||"	"===r||"\n"===r||"\r"===r)&&("\r"!==r||"\n"===e[t+2]);)"\n"===r&&(a+="\n"),t+=1,r=e[t+1];return a||(a=" "),{fold:a,offset:t}}(e,r);a+=t,r=n}else if("\\"===n){let n=e[++r],o=tw[n];if(o)a+=o;else if("\n"===n)for(n=e[r+1];" "===n||"	"===n;)n=e[++r+1];else if("\r"===n&&"\n"===e[r+1])for(n=e[++r+1];" "===n||"	"===n;)n=e[++r+1];else if("x"===n||"u"===n||"U"===n){let o="x"===n?2:"u"===n?4:8;a+=function(e,t,a,r){let n=e.substr(t,a),o=n.length===a&&/^[0-9a-fA-F]+$/.test(n)?parseInt(n,16):NaN;try{return String.fromCodePoint(o)}catch{let n=e.substr(t-2,a+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${n}`),n}}(e,r+1,o,t),r+=o}else{let n=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${n}`),a+=n}}else if(" "===n||"	"===n){let t=r,o=e[r+1];for(;" "===o||"	"===o;)o=e[++r+1];"\n"!==o&&("\r"!==o||"\n"!==e[r+2])&&(a+=r>t?e.slice(t,r+1):n)}else a+=n}return('"'!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),a}(s,c);break;default:return a(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${l}`),{value:"",type:null,comment:"",range:[o,o+s.length,o+s.length]}}let p=o+s.length,m=tg(i,p,t,a);return{value:n,type:r,comment:m.comment,range:[o,p,m.offset]}}function tx(e){let t,a;try{t=RegExp("(.*?)(?<![ 	])[ 	]*\r?\n","sy"),a=RegExp("[ 	]*(.*?)(?:(?<![ 	])[ 	]*)?\r?\n","sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,a=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let n=r[1],o=" ",l=t.lastIndex;for(a.lastIndex=l;r=a.exec(e);)""===r[1]?"\n"===o?n+=o:o="\n":(n+=o+r[1],o=" "),l=a.lastIndex;let s=/[ \t]*(.*)/sy;return s.lastIndex=l,r=s.exec(e),n+o+(r?.[1]??"")}let tw={0:"\0",a:"\x07",b:"\b",e:"\x1b",f:"\f",n:"\n",r:"\r",t:"	",v:"\v",N:"\x85",_:"\xa0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","	":"	"};function tS(e,t,a,r){let n,o,{value:l,type:s,comment:i,range:c}="block-scalar"===t.type?tO(e,t,r):tk(t,e.options.strict,r),d=a?e.directives.tagName(a.source,e=>r(a,"TAG_RESOLVE_FAILED",e)):null;n=e.options.stringKeys&&e.atKey?e.schema[u]:d?function(e,t,a,r,n){if("!"===a)return e[u];let o=[];for(let t of e.tags)if(!t.collection&&t.tag===a)if(!t.default||!t.test)return t;else o.push(t);for(let e of o)if(e.test?.test(t))return e;let l=e.knownTags[a];return l&&!l.collection?(e.tags.push(Object.assign({},l,{default:!1,test:void 0})),l):(n(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${a}`,"tag:yaml.org,2002:str"!==a),e[u])}(e.schema,l,d,a,r):"scalar"===t.type?function({atKey:e,directives:t,schema:a},r,n,o){let l=a.tags.find(t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(r))||a[u];if(a.compat){let e=a.compat.find(e=>e.default&&e.test?.test(r))??a[u];if(l.tag!==e.tag){let a=t.tagString(l.tag),r=t.tagString(e.tag);o(n,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${a} or ${r}`,!0)}}return l}(e,l,t,r):e.schema[u];try{let s=n.resolve(l,e=>r(a??t,"TAG_RESOLVE_FAILED",e),e.options);o=v(s)?s:new W(s)}catch(e){r(a??t,"TAG_RESOLVE_FAILED",e instanceof Error?e.message:String(e)),o=new W(l)}return o.range=c,o.source=l,s&&(o.type=s),d&&(o.tag=d),n.format&&(o.format=n.format),i&&(o.comment=i),o}let tC={composeNode:t$,composeEmptyNode:tA};function t$(e,t,a,r){let n,o=e.atKey,{spaceBefore:l,comment:s,anchor:i,tag:c}=a,u=!0;switch(t.type){case"alias":n=function({options:e},{offset:t,source:a,end:r},n){let o=new B(a.substring(1));""===o.source&&n(t,"BAD_ALIAS","Alias cannot be an empty string"),o.source.endsWith(":")&&n(t+a.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let l=t+a.length,s=tg(r,l,e.strict,n);return o.range=[t,l,s.offset],s.comment&&(o.comment=s.comment),o}
49(e,t,r),(i||c)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":n=tS(e,t,c,r),i&&(n.anchor=i.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{n=function(e,t,a,r,n){let o=r.tag,l=o?t.directives.tagName(o.source,e=>n(o,"TAG_RESOLVE_FAILED",e)):null;if("block-seq"===a.type){let{anchor:e,newlineAfterProp:t}=r,a=e&&o?e.offset>o.offset?e:o:e??o;a&&(!t||t.offset<a.offset)&&n(a,"MISSING_CHAR","Missing newline after block sequence props")}let s="block-map"===a.type?"map":"block-seq"===a.type?"seq":"{"===a.start.source?"map":"seq";if(!o||!l||"!"===l||l===ek.tagName&&"map"===s||l===ew.tagName&&"seq"===s)return tb(e,t,a,n,l);let i=t.schema.tags.find(e=>e.tag===l&&e.collection===s);if(!i){let r=t.schema.knownTags[l];if(r?.collection!==s)return r?n(o,"BAD_COLLECTION_TYPE",`${r.tag} used for ${s} collection, but expects ${r.collection??"scalar"}`,!0):n(o,"TAG_RESOLVE_FAILED",`Unresolved tag: ${l}`,!0),tb(e,t,a,n,l);t.schema.tags.push(Object.assign({},r,{default:!1})),i=r}let c=tb(e,t,a,n,l,i),u=i.resolve?.(c,e=>n(o,"TAG_RESOLVE_FAILED",e),t.options)??c,d=O(u)?u:new W(u);return d.range=c.range,d.tag=l,i?.format&&(d.format=i.format),d}(tC,e,t,a,r),i&&(n.anchor=i.source.substring(1))}catch(e){r(t,"RESOURCE_EXHAUSTION",e instanceof Error?e.message:String(e))}break;default:{let e="error"===t.type?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",e),u=!1}}return n??(n=tA(e,t.offset,void 0,null,a,r)),i&&""===n.anchor&&r(i,"BAD_ALIAS","Anchor cannot be an empty string"),o&&e.options.stringKeys&&(!v(n)||"string"!=typeof n.value||n.tag&&"tag:yaml.org,2002:str"!==n.tag)&&r(c??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),l&&(n.spaceBefore=!0),s&&("scalar"===t.type&&""===t.source?n.comment=s:n.commentBefore=s),e.options.keepSourceTokens&&u&&(n.srcToken=t),n}function tA(e,t,a,r,{spaceBefore:n,comment:o,anchor:l,tag:s,end:i},c){let u=tS(e,{type:"scalar",offset:function(e,t,a){if(t){a??(a=t.length);for(let r=a-1;r>=0;--r){let a=t[r];switch(a.type){case"space":case"comment":case"newline":e-=a.source.length;continue}for(a=t[++r];a?.type==="space";)e+=a.source.length,a=t[++r];break}}return e}(t,a,r),indent:-1,source:""},s,c);return l&&(u.anchor=l.source.substring(1),""===u.anchor&&c(l,"BAD_ALIAS","Anchor cannot be an empty string")),n&&(u.spaceBefore=!0),o&&(u.comment=o,u.range[2]=i),u}function tR(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];let{offset:t,source:a}=e;return[t,t+("string"==typeof a?a.length:1)]}function tE(e){let t="",a=!1,r=!1;for(let n=0;n<e.length;++n){let o=e[n];switch(o[0]){case"#":t+=(""===t?"":r?"\n\n":"\n")+(o.substring(1)||" "),a=!0,r=!1;break;case"%":e[n+1]?.[0]!=="#"&&(n+=1),a=!1;break;default:a||(r=!0),a=!1}}return{comment:t,afterEmptyLine:r}}class tP{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,a,r)=>{let n=tR(e);r?this.warnings.push(new tc(n,t,a)):this.errors.push(new ti(n,t,a))},this.directives=new Q({version:e.version||"1.2"}),this.options=e}decorate(e,t){let{comment:a,afterEmptyLine:r}=tE(this.prelude);if(a){let n=e.contents;if(t)e.comment=e.comment?`${e.comment}
50${a}`:a;else if(r||e.directives.docStart||!n)e.commentBefore=a;else if(b(n)&&!n.flow&&n.items.length>0){let e=n.items[0];g(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${a}
51${t}`:a}else{let e=n.commentBefore;n.commentBefore=e?`${a}
52${e}`:a}}if(t){for(let t=0;t<this.errors.length;++t)e.errors.push(this.errors[t]);for(let t=0;t<this.warnings.length;++t)e.warnings.push(this.warnings[t])}else e.errors=this.errors,e.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:tE(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,a=-1){for(let t of e)yield*this.next(t);yield*this.end(t,a)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,a,r)=>{let n=tR(e);n[0]+=t,this.onError(n,"BAD_DIRECTIVE",a,r)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let t=function(e,t,{offset:a,start:r,value:n,end:o},l){let s=new to(void 0,Object.assign({_directives:t},e)),i={atKey:!1,atRoot:!0,directives:s.directives,options:s.options,schema:s.schema},c=td(r,{indicator:"doc-start",next:n??o?.[0],offset:a,onError:l,parentIndent:0,startOnNewline:!0});c.found&&(s.directives.docStart=!0,n&&("block-map"===n.type||"block-seq"===n.type)&&!c.hasNewline&&l(c.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),s.contents=n?t$(i,n,c,l):tA(i,c.end,r,null,c,l);let u=s.contents.range[2],d=tg(o,u,!1,l);return d.comment&&(s.comment=d.comment),s.range=[a,u,d.offset],s}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,a=new ti(tR(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(a):this.doc.errors.push(a);break}case"doc-end":{if(!this.doc){this.errors.push(new ti(tR(e),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let t=tg(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e}
53${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new ti(tR(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let e=new to(void 0,Object.assign({_directives:this.directives},this.options));this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),e.range=[0,t,t],this.decorate(e,!1),yield e}}}function tT(e,t=!0,a){if(e){let r=(e,t,r)=>{let n="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(a)a(n,t,r);else throw new ti([n,n+1],t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return tk(e,t,r);case"block-scalar":return tO({options:{strict:t}},e,r)}}return null}function t_(e,t){let{implicitKey:a=!1,indent:r,inFlow:n=!1,offset:o=-1,type:l="PLAIN"}=t,s=es({type:l,value:e},{implicitKey:a,indent:r>0?" ".repeat(r):"",inFlow:n,options:{blockQuote:!0,lineWidth:-1}}),i=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(s[0]){case"|":case">":{let e=s.indexOf("\n"),t=s.substring(0,e),a=s.substring(e+1)+"\n",n=[{type:"block-scalar-header",offset:o,indent:r,source:t}];return tQ(n,i)||n.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:o,indent:r,props:n,source:a}}case'"':return{type:"double-quoted-scalar",offset:o,indent:r,source:s,end:i};case"'":return{type:"single-quoted-scalar",offset:o,indent:r,source:s,end:i};default:return{type:"scalar",offset:o,indent:r,source:s,end:i}}}function tj(e,t,a={}
53){let{afterKey:r=!1,implicitKey:n=!1,inFlow:o=!1,type:l}=a,s="indent"in e?e.indent:null;if(r&&"number"==typeof s&&(s+=2),!l)switch(e.type){case"single-quoted-scalar":l="QUOTE_SINGLE";break;case"double-quoted-scalar":l="QUOTE_DOUBLE";break;case"block-scalar":{let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");l=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:l="PLAIN"}let i=es({type:l,value:t},{implicitKey:n||null===s,indent:null!==s&&s>0?" ".repeat(s):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}});switch(i[0]){case"|":case">":!function(e,t){let a=t.indexOf("\n"),r=t.substring(0,a),n=t.substring(a+1)+"\n";if("block-scalar"===e.type){let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");t.source=r,e.source=n}else{let{offset:t}=e,a="indent"in e?e.indent:-1,o=[{type:"block-scalar-header",offset:t,indent:a,source:r}];for(let t of(tQ(o,"end"in e?e.end:void 0)||o.push({type:"newline",offset:-1,indent:a,source:"\n"}),Object.keys(e)))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:a,props:o,source:n})}}(e,i);break;case'"':tL(e,i,"double-quoted-scalar");break;case"'":tL(e,i,"single-quoted-scalar");break;default:tL(e,i,"scalar")}}function tQ(e,t){if(t)for(let a of t)switch(a.type){case"space":case"comment":e.push(a);break;case"newline":return e.push(a),!0}return!1}function tL(e,t,a){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=a,e.source=t;break;case"block-scalar":{let r=e.props.slice(1),n=t.length;for(let t of("block-scalar-header"===e.props[0].type&&(n-=e.props[0].source.length),r))t.offset+=n;delete e.props,Object.assign(e,{type:a,source:t,end:r});break}case"block-map":case"block-seq":{let r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:a,source:t,end:[r]});break}default:{let r="indent"in e?e.indent:-1,n="end"in e&&Array.isArray(e.end)?e.end.filter(e=>"space"===e.type||"comment"===e.type||"newline"===e.type):[];for(let t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:a,indent:r,source:t,end:n})}}}let tM=e=>"type"in e?tZ(e):tU(e);function tZ(e){switch(e.type){case"block-scalar":{let t="";for(let a of e.props)t+=tZ(a);return t+e.source}case"block-map":case"block-seq":{let t="";for(let a of e.items)t+=tU(a);return t}case"flow-collection":{let t=e.start.source;for(let a of e.items)t+=tU(a);for(let a of e.end)t+=a.source;return t}case"document":{let t=tU(e);if(e.end)for(let a of e.end)t+=a.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(let a of e.end)t+=a.source;return t}}}function tU({start:e,key:t,sep:a,value:r}){let n="";for(let t of e)n+=t.source;if(t&&(n+=tZ(t)),a)for(let e of a)n+=e.source;return r&&(n+=tZ(r)),n}let tX=Symbol("break visit"),tI=Symbol("skip children"),tB=Symbol("remove item");function tq(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),function e(t,a,r){let n=r(a,t);if("symbol"==typeof n)return n;for(let o of["key","value"]){let l=a[o];if(l&&"items"in l){for(let a=0;a<l.items.length;++a){let n=e(Object.freeze(t.concat([[o,a]])),l.items[a],r);if("number"==typeof n)a=n-1;else{if(n===tX)return tX;n===tB&&(l.items.splice(a,1),a-=1)}}"function"==typeof n&&"key"===o&&(n=n(a,t))}}return"function"==typeof n?n(a,t):n}(Object.freeze([]),e,t)}tq.BREAK=tX,tq.SKIP=tI,tq.REMOVE=tB,tq.itemAtPath=(e,t)=>{let a=e;for(let[e,r]of t){let t=a?.[e];if(!t||!("items"in t))return;a=t.items[r]}return a},tq.parentCollection=(e,t)=>{let a=tq.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],n=a?.[r];if(n&&"items"in n)return n;throw Error("Parent collection not found")};let tW="\uFEFF",tD="\x02",tN="\x18",tV="\x1f",tF=e=>!!e&&"items"in e,tz=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type);function tH(e){switch(e){case tW:return"<BOM>";case tD:return"<DOC>";case tN:return"<FLOW_END>";case tV:return"<SCALAR>";default:return JSON.stringify(e)}}function tY(e){switch(e){case tW:return"byte-order-mark";case tD:return"doc-mode";case tN:return"flow-error-end";case tV:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"	":return"space";case"#":return"comment";
53case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function tG(e){switch(e){case void 0:case" ":case"\n":case"\r":case"	":return!0;default:return!1}}let tK=new Set("0123456789ABCDEFabcdef"),tJ=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),t0=new Set(",[]{}"),t1=new Set(" ,[]{}\n\r	"),t2=e=>!e||t1.has(e);class t4{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let a=this.next??"stream";for(;a&&(t||this.hasChars(1));)a=yield*this.parseNext(a)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"	"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let a=0;for(;" "===t;)t=this.buffer[++a+e];if("\r"===t){let t=this.buffer[a+e+1];if("\n"===t||!t&&!this.atEnd)return e+a+1}return"\n"!==t&&!(a>=this.indentNext)&&(t||this.atEnd)?-1:e+a}if("-"===t||"."===t){let t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&tG(this.buffer[e+3]))return -1}return e}getLine(){let e=this.lineEndPos;return(("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e)?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if(e[0]===tW&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length,a=e.indexOf("#");for(;-1!==a;){let r=e[a-1];if(" "===r||"	"===r){t=a-1;break}a=e.indexOf("#",a+1)}for(;;){let a=e[t-1];if(" "===a||"	"===a)t-=1;else break}let r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){let t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield tD,yield*this.parseLineStart()}*parseLineStart(){let e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let e=this.peek(3);if(("---"===e||"..."===e)&&tG(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"---"===e?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!tG(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&tG(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";
53case"*":return yield*this.pushUntil(t2),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,a=-1;do(e=yield*this.pushNewline())>0?(t=yield*this.pushSpaces(!1),this.indentValue=a=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);let r=this.getLine();if(null===r)return this.setNext("flow");if((-1!==a&&a<this.indentNext&&"#"!==r[0]||0===a&&(r.startsWith("---")||r.startsWith("..."))&&tG(r[3]))&&(a!==this.indentNext-1||1!==this.flowLevel||"]"!==r[0]&&"}"!==r[0]))return this.flowLevel=0,yield tN,yield*this.parseLineStart();let n=0;for(;","===r[n];)n+=yield*this.pushCount(1),n+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(r[n+=yield*this.pushIndicators()]){case void 0:return"flow";case"#":return yield*this.pushCount(r.length-n),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(t2),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let e=this.charAt(1);if(this.flowKey||tG(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}let a=this.buffer.substring(0,t),r=a.indexOf("\n",this.pos);if(-1!==r){for(;-1!==r;){let e=this.continueScalar(r+1);if(-1===e)break;r=a.indexOf("\n",e)}-1!==r&&(t=r-("\r"===a[r-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil(e=>tG(e)||"#"===e)}*parseBlockScalar(){let e,t=this.pos-1,a=0;r:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":a+=1;break;case"\n":t=r,a=0;break;case"\r":{let e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break r}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(a>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=a:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{let e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let r=t+1;for(e=this.buffer[r];" "===e;)e=this.buffer[++r];if("	"===e){for(;"	"===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++r];t=r-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);let n=e;for(;" "===r;)r=this.buffer[--e];if("\n"===r&&e>=this.pos&&e+1+a>n)t=e;else break}return yield tV,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e,t=this.flowLevel>0,a=this.pos-1,r=this.pos-1;for(;e=this.buffer[++r];)if(":"===e){let e=this.buffer[r+1];if(tG(e)||t&&t0.has(e))break;a=r}else if(tG(e)){let n=this.buffer[r+1];if("\r"===e&&("\n"===n?(r+=1,e="\n",n=this.buffer[r+1]):a=r),"#"===n||t&&t0.has(n))break;if("\n"===e){let e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(t&&t0.has(e))break;a=r}return e||this.atEnd?(yield tV,yield*this.pushToIndex(a+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let a=this.buffer.slice(this.pos,e);return a?(yield a,this.pos+=a.length,a.length):(t&&(yield""),0)}*pushIndicators(){let e=0;for(;;){switch(this.charAt(0)){case"!":e+=yield*this.pushTag(),e+=yield*this.pushSpaces(!0);continue;case"&":e+=yield*this.pushUntil(t2),e+=yield*this.pushSpaces(!0);continue;case"-":case"?":case":":{let t=this.flowLevel>0,a=this.charAt(1);if(tG(a)||t&&t0.has(a)){t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,e+=yield*this.pushCount(1),e+=yield*this.pushSpaces(!0);continue}}}break}return e}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!tG(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(tJ.has(t))t=this.buffer[++e];else if("%"===t&&tK.has(this.buffer[e+1])&&tK.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,a=this.pos-1;do t=this.buffer[++a];while(" "===t||e&&"	"===t);let r=a-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=a),r}*pushUntil(e){let t=this.pos,a=this.buffer[t];for(;!e(a);)a=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class t8{constructor(){this.lineStarts=[],this.addNewLine=e=>
53this.lineStarts.push(e),this.linePos=e=>{let t=0,a=this.lineStarts.length;for(;t<a;){let r=t+a>>1;this.lineStarts[r]<e?t=r+1:a=r}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(0===t)return{line:0,col:e};let r=this.lineStarts[t-1];return{line:t,col:e-r+1}}}}function t3(e,t){for(let a=0;a<e.length;++a)if(e[a].type===t)return!0;return!1}function t6(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return -1}function t5(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function t7(e){switch(e.type){case"document":return e.start;case"block-map":{let t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function t9(e){if(0===e.length)return[];let t=e.length;r:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break r}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function ae(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let a=0;a<t.length;++a)e.push(t[a])}function at(e){if("flow-seq-start"===e.start.type)for(let t of e.items)!t.sep||t.value||t3(t.start,"explicit-key-ind")||t3(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,t5(t.value)?t.value.end?ae(t.value.end,t.sep):t.value.end=t.sep:ae(t.start,t.sep),delete t.sep)}class aa{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new t4,this.onNewLine=e}*parse(e,t=!1){for(let a of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(e,t)))yield*this.next(a);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=tY(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{let t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if("doc-end"===this.type&&e?.type!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{let e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&at(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{let a=e.items[e.items.length-1];if(a.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}if(a.sep)a.value=t;else{Object.assign(a,{key:t,sep:[]}),this.onKeyLine=!a.explicitKey;return}break}case"block-seq":{let a=e.items[e.items.length-1];a.value?e.items.push({start:[],value:t}):a.value=t;break}case"flow-collection":{let a=e.items[e.items.length-1];!a||a.value?e.items.push({start:[],key:t,sep:[]}):a.sep?a.value=t:Object.assign(a,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if(("document"===e.type||"block-map"===e.type||"block-seq"===e.type)&&("block-map"===t.type||"block-seq"===t.type)){let a=t.items[t.items.length-1];a&&!a.sep&&!a.value&&a.start.length>0&&-1===t6(a.start)&&(0===t.indent||a.start.every(e=>"comment"!==e.type||e.indent<t.indent))&&("document"===e.type?e.end=a.start:e.items.push({start:a.start}),t.items.splice(-1,1))}}else yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let e={type:"document",offset:this.offset,start:[]};"doc-start"===this.type&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":-1!==t6(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return;case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}let t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}
53*scalar(e){if("map-value-ind"===this.type){let t,a=t9(t7(this.peek(2)));e.end?((t=e.end).push(this.sourceToken),delete e.end):t=[this.sourceToken];let r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:a,key:e,sep:t}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){let a="end"in t.value?t.value.end:void 0,r=Array.isArray(a)?a[a.length-1]:void 0;r?.type==="comment"?a?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){let a=e.items[e.items.length-2],r=a?.value?.end;if(Array.isArray(r)){ae(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let a=!this.onKeyLine&&this.indent===e.indent,r=a&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type,n=[];if(r&&t.sep&&!t.value){let a=[];for(let r=0;r<t.sep.length;++r){let n=t.sep[r];switch(n.type){case"newline":a.push(r);break;case"space":break;case"comment":n.indent>e.indent&&(a.length=0);break;default:a.length=0}}a.length>=2&&(n=t.sep.splice(a[1]))}switch(this.type){case"anchor":case"tag":r||t.value?(n.push(this.sourceToken),e.items.push({start:n}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":t.sep||t.explicitKey?r||t.value?(n.push(this.sourceToken),e.items.push({start:n,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(t.start.push(this.sourceToken),t.explicitKey=!0),this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(t3(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]});else if(t5(t.key)&&!t3(t.sep,"newline")){let e=t9(t.start),a=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:a,sep:r}]})}else n.length>0?t.sep=t.sep.concat(n,this.sourceToken):t.sep.push(this.sourceToken);else if(t3(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=t9(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||r?e.items.push({start:n,key:null,sep:[this.sourceToken]}):t3(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let a=this.flowScalar(this.type);r||t.value?(e.items.push({start:n,key:a,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(a):(Object.assign(t,{key:a,sep:[]}),this.onKeyLine=!0);return}default:{let r=this.startBlockValue(e);if(r){if("block-seq"===r.type){if(!t.explicitKey&&t.sep&&!t3(t.sep,"newline"))return void(yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source}))}else a&&e.items.push({start:n});this.stack.push(r);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let a="end"in t.value?t.value.end:void 0,r=Array.isArray(a)?a[a.length-1]:void 0;r?.type==="comment"?a?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let a=e.items[e.items.length-2],r=a?.value?.end;if(Array.isArray(r)){ae(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||t3(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do yield*this.pop(),e=this.peek(1);while(e?.type==="flow-collection")}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,
53sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let a=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:a,sep:[]}):t.sep?this.stack.push(a):Object.assign(t,{key:a,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let a=this.startBlockValue(e);a?this.stack.push(a):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if("block-map"!==t.type||("map-value-ind"!==this.type||t.indent!==e.indent)&&("newline"!==this.type||t.items[t.items.length-1].sep))if("map-value-ind"===this.type&&"flow-collection"!==t.type){let a=t9(t7(t));at(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let n={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:a,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=n}else yield*this.lineEnd(e);else yield*this.pop(),yield*this.step()}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=t9(t7(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let t=t9(t7(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every(e=>"newline"===e.type||"space"===e.type)}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function ar(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new t8||null,prettyErrors:t}}function an(e,t={}){let{lineCounter:a,prettyErrors:r}=ar(t),n=new aa(a?.addNewLine),o=new tP(t),l=Array.from(o.compose(n.parse(e)));if(r&&a)for(let t of l)t.errors.forEach(tu(e,a)),t.warnings.forEac
53h(tu(e,a));return l.length>0?l:Object.assign([],{empty:!0},o.streamInfo())}function ao(e,t={}){let{lineCounter:a,prettyErrors:r}=ar(t),n=new aa(a?.addNewLine),o=new tP(t),l=null;for(let t of o.compose(n.parse(e),!0,e.length))if(l){if("silent"!==l.options.logLevel){l.errors.push(new ti(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else l=t;return r&&a&&(l.errors.forEach(tu(e,a)),l.warnings.forEach(tu(e,a))),l}function al(e,t,a){let r;"function"==typeof t?r=t:void 0===a&&t&&"object"==typeof t&&(a=t);let n=ao(e,a);if(!n)return null;if(n.warnings.forEach(e=>eu(n.options.logLevel,e)),n.errors.length>0)if("silent"!==n.options.logLevel)throw n.errors[0];else n.errors=[];return n.toJS(Object.assign({reviver:r},a))}function as(e,t,a){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===a&&t&&(a=t),"string"==typeof a&&(a=a.length),"number"==typeof a){let e=Math.round(a);a=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){let{keepUndefined:e}=a??t??{};if(!e)return}return h(e)&&!r?e.toString(a):new to(e,r,a).toString(a)}let ai=o},53252:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(69025),n=a(55837),o=a(38547),l=a(10779),s=a(85448),i=(0,o.pM)({__name:"ScalarColorModeToggle",props:{variant:{default:"switch"}},setup(e){let{isDarkMode:t,toggleColorMode:a,darkLightMode:i}=(0,s.G)(),c=(0,o.EW)(()=>t.value?"Set light mode":"Set dark mode");return(s,u)=>"switch"===e.variant?((0,o.uX)(),(0,o.Wv)(n.A,{key:0,modelValue:(0,l.R1)(t),"onUpdate:modelValue":u[0]||(u[0]=e=>(0,l.i9)(t)?t.value=e:null),"aria-label":c.value},null,8,["modelValue","aria-label"])):((0,o.uX)(),(0,o.Wv)(r.A,{key:1,"aria-label":c.value,mode:(0,l.R1)(i),onClick:(0,l.R1)(a)},null,8,["aria-label","mode","onClick"]))}})},53261:(e,t,a)=>{"use strict";let r,n,o,l,s;a.d(t,{BD:()=>p,Bm:()=>v,CU:()=>w,Fh:()=>y,MZ:()=>g,Me:()=>m,iq:()=>f,p9:()=>x,pW:()=>O,wl:()=>k});var i=a(38547),c=a(6974),u=a(9e3);let d=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var p=((r=p||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r),m=((n=m||{})[n.Error=0]="Error",n[n.Overflow=1]="Overflow",n[n.Success=2]="Success",n[n.Underflow=3]="Underflow",n),h=((o=h||{})[o.Previous=-1]="Previous",o[o.Next=1]="Next",o);function f(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(d)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var g=((l=g||{})[l.Strict=0]="Strict",l[l.Loose=1]="Loose",l);function v(e,t=0){var a;return e!==(null==(a=(0,u.T)(e))?void 0:a.body)&&(0,c.Y)(t,{0:()=>e.matches(d),1(){let t=e;for(;null!==t;){if(t.matches(d))return!0;t=t.parentElement}return!1}})}function y(e){let t=(0,u.T)(e);(0,i.dY)(()=>{t&&!v(t.activeElement,0)&&O(e)})}var b=((s=b||{})[s.Keyboard=0]="Keyboard",s[s.Mouse=1]="Mouse",s);function O(e){null==e||e.focus({preventScroll:!0})}function k(e,t=e=>e){return e.slice().sort((e,a)=>{let r=t(e),n=t(a);if(null===r||null===n)return 0;let o=r.compareDocumentPosition(n);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function x(e,t){return w(f(),t,{relativeTo:e})}function w(e,t,{sorted:a=!0,relativeTo:r=null,skipElements:n=[]}={}){var o,l,s,i;let c=null!=(o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:null==e?void 0:e.ownerDocument)?o:document,u=Array.isArray(e)?a?k(e):e:f(e);n.length>0&&u.length>1&&(u=u.filter(e=>!n.includes(e))),r=null!=r?r:c.activeElement;let d=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),p=(()=>
53{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(r))-1;if(4&t)return Math.max(0,u.indexOf(r))+1;if(8&t)return u.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),m=32&t?{preventScroll:!0}:{},h=0,g=u.length,v;do{if(h>=g||h+g<=0)return 0;let e=p+h;if(16&t)e=(e+g)%g;else{if(e<0)return 3;if(e>=g)return 1}null==(v=u[e])||v.focus(m),h+=d}while(v!==c.activeElement);return 6&t&&null!=(i=null==(s=null==(l=v)?void 0:l.matches)?void 0:s.call(l,"textarea,input"))&&i&&v.select(),2}"u">typeof window&&"u">typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},53572:(e,t,a)=>{"use strict";function r(e){try{let t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}}a.d(t,{q:()=>r})},53606:(e,t,a)=>{"use strict";a.d(t,{a:()=>s,f:()=>d});var r=a(42694),n=a(92412);let o=r.ZU.Record(r.ZU.String(),r.ZU.Boolean()),l=r.ZU.Record(r.ZU.String(),o),s=r.ZU.Object({"x-scalar-disable-parameters":r.ZU.Optional(r.ZU.Object({"global-cookies":r.ZU.Optional(l),"global-headers":r.ZU.Optional(l),"default-headers":r.ZU.Optional(l)}))}),i=(0,n.g1)((0,n.Yj)(),(0,n.zM)()),c=(0,n.g1)((0,n.Yj)(),i),u=(0,n.Ik)({"global-cookies":(0,n.lq)(c),"global-headers":(0,n.lq)(c),"default-headers":(0,n.lq)(c)},{typeName:"DisableParametersConfig",typeComment:"Disabled parameter state by category and example"}),d=(0,n.Ik)({"x-scalar-disable-parameters":(0,n.lq)(u)},{typeName:"XScalarDisableParameters",typeComment:"Tracks which parameters are disabled across examples"})},53659:(e,t,a)=>{"use strict";a.d(t,{O:()=>l});var r=a(7041),n=a(95589),o=a(70470);let l=(e,t)=>{if(null===e)return{name:null,environment:(0,o.v)(r.pn,{})};let a=e.workspace["x-scalar-active-environment"];if(!a)return{name:null,environment:(0,o.v)(r.pn,{})};let l=e.workspace["x-scalar-environments"]?.[a]??{variables:[]},s=((0,n.yF)(t)?t["x-scalar-environments"]?.[a]:void 0)??{variables:[]};return{name:a,environment:(0,o.v)(r.pn,{...l,...s,variables:[...l.variables,...s.variables]})}}},54541:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o,i:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-additionalPropertiesName":r.ZU.Optional(r.ZU.String())}),l=(0,n.Ik)({"x-additionalPropertiesName":(0,n.lq)((0,n.Yj)())},{typeName:"XAdditionalPropertiesName",typeComment:"Display name for additional properties on a schema"})},54860:(e,t,a)=>{"use strict";a.d(t,{ev:()=>$,BR:()=>A});var r=a(77387),n=a(8873),o=a(38547),l=a(61930),s=a(10779),i=["aria-selected"],c=(0,o.pM)({__name:"ScalarComboboxOption",props:{active:{type:Boolean},selected:{type:Boolean}},setup(e){let t=(0,n.Fj)({base:["group/item","flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left","truncate bg-transparent text-c-1","cursor-pointer hover:bg-b-2"],variants:{selected:{true:"text-c-1"},active:{true:"bg-b-2"}}});return(a,r)=>((0,o.uX)(),(0,o.CE)("li",{"aria-selected":e.selected,class:(0,l.C4)((0,s.R1)(n.cx)((0,s.R1)(t)({active:e.active,selected:e.selected}))),role:"option",tabindex:"-1"},[(0,o.RG)(a.$slots,"default",{active:e.active,selected:e.selected})],10,i))}}),u=["id","aria-labelledby","role"],d=["id"],p=(0,o.pM)({__name:"ScalarComboboxOptionGroup",props:{id:{default:()=>(0,o.Bi)()},hidden:{type:Boolean,default:!1}},setup:e=>(t,a)=>((0,o.uX)(),(0,o.CE)("div",{id:e.id,"aria-labelledby":e.id?`${e.id}-label`:void 0,class:"contents",role:e.hidden?void 0:"group"},[e.hidden?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)("div",{key:0,id:`${e.id}-label`,class:"min-w-0 truncate px-2.5 py-1.5 text-c-2"},[(0,o.RG)(t.$slots,"label")],8,d)),(0,o.RG)(t.$slots,"default")],8,u))});function m(e){var t;return!!e[0]&&(t=e[0],t?.options!==void 0)}var h=a(56942),f=a(44419),g=a(5412),v={class:"relative flex"},y=["aria-activedescendant","placeholder"],b=["aria-multiselectable"],O={class:"inline-block min-w-0 flex-1 truncate text-c-1"},k=(0,o.pM)({inheritAttrs:!1,__name:"ScalarComboboxOptions",props:(0,o.zz)({options:{},placeholder:{},filterFn:{type:Function,default:(e,t)=>""===e?t:t.filter(t=>t.label.toLowerCase().includes(e.toLowerCase()))},multiselect:{type:Boolean}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:(0,o.zz)(["add"],["update:modelValue"]),setup(e,{emit:t}){let a=(0,o.fn)(e,"modelValue"),n=(0,o.Ht)(),i=`scalar-combobox-items-${(0,o.Bi)()}`,u={id:`${(0,o.Bi)()}-add`,label:"Add a new option"};function d(e){return`${i}-${e.id}`}let k=(0,o.EW)(()=>m(e.options)?e.options.flatMap(e=>e.options):e.options),x=(0,o.EW)(()=>m(e.options)?e.options:[{label:"",options:e.options}]),w=(0,s.KR)(""),S=(0,s.KR)(a.value?.[0]??k.value[0]);(0,o.sV)(()=>
53{w.value="",S.value=a.value?.[0]??k.value[0],a.value[0]&&setTimeout(()=>{let e=a.value[0];e&&document?.getElementById(d(e))?.scrollIntoView({block:"nearest"})},10)}),(0,o.wB)(()=>w.value,()=>S.value=$.value[0]);let C=(0,o.EW)(()=>e.filterFn(w.value,k.value,x.value)),$=(0,o.EW)(()=>n.add?[...C.value,u]:C.value);function A(t){if(t){if(t.id===u.id)return void E();e.multiselect?a.value.some(e=>e.id===t.id)?a.value=a.value.filter(e=>e.id!==t.id):a.value=[...a.value,k.value.find(e=>e.id===t.id)]:a.value=[k.value.find(e=>e.id===t.id)]}}function R(e){let t=$.value,a=t.findIndex(e=>e.id===S.value?.id)+e;a<0||a>t.length-1||(S.value=t[a],S.value&&document?.getElementById(d(S.value))?.scrollIntoView({behavior:"smooth",block:"nearest"}))}function E(){t("add"),w.value=""}let P=(0,s.KR)(null);return(0,o.sV)(()=>setTimeout(()=>P.value?.focus(),0)),(t,m)=>((0,o.uX)(),(0,o.CE)(o.FK,null,[(0,o.Lk)("div",v,[(0,o.bF)((0,s.R1)(f.A),{class:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-c-3 size-4"}),(0,o.bo)((0,o.Lk)("input",{ref_key:"input",ref:P,"onUpdate:modelValue":m[0]||(m[0]=e=>w.value=e),"aria-activedescendant":S.value?d(S.value):void 0,"aria-autocomplete":"list","aria-controls":i,class:"min-w-0 flex-1 rounded border-0 py-2.5 pl-8 pr-3 leading-none text-c-1 -outline-offset-1","data-1p-ignore":"",placeholder:e.placeholder,role:"combobox",tabindex:"0",type:"text",onKeydown:[m[1]||(m[1]=(0,h.jR)((0,h.D$)(e=>R(1),["prevent"]),["down"])),m[2]||(m[2]=(0,h.jR)((0,h.D$)(e=>S.value&&A(S.value),["prevent"]),["enter"])),m[3]||(m[3]=(0,h.jR)((0,h.D$)(e=>R(-1),["prevent"]),["up"]))]},null,40,y),[[h.Jo,w.value]])]),(0,o.bo)((0,o.Lk)("ul",{id:i,"aria-multiselectable":e.multiselect,class:"border-t p-0.75 custom-scroll overscroll-contain flex-1 min-h-0",role:"listbox",tabindex:"-1"},[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(x.value,(n,u)=>((0,o.uX)(),(0,o.Wv)(p,{id:`${i}-group-${u}`,key:u,hidden:!n.options.some(e=>C.value.some(t=>t.id===e.id))||!n.label},{label:(0,o.k6)(()=>[t.$slots.group?(0,o.RG)(t.$slots,"group",{group:n},void 0,void 0,0):((0,o.uX)(),(0,o.CE)(o.FK,{key:1},[(0,o.eW)((0,l.v_)(n.label),1)],64))]),default:(0,o.k6)(()=>[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(C.value,i=>((0,o.uX)(),(0,o.CE)(o.FK,{key:i.id},[n.options.some(e=>e.id===i.id)?((0,o.uX)(),(0,o.Wv)(c,{key:0,id:d(i),active:S.value?.id===i.id,selected:a.value.some(e=>e.id===i.id),onClick:e=>A(i),onMousedown:m[4]||(m[4]=(0,h.D$)(()=>{},["prevent"])),onMouseenter:e=>S.value=i},{default:(0,o.k6)(({active:n,selected:c})=>[t.$slots.option?(0,o.RG)(t.$slots,"option",{active:n,option:i,selected:c},void 0,void 0,0):((0,o.uX)(),(0,o.CE)(o.FK,{key:1},[(0,o.bF)((0,s.R1)(r.A),{multiselect:e.multiselect,selected:a.value.some(e=>e.id===i.id)},null,8,["multiselect","selected"]),(0,o.Lk)("span",O,(0,l.v_)(i.label),1)],64))]),_:2},1032,["id","active","selected","onClick","onMouseenter"])):(0,o.Q3)("",!0)],64))),128))]),_:2},1032,["id","hidden"]))),128)),n.add?((0,o.uX)(),(0,o.Wv)(c,{key:0,id:d(u),active:S.value?.id===u.id,onClick:E,onMousedown:m[5]||(m[5]=(0,h.D$)(()=>{},["prevent"])),onMouseenter:m[6]||(m[6]=e=>S.value=u)},{default:(0,o.k6)(({active:e})=>[(0,o.bF)((0,s.R1)(g.A),{class:"size-4 p-px"}),(0,o.RG)(t.$slots,"add",{active:e})]),_:3},8,["id","active"])):(0,o.Q3)("",!0)],8,b),[[h.aG,C.value.length||n.add]])],64))}}),x=a(68491),w=a(72662),S=a(60411),C=(0,o.pM)({inheritAttrs:!1,__name:"ScalarComboboxPopover",props:{placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){let{cx:a}=(0,n.AX)(),r=(0,s.KR)(null),i=e=>{["ArrowUp","ArrowDown"].includes(e.key)&&(e.preventDefault(),e.target?.dispatchEvent(new KeyboardEvent("keydown",{key:"Enter"})))};return t({popoverButtonRef:r}),(e,t)=>((0,o.uX)(),(0,o.Wv)((0,s.R1)(S.AM),{as:"template"},{default:(0,o.k6)(({open:t})=>[(0,o.bF)((0,s.R1)(x.A),(0,l._B)((0,o.Ng)(e.$props)),(0,o.eX)({default:(0,o.k6)(()=>[(0,o.bF)((0,s.R1)(S.ut),{ref_key:"popoverButtonRef",ref:r,as:"template",onKeydown:i},{default:(0,o.k6)(()=>[(0,o.RG)(e.$slots,"default",{open:t})]),_:2},1536)]),_:2},[t?{name:"floating",fn:(0,o.k6)(({width:r})=>[(0,o.bF)((0,s.R1)(S.QT),(0,o.v6)({style:{width:r}},(0,s.R1)(a)("relative flex flex-col max-h-[inherit] w-40 rounded text-sm")),{default:(0,o.k6)(({close:a})=>[(0,o.RG)(e.$slots,"popover",{close:a,open:t}),(0,o.bF)((0,s.R1)(w.A))]),_:2},1040,["style"])]),key:"0"}:void 0]),1040)]),_:3}))}}),$=(0,o.pM)({__name:"ScalarCombobox",props:(0,o.zz)({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{}}),emits:(0,o.zz)(["add"],["update:modelValue"]),setup(e,{emit:t}){let a=(0,o.fn)(e,"modelValue");return(r,n)=>((0,o.uX)(),(0,o.Wv)(C,{middleware:e.middleware,offset:e.offset,placement:e.placement??"bottom-start",resize:e.resize,target:e.target,teleport:e.teleport},{default:(0,o.k6)(({open:e})=>[(0,o.RG)(r.$slots,"default",{open:e})]),popover:(0,o.k6)(({open:n,close:s})=>[(0,o.bF)(k,{filterFn:e.filterFn,modelValue:a.value?[a.value]:[],open:n,options:e.options,placeholder:e.placeholder,onAdd:()=>(s(),t("add")),"onUpdate:modelValue":e=>(s(),a.value=e[0])},(0,o.eX)({_:2},[r.$slots.option?{name:"option",fn:(0,o.k6)(e=>[(0,o.RG)(r.$slots,"option",(0,l._B)((0,o.Ng)(e)))]),key:"0"}:void 0,r.$slots.group?{name:"group",fn:(0,o.k6)(e=>[(0,o.RG)(r.$slots,"group",(0,l._B)((0,o.Ng)(e)))]),key:"1"}:void 0,r.$slots.add?{name:"add",fn:(0,o.k6)(e=>[(0,o.RG)(r.$slots,"add",(0,l._B)((0,o.Ng)(e)))]),key:"2"}:void 0]),1032,["filterFn","modelValue","open","options","placeholder","onAdd","onUpdate:modelValue"])]),_:3},8,["middleware","offset","placement","resize","target","teleport"]))}}),A=(0,o.pM)({__name:"ScalarComboboxMultiselect",props:(0,o.zz)({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:(0,o.zz)(["add"],["update:modelValue"]),setup(e,{expose:t,emit:a}){let r=(0,o.fn)(e,"modelValue"),n=(0,s.KR)(null);return t({comboboxPopoverRef:n}),(t,s)=>((0,o.uX)(),(0,o.Wv)(C,{ref_key:"comboboxPopoverRef",ref:n,middleware:e.middleware,offset:e.offset,placement:e.placement??"bottom-start",resize:e.resize,target:e.target,teleport:e.teleport},{default:(0,o.k6)(({open:e})=>[(0,o.RG)(t.$slots,"default",{open:e})]),popover:(0,o.k6)(({open:n})=>[e.options?.length?((0,o.uX)(),(0,o.Wv)(k,{key:0,modelValue:r.value,"onUpdate:modelValue":s[0]||(s[0]=e=>r.value=e),filterFn:e.filterFn,multiselect:"",open:n,options:e.options,placeholder:e.placeholder,onAdd:s[1]||(s[1]=e=>a("add"))},(0,o.eX)({_:2},[t.$slots.option?{name:"option",fn:(0,o.k6)(e=>[(0,o.RG)(t.$slots,"option",(0,l._B)((0,o.Ng)(e)))]),key:"0"}:void 0,t.$slots.group?{name:"group",fn:(0,o.k6)(e=>[(0,o.RG)(t.$slots,"group",(0,l._B)((0,o.Ng)(e)))]),key:"1"}:void 0,t.$slots.add?{name:"add",fn:(0,o.k6)(e=>[(0,o.RG)(t.$slots,"add",(0,l._B)((0,o.Ng)(e)))]),key:"2"}:void 0]),1032,["modelValue","filterFn","open","options","placeholder"])):(0,o.Q3)("",!0)]),_:3},8,["middleware","offset","placement","resize","target","teleport"]))}})},55223:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconEnvelopeSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44ZM193.15,68,128,127.72,62.85,68ZM44,188V83.28l75.89,69.57a12,12,0,0,0,16.22,0L212,83.28V188Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M224,56l-96,88L32,56Z",o
53pacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-8,144H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50ZM208.58,62,128,135.86,47.42,62ZM216,194H40a2,2,0,0,1-2-2V69.64l86,78.78a6,6,0,0,0,8.1,0L218,69.64V192A2,2,0,0,1,216,194Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52Zm-10.28,8L128,138.57,42.28,60ZM216,196H40a4,4,0,0,1-4-4V65.09L125.3,147a4,4,0,0,0,5.4,0L220,65.09V192A4,4,0,0,1,216,196Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},55370:(e,t,a)=>{"use strict";a.d(t,{g:()=>l,n:()=>i});var r=a(37092),n=a(16114);function o(e){let t=[];for(let a of e)t.push(l(a));return t}function l(e){var t,a;let l,i;return(0,n.Yq)(e)?(l=o(e.allOf),(0,r.lw)(l)):(0,n.my)(e)?(i=o(e.anyOf),(0,r.vC)(i)):(0,n.PN)(e)?(e.items??[]).map((e,t)=>t.toString()):(0,n.QS)(e)?(e.items,["[number]"]):(0,n.av)(e)?(t=e.properties,globalThis.Object.getOwnPropertyNames(t)):(0,n.cZ)(e)?(a=e.patternProperties,s?globalThis.Object.getOwnPropertyNames(a).map(e=>"^"===e[0]&&"$"===e[e.length-1]?e.slice(1,e.length-1):e):[]):[]}let s=!1;function i(e){s=!0;let t=l(e);s=!1;let a=t.map(e=>`(${e})`);return`^(${a.join("|")})$`}},55465:(e,t,a)=>{"use strict";a.d(t,{o:()=>o,p:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-scalar-ignore":r.ZU.Optional(r.ZU.Boolean())}),l=(0,n.Ik)({"x-scalar-ignore":(0,n.lq)((0,n.zM)())},{typeName:"XScalarIgnore",typeComment:"Internal extension to mark an entity as ignored"})},55837:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var r=a(69025),n=a(8873),o=a(38547),l=a(10779),s=a(61930),i=["aria-pressed"],c=(0,o.pM)({inheritAttrs:!1,__name:"ScalarColorModeToggleButton",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){let{cx:t}=(0,n.AX)(),a=(0,o.fn)(e,"modelValue");return(e,n)=>((0,o.uX)(),(0,o.CE)("button",(0,o.v6)({"aria-pressed":a.value,type:"button"},(0,l.R1)(t)("group/toggle flex h-6 w-[38px] brightness-lifted -mx-px items-center py-1.5 -my-1.5 relative outline-none"),{onClick:n[0]||(n[0]=e=>a.value=!a.value)}),[n[1]||(n[1]=(0,o.Lk)("div",{class:"h-3 w-full bg-border mx-px rounded-xl group-focus-visible/toggle:outline -outline-offset-1"},null,-1)),(0,o.Lk)("div",{class:(0,s.C4)(["size-[23px] left-border absolute border rounded-full flex items-center justify-center bg-b-1 group-focus-visible/toggle:outline -outline-offset-1 transition-transform duration-300 ease-in-out",{"translate-x-[14px]":a.value}])},[(0,o.bF)(r.A,{is:"div",mode:a.value?"dark":"light"},null,8,["mode"])],2)],16,i))}})},55934:(e,t,a)=>{"use strict";a.d(t,{E:()=>r.A});var r=a(41097)},56151:(e,t,a)=>{"use strict";a.d(t,{Jt:()=>n.A,en:()=>r.A,lV:()=>o.A});var r=a(69025),n=a(55837),o=a(53252)},56261:(e,t,a)=>{"use strict";a.d(t,{B:()=>s,I:()=>i});var r,n=a(38547);let o=Symbol("headlessui.useid"),l=0,s=null!=(r=n.Bi)?r:function(){return n.WQ(o,()=>`${++l}`)()};function i(e){n.Gt(o,e)}},56356:(e,t,a)=>{"use strict";a.d(t,{oK:()=>i,xS:()=>c,zU:()=>o});var r=a(51316),n=a(51324);let o=e=>"object"==typeof e&&null!==e&&"$dynamicRef"in e&&"string"==typeof e.$dynamicRef,l=new WeakMap,s=e=>{let t=(0,n.s)(e,{depth:1}),a=l.get(t);if(a)return a;let o=new Map,s=e=>{if(!e||"object"!=typeof e)return;let t=e.$dynamicAnchor;"string"!=typeof t||o.has(t)||o.set(t,(0,r.A)(e,r.F))};s(e);let i=e.$defs;if(i&&"object"==typeof i)for(let e of Object.keys(i))s(i[e]);return l.set(t,o),o},i=(e,t)=>"$dynamicAnchor"in t||"$id"in t||"$defs"in t?[...e,t]:e,c=(e,t)=>{let a=e.startsWith("#")?e.slice(1):void 0;if(!(!a||a.startsWith("/")))for(let e of t){let t=s(e).get(a);if(t)return t}}},56942:(e,t,a)=>{"use strict";let r,n;a.d(t,{$9:()=>Q,D$:()=>ef,Ef:()=>ex,Jo:()=>er,XX:()=>ek,aG:()=>T,eB:()=>v,hp:()=>ed,jR:()=>ev,lH:()=>en,m1:()=>ew,u1:()=>es});var o,l=a(38547),s=a(61930);a(10779);let i="u">typeof window&&window.trustedTypes;if(i)try{n=i.createPolicy("vue",{createHTML:e=>e})}catch(e){}let c=n?e=>n.createHTML(e):e=>e,u="u">typeof document?document:null,d=u&&u.createElement("template"),p="transition",m="animation",h=Symbol("_vtc"),f={name:String,type:String,css:{type:Boolean,default:!0}
53,duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},g=(0,s.X$)({},l.QP,f),v=((o=(e,{slots:t})=>(0,l.h)(l.pR,function(e){let t={};for(let a in e)a in f||(t[a]=e[a]);if(!1===e.css)return t;let{name:a="v",type:r,duration:n,enterFromClass:o=`${a}-enter-from`,enterActiveClass:l=`${a}-enter-active`,enterToClass:i=`${a}-enter-to`,appearFromClass:c=o,appearActiveClass:u=l,appearToClass:d=i,leaveFromClass:p=`${a}-leave-from`,leaveActiveClass:m=`${a}-leave-active`,leaveToClass:h=`${a}-leave-to`}=e,g=function(e){if(null==e)return null;{if((0,s.Gv)(e))return[O(e.enter),O(e.leave)];let t=O(e);return[t,t]}}(n),v=g&&g[0],S=g&&g[1],{onBeforeEnter:$,onEnter:A,onEnterCancelled:E,onLeave:P,onLeaveCancelled:T,onBeforeAppear:_=$,onAppear:j=A,onAppearCancelled:Q=E}=t,L=(e,t,a,r)=>{e._enterCancelled=r,x(e,t?d:i),x(e,t?u:l),a&&a()},M=(e,t)=>{e._isLeaving=!1,x(e,p),x(e,h),x(e,m),t&&t()},Z=e=>(t,a)=>{let n=e?j:A,l=()=>L(t,e,a);y(n,[t,l]),w(()=>{x(t,e?c:o),k(t,e?d:i),b(n)||C(t,r,v,l)})};return(0,s.X$)(t,{onBeforeEnter(e){y($,[e]),k(e,o),k(e,l)},onBeforeAppear(e){y(_,[e]),k(e,c),k(e,u)},onEnter:Z(!1),onAppear:Z(!0),onLeave(e,t){e._isLeaving=!0;let a=()=>M(e,t);k(e,p),e._enterCancelled?(k(e,m),R(e)):(R(e),k(e,m)),w(()=>{e._isLeaving&&(x(e,p),k(e,h),b(P)||C(e,r,S,a))}),y(P,[e,a])},onEnterCancelled(e){L(e,!1,void 0,!0),y(E,[e])},onAppearCancelled(e){L(e,!0,void 0,!0),y(Q,[e])},onLeaveCancelled(e){M(e),y(T,[e])}})}(e),t)).displayName="Transition",o.props=g,o),y=(e,t=[])=>{(0,s.cy)(e)?e.forEach(e=>e(...t)):e&&e(...t)},b=e=>!!e&&((0,s.cy)(e)?e.some(e=>e.length>1):e.length>1);function O(e){return(0,s.Ro)(e)}function k(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[h]||(e[h]=new Set)).add(t)}function x(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let a=e[h];a&&(a.delete(t),a.size||(e[h]=void 0))}function w(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let S=0;function C(e,t,a,r){let n=e._endId=++S,o=()=>{n===e._endId&&r()};if(null!=a)return setTimeout(o,a);let{type:l,timeout:s,propCount:i}=function(e,t){let a=window.getComputedStyle(e),r=e=>(a[e]||"").split(", "),n=r(`${p}Delay`),o=r(`${p}Duration`),l=$(n,o),s=r(`${m}Delay`),i=r(`${m}Duration`),c=$(s,i),u=null,d=0,h=0;t===p?l>0&&(u=p,d=l,h=o.length):t===m?c>0&&(u=m,d=c,h=i.length):h=(u=(d=Math.max(l,c))>0?l>c?p:m:null)?u===p?o.length:i.length:0;let f=u===p&&/\b(?:transform|all)(?:,|$)/.test(r(`${p}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:f}}(e,t);if(!l)return r();let c=l+"end",u=0,d=()=>{e.removeEventListener(c,h),o()},h=t=>{t.target===e&&++u>=i&&d()};setTimeout(()=>{u<i&&d()},s+1),e.addEventListener(c,h)}function $(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,a)=>A(t)+A(e[a])))}function A(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function R(e){return(e?e.ownerDocument:document).body.offsetHeight}let E=Symbol("_vod"),P=Symbol("_vsh"),T={name:"show",beforeMount(e,{value:t},{transition:a}){e[E]="none"===e.style.display?"":e.style.display,a&&t?a.beforeEnter(e):_(e,t)},mounted(e,{value:t},{transition:a}){a&&t&&a.enter(e)},updated(e,{value:t,oldValue:a},{transition:r}){!t!=!a&&(r?t?(r.beforeEnter(e),_(e,!0),r.enter(e)):r.leave(e,()=>{_(e,!1)}):_(e,t))},beforeUnmount(e,{value:t}){_(e,t)}};function _(e,t){e.style.display=t?e[E]:"none",e[P]=!t}let j=Symbol("");function Q(e){let t=(0,l.nI)();if(!t)return;let a=t.ut=(a=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>L(e,a))},r=()=>{let r=e(t.proxy);t.ce?L(t.ce,r):function e(t,a){if(128&t.shapeFlag){let r=t.suspense;t=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{e(r.activeBranch,a)})}for(;t.component;)t=t.component.subTree;if(1&t.shapeFlag&&t.el)L(t.el,a);else if(t.type===l.FK)t.children.forEach(t=>e(t,a));else if(t.type===l.jC){let{el:e,anchor:r}=t;for(;e&&(L(e,a),e!==r);)e=e.nextSibling}}(t.subTree,r),a(r)};(0,l.Ic)(()=>{(0,l.Dl)(r)}),(0,l.sV)(()=>{(0,l.wB)(r,s.tE,{flush:"post"});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),(0,l.hi)(()=>e.disconnect())})}function L(e,t){if(1===e.nodeType){let a=e.style,r="";for(let e in t){let n=(0,s.pU)(t[e]);a.setProperty(`--${e}`,n),r+=`--${e}: ${n};`}a[j]=r}}let M=/(?:^|;)\s*display\s*:/,Z=/\s*!important$/;
53function U(e,t,a){if((0,s.cy)(a))a.forEach(a=>U(e,t,a));else if(null==a&&(a=""),t.startsWith("--"))e.setProperty(t,a);else{let r=function(e,t){let a=I[t];if(a)return a;let r=(0,s.PT)(t);if("filter"!==r&&r in e)return I[t]=r;r=(0,s.ZH)(r);for(let a=0;a<X.length;a++){let n=X[a]+r;if(n in e)return I[t]=n}return t}(e,t);Z.test(a)?e.setProperty((0,s.Tg)(r),a.replace(Z,""),"important"):e[r]=a}}let X=["Webkit","Moz","ms"],I={},B="http://www.w3.org/1999/xlink";function q(e,t,a,r,n,o=(0,s.J$)(t)){r&&t.startsWith("xlink:")?null==a?e.removeAttributeNS(B,t.slice(6,t.length)):e.setAttributeNS(B,t,a):null==a||o&&!(0,s.Y2)(a)?e.removeAttribute(t):e.setAttribute(t,o?"":(0,s.Bm)(a)?String(a):a)}function W(e,t,a,r,n){if("innerHTML"===t||"textContent"===t){null!=a&&(e[t]="innerHTML"===t?c(a):a);return}let o=e.tagName;if("value"===t&&"PROGRESS"!==o&&!o.includes("-")){let r="OPTION"===o?e.getAttribute("value")||"":e.value,n=null==a?"checkbox"===e.type?"on":"":String(a);r===n&&"_value"in e||(e.value=n),null==a&&e.removeAttribute(t),e._value=a;return}let l=!1;if(""===a||null==a){let r=typeof e[t];"boolean"===r?a=(0,s.Y2)(a):null==a&&"string"===r?(a="",l=!0):"number"===r&&(a=0,l=!0)}try{e[t]=a}catch(e){}l&&e.removeAttribute(n||t)}function D(e,t,a,r){e.addEventListener(t,a,r)}let N=Symbol("_vei"),V=/(Once|Passive|Capture)$/,F=/^on:?(?:Once|Passive|Capture)$/,z=0,H=Promise.resolve(),Y=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&123>e.charCodeAt(2);"u">typeof HTMLElement&&HTMLElement;let G=e=>{let t=e.props["onUpdate:modelValue"]||!1;return(0,s.cy)(t)?e=>(0,s.DY)(t,e):t};function K(e){e.target.composing=!0}function J(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}let ee=Symbol("_assign"),et=Symbol("_initialValue");function ea(e,t,a){return t&&(e=e.trim()),a&&(e=(0,s.bB)(e)),e}let er={created(e,{modifiers:{lazy:t,trim:a,number:r}},n){e.parentNode&&("text"===e.type?e[et]=e.defaultValue.replace(/[\r\n]/g,""):"textarea"===e.type&&(e[et]=e.defaultValue.replace(/\r\n?/g,"\n"))),e[ee]=G(n);let o=r||n.props&&"number"===n.props.type;D(e,t?"change":"input",t=>{t.target.composing||e[ee](ea(e.value,a,o))}),(a||o)&&D(e,"change",()=>{e.value=ea(e.value,a,o)}),t||(D(e,"compositionstart",K),D(e,"compositionend",J),D(e,"change",J))},mounted(e,{value:t,modifiers:{trim:a,number:r}}){let n=e[et];delete e[et],void 0!==n&&("text"===e.type||"textarea"===e.type)&&e.value!==n?e[ee](ea(e.value,a,r)):e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:a,modifiers:{lazy:r,trim:n,number:o}},l){if(e[ee]=G(l),e.composing)return;let i=(o||"number"===e.type)&&!/^0\d/.test(e.value)?(0,s.bB)(e.value):e.value,c=null==t?"":t;if(i===c)return;let u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&"range"!==e.type&&(r&&t===a||n&&e.value.trim()===c)||(e.value=c)}},en={deep:!0,created(e,t,a){e[ee]=G(a),D(e,"change",()=>{let t=e._modelValue,a=ec(e),r=e.checked,n=e[ee];if((0,s.cy)(t)){let e=(0,s.u3)(t,a),o=-1!==e;if(r&&!o)n(t.concat(a));else if(!r&&o){let a=[...t];a.splice(e,1),n(a)}}else if((0,s.vM)(t)){let e=new Set(t);r?e.add(a):e.delete(a),n(e)}else n(eu(e,r))})},mounted:eo,beforeUpdate(e,t,a){e[ee]=G(a),eo(e,t,a)}};function eo(e,{value:t,oldValue:a},r){let n;if(e._modelValue=t,(0,s.cy)(t))n=(0,s.u3)(t,r.props.value)>-1;else if((0,s.vM)(t))n=t.has(r.props.value);else{if(t===a)return;n=(0,s.BX)(t,eu(e,!0))}e.checked!==n&&(e.checked=n)}let el={created(e,{value:t},a){e.checked=(0,s.BX)(t,a.props.value),e[ee]=G(a),D(e,"change",()=>{e[ee](ec(e))})},beforeUpdate(e,{value:t,oldValue:a},r){e[ee]=G(r),t!==a&&(e.checked=(0,s.BX)(t,r.props.value))}},es={deep:!0,created(e,{value:t,modifiers:{number:a}},r){e._modelValue=t,D(e,"change",()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>a?(0,s.bB)(ec(e)):ec(e));e[ee](e.multiple?(0,s.vM)(e._modelValue)?new Set(t):t:t[0]),e._assigning=!0,(0,l.dY)(()=>{e._assigning=!1})}),e[ee]=G(r)},mounted(e,{value:t}){ei(e,t)},beforeUpdate(e,{value:t},a){e._modelValue=t,e[ee]=G(a)},updated(e,{value:t}){e._assigning||ei(e,t)}};function ei(e,t){let a=e.multiple,r=(0,s.cy)(t);if(!a||r||(0,s.vM)(t)){for(let n=0,o=e.options.length;n<o;n++){let o=e.options[n],l=ec(o);if(a)if(r){let e=typeof l;"string"===e||"number"===e?o.selected=t.some(e=>String(e)===String(l)):o.selected=(0,s.u3)(t,l)>-1}else o.selected=t.has(l);else if((0,s.BX)(ec(o),t)){e.selectedIndex!==n&&(e.selectedIndex=n);return}}a||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ec(e){return"_value"in e?e._value:e.value}function eu(e,t){let a=t?"_trueValue":"_falseValue";return a in e?e[a]:t}let ed={created(e,t,a){ep(e,t,a,null,"created")},mounted(e,t,a){ep(e,t,a,null,"mounted")},beforeUpdate(e,t,a,r){ep(e,t,a,r,"beforeUpdate")},updated(e,t,a,r){ep(e,t,a,r,"updated")}};function ep(e,t,a,r,n){let o=function(e,t){switch(e){case"SELECT":return es;case"TEXTAREA":return er;default:switch(t){case"checkbox":return en;case"radio":return el;default:return er}}}(e.tagName,a.props&&a.props.type)[n];o&&o(e,t,a,r)}let em=["ctrl","shift","alt","meta"],eh={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>
53em.some(a=>e[`${a}Key`]&&!t.includes(a))},ef=(e,t)=>{if(!e)return e;let a=e._withMods||(e._withMods={}),r=t.join(".");return a[r]||(a[r]=(a,...r)=>{for(let e=0;e<t.length;e++){let r=eh[t[e]];if(r&&r(a,t))return}return e(a,...r)})},eg={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ev=(e,t)=>{let a=e._withKeys||(e._withKeys={}),r=t.join(".");return a[r]||(a[r]=a=>{if(!("key"in a))return;let r=(0,s.Tg)(a.key);if(t.some(e=>e===r||eg[e]===r))return e(a)})},ey=(0,s.X$)({patchProp:(e,t,a,r,n,o)=>{let i="svg"===n;if("class"===t){var c;let t;c=r,(t=e[h])&&(c=(c?[c,...t]:[...t]).join(" ")),null==c?e.removeAttribute("class"):i?e.setAttribute("class",c):e.className=c}else"style"===t?function(e,t,a){let r=e.style,n=(0,s.Kg)(a),o=!1;if(a&&!n){if(t)if((0,s.Kg)(t))for(let e of t.split(";")){let t=e.slice(0,e.indexOf(":")).trim();null==a[t]&&U(r,t,"")}else for(let e in t)null==a[e]&&U(r,e,"");for(let n in a){var l,i,c,u;"display"===n&&(o=!0);let d=a[n];null!=d?(l=e,i=n,c=!(0,s.Kg)(t)&&t?t[n]:void 0,u=d,"TEXTAREA"===l.tagName&&("width"===i||"height"===i)&&(0,s.Kg)(u)&&c===u||U(r,n,d)):U(r,n,"")}}else if(n){if(t!==a){let e=r[j];e&&(a+=";"+e),r.cssText=a,o=M.test(a)}}else t&&e.removeAttribute("style");E in e&&(e[E]=o?r.display:"",e[P]&&(r.display="none"))}(e,a,r):(0,s.Mp)(t)?(0,s.CP)(t)||function(e,t,a,r=null){let n=e[N]||(e[N]={}),o=n[t];if(a&&o)o.value=a;else{let[u,d]=function(e){let t,a;for(;(a=e.match(V))&&!F.test(e);)t||(t={}),e=e.slice(0,e.length-a[1].length),t[a[1].toLowerCase()]=!0;return[":"===e[2]?e.slice(3):(0,s.Tg)(e.slice(2)),t]}(t);if(a){var i,c;let o;D(e,u,n[t]=(i=a,c=r,(o=e=>{if(e._vts){if(e._vts<=o.attached)return}else e._vts=Date.now();let t=o.value;if((0,s.cy)(t)){let a=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{a.call(e),e._stopped=!0};let r=t.slice(),n=[e];for(let t=0;t<r.length&&!e._stopped;t++){let e=r[t];e&&(0,l.qL)(e,c,5,n)}}else(0,l.qL)(t,c,5,[e])}).value=i,o.attached=z||(H.then(()=>z=0),z=Date.now()),o),d)}else o&&(e.removeEventListener(u,o,d),n[t]=void 0)}}(e,t,r,o):("."===t[0]?(t=t.slice(1),0):"^"===t[0]?(t=t.slice(1),1):!function(e,t,a,r){if(r)return!!("innerHTML"===t||"textContent"===t||t in e&&Y(t)&&(0,s.Tn)(a));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t||"sandbox"===t&&"IFRAME"===e.tagName||"form"===t||"list"===t&&"INPUT"===e.tagName||"type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){let t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return!(Y(t)&&(0,s.Kg)(a))&&t in e}(e,t,r,i))?e._isVueCE&&(function(e,t){let a=e._def.props;if(!a)return!1;let r=(0,s.PT)(t);return Array.isArray(a)?a.some(e=>(0,s.PT)(e)===r):Object.keys(a).some(e=>(0,s.PT)(e)===r)}(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!(0,s.Kg)(r)))?W(e,(0,s.PT)(t),r,o,t):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),q(e,t,r,i)):(W(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||q(e,t,r,i,o,"value"!==t))}},{insert:(e,t,a)=>{t.insertBefore(e,a||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,a,r)=>{let n="svg"===t?u.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?u.createElementNS("http://www.w3.org/1998/Math/MathML",e):a?u.createElement(e,{is:a}):u.createElement(e);return"select"===e&&r&&null!=r.multiple&&n.setAttribute("multiple",r.multiple),n},createText:e=>u.createTextNode(e),createComment:e=>u.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
53{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>u.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,a,r,n,o){let l=a?a.previousSibling:t.lastChild;if(n&&(n===o||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),a),n!==o&&(n=n.nextSibling););else{d.innerHTML=c("svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e);let n=d.content;if("svg"===r||"mathml"===r){let e=n.firstChild;for(;e.firstChild;)n.appendChild(e.firstChild);n.removeChild(e)}t.insertBefore(n,a)}return[l?l.nextSibling:t.firstChild,a?a.previousSibling:t.lastChild]}}),eb=!1;function eO(){return r||(r=(0,l.K9)(ey))}let ek=(...e)=>{eO().render(...e)},ex=(...e)=>{let t=eO().createApp(...e),{mount:a}=t;return t.mount=e=>{let r=eC(e);if(!r)return;let n=t._component;(0,s.Tn)(n)||n.render||n.template||(n.template=r.innerHTML),1===r.nodeType&&(r.textContent="");let o=a(r,!1,eS(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},ew=(...e)=>{let t=(r=eb?r:(0,l.ci)(ey),eb=!0,r).createApp(...e),{mount:a}=t;return t.mount=e=>{let t=eC(e);if(t)return a(t,!0,eS(t))},t};function eS(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function eC(e){return(0,s.Kg)(e)?document.querySelector(e):e}},56992:(e,t,a)=>{"use strict";a.d(t,{_:()=>l});var r=Object.defineProperty,n=(e,t,a)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?r(e,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[n]=a,a};class o{constructor(){n(this,"current",this.detect()),n(this,"currentId",0)}set(e){this.current!==e&&(this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"u"<typeof window||"u"<typeof document?"server":"client"}}let l=new o},57052:(e,t,a)=>{"use strict";let r,n;a.d(t,{Gv:()=>t0,_S:()=>tt,bK:()=>tI,uK:()=>s,$r:()=>tn,Lz:()=>ts,Ow:()=>tA,Lf:()=>t_,PA:()=>tl,mY:()=>tP,cm:()=>tc.c,I$:()=>tj,oc:()=>ta,dr:()=>tr});var o=(e,t)=>{let a=t.toLowerCase();return e.label.toLowerCase().includes(a)||e.clientKey.toLowerCase().includes(a)||e.lang.toLowerCase().includes(a)},l=(e,t)=>{let a=t.toLowerCase();return e.label.toLowerCase().includes(a)||e.key.toLowerCase().includes(a)},s=(e,t,a)=>{if(""===e)return t;let r=e.toLowerCase(),n=a?a.filter(e=>e.label&&e.options.length>0).length:0;if(a&&n>1){let e=[];for(let t of a)l(t,r)?e.push(...t.options):e.push(...t.options.filter(e=>o(e,r)));return e}return t.filter(e=>o(e,r))},i=a(40279);let c=e=>e.replaceAll("\\","\\\\").replaceAll('"','\\"').replaceAll("\n","\\n").replaceAll("\r","\\r").replaceAll("	","\\t"),u=e=>{if(void 0===e)return"";try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},d=e=>{let t=e.split("\n");return t.length<=1?[`  curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${c(e)}");`]:["  curl_easy_setopt(curl, CURLOPT_POSTFIELDS,",...t.map((e,a)=>{let r=a===t.length-1;return`    "${c(e)}${r?"":"\\n"}"${r?");":""}`})]};function p(e){return{...e,method:(e.method||"GET").toUpperCase()}}function m(e){if(!e?.length)return"";let t=e.map(e=>`${e.name}=${e.value}`);return`?${t.join("&")}`}let h=e=>{if(!e)return"";try{let t=new URL(e);if("/"===t.pathname)return`${t.origin}${t.search}${t.hash}`;return t.toString()}catch{return e}},f=(e,t)=>{let a=m(t);return a?e?`${e}${e.includes("?")?"&":"?"}${a.slice(1)}`:a:e},g=(e,t)=>{let a=new Map;if(e?.forEach(e=>{e.name&&a.set(e.name,e.value??"")}),t?.length){let e=t.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; ");a.set("Cookie",e)}return Array.from(a.entries()).map(([e,t])=>({name:e,value:t}))},v=(e,t,a)=>{let r=e[t];void 0===r?e[t]=a:Array.isArray(r)?r.push(a):e[t]=[r,a]};function y(e=[]){return e.reduce((e,{name:t,value:a})=>(v(e,t,a),e),{})}let b=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"');class O{name;constructor(e){this.name=e}toString(){return`:${this.name}`}}class k{path;constructor(e){this.path=e}toString(){return`(clojure.java.io/file "${b(this.path)}")`}}let x=e=>"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof O)&&!(e instanceof k)&&0===Object.keys(e).length,w=(e,t)=>t.replace(/\n/g,`
54${" ".repeat(e)}`),S=e=>{if(null==e)return"nil";if(e instanceof O||e instanceof k)return e.toString();if("string"==typeof e)return`"${b(e)}"`;if(Array.isArray(e)){let t=e.reduce((e,t)=>
54`${e} ${S(t)}`,"").trim();return`[${w(1,t)}]`}if("object"==typeof e){let t=Object.keys(e).reduce((t,a)=>{let r=w(a.length+2,S(e[a]));return`${t}:${a} ${r}
55 `},"").trim();return`{${w(1,t)}}`}return String(e)},C=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),$=(e,t)=>{let a=C(e,t);a&&delete e[a]},A=["get","post","put","delete","patch","head","options"];var R=a(5342);function E(e){let t=3;for(;e.includes('"'.repeat(t));)t++;let a='"'.repeat(t);return`${a}
56${e}
57${a}`}function P(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}var T=a(26388);let _=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t");function j(e){return null==e?"":e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}class Q{postProcessors;code;indentationCharacter;lineJoin;indentLine;unshift;push;blank;join;addPostProcessor;constructor({indent:e,join:t}={}){this.postProcessors=[],this.code=[],this.indentationCharacter="",this.lineJoin="\n",this.indentLine=(e,t=0)=>{let a=this.indentationCharacter.repeat(t);return`${a}${e}`},this.unshift=(e,t)=>{let a=this.indentLine(e,t);
57this.code.unshift(a)},this.push=(e,t)=>{let a=this.indentLine(e,t);this.code.push(a)},this.blank=()=>{this.code.push("")},this.join=()=>{let e=this.code.join(this.lineJoin);return this.postProcessors.reduce((e,t)=>t(e),e)},this.addPostProcessor=e=>{this.postProcessors=[...this.postProcessors,e]},this.indentationCharacter=e||"",this.lineJoin=null!=t?t:"\n"}}function L(e,t={}){let{delimiter:a='"',escapeChar:r="\\",escapeNewlines:n=!0}=t;return[...e.toString()].map(e=>"\b"===e?`${r}b`:"	"===e?`${r}t`:"\n"===e?n?`${r}n`:e:"\f"===e?`${r}f`:"\r"===e?n?`${r}r`:e:e===r?r+r:e===a?r+a:e<" "||e>"~"?JSON.stringify(e).slice(1,-1):e).join("")}let M=e=>L(e,{delimiter:'"'}),Z={info:{key:"asynchttp",title:"AsyncHttp",link:"https://github.com/AsyncHttpClient/async-http-client",description:"Asynchronous Http and WebSocket Client library for Java"},convert:({method:e,allHeaders:t,postData:a,fullUrl:r},n)=>{let{blank:o,push:l,join:s}=new Q({indent:{indent:"  ",...n}.indent});return l("AsyncHttpClient client = new DefaultAsyncHttpClient();"),l(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach(e=>{l(`.setHeader("${e}", "${M(t[e])}")`,1)}),(null==a?void 0:a.text)&&l(`.setBody(${JSON.stringify(a.text)})`,1),l(".execute()",1),l(".toCompletableFuture()",1),l(".thenAccept(System.out::println)",1),l(".join();",1),o(),l("client.close();"),s()}};function U(e,t){let a=new URL(t?.url??""),r="/"===a.pathname?a.origin:a.toString(),n={method:t?.method??"GET",url:r,httpVersion:"HTTP/1.1",cookies:[],headers:t?.headers??[],headersSize:-1,bodySize:-1,queryString:Array.from(a.searchParams.entries()).map(([e,t])=>({name:e,value:t})),postData:t?.postData},o=(n?.headers??[]).reduce((e,t)=>({...e,[t.name]:t.value}),{}),l=y(n.queryString),s=(n.cookies??[]).reduce((e,t)=>({...e,[t.name]:t.value}),{}),i=new URL(n.url),c={protocol:i.protocol,hostname:i.hostname,host:i.hostname,port:i.port,pathname:i.pathname.split("/").map(e=>encodeURIComponent(decodeURIComponent(e))).join("/")+i.search,path:i.pathname.split("/").map(e=>encodeURIComponent(decodeURIComponent(e))).join("/")+i.search,search:i.search,hash:i.hash,href:i.href,origin:i.origin,password:i.password,searchParams:i.searchParams,username:i.username,toString:i.toString,toJSON:()=>i.toJSON()},u={url:n.url,uriObj:c,method:n.method?.toLocaleUpperCase()??"GET",httpVersion:n.httpVersion,cookies:n.cookies??[],headers:n.headers??[],headersSize:n.headersSize??0,headersObj:o??{},bodySize:n.bodySize??0,queryString:n.queryString??[],postData:n.postData?{mimeType:n.postData.mimeType??"application/json",text:n.postData.text??"",params:n.postData.params??[],paramsObj:n.postData.params?.reduce((e,t)=>(t.name&&void 0!==t.value&&(e[t.name]=t.value),e),{})??{}}:void 0,allHeaders:o??{},fullUrl:n.url,queryObj:l??{},cookiesObj:s??{}};if(u.postData?.mimeType==="application/json"&&u.postData.text)try{u.postData.jsonObj=JSON.parse(u.postData.text)}catch(e){console.error("Error parsing JSON:",e)}return"function"==typeof e.convert?e.convert(u):""}let X={info:{key:"nethttp",title:"java.net.http",link:"https://openjdk.java.net/groups/net/httpclient/intro.html",description:"Java Standardized HTTP Client API"},convert:({allHeaders:e,fullUrl:t,method:a,postData:r},n)=>{let{push:o,join:l}=new Q({indent:{indent:"  ",...n}.indent});return o("HttpRequest request = HttpRequest.newBuilder()"),o(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach(t=>{o(`.header("${t}", "${M(e[t])}")`,2)}),(null==r?void 0:r.text)?o(`.method("${a.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`,2):o(`.method("${a.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),o(".build();",2),o("HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyH
57andlers.ofString());"),o("System.out.println(response.body());"),l()}},I={info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,method:t,fullUrl:a,allHeaders:r},n)=>{let{push:o,blank:l,join:s}=new Q({indent:{indent:"  ",...n}.indent});return o("OkHttpClient client = new OkHttpClient();"),l(),null!=e&&("application/x-www-form-urlencoded"===e.mimeType&&e.params?(o("FormBody formBody = new FormBody.Builder()"),e.params.forEach(e=>{o(`.addEncoded("${e.name}", "${e.value}")`,1)}),o(".build();",1),l()):"multipart/form-data"===e.mimeType&&e.params?(o("MultipartBody body = new MultipartBody.Builder()"),o(".setType(MultipartBody.FORM)",1),e.params.forEach(e=>{void 0!==e.fileName?o(`.addFormDataPart("${e.name}", "${e.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), new File("${e.fileName}")))`,1):void 0!==e.value&&o(`.addFormDataPart("${e.name}", "${e.value}")`,1)}),o(".build();",1),l()):(o(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),o(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`))),o("Request request = new Request.Builder()"),o(`.url("${a}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(t.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(t.toUpperCase())?(null==e?void 0:e.text||e.params)?o(`.${t.toLowerCase()}(body)`,1):o(`.${t.toLowerCase()}(null)`,1):o(`.${t.toLowerCase()}()`,1):(null==e?void 0:e.text)?o(`.method("${t.toUpperCase()}", body)`,1):o(`.method("${t.toUpperCase()}", null)`,1),Object.keys(r).forEach(e=>{o(`.addHeader("${e}", "${M(r[e])}")`,1)}),o(".build();",1),l(),o("Response response = client.newCall(request).execute();"),s()}},B={info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,allHeaders:t,postData:a,fullUrl:r},n)=>{let{join:o,push:l}=new Q({indent:{indent:"  ",...n}.indent});return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?l(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${r}")`):l(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),Object.keys(t).forEach(e=>{l(`.header("${e}", "${M(t[e])}")`,1)}),(null==a?void 0:a.text)&&l(`.body(${JSON.stringify(a.text)})`,1),l(".asString();",1),o()}};class q{value;constructor(e){this.value=e}}function W(e,t=0){let a=[],r=" ".repeat(t),n=" ".repeat(t+2);if(0===Object.keys(e).length)return"{}";for(let[r,o]of Object.entries(e)){let e=/^[$A-Z_][0-9A-Z_$]*$/i.test(r)?r:`'${r.replaceAll("\\","\\\\").replaceAll("\n","\\n").replaceAll("\r","\\r").replaceAll("'","\\'")}'`;if(o instanceof q){let t=o.value.split("\n"),r=`${o.value}`;t.length>1&&(r=t.map((e,t)=>0===t?e:`${n}${e}`).join("\n")),a.push(`${n}${e}: ${r}`)}else if(Array.isArray(o)){let r=o.map(e=>"string"==typeof e?`'${e}'`:e&&"object"==typeof e?W(e):JSON.stringify(e));if(r.some(e=>e.includes("\n"))){let o=r.map(e=>(function(e,t){let a=" ".repeat(t);return e.split("\n").map(e=>`${a}${e}`).join("\n")})(e,t+4)).join(",\n");a.push(`${n}${e}: [
58${o}
59${n}]`)}else a.push(`${n}${e}: [${r.join(", ")}]`)}else if(o&&"object"==typeof o)a.push(`${n}${e}: ${W(o,t+2)}`);else if("string"==typeof o){let t=`'${o}'`;a.push(`${n}${e}: ${t}`)}else a.push(`${n}${e}: ${o}`)}return`{
60${a.join(",\n")}
61${r}}`}let D=e=>e.replaceAll("\\","\\\\").replaceAll("\n","\\n").replaceAll("\r","\\r").replaceAll("'","\\'"),N=e=>"string"==typeof e?D(e):Array.isArray(e)?e.map(e=>N(e)):!e||"object"!=typeof e||e instanceof q?e:Object.entries(e).reduce((e,[t,a])=>(e[t]=N(a),e),{}),V=(e,t,a)=>{if(""===a){e[t]=a;return}v(e,t,a)},F=e=>({target:e,client:"axios",title:"Axios",generate(e,t){let a,r={method:"GET",...e};r.method=r.method.toUpperCase();let n={method:r.method,url:D(r.url??"")},o=y(r.queryString);Object.keys(o).length&&(n.params=N(o));let l=(a={},r?.headers?.forEach(e=>{V(a,e.name,e.value)}),r?.cookies?.length&&V(a,"Cookie",r.cookies.map(e=>`${e.name}=${e.value}`).join("; ")),Object.keys(a).length?a:void 0);l&&(n.headers=N(l)),t?.auth?.username&&t?.auth?.password&&(n.auth={username:D(t.auth.username),password:D(t.auth.password)});let{setup:s,data:i}=(e=>{let t=[],a=e?.postData;if(!a)return{setup:t};if("application/json"===a.mimeType){if(!a.text)return{setup:t};try{return{setup:t,data:JSON.parse(a.text)}}catch{return{setup:t,data:a.text}}}return"application/x-www-form-urlencoded"===a.mimeType&&a.params?.length?(t.push("const encodedParams = new URLSearchParams()"),a.params.forEac
61h(e=>{let a=D(e.name),r=D(e.value??"");t.push(`encodedParams.append('${a}', '${r}')`)}),{setup:t,data:new q("encodedParams")}):"multipart/form-data"===a.mimeType&&a.params?.length?(t.push("const formData = new FormData()"),a.params.forEach(e=>{let a=D(e.name);if(void 0!==e.fileName){let r=D(e.fileName),n=e.contentType?`, { type: '${D(e.contentType)}' }`:"";t.push(`formData.append('${a}', new Blob([]${n}), '${r}')`);return}if(e.contentType){let r=D(e.contentType),n=D(e.value??"");t.push(`formData.append('${a}', new Blob(['${n}'], { type: '${r}' }))`);return}let r=D(e.value??"");t.push(`formData.append('${a}', '${r}')`)}),{setup:t,data:new q("formData")}):a.text?{setup:t,data:a.text}:{setup:t}})(r);void 0!==i&&(n.data=i instanceof q?i:N(i));let c=s.length?`${s.join("\n")}
62
63`:"";return`import axios from 'axios'
64
65${c}const options = ${W(n)}
66
67try {
68  const { data } = await axios.request(options)
69  console.log(data)
70} catch (error) {
71  console.error(error)
72}`}}),z=F("js"),{toString:H}=Object.prototype,{propertyIsEnumerable:Y}=Object.prototype,G=["await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","export","extends","false","finally","for","function","if","import","in","instanceof","new","null","return","super","switch","this","throw","true","try","typeof","var","void","while","with","yield","implements","interface","let","package","private","protected","public","static","arguments","eval"],K=["globalThis","Infinity","NaN","undefined"],J=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*/u,ee=`(?!(?:${[...function({includeGlobalProperties:e=!1}={}){return new Set([...G,...e?K:[]])}({includeGlobalProperties:!0})].join("|")})(?![$_\\p{ID_Continue}]))`,et=new Map,ea="u">typeof Worker?Worker:void 0;class er extends Error{constructor(e){super(e),this.name="TimeoutError"}}class en extends Error{constructor(e){super(),this.name="AbortError",this.message=e}}let eo=e=>void 0===globalThis.DOMException?new en(e):new DOMException(e),el=e=>{let t=void 0===e.reason?eo("This operation was aborted."):e.reason;return t instanceof Error?t:eo(t)};function es(e,t,a){"function"==typeof a&&(a={filter:a});let r=function(e,t,a){let r,n=new Promise((n,o)=>{if(!((a={rejectionEvents:["error"],multiArgs:!1,resolveImmediately:!1,...a}).count>=0&&(a.count===1/0||Number.isInteger(a.count))))throw TypeError("The `count` option should be at least 0 or more");a.signal?.throwIfAborted();let l=[t].flat(),s=[],{addListener:i,removeListener:c}=(e=>{let t=e.addEventListener||e.on||e.addListener,a=e.removeEventListener||e.off||e.removeListener;if(!t||!a)throw TypeError("Emitter is not compatible");return{addListener:t.bind(e),removeListener:a.bind(e)}})(e),u=(...e)=>{let t=a.multiArgs?e:e[0];(!a.filter||a.filter(t))&&(s.push(t),a.count===s.length&&(r(),n(s)))},d=e=>{r(),o(e)};for(let e of(r=()=>{for(let e of l)c(e,u);for(let e of a.rejectionEvents)c(e,d)},l))i(e,u);for(let e of a.rejectionEvents)i(e,d);a.signal&&a.signal.addEventListener("abort",()=>{d(a.signal.reason)},{once:!0}),a.resolveImmediately&&n(s)});if(n.cancel=r,"number"==typeof a.timeout){let e=function(e,t){let a,r,{milliseconds:n,fallback:o,message:l,customTimers:s={setTimeout,clearTimeout}}=t,i=new Promise((i,c)=>{if("number"!=typeof n||1!==Math.sign(n))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&c(el(e)),r=()=>{c(el(e))},e.addEventListener("abort",r,{once:!0})}if(n===1/0)return void e.then(i,c);let u=new er;a=s.setTimeout.call(void 0,()=>{if(o){try{i(o())}catch(e){c(e)}return}"function"==typeof e.cancel&&e.cancel(),!1===l?i():l instanceof Error?c(l):(u.message=l??`Promise timed out after ${n} milliseconds`,c(u))},n),(async()=>{try{i(await e)}catch(e){c(e)}})()}).finally(()=>{i.clear(),r&&t.signal&&t.signal.removeEventListener("abort",r)});return i.clear=()=>{s.clearTimeout.call(void 0,a),a=void 0},i}(n,{milliseconds:a.timeout});return e.cancel=r,e}return n}(e,t,a={...a,count:1,resolveImmediately:!1}),n=r.then(e=>e[0]);return n.cancel=r.cancel,n}
72let ei=!!globalThis.process?.versions?.node;function ec(e){let t,a;if(ei){let t;a=new ea((t=globalThis.Buffer.from(e).toString("base64"),`data:text/javascript;base64,${t}`),{type:"module"})}else a=new ea(t=URL.createObjectURL(new globalThis.Blob([e],{type:"text/javascript"})),{type:"module"});return{worker:a,cleanup:()=>{t&&URL.revokeObjectURL(t),a?.terminate()}}}function eu(e){let t=`
73	globalThis.onmessage = async ({data: arguments_}) => {
74		try {
75			const output = await (${e.toString()})(...arguments_);
76			globalThis.postMessage({output});
77		} catch (error) {
78			globalThis.postMessage({error});
79		}
80	};
81	`;async function a({worker:e,arguments_:t}){let r=es(e,"message",{rejectionEvents:["error","messageerror"]});e.postMessage(t);let{data:{output:n,error:o}}=await r;if(o)throw o;return n}let r=async(...e)=>{let{worker:r,cleanup:n}=ec(t);try{return await a({arguments_:e,worker:r})}finally{n()}};return r.withSignal=e=>async(...r)=>{e.throwIfAborted();let{worker:n,cleanup:o}=ec(t),l=es(e,[],{rejectionEvents:["abort"]});try{return await Promise.race([a({arguments_:r,worker:n}),l])}catch(t){throw e.throwIfAborted(),t}finally{l.cancel(),o()}},r}eu((e,t,a)=>new RegExp(e,t).test(a)),eu((e,t,a)=>{let r=new RegExp(e,t).exec(a);if(null!==r)return{match:r[0],index:r.index,groups:r.slice(1),namedGroups:r.groups??{},input:r.input}}),r=function*(e,t,a){let r=new RegExp(e,t);for(let e of a.matchAll(r))yield{match:e[0],index:e.index,groups:e.slice(1),namedGroups:e.groups??{},input:e.input}},n=`
82	const nothing = Symbol('nothing');
83	let iterator = nothing;
84
85	globalThis.onmessage = async ({data: arguments_}) => {
86		try {
87			if (iterator === nothing) {
88				iterator = await (${r.toString()})(...arguments_);
89			}
90
91			const output = await iterator.next();
92			globalThis.postMessage({output});
93		} catch (error) {
94			globalThis.postMessage({error});
95		}
96	};
97	`,e=>(...t)=>({async *[Symbol.asyncIterator](){e.throwIfAborted();let{worker:a,cleanup:r}=ec(n),o=es(e,[],{rejectionEvents:["abort"]});try{let e=!0;for(;;){let r=Promise.race([es(a,"message",{rejectionEvents:["error","messageerror"]}),o]);a.postMessage(e?t:void 0),e=!1;let{data:{output:n,error:l}}=await r;if(l)throw l;let{value:s,done:i}=n;if(i)break;yield s}}catch(t){throw e.throwIfAborted(),t}finally{o.cancel(),r()}}});let ed={"\n":String.raw`\n`,"\r":String.raw`\r`,"	":String.raw`\t`,"\b":String.raw`\b`,"\f":String.raw`\f`,"\v":String.raw`\v`,"\0":String.raw`\0`};function ep(e,t,a){let r=[];return function e(t,a={},n=""){let o,l,s=a.indent||"	";o=void 0===a.inlineCharacterLimit?{newline:"\n",newlineOrSpace:"\n",pad:n,indent:n+s}:{newline:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newlineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};let i=e=>{if(void 0===a.inlineCharacterLimit)return e;let t=e.replaceAll(o.newline,"").replaceAll(o.newlineOrSpace," ").replaceAll(o.pad,"").replaceAll(o.indent,"");return t.length<=a.inlineCharacterLimit?t:e.replaceAll(o.newline,"\n").replaceAll(o.newlineOrSpace,"\n").replaceAll(o.pad,n).replaceAll(o.indent,n+s)};if(r.includes(t))return'"[Circular]"';let c=typeof t;if(null==t||"number"===c||"boolean"===c||"function"===c||"[object RegExp]"===H.call(t))return String(t);if("bigint"===c)return String(t)+"n";if("symbol"===c){let{description:r}=t;if(void 0===r)return"Symbol()";if(r?.startsWith("Symbol.")&&Symbol[r.slice(7)]===t)return r;let n=Symbol.keyFor(t);return void 0!==n?`Symbol.for(${e(n,a)})`:`Symbol(${e(r,a)})`}if(t instanceof Date)return Number.isNaN(t.getTime())?"new Date('Invalid Date')":`new Date('${t.toISOString()}')`;if(t instanceof Map||t instanceof Set){let l=t instanceof Map,c=l?"Map":"Set";if(0===t.size)return`new ${c}()`;r.push(t);let u=[...t].map(t=>{if(l){let[r,l]=t;return o.indent+`[${e(r,a,n+s)}, ${e(l,a,n+s)}]`}return o.indent+e(t,a,n+s)}).join(","+o.newlineOrSpace);return r.pop(),i(`new ${c}([${o.newline}${u}${o.newline}${o.pad}])`)}if(Array.isArray(t)){if(0===t.length)return"[]";r.push(t);let l=t.map((r,l)=>{let i=e(r,a,n+s);return a.transform&&(i=a.transform(t,l,i)),o.indent+i}).join(","+o.newlineOrSpace);return r.pop(),i(`[${o.newline}${l}${o.newline}${o.pad}]`)}if(l=typeof t,null!==t&&("object"===l||"function"===l)){let l=[...Object.keys(t),...Object.getOwnPropertySymbols(t).filter(e=>Y.call(t,e))];if(a.filter&&(l=l.filter(e=>a.filter(t,e))),0===l.length)return"{}";r.push(t);let c=l.map(r=>{let l;l="symbol"==typeof r?`[${e(r,a)}]`:!function(e,{checkReserved:t=!0}={}){if("string"!=typeof e)throw TypeError(`Expected a string, got \`${typeof e}\`.`);return!(e.length>1e5)&&function(e,t,{timeout:a,throwOnTimeout:r}={}){try{var n;let r;return(n=()=>structuredClone(e).test(t),(e=>{if(void 0===e||Number.isNaN(e))return;let t=Math.max(1,Math.trunc(Math.abs(e)));if(Number.isFinite(t))return})(a),r=(...e)=>n(...e),Object.defineProperty(r,"name",{value:`functionTimeout(${n.name||"<anonymous>"})`,configurable:!0}),r)()}catch(e){throw e}}(function({exact:e=!0,checkReserved:t=!0}={}){let a=`${e}${t}`,r=et.get(a);if(!r){let n=`(?<![@#$_\\p{ID_Continue}\\p{ID_Start}])${t?ee:""}${J.source}`;r=RegExp(e?`^${n}$`:n,"u"),et.set(a,r)}return r}({checkReserved:t}),e,{timeout:1e3})}(r)?e(r,a):r;let i=e(t[r],a,n+s);return a.transform&&(i=a.transform(t,r,i)),o.indent+l+": "+i}).join(","+o.newlineOrSpace);return r.pop(),i(`{${o.newline}${c}${o.newline}${o.pad}}`)}let u=String(t).replaceAll("\\","\\\\").replaceAll(/[\u0000-\u001F\u007F]/g,e=>ed[e]??`\\u${e.codePointAt(0).toString(16).padStart(4,"0")}`);return!1===a.singleQuotes?`"${u.replaceAll('"',String.raw`\"`)}"`:`'${u.replaceAll("'",String.raw`\'`)}'`}(e,t,a)}let em=(e,t)=>
97Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),eh=(e,t)=>{let a=em(e,t);if(a)return e[a]},ef={info:{key:"jquery",title:"jQuery",link:"http://api.jquery.com/jquery.ajax/",description:"Perform an asynchronous HTTP (Ajax) requests with jQuery"},convert:({fullUrl:e,method:t,allHeaders:a,postData:r},n)=>{let o,l={indent:"  ",...n},{blank:s,push:i,join:c}=new Q({indent:l.indent}),u={async:!0,crossDomain:!0,url:e,method:t,headers:a};switch(null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":u.data=r?.paramsObj?r.paramsObj:r.text;break;case"application/json":u.processData=!1,u.data=r.text;break;case"multipart/form-data":if(!r?.params)break;if(i("const form = new FormData();"),r.params.forEach(e=>{i(`form.append('${e.name}', '${e.value||e.fileName||""}');`)}),u.processData=!1,u.contentType=!1,u.mimeType="multipart/form-data",u.data="[form]",em(a,"content-type")&&(null==(o=eh(a,"content-type"))?void 0:o.includes("boundary"))){let e=em(a,"content-type");e&&delete u.headers[e]}s();break;default:(null==r?void 0:r.text)&&(u.data=r.text)}let d=ep(u,{indent:l.indent}).replace("'[form]'","form");return i(`const settings = ${d};`),s(),i("$.ajax(settings).done(function (response) {"),i("console.log(response);",1),i("});"),c()}},eg={info:{key:"xhr",title:"XMLHttpRequest",link:"https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest",description:"W3C Standard API that provides scripted client functionality"},convert:({postData:e,allHeaders:t,method:a,fullUrl:r},n)=>
97{let o,l={indent:"  ",cors:!0,...n},{blank:s,push:i,join:c}=new Q({indent:l.indent});switch(null==e?void 0:e.mimeType){case"application/json":i(`const data = JSON.stringify(${ep(e?.jsonObj,{indent:l.indent})});`),s();break;case"multipart/form-data":if(!e?.params)break;if(i("const data = new FormData();"),e.params.forEach(e=>{i(`data.append('${e.name}', '${e.value||e.fileName||""}');`)}),em(t,"content-type")&&(null==(o=eh(t,"content-type"))?void 0:o.includes("boundary"))){let e=em(t,"content-type");e&&delete t[e]}s();break;default:i(`const data = ${(null==e?void 0:e.text)?`'${e.text}'`:"null"};`),s()}return i("const xhr = new XMLHttpRequest();"),l.cors&&i("xhr.withCredentials = true;"),s(),i("xhr.addEventListener('readystatechange', function () {"),i("if (this.readyState === this.DONE) {",1),i("console.log(this.responseText);",2),i("}",1),i("});"),s(),i(`xhr.open('${a}', '${r}');`),Object.keys(t).forEach(e=>{i(`xhr.setRequestHeader('${e}', '${L(t[e],{delimiter:"'"})}');`)}),s(),i("xhr.send(data);"),c()}},ev=e=>`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\$/g,"\\$").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}"`,ey=(e,t)=>`${" ".repeat(4*e)}${t}`,eb=(e,t,a,r)=>{if(0===e.length)return`${t}${a}`;let[n]=e;if(1===e.length&&n&&!n.includes("\n"))return`${t}${n}${a}`;let o=e.map(e=>ey(r+1,e)).join(",\n");return`${t}
98${o}
99${ey(r,a)}`},eO=(e,t)=>eb(e.map(({name:e,value:t})=>`${ev(e)} => ${ev(t)}`),"[","]",t),ek=(e,t)=>eb(e.map(({name:e,value:t})=>`${ev(e)} => ${ev(t)}`),"Dict(",")",t),ex=(e,t)=>null==e?"nothing":"boolean"==typeof e?e?"true":"false":"number"==typeof e?Number.isFinite(e)?String(e):"nothing":"string"==typeof e?ev(e):Array.isArray(e)?eb(e.map(e=>ex(e,t+1)),"[","]",t):"object"==typeof e?eb(Object.entries(e).map(([e,a])=>`${ev(e)} => ${ex(a,t+1)}`),"Dict(",")",t):ev(String(e)),ew=["POST","PUT","PATCH","DELETE","QUERY"],eS=["GET","HEAD","OPTIONS"],eC=e=>{let t=ev(e.name);if(void 0===e.fileName)return`${t} => ${ev(e.value??"")}`;let a=ev(e.fileName),r=[a,`open(${a})`];return e.contentType&&r.push(ev(e.contentType)),`${t} => HTTP.Multipart(${r.join(", ")})`},e$=["GET","POST","PUT","DELETE","PATCH","HEAD"],eA=["POST","PUT","DELETE","PATCH"],eR=e=>`"${M(e)}"`,eE=F("node"),eP=e=>{let t=e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t");return`@"${t}"`},eT=(e,t)=>{let a=void 0===t?", ":`,
100   ${" ".repeat(t)}`;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`;case"[object Array]":{let t=e.map(e=>eT(e));return`@[ ${t.join(a)} ]`}case"[object Object]":{let t=Object.entries(e).map(([e,t])=>`@"${e}": ${eT(t)}`);return`@{ ${t.join(a)} }`}case"[object Boolean]":return e?"@YES":"@NO";default:if(null==e)return"[NSNull null]";return eP(e.toString())}},e_=(e,t,a)=>{let r=`${e} *${t} = `;return`${r}${eT(a,r.length)};`},ej={info:{key:"cohttp",title:"CoHTTP",link:"https://github.com/mirage/ocaml-cohttp",description:"Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml"},convert:({fullUrl:e,allHeaders:t,postData:a,method:r},n)=>{let{push:o,blank:l,join:s}=new Q({indent:{indent:"  ",...n}.indent});o("open Cohttp_lwt_unix"),o("open Cohttp"),o("open Lwt"),l(),o(`let uri = Uri.of_string "${e}" in`);let i=Object.keys(t);1===i.length?o(`let headers = Header.add (Header.init ()) "${i[0]}" "${M(t[i[0]])}" in`):i.length>1&&(o("let headers = Header.add_list (Header.init ()) ["),i.forEach(e=>{o(`("${e}", "${M(t[e])}");`,1)}),o("] in")),(null==a?void 0:a.text)&&o(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(a.text)} in`),l();let c=i.length?"~headers ":"",u=(null==a?void 0:a.text)?"~body ":"",d=["get","post","head","delete","patch","put","options"].includes(r.toLowerCase())?`\`${r.toUpperCase()}`:`(Code.method_of_string "${r}")`;return o(`Client.call ${c}${u}${d} uri`),o(">>= fun (res, body_stream) ->"),o("(* Do stuff with the result *)",1),s()}};function eQ(e){return" ".repeat(2*e)}class eL{value;constructor(e){this.value=e}}function eM(e,t=0){if(null==e)return"null";if(e instanceof eL){let a=e.value.split("\n");if(a.length>1){let e=eQ(t+1);return a.map((t,a)=>0===a?t:`${e}${t}`).join("\n")}return e.value}if("string"==typeof e)return`'${e.replace(/\\/g,"\\\\").replace(/'/g,"\\'")}'`;if("number"==typeof e||"boolean"==typeof e)return String(e);if(Array.isArray(e)){if(0===e.length)return"[]";let a=e.map(e=>eM(e,t+1)).join(",\n"+eQ(t+1));return`[
101${eQ(t+1)}${a}
102${eQ(t)}]`}if("object"==typeof e){let a=Object.entries(e);if(0===a.length)return"[]";let r=a.map(([e,a])=>`'${e}' => ${eM(a,t+1)}`).join(",\n"+eQ(t+1));return`[
103${eQ(t+1)}${r}
104${eQ(t)}]`}return"null"}let eZ=e=>e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"),eU=e=>`'${eZ(e)}'`,eX=e=>Array.isArray(e)?e.map(e=>
104eX(e)):e&&"object"==typeof e?Object.entries(e).reduce((e,[t,a])=>(e[eZ(t)]=eX(a),e),{}):e,eI=e=>({method:t,headersObj:a,cookies:r,uriObj:n,fullUrl:o,postData:l,allHeaders:s})=>{let{push:i,join:c}=new Q;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";let u=[],d=Object.keys(a);return d.length&&(i("$headers=@{}"),d.forEach(e=>{"connection"!==e&&i(`$headers.Add("${e}", "${L(a[e],{escapeChar:"`"})}")`)}),u.push("-Headers $headers")),r.length&&(i("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),r.forEach(e=>{i("$cookie = New-Object System.Net.Cookie"),i(`$cookie.Name = '${e.name}'`),i(`$cookie.Value = '${e.value}'`),i(`$cookie.Domain = '${n.host}'`),i("$session.Cookies.Add($cookie)")}),u.push("-WebSession $session")),(null==l?void 0:l.text)&&(u.push(`-ContentType '${L(eh(s,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),u.push(`-Body '${l.text}'`)),i(`$response = ${e} -Uri '${o}' -Method ${t} ${u.join(" ")}`),c()},eB={info:{key:"restmethod",title:"Invoke-RestMethod",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",description:"Powershell Invoke-RestMethod client"},convert:eI("Invoke-RestMethod")},eq={info:{key:"webrequest",title:"Invoke-WebRequest",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",description:"Powershell Invoke-WebRequest client"},convert:eI("Invoke-WebRequest")};function eW(e){let t=e;for(let[e,a]of[["true","True"],["false","False"],["null","None"]])for(let r of[`(: )${e}(?=,|\\n)`,`^( +)${e}(?=,|\\n)`])t=t.replace(RegExp(r,"gm"),`$1${a}`);return t}function eD(e,t=4){return eW(JSON.stringify(e,null,2).split("\n").map((e,a)=>0===a?e:" ".repeat(t)+e).join("\n"))}function eN(e,t,a){let r={url:"https://example.com",method:"get",...t},n=r.method.toLowerCase(),o={};if(r.headers?.length&&(o.headers=r.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})),r.queryString?.length&&(o.params=y(r.queryString)),r.cookies?.length&&(o.cookies=Object.fromEntries(r.cookies.map(e=>[e.name,e.value]))),a?.auth?.username&&a?.auth?.password&&(o.auth=[a.auth.username,a.auth.password]),r.postData){let{mimeType:e,text:t,params:a}=r.postData;if("application/json"===e&&t)try{o.json=JSON.parse(t)}catch{o.data=t}else if("application/octet-stream"===e&&t)o.data=t;else if("multipart/form-data"===e&&a){let e=[],t={};a.forEach(a=>{if(void 0!==a.fileName){let t=JSON.stringify(a.name),r=JSON.stringify(a.fileName),n=`open(${r}, "rb")`;if(a.contentType){let o=JSON.stringify(a.contentType);e.push(`(${t}, (${r}, ${n}, ${o}))`)}else e.push(`(${t}, ${n})`)}else if(void 0!==a.value)if(a.contentType){let t=JSON.stringify(a.name),r=JSON.stringify(a.value),n=JSON.stringify(a.contentType);e.push(`(${t}, (None, ${r}, ${n}))`)}else v(t,a.name,a.value)}),e.length&&(o.files=e),Object.keys(t).length&&(o.data=t)}else if("application/x-www-form-urlencoded"===e&&a){let e={};a.forEach(t=>{v(e,t.name,t.value??"")}),o.data=e}}let l=[],s=`"${r.url}"`;for(let[e,t]of(r.url.length>40?l.push(s):l.push(""),Object.entries(o)))if("auth"===e)l.push(`${e}=(${eW(JSON.stringify(t[0]))}, ${eW(JSON.stringify(t[1]))})`);else if("files"===e){let a="[\n"+t.map(e=>`      ${e}`).join(",\n")+"\n    ]";l.push(`${e}=${a}`)}else if("json"===e){let a=eD(t);l.push(`${e}=${a}`)}else if("data"===e&&r.postData?.mimeType==="application/octet-stream")l.push(`${e}=b"${t}"`);else{let a=eD(t);l.push(`${e}=${a}`)}return r.url.length>40?`${e}.${n}(
105    ${l.join(",\n    ")}
106)`:l.length<=1?`${e}.${n}(${s})`:`${e}.${n}(${s}${l.length>1?",":""}
107    ${l.slice(1).join(",\n    ")}
108)`}var eV=a(64254).hp;let eF=(e,t)=>{if(null==e)return"NULL";if("boolean"==typeof e)return e?"TRUE":"FALSE";if("number"==typeof e)return String(e);if("string"==typeof e)return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`;if(Array.isArray(e)){if(0===e.length)return"list()";let a=e.map(e=>`${t}  ${eF(e,t+"  ")}`).join(",\n");return`list(
109${a}
110${t})`}if("object"==typeof e){let a=Object.entries(e);if(0===a.length)return"list()";let r=a.map(([e,a])=>`${t}  ${e} = ${eF(a,t+"  ")}`).join(",\n");return`list(
111${r}
112${t})`}return String(e)},ez=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),eH=e=>e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"),eY=e=>encodeURIComponent(e).replace(/'/g,"%27"),eG=new Set(["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"]),eK=e=>e.charAt(0)+e.slice(1).toLowerCase();function eJ(e){return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\0/g,"\\0")}"`}function e0(e,t){let a=" ".repeat(4*e);return`${a}${t}`}function e1(e,...t){return e0(1,`.${e}(${t.join(", ")})`)}let e2=e=>{if(e.fileName){let t=[e0(2,`let part = reqwest::multipart::Part::text(${eJ(e.value||"")})`),e0(3,`.file_name(${eJ(e.fileName)})`)];return e.contentType?(t.push(e0(3,`.mime_str(${eJ(e.contentType)})`)),t.push(e0(3,".unwrap();"))):t[t.length-1]+=";",t.push(e0(2,`form = form.part(${eJ(e.name)}
112, part);`)),t.join("\n")}return e.contentType?[e0(2,`let part = reqwest::multipart::Part::text(${eJ(e.value||"")})`),e0(3,`.mime_str(${eJ(e.contentType)})`),e0(3,".unwrap();"),e0(2,`form = form.part(${eJ(e.name)}, part);`)].join("\n"):e0(2,`form = form.text(${eJ(e.name)}, ${eJ(e.value||"")});`)},e4=e=>{if(!e)return!1;let{subtype:t}=(0,T.E)(e);return"json"===t||t.endsWith("+json")},e8=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,e3={info:{key:"httpie",title:"HTTPie",link:"http://httpie.org/",description:"a CLI, cURL-like tool for humans"},convert:({allHeaders:e,postData:t,queryObj:a,fullUrl:r,method:n,url:o},l)=>{let s={body:!1,cert:!1,headers:!1,indent:"  ",pretty:!1,print:!1,queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...l},{push:i,join:c,unshift:u}=new Q({indent:s.indent,join:!1!==s.indent?` \\
113${s.indent}`:" "}),d=!1,p=[];s.headers&&p.push(s.short?"-h":"--headers"),s.body&&p.push(s.short?"-b":"--body"),s.verbose&&p.push(s.short?"-v":"--verbose"),s.print&&p.push(`${s.short?"-p":"--print"}=${s.print}`),s.verify&&p.push(`--verify=${s.verify}`),s.cert&&p.push(`--cert=${s.cert}`),s.pretty&&p.push(`--pretty=${s.pretty}`),s.style&&p.push(`--style=${s.style}`),s.timeout&&p.push(`--timeout=${s.timeout}`),s.queryParams&&Object.keys(a).forEach(e=>{let t=a[e];Array.isArray(t)?t.forEach(t=>{i(`${e}==${e8(t)}`)}):i(`${e}==${e8(t)}`)}),Object.keys(e).sort().forEach(t=>{i(`${t}:${e8(e[t])}`)}),(null==t?void 0:t.mimeType)==="application/x-www-form-urlencoded"?t.params?.length&&(p.push(s.short?"-f":"--form"),t.params.forEach(e=>{i(`${e.name}=${e8(e.value)}`)})):(null==t?void 0:t.mimeType)==="multipart/form-data"?t?.params?.length&&(p.push("--multipart"),t.params.forEach(e=>{e.fileName?i(`${e.name}@${e8(e.fileName)}`):i(`${e.name}='${e8(e.value)}'`)})):d=!0;let m=p.length?`${p.join(" ")} `:"";if(o=e8(s.queryParams?o:r),u(`http ${m}${n} ${o}`),d&&(null==t?void 0:t.text)){let e=e8(t.text);u(`echo ${e} | `)}return c()}},e6=e=>{if(!e)return!1;let{subtype:t}=(0,T.E)(e);return"json"===t||t.endsWith("+json")},e5=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},e7=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),e9=[{key:"c",title:"C",default:"libcurl",clients:[{target:"c",client:"libcurl",title:"Libcurl",generate(e,t){var a,r,n,o;let l;if(!e)return"";let s=(e.method||"GET").toUpperCase(),i=(a=(e=>{if(!e)return"";try{let t=new URL(e),a="/"!==t.pathname||e.endsWith("/")||e.includes("?")||e.includes("#")?t.pathname:"";return`${t.protocol}//${t.host}${a}${t.search}${t.hash}`}catch{return e}})(e.url??""),r=e.queryString,(l=r?.length?r.map(e=>`${e.name}=${e.value}`).join("&"):"")?a?`${a}${a.includes("?")?"&":"?"}${l}`:`?${l}`:a),p=!!e.headers?.length,m=!!e.cookies?.length,h=e.postData,f=h?.mimeType==="multipart/form-data"&&!!h.params?.length,g=e.headers??[],v=g.some(e=>"accept-encoding"===e.name.toLowerCase()&&/gzip|deflate/.test(e.value)),y=["#include <curl/curl.h>","","int main(void) {","  curl_global_init(CURL_GLOBAL_DEFAULT);","  CURL *curl = curl_easy_init();","  if (!curl) {","    curl_global_cleanup();","    return 1;","  }","",`  curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "${c(s)}");`,`  curl_easy_setopt(curl, CURLOPT_URL, "${c(i)}");`];if(t?.auth?.username&&t.auth.password&&y.push(`  curl_easy_setopt(curl, CURLOPT_USERPWD, "${c(`${t.auth.username}:${t.auth.password}`)}");`),p&&(y.push("","  struct curl_slist *headers = NULL;"),g.forEach(e=>{y.push(`  headers = curl_slist_append(headers, "${c(`${e.name}: ${e.value}`)}");`)}),y.push("  curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);")),m){let t=(n=e.cookies,n?.length?n.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; "):null);t&&y.push("",`  curl_easy_setopt(curl, CURLOPT_COOKIE, "${c(t)}");`)}if(v&&y.push("",'  curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING, "");'),h){if(f&&h.params)y.push("","  curl_mime *mime = curl_mime_init(curl);"),h.params.forEach(e=>{y.push("","  {","    curl_mimepart *part = curl_mime_addpart(mime);"),e.name&&y.push(`    curl_mime_name(part, "${c(e.name)}");`),void 0!==e.fileName?y.push(`    curl_mime_filedata(part, "${c(e.fileName)}");`):y.push(`    curl_mime_data(part, "${c(e.value??"")}", CURL_ZERO_TERMINATED);`),e.contentType&&y.push(`    curl_mime_type(part, "${c(e.contentType)}");`),y.push("  }")}),y.push("","  curl_easy_setopt(curl, CURLOPT_MIMEPOST, mime);");else if("application/x-www-form-urlencoded"===h.mimeType&&h.params?.length){let e=(o=h.params,o?.length?o.map(e=>new URLSearchParams([[e.name,e.value??""]]).toString()).join("&"):null);null!==e&&y.push("",`  curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${c(e)}");`)}else if("application/json"===h.mimeType&&void 0!==h.text)y.push("",...d(u(h.text)));
113else if(void 0!==h.text){let e="application/octet-stream"===h.mimeType?h.text:u(h.text);y.push("",...d(e))}}return y.push("","  CURLcode res = curl_easy_perform(curl);"),y.push("  curl_easy_cleanup(curl);"),f&&y.push("  curl_mime_free(mime);"),p&&y.push("  curl_slist_free_all(headers);"),y.push("  curl_global_cleanup();","","  return (int)res;","}"),y.join("\n")}}]},{key:"csharp",title:"C#",default:"restsharp",clients:[{target:"csharp",client:"httpclient",title:"HttpClient",generate(e,t){let a={method:"GET",url:"",...e};a.method=a.method.toUpperCase();let r=m(a.queryString),n=`${a.url}${r}`,o=[];o.push("using var client = new HttpClient();"),o.push("");let l=function(e){switch(e){case"GET":return"HttpMethod.Get";case"POST":return"HttpMethod.Post";case"PUT":return"HttpMethod.Put";case"DELETE":return"HttpMethod.Delete";case"PATCH":return"HttpMethod.Patch";case"HEAD":return"HttpMethod.Head";case"OPTIONS":return"HttpMethod.Options";default:return`new HttpMethod("${e}")`}}(a.method);return o.push(`var request = new HttpRequestMessage(${l}, "${n}");`),function(e,t,a){let r=t.headers||[],n=t.cookies||[],o=r.find(e=>"authorization"===e.name.toLowerCase());if(o){let[t,a]=o.value.split(" ",2);t&&a&&e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("${t}", "${a}");`)}else if(a?.auth?.username&&a?.auth?.password){let t=(0,R.lF)(`${a.auth.username}:${a.auth.password}`);e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("Basic", "${t}");`)}let l=new Map;for(let e of r){let t=e.name,a=e.value;"authorization"!==t.toLowerCase()&&l.set(t,a)}for(let[a,r]of l){var s;if("accept"===a.toLowerCase()&&(s=r,/^[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*\/[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*(\s*;\s*[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*=.*)?$/.test(s)))e.push(`request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("${r}"));`);else{if("content-type"===a.toLowerCase()&&t.postData)continue;e.push(`request.Headers.TryAddWithoutValidation("${a}", "${r}");`)}}if(n.length>0){let t=n.map(e=>`${e.name}=${e.value}`).join("; ");e.push(`request.Headers.TryAddWithoutValidation("Cookie", "${t}");`)}}(o,a,t),function(e,t){if(!t.postData)return;let{mimeType:a,text:r,params:n}=t.postData;if("application/json"===a&&r)try{let t=JSON.parse(r),a=JSON.stringify(t,null,2),n=E(a);e.push("request.Content = new StringContent("),e.push(`${n},`),e.push('System.Text.Encoding.UTF8, "application/json");')}catch{let t=E(r);e.push("request.Content = new StringContent("),e.push(`${t},`),e.push('System.Text.Encoding.UTF8, "application/json");')}else if("application/x-www-form-urlencoded"===a&&n){let t=n.map(e=>e.name);if(t.length!==new Set(t).size){for(let t of(e.push("var formParams = new List<KeyValuePair<string, string>>"),e.push("{"),n))e.push(`  new("${t.name}", "${t.value}"),`);e.push("};"),e.push("request.Content = new FormUrlEncodedContent(formParams);")}else{for(let t of(e.push("var formParams = new Dictionary<string, string>"),e.push("{"),n))e.push(`  ["${t.name}"] = "${t.value}",`);e.push("};"),e.push("request.Content = new FormUrlEncodedContent(formParams);")}}else if("multipart/form-data"===a&&n){e.push("var content = new MultipartFormDataContent();");let t=0;for(let a of n)if(void 0!==a.fileName)if(a.contentType){let r=`fileContent${t++}`;e.push(`var ${r} = new StreamContent(File.OpenRead("${P(a.fileName)}"));`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${a.contentType}");`),e.push(`content.Add(${r}, "${P(a.name)}", "${P(a.fileName)}");`)}else e.push(`content.Add(new StreamContent(File.OpenRead("${P(a.fileName)}")), "${P(a.name)}", "${P(a.fileName)}");`);else if(a.contentType){let r=`stringContent${t++}`;e.push(`var ${r} = new StringContent("${P(a.value??"")}");`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${a.contentType}");`),e.push(`content.Add(${r}, "${P(a.name)}");`)}else e.push(`content.Add(new StringContent("${P(a.value??"")}"), "${P(a.name)}");`);e.push("request.Content = content;")}else if("application/octet-stream"===a&&r)e.push('var content = new ByteArrayContent(System.Text.Encoding.UTF8.GetBytes("'+r.replace(/"/g,'\\"')+'"));'),e.push('content.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");'),e.push("request.Content = content;");else if(r){let t=E(r);e.push("request.Content = new StringContent("),e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "${a}");`)}}(o,a),o.push(""),o.push("using var response = await client.SendAsync(request);"),o.join("\n")}},{target:"csharp",client:"restsharp",title:"RestSharp",generate(e,t){var a;let r,n={method:"GET",url:"",...e};n.method=n.method.toUpperCase();let o=f(n.url,n.queryString),l="";try{l=new URL(o).host}catch{}let s=[];s.push(`var client = new RestClient("${_(o)}");`),s.push(`var request = new RestRequest("", ${(r=(a=n.method).charAt(0).toUpperCase()+a.slice(1).toLowerCase(),`Method.${r}`)});`);let{username:i,password:c}=t?.auth??{},u=!!(i&&c);if(u){let e=(0,R.lF)(`${i}:${c}`);s.push(`request.AddHeader("Authorization", "Basic ${e}");`)}
113if(n.headers?.forEach(e=>{u&&"authorization"===e.name.toLowerCase()||s.push(`request.AddHeader("${_(e.name)}", "${_(e.value)}");`)}),n.cookies?.forEach(e=>{s.push(`request.AddCookie("${_(e.name)}", "${_(e.value)}", "/", "${_(l)}");`)}),n.postData){let{mimeType:e,text:t,params:a}=n.postData,r=e?(0,T.E)(e).essence:void 0;if((e=>{if(!e)return!1;let{subtype:t}=(0,T.E)(e);return"json"===t||t.endsWith("+json")})(e)){if(t){let e=t;try{e=JSON.stringify(JSON.parse(t),null,2)}catch{}s.push(`request.AddStringBody(${(e=>{let t=3;for(;e.includes('"'.repeat(t));)t++;let a='"'.repeat(t);return`${a}
114${e}
115${a}`})(e)}, ContentType.Json);`)}}else"application/x-www-form-urlencoded"===r&&a?a.forEach(e=>{s.push(`request.AddParameter("${_(e.name)}", "${_(e.value??"")}");`)}):"multipart/form-data"===r&&a?a.forEach(e=>{void 0!==e.fileName?e.contentType?s.push(`request.AddFile("${_(e.name)}", "${_(e.fileName)}", "${_(e.contentType)}");`):s.push(`request.AddFile("${_(e.name)}", "${_(e.fileName)}");`):s.push(`request.AddParameter("${_(e.name)}", "${_(e.value??"")}");`)}):"application/octet-stream"===r&&t?s.push(`request.AddParameter("application/octet-stream", "${_(t)}", ParameterType.RequestBody);`):t&&s.push(`request.AddParameter("${_(e??"")}", "${_(t)}", ParameterType.RequestBody);`)}return s.push("var response = await client.ExecuteAsync(request);"),s.join("\n")}}]},{key:"clojure",title:"Clojure",default:"clj_http",clients:[{target:"clojure",client:"clj_http",title:"clj-http",generate(e,t){let a=(e?.method||"GET").toUpperCase().toLowerCase();if(!A.includes(a))return"Method not supported";let r=new URL(e?.url??""),n="/"===r.pathname?r.origin:r.toString(),o=y([...Array.from(r.searchParams.entries()).map(([e,t])=>({name:e,value:t})),...e?.queryString??[]]);Object.keys(o).length>0&&(n=n.split("?")[0]??n);let l=(e?.headers??[]).reduce((e,t)=>(e[t.name]=t.value??"",e),{});e?.cookies?.length&&(l.Cookie=e.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; "));let s={headers:l,"query-params":o};t?.auth?.username&&t?.auth?.password&&(s["basic-auth"]=[t.auth.username,t.auth.password]);let i=e?.postData;switch(i?.mimeType){case"application/json":if(s["content-type"]=new O("json"),i.text)try{s["form-params"]=JSON.parse(i.text)}catch{s.body=i.text}$(l,"content-type");break;case"application/x-www-form-urlencoded":s["form-params"]=(i.params??[]).reduce((e,t)=>(t.name&&void 0!==t.value&&(e[t.name]=t.value),e),{}),$(l,"content-type");break;case"multipart/form-data":i.params&&(s.multipart=i.params.map(e=>"string"!=typeof e.fileName||e.value?{name:e.name,content:e.value}:{name:e.name,content:new k(e.fileName)})),$(l,"content-type");break;default:i?.text&&(s.body=i.text,$(l,"content-type"))}let c=C(l,"accept");c&&"application/json"===l[c]&&(s.accept=new O("json"),delete l[c]);let u=(e=>{for(let t of Object.keys(e))x(e[t])&&delete e[t];return e})(s),d="(require '[clj-http.client :as client])\n",p=b(n);if(x(u))return`${d}
116(client/${a} "${p}")`;let m=w(11+a.length+p.length,S(u));return`${d}
117(client/${a} "${p}" ${m})`}}]},{key:"dart",title:"Dart",default:"http",clients:[{target:"dart",client:"http",title:"Http",generate(e,t){let a={method:"GET",...e};a.method=a.method.toUpperCase();let r=`import 'package:http/http.dart' as http;
118
119void main() async {
120`,n="",o="";a.cookies&&a.cookies.length>0&&(o=a.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; "),n=`  "Cookie": "${o}",
121`);let l=a.headers?.reduce((e,t)=>(t.value&&!/[; ]/.test(t.name)&&(e[t.name]=t.value),e),{})||{};if(t?.auth){let{username:e,password:a}=t.auth;if(e&&a){let t=`${e}:${a}`;l.Authorization=`'Basic ' + base64Encode(utf8.encode('${t}'))`}}if(n&&(l.Cookie=o),Object.keys(l).length>0){for(let[e,t]of(r+="  final headers = <String,String>{\n",Object.entries(l)))t.includes("utf8.encode")?r+=`    '${e}': ${t},
122`:r+=`    '${e}': '${t}',
123`;r+="  };\n\n"}let s=a.queryString?.length?"?"+a.queryString.map(e=>`${e.name}=${e.value}`).join("&"):"",i=`${a.url}${s}`,c="";if(a.postData)if("application/json"===a.postData.mimeType)c=`  final body = r'${a.postData.text}';
124
125`;else if("application/x-www-form-urlencoded"===a.postData.mimeType)c=`  final body = '${a.postData.params?.map(e=>`${encodeURIComponent(e.name)}
125=${encodeURIComponent(e.value??"")}`).join("&")||""}';
126
127`;else if("multipart/form-data"===a.postData.mimeType){for(let e of(c="  final body = <String,String>{\n",a.postData.params||[])){let t=e.value||"",a=e.fileName||"";c+=`    '${e.name}': '${a||t}',
128`}c+="  };\n\n"}else"application/octet-stream"===a.postData.mimeType&&(c=`  final body = '${a.postData.text}';
129
130`);c&&(r+=c);let u=a.method.toLowerCase(),d=Object.keys(l).length>0?", headers: headers":"",p=c?", body: body":"";return r+=`  final response = await http.${u}(Uri.parse('${i}')${d}${p});
131`,r+="  print(response.body);\n",r+="}"}}]},{key:"fsharp",title:"F#",default:"httpclient",clients:[{target:"fsharp",client:"httpclient",title:"HttpClient",generate:(e,t)=>{var a,r;if(!e)return"";let n=function(e,t){return e?t&&0!==t.length?e+(t&&0!==t.length?"?"+t.map(e=>`${e.name}=${e.value}`).join("&"):""):e:""}(e.url,e.queryString),o="";return o+=(a=e.method,r=n,`let httpRequestMessage = new HttpRequestMessage(
132  HttpMethod("${a}"),
133  new Uri("${j(r)}")
134)
135
136`),e.headers&&e.headers.length>0&&(o+=function(e){let t="";for(let a of e)t+=`httpRequestMessage.Headers.Add("${j(a.name??"")}", "${j(a.value??"")}")
137`;return t+"\n"}(e.headers)),e.postData&&(o+=function(e){if(!e)return"";let t="";switch(e.mimeType){case"multipart/form-data":t+=function(e){let t="let content = new MultipartFormDataContent()\n",a=0,r=0;for(let n of e.params)if("BINARY"===n.value){let e=j(n.fileName??"");t+=`let fileStreamContent_${a} = new StreamContent(File.OpenRead("${e}"))
138`,n.contentType&&(t+=`fileStreamContent_${a}.Headers.ContentType <- MediaTypeHeaderValue("${j(n.contentType)}")
139`),t+=`content.Add(fileStreamContent_${a}, "${e}", "${e}")
140`,a++}else{let e=j(n.name??""),a=j(n.value??"");n.contentType?(t+=`let stringContent_${r} = new StringContent("${a}")
141stringContent_${r}.Headers.ContentType <- MediaTypeHeaderValue("${j(n.contentType)}")
142content.Add(stringContent_${r}, "${e}")
143`,r++):t+=`content.Add(new StringContent("${a}"), "${e}")
144`}return t}(e);break;case"application/x-www-form-urlencoded":t+=function(e){let t="let formUrlEncodedContentDictionary = new Dictionary<string, string>()\n";for(let a of e.params)t+=`formUrlEncodedContentDictionary.Add("${j(a.name??"")}", "${j(a.value??"")}")
145`;return t+"let content = new FormUrlEncodedContent(formUrlEncodedContentDictionary)\n"}(e);break;case"application/json":t+=function(e){let t;try{t=JSON.stringify(JSON.parse(e.text??"{}"),null,2)}catch{t=e.text??"{}"}return`let content = new StringContent("""${t}""", Encoding.UTF8, "application/json")
146`}(e);break;default:var a,r;let n;t+=(a=e,r=e.mimeType,(n=`let content = new StringContent("${j(a.text??"")}", Encoding.UTF8, "${j(r??"")}")
147`)+`content.Headers.ContentType <- MediaTypeHeaderValue("${j(r??"")}")
148`)}return t+"httpRequestMessage.Content <- content\n\n"}(e.postData)),e.cookies&&e.cookies.length>
1480&&e.url?(o+=function(e,t){let a="let cookieContainer = CookieContainer()\n";for(let r of e)a+=`cookieContainer.Add(Uri("${j(t)}"), Cookie("${j(r.name??"")}", "${j(r.value??"")}"))
149`;return a+"use handler = new HttpClientHandler()\nhandler.CookieContainer <- cookieContainer\n\n"}(e.cookies,e.url),o+="let client = new HttpClient(handler)\n"):o+="let client = new HttpClient()\n",o+="let! result = client.SendAsync(httpRequestMessage)\n"}}]},{key:"go",title:"Go",default:"native",clients:[{target:"go",client:"native",title:"NewRequest",generate(e,t){if(!e)return"";let a=(e.method||"GET").toUpperCase(),r=h(f(e.url??"",e.queryString)),n=g(e.headers,e.cookies),o=(e=>{let t=new Set;if(!e)return{imports:t,setupLines:[],requestBody:"nil",needsMultipartContentTypeHeader:!1};if("application/x-www-form-urlencoded"===e.mimeType&&e.params?.length)return t.add('neturl "net/url"'),t.add("strings"),{imports:t,setupLines:["postData := neturl.Values{}",...e.params.map(e=>`postData.Set(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??"")})`)],requestBody:"strings.NewReader(postData.Encode())",needsMultipartContentTypeHeader:!1};if("multipart/form-data"===e.mimeType&&e.params?.length){t.add("bytes"),t.add("mime/multipart");let a=["payload := &bytes.Buffer{}","writer := multipart.NewWriter(payload)"],r=e.params.some(e=>void 0!==e.fileName),n=!1,o=!1;return r&&(t.add("os"),t.add("io")),e.params.forEach(e=>{a.push(""),void 0!==e.fileName?(a.push(`part, _ ${n?"=":":="} writer.CreateFormFile(${JSON.stringify(e.name)}, ${JSON.stringify(e.fileName)})`),a.push(""),a.push(`f, _ ${o?"=":":="} os.Open(${JSON.stringify(e.fileName)})`),a.push("defer f.Close()"),a.push(""),a.push("_, _ = io.Copy(part, f)"),n=!0,o=!0):a.push(`_ = writer.WriteField(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??"")})`)}),a.push("writer.Close()"),{imports:t,setupLines:a,requestBody:"payload",needsMultipartContentTypeHeader:!0}}t.add("strings");let a="application/json"===e.mimeType?(e=>{if(void 0===e)return"";try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}})(e.text):e.text??"";return{imports:t,setupLines:[`payload := strings.NewReader(${((e,t=!1)=>t&&!e.includes("`")?`\`${e}\``:JSON.stringify(e))(a,"application/json"===e.mimeType)})`],requestBody:"payload",needsMultipartContentTypeHeader:!1}})(e.postData),l=["package main","","import (",...Array.from(new Set(["fmt","io","net/http",...o.imports])).sort().map(e=>`	${e.includes(" ")?e:JSON.stringify(e)}`),")","","func main() {",`	requestUrl := ${JSON.stringify(r)}`,"",...o.setupLines.map(e=>e?`	${e}`:"")];return o.setupLines.length&&l.push(""),l.push(`	req, _ := http.NewRequest(${JSON.stringify(a)}, requestUrl, ${o.requestBody})`),l.push(""),o.needsMultipartContentTypeHeader&&l.push('	req.Header.Set("Content-Type", writer.FormDataContentType())'),t?.auth?.username&&t?.auth?.password&&l.push(`	req.SetBasicAuth(${JSON.stringify(t.auth.username)}, ${JSON.stringify(t.auth.password)})`),n.forEach(e=>{l.push(`	req.Header.Add(${JSON.stringify(e.name)}, ${JSON.stringify(e.value)})`)}),(o.needsMultipartContentTypeHeader||n.length||t?.auth?.username&&t.auth.password)&&l.push(""),l.push("	res, _ := http.DefaultClient.Do(req)"),l.push(""),l.push("	defer res.Body.Close()"),l.push("	body, _ := io.ReadAll(res.Body)"),l.push(""),l.push("	fmt.Println(res)"),l.push("	fmt.Println(string(body))"),l.push(""),l.push("}"),l.join("\n")}}]},{key:"http",title:"HTTP",default:"http1.1",clients:[{target:"http",client:"http1.1",title:"HTTP/1.1",generate(e){let t,a,r={method:"GET",headers:[],queryString:[],...e};r.method=r.method.toUpperCase();try{a=(t=new URL(r.url||"http://")).pathname+(t.search||"")}catch(e){a=r.url||"/"}let n=t?.hostname||"UNKNOWN_HOSTNAME",o=`${r.method} ${a} HTTP/1.1\r
150`;if(r.queryString.length){let e=r.queryString.map(e=>`${e.name}=${e.value}`).join("&");o=`${r.method} ${a}?${e} HTTP/1.1\r
151`}let l=new Map;if(l.set("Host",n),r.headers.forEach(e=>{l.has(e.name)?l.set(e.name,`${l.get(e.name)}, ${e.value}`):l.set(e.name,e.value)}),r.queryString.length){let e=r.queryString.map(e=>`${e.name}=${e.value}`).join("&");o=`${r.method} ${a}?${e} HTTP/1.1\r
152`}let s="";if(r.postData){if("application/json"===r.postData.mimeType&&r.postData.text)l.set("Content-Type","application/json"),s=r.postData.text;
152else if("application/octet-stream"===r.postData.mimeType&&r.postData.text)l.set("Content-Type","application/octet-stream"),s=r.postData.text;else if("application/x-www-form-urlencoded"===r.postData.mimeType&&r.postData.params){let e=r.postData.params.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`).join("&");l.set("Content-Type","application/x-www-form-urlencoded"),s=e}else if("multipart/form-data"===r.postData.mimeType&&r.postData.params){let e="----WebKitFormBoundary7MA4YWxkTrZu0gW";l.set("Content-Type",`multipart/form-data; boundary=${e}`),s=r.postData.params.map(t=>{let a=t.contentType?`Content-Type: ${t.contentType}\r
153`:"";return t.fileName?`--${e}\r
154Content-Disposition: form-data; name="${t.name}"; filename="${t.fileName}"\r
155${a}\r
156`:`--${e}\r
157Content-Disposition: form-data; name="${t.name}"\r
158${a}\r
159${t.value??""}\r
160`}).join("")+`--${e}--\r
161`}}return l.forEach((e,t)=>{o+=`${t}: ${e}\r
162`}),o+=`\r
163${s}`}}]},{key:"java",title:"Java",default:"unirest",clients:[{target:"java",client:"asynchttp",title:"AsyncHttp",generate:e=>U(Z,e)},{target:"java",client:"nethttp",title:"java.net.http",generate:e=>U(X,e)},{target:"java",client:"okhttp",title:"OkHttp",generate:e=>U(I,e)},{target:"java",client:"unirest",title:"Unirest",generate:e=>U(B,e)}]},{key:"js",title:"JavaScript",default:"fetch",clients:[{target:"js",client:"fetch",title:"Fetch",generate(e){let t={method:"GET",...e},a="";t.method=t.method.toUpperCase();let r={method:"GET"===t.method?void 0:t.method},n=m(t.queryString);if(t.headers?.length&&(r.headers={},t.headers.forEach(e=>{r.headers[e.name]=e.value})),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach(e=>{r.headers["Set-Cookie"]=r.headers["Set-Cookie"]?`${r.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(r).forEach(e=>{void 0===r[e]&&delete r[e]}),t.postData){let{mimeType:e,text:n,params:o}=t.postData;if("application/json"===e&&n)try{r.body=new q(`JSON.stringify(${W(JSON.parse(n))})`)}catch{r.body=n}else if("multipart/form-data"===e&&o)a="const formData = new FormData()\n",o.forEach(e=>{void 0!==e.fileName?a+=`formData.append('${e.name}', new Blob([]), '${e.fileName}')
164`:void 0!==e.value&&(a+=`formData.append('${e.name}', '${e.value}')
165`)}),a+="\n",r.body=new q("formData");else if("application/x-www-form-urlencoded"===e&&o){let e=Object.fromEntries(o.map(e=>[e.name,e.value]));r.body=new q(`new URLSearchParams(${W(e)})`)}else r.body=t.postData.text}let o=Object.keys(r).length?`, ${W(r)}`:"";return`${a}fetch('${t.url}${n}'${o})`}},z,{target:"js",client:"ofetch",title:"ofetch",generate(e){let t={method:"GET",...e};t.method=t.method.toUpperCase();let a={method:"GET"===t.method?void 0:t.method};t.queryString?.length&&(a.query=y(t.queryString)),t.headers?.length&&(a.headers={},t.headers.forEach(e=>{a.headers[e.name]=e.value})),t.cookies?.length&&(a.headers=a.headers||{},t.cookies.forEach(e=>{a.headers["Set-Cookie"]=a.headers["Set-Cookie"]?`${a.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(a).forEach(e=>{void 0===a[e]&&delete a[e]}),t.postData&&(a.body=t.postData.text,"application/json"===t.postData.mimeType&&(a.body=JSON.parse(a.body)));let r=Object.keys(a).length?`, ${W(a)}`:"";return`import { ofetch } from 'ofetch'
166
167ofetch('${t.url}'${r})`}},{target:"js",client:"jquery",title:"jQuery",generate:e=>U(ef,e)},{target:"js",client:"xhr",title:"XHR",generate:e=>U(eg,e)}]},{key:"julia",title:"Julia",default:"http",clients:[{target:"julia",client:"http",title:"HTTP.jl",generate(e,t){let a={url:"https://example.com",...e},r=(a.method||"GET").toUpperCase(),n=(e=>{if(!e)return;let{mimeType:t,text:a,params:r}=e;if("application/json"===t&&a)try{return{value:`JSON.json(${ex(JSON.parse(a),1)})`,packages:["JSON"],omitContentType:!1}}catch{}return"multipart/form-data"===t&&r?.length?{value:eb(r.map(eC),"HTTP.Form([","])",1),packages:[],omitContentType:!0}:"application/x-www-form-urlencoded"===t&&r?.length?{value:ek(r.map(e=>({name:e.name,value:e.value??""})),1),packages:[],omitContentType:!1}:a?{value:ev(a),packages:[],omitContentType:!1}:void 0})(a.postData),o=new Map;for(let e of a.headers??[])!e.name||n?.omitContentType&&"content-type"===e.name.toLowerCase()||o.set(e.name,e.value??"");let l=[...ew,...eS].includes(r)?r.toLowerCase():void 0,s=l?`HTTP.${l}`:"HTTP.request",i=ev(a.url),c=l?[i]:[ev(r),i],u=[],d=[];if(o.size&&u.push(eO([...o].map(([e,t])=>({name:e,value:t})),1)),n&&(eS.includes(r)||0===o.size?d.push(`body = ${n.value}`):u.push(n.value)),a.queryString?.length&&d.push(`query = ${eO(a.queryString,1)}`),a.cookies?.length&&d.push(`cookies = ${ek(a.cookies,1)}`),t?.auth?.username&&t?.auth?.password){let{username:e,password:a}=t.auth;d.push(`basicauth = (${ev(e)}, ${ev(a)})`)}return[...["HTTP",...n?.packages??[]].map(e=>`using ${e}`),"",...((e,t,a,r)=>{let n=[...t,...a];if(0===a.length&&0===r.length)return[`response = ${e}(${n.join(", ")})`];let o=[`response = ${e}(`];
167return n.forEach((e,t)=>{let a=t===n.length-1?r.length?";":"":",";o.push(`${ey(1,e)}${a}`)}),r.forEach((e,t)=>{o.push(`${ey(1,e)}${t===r.length-1?"":","}`)}),o.push(")"),o})(s,c,u,d),"","println(String(response.body))"].join("\n")}}]},{key:"kotlin",title:"Kotlin",default:"okhttp",clients:[{target:"kotlin",client:"okhttp",title:"OkHttp",generate(e,t){let a=(e?.method||"GET").toUpperCase(),r=h(f(e?.url??"",e?.queryString)),n=e?.postData,o=["val client = OkHttpClient()",""],l=!1;n?.mimeType==="application/x-www-form-urlencoded"&&n.params?(o.push("val body = FormBody.Builder()"),n.params.forEach(e=>{o.push(`  .addEncoded(${eR(e.name??"")}, ${eR(e.value??"")})`)}),o.push("  .build()",""),l=!0):n?.mimeType==="multipart/form-data"&&n.params?(o.push("val body = MultipartBody.Builder()","  .setType(MultipartBody.FORM)"),n.params.forEach(e=>{void 0!==e.fileName?o.push(`  .addFormDataPart(${eR(e.name??"")}, ${eR(e.fileName)}, RequestBody.create(MediaType.parse("application/octet-stream"), File(${eR(e.fileName)})))`):void 0!==e.value&&o.push(`  .addFormDataPart(${eR(e.name??"")}, ${eR(e.value)})`)}),o.push("  .build()",""),l=!0):n&&(o.push(`val mediaType = MediaType.parse(${eR(n.mimeType??"")})`),o.push(`val body = RequestBody.create(mediaType, ${JSON.stringify(n.text??"")})`),l=!0),o.push("val request = Request.Builder()",`  .url(${eR(r)})`);let s=l?"body":"null";return e$.includes(a)?eA.includes(a)?o.push(`  .${a.toLowerCase()}(${s})`):o.push(`  .${a.toLowerCase()}()`):o.push(`  .method(${eR(a)}, ${s})`),t?.auth?.username&&t?.auth?.password&&o.push(`  .addHeader("Authorization", Credentials.basic(${eR(t.auth.username)}, ${eR(t.auth.password)}))`),g(e?.headers,e?.cookies).forEach(e=>{o.push(`  .addHeader(${eR(e.name)}, ${eR(e.value)})`)}),o.push("  .build()","","val response = client.newCall(request).execute()"),o.join("\n")}}]},{key:"node",title:"Node.js",default:"fetch",clients:[{target:"node",client:"fetch",title:"Fetch",generate(e){let t={method:"GET",...e},a="";t.method=t.method.toUpperCase();let r={method:"GET"===t.method?void 0:t.method},n=m(t.queryString);if(t.headers?.length&&(r.headers={},t.headers.forEach(e=>{r.headers[e.name]=e.value})),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach(e=>{r.headers["Set-Cookie"]=r.headers["Set-Cookie"]?`${r.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(r).forEach(e=>{void 0===r[e]&&delete r[e]}),t.postData){let{mimeType:e,text:n,params:o}=t.postData,l=!1;if("application/json"===e&&n)try{r.body=new q(`JSON.stringify(${W(JSON.parse(n))})`)}catch{r.body=n}else if("multipart/form-data"===e&&o)a="const formData = new FormData()\n",o.forEach(e=>{void 0!==e.fileName?(l||(a=`import fs from 'node:fs'
168
169${a}`,l=!0),a+=`formData.append('${e.name}', new Blob([fs.readFileSync('${e.fileName}')]), '${e.fileName}')
170`):void 0!==e.value&&(a+=`formData.append('${e.name}', '${e.value}')
171`)}),a+="\n",r.body=new q("formData");else if("application/x-www-form-urlencoded"===e&&o){let e=Object.fromEntries(o.map(e=>[e.name,e.value]));r.body=new q(`new URLSearchParams(${W(e)})`)}else r.body=t.postData.text}let o=Object.keys(r).length?`, ${W(r)}`:"";return`${a}fetch('${t.url}${n}'${o})`}},eE,{target:"node",client:"ofetch",title:"ofetch",generate(e){let t={method:"GET",...e};t.method=t.method.toUpperCase();let a={method:"GET"===t.method?void 0:t.method};t.queryString?.length&&(a.query=y(t.queryString)),t.headers?.length&&(a.headers={},t.headers.forEach(e=>{a.headers[e.name]=e.value})),t.cookies?.length&&(a.headers=a.headers||{},t.cookies.forEach(e=>{a.headers["Set-Cookie"]=a.headers["Set-Cookie"]?`${a.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(a).forEach(e=>{void 0===a[e]&&delete a[e]}),t.postData&&(a.body=t.postData.text,"application/json"===t.postData.mimeType&&(a.body=JSON.parse(a.body)));let r=Object.keys(a).length?`, ${W(a)}`:"";return`import { ofetch } from 'ofetch'
172
173ofetch('${t.url}'${r})`}},{target:"node",client:"undici",title:"undici",generate(e){let t={method:"GET",...e};t.method=t.method.toUpperCase();let a={method:"GET"===t.method?void 0:t.method},r=m(t.queryString);t.headers?.length&&(a.headers={}
173,t.headers.forEach(e=>{a.headers[e.name]=e.value})),t.cookies?.length&&(a.headers=a.headers||{},t.cookies.forEach(e=>{a.headers["Set-Cookie"]=a.headers["Set-Cookie"]?`${a.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(a).forEach(e=>{void 0===a[e]&&delete a[e]}),t.postData&&(a.body=t.postData.text,"application/json"===t.postData.mimeType&&(a.body=new q(`JSON.stringify(${W(JSON.parse(a.body))})`)));let n=Object.keys(a).length?`, ${W(a)}`:"";return`import { request } from 'undici'
174
175const { statusCode, body } = await request('${t.url}${r}'${n})`}}]},{key:"objc",title:"Objective-C",default:"nsurlsession",clients:[{target:"objc",client:"nsurlsession",title:"NSURLSession",generate(e,t){if(!e)return"";let a=(e.method||"GET").toUpperCase(),r=h(f(e.url??"",e.queryString)),n=g(e.headers,e.cookies),o=["#import <Foundation/Foundation.h>"],l=n.length>0;if(l){let e=Object.fromEntries(n.map(e=>[e.name,e.value]));o.push("",e_("NSDictionary","headers",e))}let s=!1;if(e.postData){let{mimeType:t,text:a,params:r}=e.postData;if("application/json"===t&&void 0!==a)try{let e=JSON.parse(a);o.push("",e_("NSDictionary","parameters",e)),o.push("","NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"),s=!0}catch{o.push("",`NSData *postData = [${eP(a)} dataUsingEncoding:NSUTF8StringEncoding];`),s=!0}else if("application/x-www-form-urlencoded"===t&&r?.length){s=!0;let[e,...t]=r;o.push("",`NSMutableData *postData = [[NSMutableData alloc] initWithData:[${eP(`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`)} dataUsingEncoding:NSUTF8StringEncoding]];`),t.forEach(e=>{o.push(`[postData appendData:[${eP(`&${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`)} dataUsingEncoding:NSUTF8StringEncoding]];`)})}else"multipart/form-data"===t&&r?.length?(s=!0,o.push("",e_("NSArray","parameters",r),'NSString *boundary = @"---011000010111000001101001";',"","NSError *error;","NSMutableString *body = [NSMutableString string];","for (NSDictionary *param in parameters) {",'  [body appendFormat:@"--%@\\r\\n", boundary];','  if (param[@"fileName"]) {','    [body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];','    [body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];','    [body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];',"    if (error) {",'      NSLog(@"%@", error);',"    }","  } else {",'    [body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];','    [body appendFormat:@"%@", param[@"value"]];',"  }","}",'[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];',"NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];")):"application/octet-stream"===t?(s=!0,o.push("",`NSData *postData = [${eP(a??"")} dataUsingEncoding:NSUTF8StringEncoding];`)):void 0!==a&&(s=!0,o.push("",`NSData *postData = [${eP(a)} dataUsingEncoding:NSUTF8StringEncoding];`))}if(o.push("",`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:${eP(r)}]`,"                                                      cachePolicy:NSURLRequestUseProtocolCachePolicy","                                                  timeoutInterval:10.0];",`[request setHTTPMethod:@"${a}"];`),l&&o.push("[request setAllHTTPHeaderFields:headers];"),s&&o.push("[request setHTTPBody:postData];"),t?.auth?.username&&t?.auth?.password){let e=eP(`${t.auth.username}:${t.auth.password}`);o.push(`NSData *authData = [${e} dataUsingEncoding:NSUTF8StringEncoding];`,'NSString *authValue = [NSString stringWithFormat:@"Basic %@", [authData base64EncodedStringWithOptions:0]];','[request setValue:authValue forHTTPHeaderField:@"Authorization"];')}return o.push("","NSURLSession *session = [NSURLSession sharedSession];","NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request","completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {","  if (error) {",'    NSLog(@"%@", error);',"  } else {","    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",'    NSLog(@"%@", httpResponse);',"  }","}];","[dataTask resume];"),o.join("\n")}}]},{key:"ocaml",title:"OCaml",default:"cohttp",clients:[{target:"ocaml",client:"cohttp",title:"Cohttp",generate:e=>U(ej,e)}]},{key:"php",title:"PHP",default:"curl",clients:[{target:"php",client:"curl",title:"cURL",generate(e,t){let a={method:"GET",...e};a.method=a.method.toUpperCase();let r=[],n=!1,o=a.queryString?.length?"?"+a.queryString.map(e=>`${e.name}=${e.value}`).join("&"):"",l=`${a.url}${o}`;r.push(`$ch = curl_init("${l}");
175`),r.push(""),"POST"===a.method?r.push("curl_setopt($ch, CURLOPT_POST, true);"):"GET"!==a.method&&r.push(`curl_setopt($ch, CURLOPT_CUSTOMREQUEST, '${a.method}');`),t?.auth?.username&&t?.auth?.password&&r.push(`curl_setopt($ch, CURLOPT_USERPWD, '${t.auth.username}:${t.auth.password}');`);let s=[...a.headers||[]],i=()=>s.some(e=>"content-type"===e.name.toLowerCase());if(a.postData&&("application/x-www-form-urlencoded"===a.postData.mimeType&&a.postData.params&&!i()?s.push({name:"Content-Type",value:"application/x-www-form-urlencoded"}):"application/octet-stream"!==a.postData.mimeType||i()||s.push({name:"Content-Type",value:"application/octet-stream"})),s.length){let e=s.map(e=>`'${e.name}: ${e.value}'`);r.push(`curl_setopt($ch, CURLOPT_HTTPHEADER, [${e.join(", ")}]);`);let t=s.find(e=>"accept-encoding"===e.name.toLowerCase());t&&/gzip|deflate/.test(t.value)&&r.push("curl_setopt($ch, CURLOPT_ENCODING, '');")}if(a.cookies?.length){let e=a.cookies.map(e=>{let t=encodeURIComponent(e.name),a=encodeURIComponent(e.value);return`${t}=${a}`}).join("; ");r.push(`curl_setopt($ch, CURLOPT_COOKIE, '${e}');`)}if(a.postData){if("application/json"===a.postData.mimeType){if(a.postData.text)try{let e=JSON.parse(a.postData.text),t=eM(e);r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${t}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${a.postData.text}');`)}}else if("multipart/form-data"===a.postData.mimeType&&a.postData.params)n=!0,r.push("$mime = curl_mime_init($ch);"),a.postData.params.forEach((e,t)=>{let a=`$part${t}`;r.push(`${a} = curl_mime_addpart($mime);`),r.push(`curl_mime_name(${a}, '${e.name}');`),void 0!==e.fileName?r.push(`curl_mime_filedata(${a}, '${e.fileName}');`):void 0!==e.value&&r.push(`curl_mime_data(${a}, '${e.value}');`),e.contentType&&r.push(`curl_mime_type(${a}, '${e.contentType}');`)}),r.push("curl_setopt($ch, CURLOPT_MIMEPOST, $mime);");else if("application/x-www-form-urlencoded"===a.postData.mimeType&&a.postData.params){let e=a.postData.params.map(e=>{let t=encodeURIComponent(e.name),a=e.value?encodeURIComponent(e.value):"";return`${t}=${a}`}).join("&");r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${e}');`)}else if("application/octet-stream"===a.postData.mimeType)r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${a.postData.text||""}');`);else if(a.postData.text)try{let e=JSON.parse(a.postData.text),t=eM(e);r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${t}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${a.postData.text}');`)}}return r.push(""),r.push("curl_exec($ch);"),n&&r.push("curl_mime_free($mime);"),r.push(""),r.push("curl_close($ch);"),r.join("\n").replace(/\n\n\n/g,"\n\n")}},{target:"php",client:"guzzle",title:"Guzzle",generate(e,t){if(!e)return"";let a={},r=(e.method||"GET").toUpperCase(),n=e.url||"";if(e.headers&&Array.isArray(e.headers)&&e.headers.length>0){let t={};e.headers.forEach(e=>{void 0===t[e.name]?t[e.name]=e.value:Array.isArray(t[e.name])?t[e.name].push(e.value):t[e.name]=[t[e.name],e.value]}),a.headers=t}if(e.queryString&&e.queryString.length>0&&(a.query=y(e.queryString)),e.cookies&&e.cookies.length>0){let t={};e.cookies.forEach(e=>{t[e.name]=e.value}),a.cookies=t}if(t?.auth?.username&&t.auth.password&&(a.auth=[t.auth.username,t.auth.password]),e.postData)if("application/json"===e.postData.mimeType)try{a.json=JSON.parse(e.postData.text||"{}")}catch(t){a.body=e.postData.text}else if("multipart/form-data"===e.postData.mimeType){if(e.postData.params)a.multipart=e.postData.params.map(e=>{let t={name:e.name,contents:e.fileName?new eL(`fopen('${e.fileName}', 'r')`):e.value||""};return e.contentType&&(t.headers={"Content-Type":e.contentType}),t});else if(e.postData.text)try{a.form_params=JSON.parse(e.postData.text)}catch(t){a.body=e.postData.text}}else if("application/x-www-form-urlencoded"===e.postData.mimeType){if(e.postData.params){let t={};e.postData.params.forEach(e=>{t[e.name]=e.value||""}),a.form_params=t}}else a.body=e.postData.text;e.headers&&Array.isArray(e.headers)&&e.headers.some(e=>"Accept-Encoding"===e.name&&e.value.includes("gzip"))&&(a.decode_content=!0);let o="$client = new GuzzleHttp\\Client();\n\n";if(Object.keys(a).length>0){let e=eM(a);o+=`$response = $client->request('${r}', '${n}', ${e});`}else o+=`$response = $client->request('${r}', '${n}');`;return o}},{target:"php",client:"laravel",title:"Laravel HTTP Client",generate(e,t){let a,r={method:"GET",...e};r.method=r.method.toUpperCase();let n=m(r.queryString),o=`${r.url??""}${n}`,l=[];if(t?.auth?.username&&t.auth.password&&l.push(`withBasicAuth(${eU(t.auth.username)}, ${eU(t.auth.password)})`),r.headers?.length){let e={};
175r.headers.forEach(t=>{v(e,t.name,t.value)}),l.push(`withHeaders(${eM(eX(e))})`)}if(r.cookies?.length){let e={};r.cookies.forEach(t=>{v(e,t.name,t.value)}),l.push(`withCookies(${eM(eX(e))}, ${eU((e=>{if(!e)return"localhost";try{return new URL(e).hostname||"localhost"}catch{return"localhost"}})(r.url??""))})`)}if(r.postData){if("application/json"===r.postData.mimeType){if(r.postData.text)try{a=JSON.parse(r.postData.text)}catch{l.push(`withBody(${eU(r.postData.text)}, 'application/json')`)}}else if("application/x-www-form-urlencoded"===r.postData.mimeType&&r.postData.params){let e={};r.postData.params.forEach(t=>{v(e,t.name,t.value??"")}),l.push("asForm()"),a=e}else if("multipart/form-data"===r.postData.mimeType&&r.postData.params){let e={};r.postData.params.forEach(t=>{if(void 0!==t.fileName){let e=[eU(t.name),`file_get_contents(${eU(t.fileName)})`,eU(t.fileName)];t.contentType&&e.push(eM(eX({"Content-Type":t.contentType}))),l.push(`attach(${e.join(", ")})`)}else t.contentType?l.push(`attach(${eU(t.name)}, ${eU(t.value??"")}, null, ${eM(eX({"Content-Type":t.contentType}))})`):v(e,t.name,t.value??"")}),Object.keys(e).length>0&&(a=e)}else if("application/octet-stream"===r.postData.mimeType)l.push(`withBody(${eU(r.postData.text??"")}, 'application/octet-stream')`);else if(r.postData.text)try{a=JSON.parse(r.postData.text)}catch{l.push(`withBody(${eU(r.postData.text)}, ${eU(r.postData.mimeType||"text/plain")})`)}}let s=r.method.toLowerCase(),i=["delete","get","head","patch","post","put"].includes(s)?void 0!==a&&"head"!==s?`${s}(${eU(o)}, ${eM(eX(a),1)})`:`${s}(${eU(o)})`:void 0!==a?`send(${eU(r.method)}, ${eU(o)}, ${eM(eX(a),1)})`:`send(${eU(r.method)}, ${eU(o)})`,c=l.length>0?[`Http::${l[0]}`,...l.slice(1).map(e=>`  ->${e}`),`  ->${i}`].join("\n"):`Http::${i}`;return`use Illuminate\\Support\\Facades\\Http;
176
177$response = ${c};`}}]},{key:"powershell",title:"PowerShell",default:"webrequest",clients:[{target:"powershell",client:"webrequest",title:"Invoke-WebRequest",generate:e=>U(eq,e)},{target:"powershell",client:"restmethod",title:"Invoke-RestMethod",generate:e=>U(eB,e)}]},{key:"python",title:"Python",default:"python3",clients:[{target:"python",client:"python3",title:"http.client",generate(e,t){let a=p({url:"https://example.com",...e}),r=(e=>{if(!e)return new URL("https://example.com");try{return new URL(e)}catch{return new URL(e,"https://example.com")}})(a.url??"https://example.com"),n=((e,t=[])=>{if(!t.length)return e.search;let a=m(t);return e.search?`${e.search}&${a.slice(1)}`:a})(r,a.queryString),o=`${r.pathname||"/"}${n}`,l=a.headers?.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})??{};if(a.cookies?.length){let e=a.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; ");l.Cookie?l.Cookie=`${l.Cookie}; ${e}`:l.Cookie=e}if(t?.auth?.username&&t.auth.password){let e=(e=>{if("function"==typeof globalThis.btoa)return globalThis.btoa(e);if(void 0!==eV)return eV.from(e,"utf-8").toString("base64");throw Error("Could not encode basic auth credentials")})(`${t.auth.username}:${t.auth.password}`);l.Authorization=`Basic ${e}`}let s=new Set(["import http.client"]),i=[],c=((e,t,a)=>{let r=e.postData;if(!r)return{payloadLines:[]};let{mimeType:n,text:o,params:l}=r;if("application/json"===n&&o)try{let e=JSON.parse(o);return a.add("import json"),{payloadLines:[`payload = json.dumps(${eD(e,0)})`],payloadVariable:"payload"}}catch{return{payloadLines:[`payload = ${JSON.stringify(o)}`],payloadVariable:"payload"}}if("application/octet-stream"===n&&o){let e;return{payloadLines:[`payload = ${(e=JSON.stringify(o).slice(1,-1),`b"${e}"`)}`],payloadVariable:"payload"}}if("application/x-www-form-urlencoded"===n&&l){a.add("import urllib.parse");let e={};return l.forEach(t=>{v(e,t.name,t.value??"")}),t["Content-Type"]||(t["Content-Type"]="application/x-www-form-urlencoded"),{payloadLines:[`payload = urllib.parse.urlencode(${eD(e,0)}, doseq=True)`],payloadVariable:"payload"}}if("multipart/form-data"===n&&l){let e=['boundary = "----ScalarSnippetzBoundary"',"data_list = []"];return l.forEach(t=>{e.push('data_list.append("--" + boundary)'),void 0!==t.fileName?e.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${t.name}"; filename="${t.fileName}"`)})`):e.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${t.name}"`)})`),t.contentType&&e.push(`data_list.append(${JSON.stringify(`Content-Type: ${t.contentType}`)})`),e.push('data_list.append("")'),void 0!==t.fileName?e.push(`data_list.append(open(${JSON.stringify(t.fileName)}, "rb").read().decode("latin-1"))`):e.push(`data_list.append(${JSON.stringify(t.value??"")})`)}
177),e.push('data_list.append("--" + boundary + "--")'),e.push('data_list.append("")'),e.push('payload = "\\r\\n".join(data_list)'),t["Content-Type"]="multipart/form-data; boundary=----ScalarSnippetzBoundary",{payloadLines:e,payloadVariable:"payload"}}if(o)try{let e=JSON.parse(o);return a.add("import json"),{payloadLines:[`payload = json.dumps(${eD(e,0)})`],payloadVariable:"payload"}}catch{return{payloadLines:[`payload = ${JSON.stringify(o)}`],payloadVariable:"payload"}}return{payloadLines:[]}})(a,l,s);i.push(...c.payloadLines),Object.keys(l).length&&i.push(`headers = ${eD(l,0)}`);let u=[JSON.stringify(a.method),JSON.stringify(o)];c.payloadVariable&&u.push(`body=${c.payloadVariable}`),Object.keys(l).length&&u.push("headers=headers");let d=u.length<=2?`conn.request(${u.join(", ")})`:`conn.request(
178    ${u.join(",\n    ")},
179)`;return[...s,"",`conn = http.client.${"https:"===r.protocol?"HTTPSConnection":"HTTPConnection"}(${JSON.stringify(r.host)})`,...i.length?["",...i]:[],"",d,"","response = conn.getresponse()","print(response.read().decode())","","conn.close()"].join("\n")}},{target:"python",client:"requests",title:"Requests",generate:(e,t)=>eN("requests",e,t)},{target:"python",client:"aiohttp",title:"aiohttp",generate(e,t){var a,r;let n,o={url:"https://example.com",method:"get",...e},l=o.method?.toLowerCase()??"get",s=[],i=[],c=[];if(o.headers?.length){let e=o.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{});s.push(`headers=${eD(e)}`)}if(o.queryString?.length&&s.push(`params=${eD(y(o.queryString))}`),o.cookies?.length){let e=Object.fromEntries(o.cookies.map(e=>[e.name,e.value]));i.push(`cookies=${eD(e)}`)}if(t?.auth?.username&&t?.auth?.password&&i.push(`auth=aiohttp.BasicAuth(${JSON.stringify(t.auth.username)}, ${JSON.stringify(t.auth.password)})`),o.postData){let{mimeType:e,text:t,params:a}=o.postData;if("application/json"===e&&t)try{s.push(`json=${eD(JSON.parse(t))}`)}catch{s.push(`data=${JSON.stringify(t)}`)}else if("application/octet-stream"===e&&t)s.push(`data=b"${t}"`);else if("multipart/form-data"===e&&a)c.push("data = aiohttp.FormData()"),a.forEach(e=>{if(void 0!==e.fileName){let t=[JSON.stringify(e.name),`open(${JSON.stringify(e.fileName)}, "rb")`,`filename=${JSON.stringify(e.fileName)}`];e.contentType&&t.push(`content_type=${JSON.stringify(e.contentType)}`),c.push(`data.add_field(${t.join(", ")})`);return}e.contentType?c.push(`data.add_field(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??"")}, content_type=${JSON.stringify(e.contentType)})`):c.push(`data.add_field(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??"")})`)}),s.push("data=data");else if("application/x-www-form-urlencoded"===e&&a){let e={};a.forEach(t=>{v(e,t.name,t.value??"")}),s.push(`data=${eD(e)}`)}else t&&s.push(`data=${JSON.stringify(t)}`)}let u=0===i.length?"async with aiohttp.ClientSession() as session:":`async with aiohttp.ClientSession(
180    ${i.join(",\n    ")}
181) as session:`,d=[...c,(a="await session",r=o.url??"",n=JSON.stringify(r),r.length>40?`${a}.${l}(
182    ${[n,...s].join(",\n    ")}
183)`:0===s.length?`${a}.${l}(${n})`:`${a}.${l}(${n},
184    ${s.join(",\n    ")}
185)`)];return`${u}
186${((e,t="    ")=>e.split("\n").map(e=>""===e.trim()?e:`${t}${e}`).join("\n"))(d.join("\n"))}`}},{target:"python",client:"httpx_sync",title:"HTTPX (Sync)",generate:(e,t)=>eN("httpx",e,t)},{target:"python",client:"httpx_async",title:"HTTPX (Async)",generate(e,t){let a=eN("await client",e,t);return a=a.split("\n").map(e=>""===e.trim()?e:"    "+e).join("\n"),`async with httpx.AsyncClient() as client:
187${a}`}}]},{key:"r",title:"R",default:"httr2",clients:[{target:"r",client:"httr2",title:"httr2",generate(e,t){let a={url:"https://example.com",method:"GET",...e},r=a.method.toUpperCase(),n=["library(httr2)",""];n.push(`response <- request("${a.url}") |>`);let o=[];"GET"!==r&&o.push(`  req_method("${r}")`);let l={};if(a.headers?.length)for(let e of a.headers)l[e.name]=e.value;if(a.cookies?.length&&(l.Cookie=a.cookies.map(e=>`${e.name}=${e.value}`).join("; ")),t?.auth?.username&&t?.auth?.password&&o.push(`  req_auth_basic("${t.auth.username}", "${t.auth.password}")`),Object.keys(l).length){let e=Object.entries(l);
187if(1===e.length){let[t,a]=e[0];o.push(`  req_headers("${t}" = "${a}")`)}else{let t=e.map(([e,t])=>`    "${e}" = "${t}"`).join(",\n");o.push(`  req_headers(
188${t}
189  )`)}}if(a.queryString?.length){let e=Object.entries(y(a.queryString));if(1===e.length){let[t,a]=e[0];if(Array.isArray(a)){let e=a.map(e=>`"${e}"`).join(", ");o.push(`  req_url_query("${t}" = c(${e}))`)}else o.push(`  req_url_query("${t}" = "${a}")`)}else{let t=e.map(([e,t])=>{if(Array.isArray(t)){let a=t.map(e=>`"${e}"`).join(", ");return`    "${e}" = c(${a})`}return`    "${e}" = "${t}"`}).join(",\n");o.push(`  req_url_query(
190${t}
191  )`)}}if(a.postData){let{mimeType:e,text:t,params:r}=a.postData;if("application/json"===e&&t){let e=(e=>{try{let t=JSON.parse(e);return eF(t,"  ")}catch{return`"${e}"`}})(t);o.push(`  req_body_json(${e})`)}else if("multipart/form-data"===e&&r){let e=r.map(e=>void 0!==e.fileName?`    ${e.name} = curl::form_file("${e.fileName}")`:`    ${e.name} = "${e.value??""}"`).join(",\n");o.push(`  req_body_multipart(
192${e}
193  )`)}else if("application/x-www-form-urlencoded"===e&&r){let e=r.map(e=>`    "${e.name}" = "${e.value??""}"`).join(",\n");o.push(`  req_body_form(
194${e}
195  )`)}else t&&o.push(`  req_body_raw("${t}", type = "${e??"application/octet-stream"}")`)}return o.push("  req_perform()"),n[n.length-1]=`response <- request("${a.url}") |>`,n.push(o.join(" |>\n")),n.push(""),n.push("resp_body_string(response)"),n.join("\n")}}]},{key:"ruby",title:"Ruby",default:"native",clients:[{target:"ruby",client:"native",title:"net::http",generate(e,t){let a={method:"GET",...e};a.method=a.method.toUpperCase();let r=m(a.queryString),n=(e=>{try{let t=new URL(e),a=t.pathname.split("/").map(e=>encodeURIComponent(decodeURIComponent(e)).replace(/%5B/g,"[").replace(/%5D/g,"]").replace(/%24/g,"$")).join("/");if("/"===t.pathname)return`${t.origin}${t.search}${t.hash}`;return`${t.origin}${a}${t.search}${t.hash}`}catch{return e}})(`${a.url??""}${r}`),o=["require 'uri'","require 'net/http'",""];((e,t,a)=>{if(eG.has(t))return;let r=eK(t);e.push(`class Net::HTTP::${r} < Net::HTTPRequest`),e.push(`  METHOD = '${t}'`),e.push(`  REQUEST_HAS_BODY = '${a?"true":"false"}'`),e.push("  RESPONSE_HAS_BODY = true"),e.push("end"),e.push("")})(o,a.method,!!a.postData?.text),o.push(`url = URI("${ez(n)}")`,""),o.push("http = Net::HTTP.new(url.host, url.port)"),n.startsWith("https://")&&o.push("http.use_ssl = true"),o.push("");let l=eK(a.method);if(o.push(`request = Net::HTTP::${l}.new(url)`),t?.auth?.username&&t?.auth?.password){let e=ez(t.auth.username),a=ez(t.auth.password);o.push(`request.basic_auth("${e}", "${a}")`)}if(a.headers?.length&&a.headers.forEach(e=>{o.push(`request["${ez(e.name)}"] = '${eH(e.value)}'`)}),a.cookies?.length){let e=a.cookies.map(e=>`${eY(e.name)}=${eY(e.value)}`).join("; ");o.push(`request["Cookie"] = '${eH(e)}'`)}if(a.postData){let{mimeType:e,text:t,params:r}=a.postData;if("application/json"===e&&void 0!==t)try{let e=JSON.parse(t),a=JSON.stringify(e,null,2);o.push("request.body = <<~JSON"),o.push(a),o.push("JSON")}catch{o.push(`request.body = ${JSON.stringify(t)}`)}else if("application/x-www-form-urlencoded"===e&&r){let e=r.map(e=>`${eY(e.name)}=${eY(e.value??"")}`).join("&");o.push(`request.body = '${eH(e)}'`)}else"multipart/form-data"===e&&r?(o.push("form_data = []"),r.forEach(e=>{let t=eH(e.name);if(void 0!==e.fileName){let a=eH(e.fileName);if(e.contentType){let r=eH(e.contentType);o.push(`form_data << ['${t}', File.open('${a}'), { filename: '${a}', content_type: '${r}' }]`)}else o.push(`form_data << ['${t}', File.open('${a}')]`)}else if(e.contentType){let a=eH(e.value??""),r=eH(e.contentType);o.push(`form_data << ['${t}', '${a}', { content_type: '${r}' }]`)}else{let a=eH(e.value??"");o.push(`form_data << ['${t}', '${a}']`)}}),o.push("request.set_form(form_data, 'multipart/form-data')")):"application/octet-stream"===e?o.push(`request.body = ${JSON.stringify(t??"")}`):void 0!==t&&o.push(`request.body = ${JSON.stringify(t)}`)}return o.push("","response = http.request(request)","puts response.read_body"),o.join("\n")}}]},{key:"rust",title:"Rust",default:"reqwest",clients:[{target:"rust",client:"reqwest",title:"reqwest",generate(e,t){var a,r,n,o;let l,s,i;if(!e)return"";let c=p(e),u=m(c.queryString),d=(a=c.url||"",`${a}${u}`),h=function(e){let t={};if(e.headers)for(let a of e.headers)a.value&&!/[; ]/.test(a.name)&&(t[a.name]=a.value);return e.cookies&&e.cookies.length>0&&(t.Cookie=e.cookies.map(e=>`${encodeURIComponent(e.name)}
195=${encodeURIComponent(e.value)}`).join("; ")),t}(c),f=[],g=(l=t?.auth,l?.username&&l?.password?e1("basic_auth",eJ(l.username),eJ(l.password)):null);g&&f.push(g),f.push(...Object.entries(h).map(([e,t])=>e1("header",eJ(e),eJ(t))));let v=(e=>{if(!e)return null;let{mimeType:t,text:a,params:r}=e;switch(t){case"application/json":{let e=function(e){try{let t=JSON.parse(e),a=JSON.stringify(t,null,4).split("\n");return a.map((e,t)=>0===t?e:(a.length,e0(1,e))).join("\n")}catch{return e}}(a);return e1("json",`&serde_json::json!(${e})`)}case"application/x-www-form-urlencoded":{let e=r?.map(e=>`(${eJ(e.name)}, ${eJ(e.value||"")})`).join(", ")||"";return e1("form",`&[${e}]`)}case"multipart/form-data":{let e=r?.map(e2).join("\n")||"",t=[".multipart({",e0(2,"let mut form = reqwest::multipart::Form::new();"),e,e0(3,"form"),e0(2,"})")].join("\n");return e0(1,t)}default:return e1("body",eJ(a||""))}})(c.postData);return v&&f.push(v),r=d,n=c.method,s=["let client = reqwest::Client::new();",""],(o=f).length>0?(s.push("let request = client"),s.push(e0(1,`.${n.toLowerCase()}(${eJ(r)})`)),s.push(...o)):s.push(`let request = client.${n.toLowerCase()}(${eJ(r)})`),i=s[s.length-1],s[s.length-1]=i+";",s.push(""),s.push("let response = request.send().await?;"),s.join("\n")}}]},{key:"shell",title:"Shell",default:"curl",clients:[{target:"shell",client:"curl",title:"Curl",generate(e,t){let a={method:"GET",...e};a.method=a.method.toUpperCase();let r=["curl"],n=a.url??"",o=n.includes("?")?"&":"?",l=a.queryString?.length?o+a.queryString.map(e=>`${e.name}=${e.value}`).join("&"):"",s=`${n}${l}`,i=/^[A-Za-z0-9._~:/%@+,=-]*$/.test(s)?s:`'${s.replace(/'/g,"'\\''")}'`;if(r[0]=`curl ${i}`,"GET"!==a.method&&r.push(`--request ${a.method}`),t?.auth?.username&&t?.auth?.password){let e=`${t.auth.username}:${t.auth.password}`.replace(/'/g,"'\\''");r.push(`--user '${e}'`)}if(a.headers?.length){a.headers.forEach(e=>{let t=`${e.name}: ${e.value}`.replace(/'/g,"'\\''");r.push(`--header '${t}'`)});let e=a.headers.find(e=>"accept-encoding"===e.name.toLowerCase());e&&/gzip|deflate/.test(e.value)&&r.push("--compressed")}if(a.cookies?.length){let e=a.cookies.map(e=>{let t=encodeURIComponent(e.name),a=encodeURIComponent(e.value);return`${t}=${a}`}).join("; ").replace(/'/g,"'\\''");r.push(`--cookie '${e}'`)}if(a.postData)if(e4(a.postData.mimeType)){if(a.postData.text)try{let e=JSON.parse(a.postData.text),t=JSON.stringify(e,null,2).replace(/'/g,"'\\''");r.push(`--data '${t}'`)}catch{let e=(a.postData.text??"").replace(/'/g,"'\\''");r.push(`--data '${e}'`)}}else if("application/octet-stream"===a.postData.mimeType){let e=(a.postData.text??"").replace(/'/g,"'\\''");r.push(`--data-binary '${e}'`)}else if("application/x-www-form-urlencoded"===a.postData.mimeType&&a.postData.params)a.postData.params.forEach(e=>{let t=(e.value??"").replace(/'/g,"'\\''"),a=encodeURIComponent(e.name).replace(/'/g,"'\\''");r.push(`--data-urlencode '${a}=${t}'`)});else if("multipart/form-data"===a.postData.mimeType&&a.postData.params)a.postData.params.forEach(e=>{let t=e.name.replace(/'/g,"'\\''"),a=e.contentType?`;type=${e.contentType}`:"";if(void 0!==e.fileName){let n=`${e.fileName}${a}`.replace(/'/g,"'\\''");r.push(`--form '${t}=@${n}'`)}else{let n=e.value??"",o=e4(e.contentType),l=n;if(o&&n)try{l=JSON.stringify(JSON.parse(n),null,2)}catch{}let s=`${l}${a}`.replace(/'/g,"'\\''");r.push(`--form '${t}=${s}'`)}});else try{let e=JSON.parse(a.postData.text??""),t=JSON.stringify(e,null,2).replace(/'/g,"'\\''");r.push(`--data '${t}'`)}catch{let e=(a.postData.text??"").replace(/'/g,"'\\''");r.push(`--data '${e}'`)}return r.join(" \\\n  ")}},{target:"shell",client:"wget",title:"Wget",generate(e,t){let a={...e,method:(e?.method??"GET").toUpperCase()},r=a.url??"",n=r.includes("?")?"&":"?",o=a.queryString?.length?n+a.queryString.map(e=>`${e.name}=${e.value}`).join("&"):"",l=`${r}${o}`,s=/^[A-Za-z0-9._~:/%@+,=-]*$/.test(l)?l:`'${l.replace(/'/g,"'\\''")}'`,i=["wget --quiet",`--method ${a.method}`];if(t?.auth?.username&&t?.auth?.password&&(i.push(`--user '${t.auth.username.replace(/'/g,"'\\''")}'`),i.push(`--password '${t.auth.password.replace(/'/g,"'\\''")}
195'`)),a.headers?.length&&a.headers.forEach(e=>{let t=`${e.name}: ${e.value}`.replace(/'/g,"'\\''");i.push(`--header '${t}'`)}),a.cookies?.length){let e=a.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; ");i.push(`--header 'Cookie: ${e.replace(/'/g,"'\\''")}'`)}if(a.postData){let{mimeType:e,text:t,params:r}=a.postData;if(e6(e))t&&i.push(`--body-data '${e5(t).replace(/'/g,"'\\''")}'`);else if("application/octet-stream"===e)i.push(`--body-data '${(t??"").replace(/'/g,"'\\''")}'`);else if("application/x-www-form-urlencoded"===e&&r){let e=r.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`).join("&");i.push(`--body-data '${e.replace(/'/g,"'\\''")}'`)}else"multipart/form-data"===e&&r?r.forEach(e=>{if(void 0!==e.fileName)i.push(`--body-file='${e.fileName.replace(/'/g,"'\\''")}'`);else{let t=e.value??"",a=e6(e.contentType)&&t?e5(t):t;i.push(`--body-data '${`${e.name}=${a}`.replace(/'/g,"'\\''")}'`)}}):t&&i.push(`--body-data '${e5(t).replace(/'/g,"'\\''")}'`)}return i.push("--output-document",`- ${s}`),i.join(" \\\n  ")}},{target:"shell",client:"httpie",title:"HTTPie",generate:e=>U(e3,e)}]},{key:"swift",title:"Swift",default:"nsurlsession",clients:[{target:"swift",client:"nsurlsession",title:"NSURLSession",generate(e,t){if(!e)return"";let a=(e.method||"GET").toUpperCase(),r=h(f(e.url??"",e.queryString)),n=g(e.headers,e.cookies),o=["import Foundation","",`var request = URLRequest(url: URL(string: ${JSON.stringify(r)})!)`];if(o.push(`request.httpMethod = ${JSON.stringify(a)}`),n.forEach(e=>{o.push(`request.setValue(${JSON.stringify(e.value)}, forHTTPHeaderField: ${JSON.stringify(e.name)})`)}),t?.auth?.username&&t?.auth?.password&&(o.push(`let credentials = ${JSON.stringify(`${t.auth.username}:${t.auth.password}`)}`),o.push("let encodedCredentials = Data(credentials.utf8).base64EncodedString()"),o.push('request.setValue("Basic \\(encodedCredentials)", forHTTPHeaderField: "Authorization")')),e.postData){let{mimeType:t,text:a,params:r}=e.postData;if("application/json"===t&&void 0!==a){let e=(e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}})(a),t=(e=>{let t=1;for(;e.includes(`"""${"#".repeat(t)}`);)t+=1;return"#".repeat(t)})(e);o.push(`let jsonBody = ${t}"""`),o.push(e),o.push(`"""${t}`),o.push("request.httpBody = jsonBody.data(using: .utf8)")}else if("application/x-www-form-urlencoded"===t&&r?.length){let e=r.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`).join("&");o.push(`let formBody = ${JSON.stringify(e)}`),o.push("request.httpBody = formBody.data(using: .utf8)")}else if("multipart/form-data"===t&&r?.length){let e;o.push(...(e=["let boundary = UUID().uuidString","var body = Data()","","func appendToBody(_ value: String) {","  body.append(value.data(using: .utf8)!)","}",""],r.forEach(t=>{let a=e7(t.name),r=e7(t.fileName??""),n=t.contentType?e7(t.contentType):void 0;(e.push('appendToBody("--\\(boundary)\\r\\n")'),void 0!==t.fileName)?(e.push(`appendToBody(${JSON.stringify(`Content-Disposition: form-data; name="${a}"; filename="${r}"\r
196`)})`),n&&e.push(`appendToBody(${JSON.stringify(`Content-Type: ${n}\r
197`)})`),e.push('appendToBody("\\r\\n")'),e.push(`appendToBody(${JSON.stringify(`<# File data for ${t.fileName||"file"} #>\r
198`)})`)):(e.push(`appendToBody(${JSON.stringify(`Content-Disposition: form-data; name="${a}"\r
199`)})`),n&&e.push(`appendToBody(${JSON.stringify(`Content-Type: ${n}\r
200`)})`),e.push('appendToBody("\\r\\n")'),e.push(`appendToBody(${JSON.stringify(t.value??"")})`),e.push('appendToBody("\\r\\n")')),e.push("")}),e.push('appendToBody("--\\(boundary)--\\r\\n")'),e)),o.push('request.setValue("multipart/form-data; boundary=\\(boundary)", forHTTPHeaderField: "Content-Type")'),o.push("request.httpBody = body")}else"application/octet-stream"===t?(o.push(`let binaryBody = Data(${JSON.stringify(a??"")}.utf8)`),o.push("request.httpBody = binaryBody")):void 0!==a&&(o.push(`let rawBody = ${JSON.stringify(a)}`),o.push("request.httpBody = rawBody.data(using: .utf8)"))}return o.push(""),o.push("let (data, response) = try await URLSession.shared.data(for: request)"),o.push(""),o.push("guard let httpResponse = response as? HTTPURLResponse,"),o.push("      200..<300 ~= httpResponse.statusCode else {"),o.push("  throw URLError(.badServerResponse)"),o.push("}"),o.push(""),o.push('print(String(data: data, encoding: .utf8) ?? "")'),o.join("\n")}}]}];function te(){function e(e,t){return e9.find(({key:t})=>t===e)?.clients.find(e=>e.client===t)}return{print:(t,a,r)=>e(t,a)?.generate(r),clients:()=>e9,plugins:()=>e9.flatMap(({key:e,clients:t})=>t.map(t=>({target:e,client:t.client}))),findPlugin:e,hasPlugin:(t,a)=>!!e(t,a)}}var tt="shell/curl",ta=e=>i.F.includes(e),tr=e=>ta(e)||"string"==typeof e&&e.startsWith("custom/"),tn=(e,t)=>{let a=t=>{for(let a of e){let e=a.options.find(e=>e.id===t);if(e)return e}}
200,r=e.find(e=>"custom"===e.key)?.options[0];if(t?.startsWith("custom"))return a(t)??r??a("shell/curl")??e[0]?.options[0];if(t){let e=a(t);if(e)return e}return r||(a("shell/curl")??e[0]?.options[0])},to=a(61930),tl=e=>{let t=new Map;return e.map(e=>{let a=(e.lang||"plaintext").toLowerCase(),r=t.get(a)??0;return t.set(a,r+1),0===r?`custom/${a}`:`custom/${a}/${r}`})},ts=(e=i.F)=>{let t=new Set(e);return te().clients().flatMap(e=>{let a=e.clients.flatMap(a=>{let r=`${e.key}/${a.client}`;return t.has(r)?{id:r,lang:"curl"===a.client?"curl":e.key,title:`${(0,to.ZH)(e.title)} ${a.title}`,label:a.title,targetKey:e.key,targetTitle:e.title,clientKey:a.client}:[]});return 0===a.length?[]:{label:e.title,key:e.key,options:a}})},ti="u">typeof OVERRIDE_PACKAGE_VERSION?OVERRIDE_PACKAGE_VERSION:"0.1.15",tc=a(75265),tu=a(51316),td=a(23373);let tp={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"};function tm(e){return e.replace(/[&<>"']/g,e=>tp[e]??e)}function th(e,t={}){let{indent:a="  ",format:r=!0,xmlDeclaration:n=!0}=t,o=(e,t,r)=>{let n="";if(Array.isArray(e))for(let a=0,l=e.length;a<l;a++)n+=o(e[a],t,r);else if("object"==typeof e&&null!==e){let l=!1,s="",i="";for(let t in e)"@"===t.charAt(0)&&(s+=" "+t.substr(1)+'="'+tm(e[t].toString())+'"');for(let t in e)"#text"===t?i+=tm(e[t]?.toString()??""):"#cdata"===t?i+="<![CDATA["+(e[t]?.toString()??"").replace(/]]>/g,"]]]]><![CDATA[>")+"]]>":"@"!==t.charAt(0)&&(l=!0,i+=o(e[t],t,r+a));l||i?(n+=r+"<"+t+s+">\n",n+=i,n+=r+"</"+t+">\n"):n+=r+"<"+t+s+"/>\n"}else n+=r+"<"+t+">"+tm(e?.toString()||"")+"</"+t+">\n";return n},l="";for(let t in n&&(l+='<?xml version="1.0" encoding="UTF-8"?>',r&&(l+="\n")),e)Object.hasOwn(e,t)&&(l+=o(e[t],t,""));return r?l.trim():l.replace(/\n/g,"").replace(/>\s+</g,"><").trim()}var tf=a(60652),tg=a(51324),tv=(e,t,a,r=!1)=>{let n=[];for(let[o,l]of Array.isArray(e)?e.filter(e=>!e.isDisabled).map(e=>[String(e.name),e.value]):Object.entries(e)){if(null==l)continue;let e=a?void 0:t?.[o],s=e&&(void 0!==e.style||void 0!==e.explode||void 0!==e.allowReserved),i=s||!r?void 0:e?.contentType,c=a?null:(0,td.hz)(o,l,e);if(c)for(let e of c)n.push({name:e.key,value:e.value});else if(l instanceof File){let e=(0,tg.s)(l);n.push({name:o,value:`@${e.name}`,...i?{contentType:i}:{}})}else if(i&&"object"==typeof l)n.push({name:o,value:JSON.stringify((0,tg.s)(l)),contentType:i});else if(!r||a||s||"object"!=typeof l||Array.isArray(l))if(Array.isArray(l)&&r&&!a&&!s&&l.some(e=>(0,tf.Z)(e)&&!(e instanceof File)))n.push({name:o,value:JSON.stringify((0,tg.s)(l)),contentType:"application/json"});else if(Array.isArray(l))for(let e of l)if(e instanceof File){let t=(0,tg.s)(e);n.push({name:o,value:`@${t.name}`})}else n.push({name:o,value:String(e)});else if("object"==typeof l)for(let e of tv(l,void 0,o))n.push({name:`${o}.${e.name}`,value:e.value});else n.push({name:o,value:String(l),...i?{contentType:i}:{}});else n.push({name:o,value:JSON.stringify((0,tg.s)(l)),contentType:"application/json"})}return n},ty=(e,t)=>("allowReserved"in t&&void 0!==t.allowReserved?t.allowReserved:"schema"in t&&!!t.schema&&"object"==typeof t.schema&&"allowReserved"in t.schema&&!0===t.schema.allowReserved)?e:encodeURIComponent(e),tb=e=>{if("header"===e.in)return{style:"simple",explode:"explode"in e&&void 0!==e.explode&&e.explode};if("cookie"===e.in)return{style:"form",explode:!("explode"in e)||void 0===e.explode||e.explode};let t={path:"simple",query:"form",header:"simple",cookie:"form"}[e.in],a="style"in e&&e.style?e.style:t;return{style:a,explode:"explode"in e&&void 0!==e.explode?e.explode:"form"===a}},tO=(e,t,a,r)=>{let n=(0,td.rI)(e,t,a);if((0,td.oy)(e,n,r))return;if(n?.value!==void 0)return(0,td.hX)(n.value,e);if(!("schema"in e)||!e.schema)return;let o="path"===e.in?{emptyString:`{${e.name}}`}:{};return(0,td.MH)((0,tu.A)(e.schema),o)},tk=(e,t,a,r,n)=>{switch(r){case"matrix":if(n){if(Array.isArray(a)){let r=a.map(e=>`${t.name}=${e}`).join(";");return e.replace(`{;${t.name}}`,`;${r}`)}if("object"==typeof a&&a){let r=Object.entries(a).map(([e,t])=>`${e}=${t}`).join(";");return e.replace(`{;${t.name}}`,`;${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${a}`)}if(Array.isArray(a))return e.replace(`{;${t.name}}`,`;${t.name}=${a.join(",")}`);
200if("object"==typeof a&&a){let r=Object.entries(a).map(([e,t])=>`${e},${t}`).join(",");return e.replace(`{;${t.name}}`,`;${t.name}=${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${a}`);case"label":if(n){if(Array.isArray(a))return e.replace(`{.${t.name}}`,`.${a.join(".")}`);if("object"==typeof a&&a){let r=Object.entries(a).map(([e,t])=>`${e}=${t}`).join(".");return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${a}`)}if(Array.isArray(a))return e.replace(`{.${t.name}}`,`.${a.join(",")}`);if("object"==typeof a&&a){let r=Object.entries(a).map(([e,t])=>`${e},${t}`).join(",");return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${a}`);case"simple":{let r=(0,td.iw)(a,n);return e.replace(`{${t.name}}`,String(r))}default:return e.replace(`{${t.name}}`,String(a))}},tx=a(86888),tw=a(98956),tS=a(70310),tC=({includeDefaultHeaders:e=!1,operation:t,contentType:a,method:r,path:n,server:o=null,example:l,securitySchemes:s,globalCookies:i,requestBodyCompositionSelection:c,defaultDisabledParameters:u=!1})=>{let d=(0,td.Ft)(e?(0,td.KZ)({method:r,operation:t,exampleName:l??"default",hideDisabledHeaders:!0,hideOverriddenHeaders:!0,options:{isElectron:(0,tS.b)(),appVersion:ti}}):{}),p=t["x-scalar-disable-parameters"]?.["global-cookies"]?.[l??"default"]??{},m={method:r,url:((e,t)=>{if(!e?.url)return t;let a=e.url;return e.variables?(0,tw.Hh)((0,tx.qk)(a,Object.entries(e.variables).reduce((e,[t,a])=>(void 0!==a.default&&(e[t]=a.default),e),{})),t):(0,tw.Hh)(a,t)})(o,n),headers:Object.entries(d).map(([e,t])=>({name:e,value:t})),queryString:[],postData:void 0,httpVersion:"HTTP/1.1",cookies:[],headersSize:-1,bodySize:-1};if(t.parameters){let{url:e,headers:a,queryString:r,cookies:n}=(({harRequest:e,parameters:t,example:a,defaultDisabled:r})=>{let n=[...e.headers],o=[...e.queryString],l=e.url;for(let s of(t??[]).map(e=>(0,tu.A)(e))){if(!s.in||!s.name)continue;let t=tO(s,a,void 0,r);if(void 0===t)continue;let{style:i,explode:c}=tb(s);switch(s.in){case"path":l=tk(l,s,t,i,c);break;case"query":if("content"in s&&s.content){let e=(0,td.T8)(t,Object.keys(s.content)[0]??"application/json");o.push({name:s.name,value:ty(e,s)});break}switch(i){case"form":{let e=(0,td.Cu)(t,c);if(Array.isArray(e))for(let t of e){let e=t.key||s.name;o.push({name:e,value:ty(String(t.value),s)})}else o.push({name:s.name,value:ty(String(e),s)});break}case"spaceDelimited":{let e=(0,td.rp)(t);o.push({name:s.name,value:ty(e,s)});break}case"pipeDelimited":{let e=(0,td.NC)(t);o.push({name:s.name,value:ty(e,s)});break}case"deepObject":if(Array.isArray(t)){let e=(0,td.Cu)(t,!0);if(Array.isArray(e))for(let t of e){let e=t.key||s.name;o.push({name:e,value:ty(String(t.value),s)})}else o.push({name:s.name,value:ty(String(e),s)})}else for(let e of(0,td.r5)(s.name,t))o.push({name:e.key,value:ty(e.value,s)});break;default:o.push({name:s.name,value:ty(String(t),s)})}break;case"header":{let e=(0,td.iw)(t,c);n.push({name:s.name,value:String(e)});break}case"cookie":{let a=(0,td.Qg)(t,c);if(Array.isArray(a))for(let t of a){let a=t.key||s.name,r=null===t.value?"null":String(t.value);e.cookies.push({name:a,value:r})}else{let t=null===a?"null":String(a);e.cookies.push({name:s.name,value:t})}}}}return{url:l,headers:n,queryString:o,cookies:e.cookies}})({harRequest:m,parameters:t.parameters,example:l,defaultDisabled:u}),o=i?.filter(t=>(0,td.Cd)({cookie:t,url:e,disabledGlobalCookies:p}))?.map(e=>({name:e.name,value:e.value}))??[];m.url=e,m.headers=a,m.queryString=r,m.cookies=[...o,...n]}let h=(0,tu.A)(t.requestBody);if(h?.content){let e=(({requestBody:e,contentType:t,example:a,requestBodyCompositionSelection:r})=>{let n=t||Object.keys(e.content)[0]||"",o="other"===n?"":n,l=e.content[n]?.encoding,s="multipart/form-data"===n||"application/x-www-form-urlencoded"===n,i="application/xml"===n,c=(0,td.rI)(e,a,t)?.value;if(void 0!==c){let e="object"==typeof c&&c?(0,tg.s)(c):c;return s&&"object"==typeof e&&e?{mimeType:o,params:tv(e,l,void 0,"multipart/form-data"===n)}:i&&"object"==typeof e&&e?{mimeType:o,text:th(e)}:e instanceof File?{mimeType:o,text:`@${(0,tg.s)(e).name||"filename"}`}:{mimeType:o,text:"string"==typeof e?e:JSON.stringify(e)}}let u=(0,tu.A)(e.content[n]?.schema);if(void 0!==u){let e=(0,td.MH)((0,tc.c)(u),{compositionSelection:r,mode:"write",xml:i},{schemaPath:["requestBody"]});if(void 0!==e)return s&&"object"==typeof e&&e?{mimeType:o,params:tv(e,l,void 0,"multipart/form-data"===n)}:i&&"object"==typeof e&&e?{mimeType:o,text:th(e)}:{mimeType:o,text:"string"==typeof e?e:JSON.stringify(e)}}})({requestBody:h,contentType:a,example:l,requestBodyCompositionSelection:c});if(e&&(m.postData=e,m.bodySize=e.text?.length??-1,e.mimeType)){let t=m.headers.find(e=>"content-type"===e.name.toLowerCase());t&&!t.value?t.value=e.mimeType:t||m.headers.push({name:"Content-Type",value:e.mimeType})}}if(s){let{headers:e,queryString:t,cookies:a}=(e=>{let t={headers:[],queryString:[],cookies:[]};for(let a of e){if("apiKey"===a.type){let e=a["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";if(!a.name)continue;let r={name:a.name,value:e};switch(a.in){case"header":t.headers.push(r);break;case"query":t.queryString.push(r);break;case"cookie":t.cookies.push(r)}continue}if("http"===a.type){if("basic"===a.scheme){let e=`${a["x-scalar-secret-username"]||""}:${a["x-scalar-secret-password"]||""}`,r=":"===e?"username:password":(0,R.lF)(e);t.headers.push({name:"Authorization",value:`Basic ${r}`})}else if("bearer"===a.scheme){let e=a["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";t.headers.push({name:"Authorization",value:`Bearer ${e}`})}continue}if("oauth2"===a.type&&a.flows){let e=Object.values(a.flows).find(e=>e["x-scalar-secret-token"])?.["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";t.headers.push({name:"Authorization",value:`Bearer ${e}`})}}return t})(s);m.headers.push(...e),m.queryString.push(...t),m.cookies.push(...a)}let f=0;for(let e of m.headers)f+=(e.name?.length??0)+2+(e.value?.length??0)+2;return m.headersSize=f,m},t$="ws://replace.me",tA=({clientId:e,customCodeSamples:t,includeDefaultHeaders:a=!1,operation:r,method:n,path:o,example:l,contentType:s,server:i,securitySchemes:c,globalCookies:u,requestBodyCompositionSelection:d,defaultDisabledParameters:p})=>{try{if(!e)return"";if(e.startsWith("custom"))return t[tl(t).indexOf(e)]?.source??"Custom example not found";let m=tC({operation:r,contentType:s,method:n,path:o,server:i,securitySchemes:c,example:l,globalCookies:u,includeDefaultHeaders:a,requestBodyCompositionSelection:d,defaultDisabledParameters:p}),[h,f]=e.split("/"),[g,v]=((e,t,a)=>{try{if(!a.url)return[Error("Please enter a URL to see a code snippet"),null];let r=a.url.startsWith("/")?"":"/";try{new URL(a.url)}catch{a.url=`${t$}${r}${a.url}`}if(a.postData?.mimeType==="application/json")try{JSON.parse(a.postData.text||"{}")}catch(e){return console.error("[getSnippet] Invalid JSON body",e),[Error("Invalid JSON body"),null]}let n=e.replace("javascript","js");if(te().hasPlugin(n,t)){let e=te().print(n,t,a);return e?[null,e.replace(`${t$}${r}`,"")]:[Error("Error generating snippet"),null]}}catch(e){return console.error("[getSnippet] Error generating snippet",e),[Error("Error generating snippet"),null]}return[Error("No snippet found"),null]})(h,f,m);return g?(console.error("[generateCodeSnippet]",g),g.message??"Error generating code snippet"):v}catch(e){return console.error("[generateCodeSnippet]",e),"Error generating code snippet"}},tR=(e,t)=>Object.entries(e??{}).map(([e,a])=>({lang:e,source:a,...t?{label:t}:{}}
200)),tE="Code Examples",tP=e=>{let t,a=e["x-scalar-examples"]??[];if(a.length)return{label:"SDK",samples:a};let r=tR(e["x-stainless-snippets"]);if(r.length)return{label:"SDK",samples:r};let n=(t=e["x-stainless-examples"])?(Array.isArray(t)?t:[t]).flatMap(e=>tR(e.request,e.title)):[];if(n.length)return{label:"SDK",samples:n};let o=(e["x-readme"]?.["code-samples"]??[]).map(e=>({lang:e.language,source:e.code,...e.name?{label:e.name}:{}}));return o.length?{label:tE,samples:o}:{label:tE,samples:["x-custom-examples","x-codeSamples","x-code-samples"].flatMap(t=>e[t]??[])}},tT={c:"C",clojure:"Clojure",cpp:"C++","c++":"C++",csharp:"C#","c#":"C#",css:"CSS",curl:"cURL",dart:"Dart",fsharp:"F#","f#":"F#",go:"Go",golang:"Go",graphql:"GraphQL",html:"HTML",http:"HTTP",java:"Java",javascript:"JavaScript",js:"JavaScript",json:"JSON",jl:"Julia",julia:"Julia",kotlin:"Kotlin",node:"Node.js",nodejs:"Node.js",objc:"Objective-C","objective-c":"Objective-C",ocaml:"OCaml",php:"PHP",powershell:"PowerShell",py:"Python",python:"Python",r:"R",ruby:"Ruby",rust:"Rust",scala:"Scala",sh:"Shell",shell:"Shell",bash:"Shell",sql:"SQL",swift:"Swift",ts:"TypeScript",typescript:"TypeScript",xml:"XML",yaml:"YAML",yml:"YAML"},t_=(e,t,a=tE)=>{if(e.length){let r=tl(e);return[{label:a,key:"custom",options:e.map((e,t)=>{let a=r[t]??`custom/${t}`,n=e.label||(e=>{if(e)return tT[e.toLowerCase()]??((e="")=>(e[0]?.toUpperCase()??"")+e.slice(1))(e)})(e.lang)||a;return{id:a,lang:e.lang||"plaintext",title:n,label:n,clientKey:"custom"}})},...t]}return t},tj=e=>e.flatMap(e=>"apiKey"===e.type?e["x-scalar-secret-token"]:e?.type==="http"?[e["x-scalar-secret-token"],e["x-scalar-secret-username"],e["x-scalar-secret-password"],(0,R.lF)(`${e["x-scalar-secret-username"]}:${e["x-scalar-secret-password"]}`)]:"oauth2"===e.type?Object.values(e.flows).map(e=>e["x-scalar-secret-token"]):[]).filter(Boolean),tQ=a(38547),tL=a(10779),tM=a(28900),tZ=a(95876),tU=a(40978),tX={class:"min-w-0 flex-1 truncate"},tI=(0,tQ.pM)({inheritAttrs:!1,__name:"ExamplePicker",props:(0,tQ.zz)({examples:{default:()=>({})}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,tQ.fn)(e,"modelValue"),a=(0,tQ.EW)(()=>Object.entries(e.examples).map(([e,t])=>({id:e,label:t?.summary??e}))),r=(0,tQ.EW)({get:()=>a.value.find(({id:e})=>e===t.value),set:e=>t.value=e?.id??""});return(e,t)=>((0,tQ.uX)(),(0,tQ.Wv)((0,tL.R1)(tU.cy),{modelValue:r.value,"onUpdate:modelValue":t[0]||=e=>r.value=e,class:"w-fit min-w-32",options:a.value,placement:"bottom-start",teleport:""},{default:(0,tQ.k6)(()=>[(0,tQ.bF)((0,tL.R1)(tM.R),(0,tQ.v6)({class:"text-c-2 hover:text-c-1 flex h-full w-fit min-w-0 gap-1.5 px-1.5 py-0.75 text-base font-normal","data-testid":"example-picker",variant:"ghost"},e.$attrs),{default:(0,tQ.k6)(()=>[(0,tQ.Lk)("div",tX,(0,to.v_)(r.value?.label??"Select an example"),1),(0,tQ.bF)((0,tL.R1)(tZ.A),{class:"ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]),_:1},16)]),_:1},8,["modelValue","options"]))}}),tB=a(4356),tq=a(83031),tW=(0,tQ.pM)({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=(0,tQ.EW)(()=>(0,tB.g)(String(e.method||""))),a=(0,tQ.EW)(()=>(0,tq.F)(e.method));return(r,n)=>((0,tQ.uX)(),(0,tQ.Wv)((0,tQ.$y)(e.as??"span"),{class:"uppercase",style:(0,to.Tr)({[e.property||"color"]:t.value.colorVar})},{default:(0,tQ.k6)(()=>[(0,tQ.RG)(r.$slots,"default"),(0,tQ.eW)(" "+(0,to.v_)(e.short?t.value.short:a.value),1)]),_:3},8,["style"]))}}),tD=a(11787),tN=a(26996),tV=a(54860),tF=a(35207),tz=a(59259),tH=["innerHTML"],tY={key:1,class:"text-c-2 flex h-full w-fit items-center px-0.5 py-0 text-base font-normal","data-testid":"client-picker"},tG=["id"],tK={key:0,class:"request-card-footer-addon"},tJ={class:"request-header"},t0=((e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a})((0,tQ.pM)({__name:"CodeExample",props:{integration:{},clientOptions:{},selectedClient:{},selectedServer:{default:null},selectedContentType:{},selectedExample:{},eventBus:{},securitySchemes:{default:()=>[]},method:{},path:{},operation:{},fallback:{type:Boolean},generateLabel:{type:Function},isWebhook:{type:Boolean},globalCookies:{},requestBodyCompositionSelection:{}},emits:["update:exampleKey"],setup(e,{emit:t}){let a=(0,tQ.EW)(()=>{let t=(0,tu.A)(e.operation.requestBody)?.content??{}
200,a=e.selectedContentType||Object.keys(t)[0];return a?t[a]?.examples??{}:{}}),r=(0,tL.KR)(""),n=e=>{let t=Object.keys(a.value);return e&&t.includes(e)?e:r.value&&t.includes(r.value)?r.value:t[0]??""};(0,tQ.KC)(()=>{r.value=n(e.selectedExample)}),(0,tQ.wB)(()=>e.selectedExample,e=>{r.value=n(e)}),(0,tQ.wB)(()=>e.selectedContentType,()=>{Object.keys(a.value).includes(r.value)||(r.value=n(e.selectedExample))}),(0,tQ.nT)(()=>{t("update:exampleKey",r.value)});let o=t=>{r.value=t,e.eventBus.emit("workspace:update:selected-example",t)},l=(0,tQ.EW)(()=>tP(e.operation)),i=(0,tQ.EW)(()=>t_(l.value.samples,e.clientOptions,l.value.label)),c=(0,tQ.EW)(()=>i.value.reduce((e,t)=>e+t.options.length,0)),u=(0,tL.KR)(tn(i.value,e.selectedClient));(0,tQ.wB)([()=>e.selectedClient,i],([e])=>{let t=tn(i.value,e);t&&(u.value=t)});let d=(0,tQ.EW)(()=>{if(!e.isWebhook)return null;try{return tC({operation:e.operation,method:e.method,path:e.path,example:r.value,requestBodyCompositionSelection:e.requestBodyCompositionSelection,defaultDisabledParameters:!0})}catch(e){return console.error("[webhookHar]",e),null}}),p=(0,tQ.EW)(()=>e.isWebhook?d.value?.postData?.text??"":tA({defaultDisabledParameters:!0,includeDefaultHeaders:"client"===e.integration,clientId:u.value?.id,customCodeSamples:l.value.samples,operation:e.operation,method:e.method,path:e.path,contentType:e.selectedContentType,server:e.selectedServer,securitySchemes:e.securitySchemes,example:r.value,globalCookies:e.globalCookies,requestBodyCompositionSelection:e.requestBodyCompositionSelection})),m=(0,tQ.EW)(()=>e.isWebhook?h.value:u.value?.lang),h=(0,tQ.EW)(()=>{if(!d.value?.postData)return"json";let e=d.value.postData.mimeType;return e?.includes("json")?"json":e?.includes("xml")?"xml":e?.includes("yaml")||e?.includes("yml")?"yaml":e?.includes("text/plain")?"text":"json"}),f=(0,tQ.EW)(()=>tj(e.securitySchemes)),g=(0,tL.KR)(null),v=(0,tQ.EW)(()=>(p.value.length??0)>2e4),y=(0,tQ.Bi)();return(t,n)=>p.value?((0,tQ.uX)(),(0,tQ.Wv)((0,tL.R1)(tD.Zl),{key:0,ref_key:"elem",ref:g,class:"request-card dark-mode"},{default:(0,tQ.k6)(()=>[(0,tQ.bF)((0,tL.R1)(tD.M2),{class:"pr-2.5"}
200,(0,tQ.eX)({default:(0,tQ.k6)(()=>[n[1]||=(0,tQ.Lk)("span",{class:"sr-only"},"Request Example for",-1),(0,tQ.bF)(tW,{as:"span",class:"request-method",method:e.method},null,8,["method"]),e.generateLabel?((0,tQ.uX)(),(0,tQ.CE)("span",{key:0,innerHTML:e.generateLabel()},null,8,tH)):(0,tQ.Q3)("",!0),(0,tQ.RG)(t.$slots,"header",{},void 0,!0)]),_:2},[!e.isWebhook&&c.value?{name:"actions",fn:(0,tQ.k6)(()=>[c.value>1?((0,tQ.uX)(),(0,tQ.Wv)((0,tL.R1)(tV.ev),{key:0,class:"max-h-80",filterFn:(0,tL.R1)(s),modelValue:u.value,options:i.value,placement:"bottom-end",teleport:"","onUpdate:modelValue":n[0]||=t=>(t=>{if(g.value){let e=(0,tz.Y)(g.value.$el);setTimeout(()=>{e()},300)}u.value=t,t&&e.eventBus.emit("workspace:update:selected-client",t.id)})(t)},{default:(0,tQ.k6)(()=>[(0,tQ.bF)((0,tL.R1)(tM.R),{class:"text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-0.5 py-0 text-base font-normal","data-testid":"client-picker",variant:"ghost"},{default:(0,tQ.k6)(()=>[(0,tQ.eW)((0,to.v_)(u.value?.title)+" ",1),(0,tQ.bF)((0,tL.R1)(tZ.A),{class:"ui-open:rotate-180 mt-px size-3 transition-transform duration-100",weight:"bold"})]),_:1})]),_:1},8,["filterFn","modelValue","options"])):((0,tQ.uX)(),(0,tQ.CE)("span",tY,(0,to.v_)(u.value?.title),1))]),key:"0"}:void 0]),1024),(0,tQ.bF)((0,tL.R1)(tD.gW),{class:"request-editor-section custom-scroll p-0"},{default:(0,tQ.k6)(()=>[(0,tQ.Lk)("div",{id:`${(0,tL.R1)(y)}-example`,class:"code-snippet"},[v.value?((0,tQ.uX)(),(0,tQ.Wv)((0,tL.R1)(tF.$),{key:1,containerClass:"custom-scroll scalar-code-block border rounded-b flex flex-1 max-h-screen",contentClass:"language-plaintext whitespace-pre font-code text-base p-2",lineHeight:20,text:p.value},null,8,["text"])):((0,tQ.uX)(),(0,tQ.Wv)((0,tL.R1)(tN.z),{key:0,class:"bg-b-2 h-full",content:p.value,hideCredentials:f.value,lang:m.value,lineNumbers:""},null,8,["content","hideCredentials","lang"]))],8,tG)]),_:1}),Object.keys(a.value).length>1||t.$slots.footer?((0,tQ.uX)(),(0,tQ.Wv)((0,tL.R1)(tD.yE),{key:0,class:"request-card-footer bg-b-3"},{default:(0,tQ.k6)(()=>[Object.keys(a.value).length>1?((0,tQ.uX)(),(0,tQ.CE)("div",tK,[Object.keys(a.value).length?((0,tQ.uX)(),(0,tQ.Wv)(tI,{key:0,examples:a.value,modelValue:r.value,"onUpdate:modelValue":o},null,8,["examples","modelValue"])):(0,tQ.Q3)("",!0)])):(0,tQ.Q3)("",!0),(0,tQ.RG)(t.$slots,"footer",{exampleName:r.value},void 0,!0)]),_:3})):(0,tQ.Q3)("",!0)]),_:3},512)):e.fallback?((0,tQ.uX)(),(0,tQ.Wv)((0,tL.R1)(tD.Zl),{key:1,class:"request-card dark-mode"},{default:(0,tQ.k6)(()=>[(0,tQ.bF)((0,tL.R1)(tD.gW),{class:"request-card-simple"},{default:(0,tQ.k6)(()=>[(0,tQ.Lk)("div",tJ,[(0,tQ.bF)(tW,{as:"span",class:"request-method",method:e.method},null,8,["method"]),(0,tQ.RG)(t.$slots,"header",{},void 0,!0)]),(0,tQ.RG)(t.$slots,"footer",{exampleName:r.value},void 0,!0)]),_:3})]),_:3})):(0,tQ.Q3)("",!0)}}),[["__scopeId","data-v-e8761738"]]);a(85281),a(38749),a(62449)},57319:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r=a(8873),n=a(38547),o=a(61930),l=a(10779),s=(0,n.pM)({inheritAttrs:!1,__name:"ScalarCopyBackdrop",setup(e){let{cx:t}=(0,r.AX)();return(e,a)=>((0,n.uX)(),(0,n.CE)("div",(0,o._B)((0,n.Ng)((0,l.R1)(t)("absolute inset-y-0.5 -z-2 left-0 right-0 bg-b-1 rounded"))),null,16))}})},57443:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(38547),n=a(10779),o=a(8873),l=(0,r.pM)({inheritAttrs:!1,__name:"DataTableCell",props:{is:{default:"td"}},setup(e){let{cx:t}=(0,o.AX)();return(a,o)=>((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.is),(0,r.v6)((0,n.R1)(t)("box-content max-h-8 min-h-8 min-w-8 border-l-0 border-t border-b-0 border-r flex text-base/5 last:border-r-0 group-last:border-b-transparent p-0 m-0 relative"),{class:"group-[.alert]:bg-b-alert group-[.error]:bg-b-danger"}),{default:(0,r.k6)(()=>[(0,r.RG)(a.$slots,"default")]),_:3},16))}})},58499:(e,t,a)=>{"use strict";a.d(t,{v:()=>l});var r=a(14701),n=a(80597),o=a(66429);function l(e,t){let a=void 0!==t?{...t,...e}:e;switch(r.Q.InstanceMode){case"freeze":return function e(t){return n.QS(t)?globalThis.Object.freeze(t).map(t=>e(t)):n.XF(t)||n.G4(t)||n.__(t)?t:n.av(t)?function(t){let a={};for(let r of Object.getOwnPropertyNames(t))a[r]=e(t[r]);for(let r of Object.getOwnPropertySymbols(t))a[r]=e(t[r]);return globalThis.Object.freeze(a)}(t):t}(a);case"clone":return(0,o.i)(a);default:return a}}},58789:(e,t,a)=>{"use strict";a.d(t,{A:()=>tj});var r=a(5582),n=a(38547),o=a(10779),l=a(61930),s=a(28900),i=a(91562),c={class:"text-c-2 mb-4 text-sm leading-normal"},u={class:"flex justify-between gap-2"},d=(0,n.pM)({__name:"DeleteRequestAuthModal",props:{state:{},label:{}},emits:["close","delete"],setup(e,{emit:t}){let a=()=>{t("delete")};return(r,d)=>((0,n.uX)(),(0,n.Wv)((0,o.R1)(i.u),{size:"xxs",state:e.state,title:"Delete Security Scheme"},{default:(0,n.k6)(()=>[(0,n.Lk)("p",c," This cannot be undone. You're about to delete the "+(0,l.v_)(e.label)+" security scheme from the collection. ",1),(0,n.Lk)("div",u,[(0,n.bF)((0,o.R1)(s.R),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"button",variant:"outlined",onClick:d[0]||(d[0]=e=>t("close"))},{default:(0,n.k6)(()=>[...d[1]||(d[1]=[(0,n.eW)(" Cancel ",-1)])]),_:1}),(0,n.bF)((0,o.R1)(s.R),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"submit",onClick:a},{default:(0,n.k6)(()=>[(0,n.eW)(" Delete "+(0,l.v_)(e.label),1)]),_:1})])]),_:1},8,["state"]))}}),p={apiKeyCookie:{label:"API Key in Cookies",payload:{type:"apiKey",in:"cookie",name:"apiKeyCookie"}},apiKeyHeader:{label:"API Key in Headers",payload:{type:"apiKey",in:"header",name:"apiKeyHeader"}},apiKeyQuery:{label:"API Key in Query Params",payload:{type:"apiKey",in:"query",name:"apiKeyQuery"}},httpBasic:{label:"HTTP Basic",payload:{type:"http",scheme:"basic"}},httpBearer:{label:"HTTP Bearer",payload:{type:"http",scheme:"bearer"}},oauth2Implicit:{label:"Oauth2 Implicit Flow",payload:{type:"oauth2",flows:{implicit:{authorizationUrl:"",refreshUrl:"",scopes:{}}}}},oauth2Password:{label:"Oauth2 Password Flow",payload:{type:"oauth2",flows:{password:{tokenUrl:"",refreshUrl:"",scopes:{}}}}},oauth2ClientCredentials:{label:"Oauth2 Client Credentials",payload:{type:"oauth2",flows:{clientCredentials:{tokenUrl:"",refreshUrl:"",scopes:{}}}}},oauth2AuthorizationFlow:{label:"Oauth2 Authorization Code",payload:{type:"oauth2",flows:{authorizationCode:{authorizationUrl:"",tokenUrl:"",refreshUrl:"","x-usePkce":"no",scopes:{}}}}}},m=a(51316),h=a(44084),f=a(8922),g=e=>JSON.stringify(Object.keys(e)),v=({name:e,value:t})=>({id:(0,h.W)(JSON.stringify(t)),label:e,value:t,isDeletable:!0}),y=e=>v({name:Object.keys(e).join(" & "),value:e}),b=(e,t)=>{let a=Object.keys(e);if(a.length>1){if(a.some(e=>{let a=(0,m.A)(t[e]);return!!a&&(0,f.d)(a)}))return;return y(e)}if(a[0]){let r=(0,m.A)(t[a[0]]);if(!r||(0,f.d)(r))return;return v({name:a[0],value:e})}},O=a(10363),k=a(57443),x=a(45460),w=(e,t,a)=>{let r=e.get(a);if(null!==r)return{params:e,value:r};let n=t.get(a);return null!==n?{params:t,value:n}:{params:null,value:null}},S=(e,t="access_token")=>{try{var a;let r,{searchParams:n,hashParams:o}=(a=e(),{searchParams:(r=new URL(a)).searchParams,hashParams:new URLSearchParams(r.hash.slice(1))}),l=w(n,o,t),s=w(n,o,"code");return{accessToken:l.value,accessTokenParams:l.params,code:s.value,codeParams:s.params,error:n.get("error")??o.get("error"),errorDescription:n.get("error_description")??o.get("error_description"),refreshToken:n.get("refresh_token")??o.get("refresh_token")}}catch(e){return{accessToken:null,accessTokenParams:null,code:null,codeParams:null,error:null,errorDescription:null,refreshToken:null}}},C=a(23373),$=a(16250),A=a(86888),R=a(18967),E=a(11125),P=a(5342),T=(e,t={})=>(0,A.Rf)((0,A.xG)(e?.url??"",(0,C.lE)(e)),t),_=(e,t={})=>{let a=T(e,t);return a?(0,R.K)(a)?"u"<typeof window?{}:{basePath:a}:{baseUrl:a}:{}},j=async(e,t)=>{if("plain"===t)return e;if("function"!=typeof crypto?.subtle?.digest)return console.warn("SHA-256 is only supported when using https, using a plain text code challenge instead."),e;let a=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",a);return(0,P.SM)(new Uint8Array(r),!0)},Q=async(e,t,a,r,n,o={},l,s)=>{let i=e[t];try{if(!i)return[Error("Flow not found"),null];let c=a.join(" ");if("clientCredentials"===t||"password"===t)return L(e,t,c,{proxyUrl:n,customFetch:l},r,o);let u=(Math.random()+1).toString(36).substring(2,10),d=(0,$.r)(e[t]["x-scalar-secret-auth-url"]??e[t].authorizationUrl,_(r,o)),p=new URL(d),m=null;if("implicit"===t)p.searchParams.set("response_type","token");else if("authorizationCode"===t){let a=e[t];if(p.searchParams.set("response_type","code"),"no"!==a["x-usePkce"]){let e,t=(e=new 
200Uint8Array(32),crypto.getRandomValues(e),(0,P.SM)(e,!0)),r=await j(t,a["x-usePkce"]);m={codeVerifier:t,codeChallenge:r,codeChallengeMethod:"SHA-256"===a["x-usePkce"]?"S256":"plain"},p.searchParams.set("code_challenge",r),p.searchParams.set("code_challenge_method",m.codeChallengeMethod)}}let h=e[t];if(!s)if(h["x-scalar-secret-redirect-uri"].startsWith("/")){let e=T(r,o)||window.location.origin+window.location.pathname,t=new URL(h["x-scalar-secret-redirect-uri"],e).toString();p.searchParams.set("redirect_uri",t)}else p.searchParams.set("redirect_uri",h["x-scalar-secret-redirect-uri"]);if(i["x-scalar-security-query"]&&Object.keys(i["x-scalar-security-query"]).forEach(e=>{let t=i["x-scalar-security-query"]?.[e];t&&p.searchParams.set(e,t)}),p.searchParams.set("client_id",i["x-scalar-secret-client-id"]),p.searchParams.set("state",u),c&&p.searchParams.set("scope",c),s){let[a,d]=await s({authorizationUrl:p.toString()});if(a||!d)return[a??Error("Failed to capture the OAuth2 redirect"),null];let{accessToken:h,accessTokenParams:f,code:g,codeParams:v,error:y,errorDescription:b,refreshToken:O}=S(()=>d.callbackUrl,i["x-tokenName"]||"access_token");if(y)return[Error(`OAuth error: ${y}${b?` (${b})`:""}`),null];if(h){if((f?.get("state")??null)!==u)return[Error("State mismatch"),null];return[null,{accessToken:h,...O?{refreshToken:O}:{}}]}if(g&&"authorizationCode"===t){if((v?.get("state")??null)!==u)return[Error("State mismatch"),null];return L(e,t,c,{code:g,pkce:m,proxyUrl:n,customFetch:l,redirectUri:d.redirectUri},r,o)}return[Error("No authorization code or access token was returned"),null]}let f=window.open(p,"openAuth2Window","left=100,top=100,width=800,height=600");if(f)return new Promise(a=>{let s=setInterval(()=>{let{accessToken:d,accessTokenParams:p,code:h,codeParams:g,error:v,errorDescription:y,refreshToken:b}=S(()=>f.location.href,i["x-tokenName"]||"access_token");if(f.closed||d||h||v){if(clearInterval(s),f.close(),v)return void a([Error(`OAuth error: ${v}${y?` (${y})`:""}`),null]);if(d)return void((p?.get("state")??null)===u?a([null,{accessToken:d,...b?{refreshToken:b}:{}}]):a([Error("State mismatch"),null]));if(h&&"authorizationCode"===t)return void((g?.get("state")??null)===u?L(e,t,c,{code:h,pkce:m,proxyUrl:n,customFetch:l},r,o).then(a).catch(e=>{a([e instanceof Error?e:Error("Failed to get an access token",{cause:e}),null])}):a([Error("State mismatch"),null]));a([Error("Window was closed without granting authorization"),null])}},200)});return[Error("Failed to open auth window"),null]}catch(e){return[e instanceof Error?e:Error("Failed to authorize oauth2 flow",{cause:e}),null]}},L=async(e,t,a,{code:r,pkce:n,proxyUrl:o,customFetch:l=fetch,redirectUri:s}={},i,c={})=>{let u=e[t];if(!u)return[Error("OAuth2 flow was not defined"),null];let d=new URLSearchParams;a&&("clientCredentials"===t||"password"===t)&&d.set("scope",a);let p="body"===u["x-scalar-credentials-location"],m=!!u["x-scalar-secret-client-secret"];if((p||"authorizationCode"===t&&!m)&&d.set("client_id",u["x-scalar-secret-client-id"]),p&&m&&d.set("client_secret",u["x-scalar-secret-client-secret"]),s?d.set("redirect_uri",s):"x-scalar-secret-redirect-uri"in u&&u["x-scalar-secret-redirect-uri"]&&d.set("redirect_uri",u["x-scalar-secret-redirect-uri"]),r)d.set("code",r),d.set("grant_type","authorization_code"),n&&d.set("code_verifier",n.codeVerifier);else if("password"===t){let a=e[t];d.set("grant_type","password"),d.set("username",a["x-scalar-secret-username"]),d.set("password",a["x-scalar-secret-password"])}else d.set("grant_type","client_credentials");u["x-scalar-security-body"]&&Object.entries(u["x-scalar-security-body"]).forEach(([e,t])=>{null!=t&&d.set(e,String(t))});try{let e={"Content-Type":"application/x-www-form-urlencoded"};!p&&m&&(e.Authorization=`Basic ${(0,P.lF)(`${u["x-scalar-secret-client-id"]}:${u["x-scalar-secret-client-secret"]}`)}`);let t=(0,$.r)(u["x-scalar-secret-token-url"]??u.tokenUrl,_(i,c)),a=await (await l((0,E.p)(o,t)?`${o}?${new URLSearchParams([["scalar_url",t]]).toString()}`:t,{method:"POST",headers:e,body:d})).json(),r=a[u["x-tokenName"]||"access_token"],n=a.refresh_token;if(!r)return[Error(a.error_description??a.error??"Failed to get an access token"),null];return[null,{accessToken:r,..."string"==typeof n?{refreshToken:n}:{}}]}catch(e){return[e instanceof Error?e:Error("Failed to get an access token. Please check your credentials.",{cause:e}),null]}},M=async(e,t,a,r,n={},o=fetch)=>{let l=e[t];if(!l)return[Error("OAuth2 flow was not defined"),null];let s=l["x-scalar-secret-refresh-token"];if(!s)return[Error("No refresh token available"),null];let i=new URLSearchParams;i.set("grant_type","refresh_token"),i.set("refresh_token",s);let c="body"===l["x-scalar-credentials-location"],u=!!l["x-scalar-secret-client-secret"];(c||"authorizationCode"===t&&!u)&&i.set("client_id",l["x-scalar-secret-client-id"]),c&&u&&i.set("client_secret",l["x-scalar-secret-client-secret"]),l["x-scalar-security-body"]&&Object.entries(l["x-scalar-security-body"]).forEac
200h(([e,t])=>{null!=t&&i.set(e,String(t))});try{let e={"Content-Type":"application/x-www-form-urlencoded"};!c&&u&&(e.Authorization=`Basic ${(0,P.lF)(`${l["x-scalar-secret-client-id"]}:${l["x-scalar-secret-client-secret"]}`)}`);let t=(0,$.r)(l.refreshUrl||l["x-scalar-secret-token-url"]||l.tokenUrl,_(r,n)),d=await (await o((0,E.p)(a,t)?`${a}?${new URLSearchParams([["scalar_url",t]]).toString()}`:t,{method:"POST",headers:e,body:i})).json(),p=d[l["x-tokenName"]||"access_token"],m=d.refresh_token;if(!p)return[Error(d.error_description??d.error??"Token refresh failed"),null];return[null,{accessToken:p,..."string"==typeof m?{refreshToken:m}:{refreshToken:s}}]}catch(e){return[e instanceof Error?e:Error("Failed to refresh the access token. Please re-authorize.",{cause:e}),null]}},Z=e=>e?Object.entries(e).filter(e=>void 0!==e[1]&&!(0,f.d)(e[1])).map(([e,t],a)=>({key:e,order:t["x-order"],index:a})).sort((e,t)=>void 0!==e.order&&void 0!==t.order?e.order-t.order:void 0!==e.order?-1:void 0!==t.order?1:e.index-t.index).map(e=>e.key):[],U=e=>e.oauth2RedirectUri?e.oauth2RedirectUri:"u"<typeof window||"file:"===window.location.protocol?"":window.location.origin+window.location.pathname,X=(e,t)=>{let{bearerSchemeName:a,oauth2Name:r,flowType:n,tokens:o}=t;e.emit("auth:update:security-scheme-secrets",{payload:{type:"http","x-scalar-secret-token":o.accessToken},name:a}),o.refreshToken&&e.emit("auth:update:security-scheme-secrets",{payload:{type:"oauth2",[n]:{"x-scalar-secret-refresh-token":o.refreshToken}},name:r})},I=async e=>{let{eventBus:t,bearerSchemeName:a,oauth2Name:r,flows:n,flowType:o,scopes:l,server:s,proxyUrl:i,environment:c,options:u}=e,d=n[o],p=await Q(d&&("authorizationCode"===o||"implicit"===o)?{...n,[o]:{...d,"x-scalar-secret-redirect-uri":d["x-scalar-secret-redirect-uri"]||U(u??{})||""}}:n,o,l,s,i,(0,C.RW)(c),u?.customFetch,u?.captureOAuth2Callback),m=p[1];return m?.accessToken&&X(t,{bearerSchemeName:a,oauth2Name:r,flowType:o,tokens:m}),p},B=a(13416),q=a(91565),W=a(65338),D=a(8544),N=a(94361),V={key:0},F={key:1},z={key:2},H={key:3},Y={key:4},G={key:5},K=(0,n.pM)({name:"ScalarIconEye",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,N.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",V,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",F,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",z,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.
20061,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",H,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",Y,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",G,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}}),J={key:0},ee={key:1},et={key:2},ea={key:3},er={key:4},en={key:5},eo=(0,n.pM)({name:"ScalarIconEyeSlash",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,N.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",J,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ee,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",et,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ea,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",er,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.
20011,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",en,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}}),el=a(55934),es=["for"],ei={class:"relative flex min-w-0 flex-1"},ec=["readOnly","type","value"],eu={key:1,class:"centered-y text-orange absolute right-7 text-xs"},ed=(0,n.pM)({inheritAttrs:!1,__name:"DataTableInput",props:{id:{},type:{},containerClass:{},required:{type:Boolean,default:!1},modelValue:{},canAddCustomEnumValue:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},enum:{},environment:{},description:{},withFakeData:{type:Boolean,default:!0}},emits:["update:modelValue","inputFocus","inputBlur","selectVariable"],setup(e,{emit:t}){let a=(0,o.KR)(!0),r=(0,o.KR)(!1),s=(0,n.rk)("codeInput"),i=()=>!r.value&&t("inputBlur"),c=(0,n.EW)(()=>"password"===e.type?"text":e.type??"text"),u=()=>{e.enum?.length||e.readOnly||s.value?.focus()};return(r,d)=>((0,n.uX)(),(0,n.Wv)(k.A,{class:(0,l.C4)(["relative flex",e.containerClass])},{default:(0,n.k6)(()=>[r.$slots.default?((0,n.uX)(),(0,n.CE)("div",{key:0,class:"text-c-1 flex items-center pr-0 pl-3",for:e.id??"",onClick:u},[(0,n.RG)(r.$slots,"default",{},void 0,!0),d[6]||(d[6]=(0,n.eW)(": ",-1))],8,es)):(0,n.Q3)("",!0),(0,n.Lk)("div",ei,[e.enum&&e.enum.length?((0,n.uX)(),(0,n.Wv)(q.A,{key:0,canAddCustomValue:e.canAddCustomEnumValue,modelValue:e.modelValue,value:e.enum,"onUpdate:modelValue":d[0]||(d[0]=e=>t("update:modelValue",e))},null,8,["canAddCustomValue","modelValue","value"])):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[a.value&&"password"===e.type?((0,n.uX)(),(0,n.CE)("input",(0,n.v6)({key:0},e.id?{...r.$attrs,id:e.id}:r.$attrs,{autocomplete:"off",class:["text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none px-2 py-1.25 -outline-offset-1",{"scalar-password-input":"password"===e.type}],"data-1p-ignore":"",readOnly:e.readOnly,spellcheck:"false",type:c.value,value:e.modelValue,onInput:d[1]||(d[1]=e=>t("update:modelValue",e.target.value??""))}),null,16,ec)):((0,n.uX)(),(0,n.Wv)((0,o.R1)(W.A),(0,n.v6)({key:1},r.$attrs,{id:e.id,ref_key:"codeInput",ref:s,class:["text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none -outline-offset-1",["password"===e.type&&e.description&&"pr-12",e.description&&"pr-8","password"===e.type&&"scalar-password-input"]],environment:e.environment,modelValue:e.modelValue??"",readOnly:e.readOnly,required:!!e.required,type:c.value,withFakeData:e.withFakeData,onBlur:i,onFocus:d[2]||(d[2]=e=>t("inputFocus")),"onUpdate:modelValue":d[3]||(d[3]=e=>t("update:modelValue",e))}),null,16,["id","class","environment","modelValue","readOnly","required","type","withFakeData"]))],64))]),r.$slots.warning?((0,n.uX)(),(0,n.CE)("div",eu,[(0,n.RG)(r.$slots,"warning",{},void 0,!0)])):(0,n.Q3)("",!0),(0,n.RG)(r.$slots,"icon",{},void 0,!0),e.modelValue?((0,n.uX)(),(0,n.Wv)((0,o.R1)(el.E),{key:2,class:"-ml-.25 h-6 w-6 self-center p-1.25",icon:(0,o.R1)(D.A),label:"Clear Value",onClick:d[4]||(
200d[4]=e=>t("update:modelValue",""))},null,8,["icon"])):(0,n.Q3)("",!0),"password"===e.type?((0,n.uX)(),(0,n.Wv)((0,o.R1)(el.E),{key:3,class:"-ml-.5 mr-1.25 h-6 w-6 self-center p-1.25","data-testid":"data-table-password-toggle",icon:a.value?(0,o.R1)(K):(0,o.R1)(eo),label:a.value?"Show Password":"Hide Password",onClick:d[5]||(d[5]=e=>a.value=!a.value)},null,8,["icon","label"])):(0,n.Q3)("",!0)]),_:3},8,["class"]))}}),ep=(0,B.A)(ed,[["__scopeId","data-v-a6f4752a"]]),em=["for"],eh=(0,n.pM)({__name:"RequestAuthDataTableInput",props:(0,n.zz)({containerClass:{},environment:{},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},type:{}},{modelValue:{default:"",required:!0},modelModifiers:{}}),emits:(0,n.zz)(["inputFocus","inputBlur","selectVariable"],["update:modelValue"]),setup(e,{emit:t}){let a=(0,n.fn)(e,"modelValue"),r=(0,n.Bi)();return(l,s)=>((0,n.uX)(),(0,n.Wv)((0,o.R1)(ep),(0,n.v6)({id:(0,o.R1)(r)},l.$attrs,{modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=e=>a.value=e),canAddCustomEnumValue:!e.readOnly,containerClass:e.containerClass,environment:e.environment,readOnly:e.readOnly,required:e.required,type:e.type,onInputBlur:s[1]||(s[1]=e=>t("inputBlur")),onInputFocus:s[2]||(s[2]=e=>t("inputFocus")),onSelectVariable:s[3]||(s[3]=e=>t("selectVariable",e))}),{default:(0,n.k6)(()=>[(0,n.Lk)("label",{for:(0,o.R1)(r)},[(0,n.RG)(l.$slots,"default")],8,em)]),icon:(0,n.k6)(()=>[(0,n.RG)(l.$slots,"icon")]),_:3},16,["id","modelValue","canAddCustomEnumValue","containerClass","environment","readOnly","required","type"]))}}),ef=a(27417),eg=a(56942),ev=a(8873),ey={class:"flex gap-2"},eb={class:"flex max-h-8 flex-1"},eO=(0,n.pM)({name:"CommandActionForm",props:{loader:{},disabled:{type:Boolean,default:!1}},emits:["submit","cancel","back"],setup(e,{emit:t}){let{cx:a}=(0,ev.AX)(),r=()=>{e.disabled||t("submit")};return(t,i)=>((0,n.uX)(),(0,n.CE)("form",{class:"flex w-full flex-col gap-3",onKeydown:i[0]||(i[0]=(0,eg.jR)((0,eg.D$)(()=>{},["stop"]),["enter"])),onSubmit:(0,eg.D$)(r,["prevent","stop"])},[(0,n.Lk)("div",(0,l._B)((0,n.Ng)((0,o.R1)(a)("relative flex min-h-20 flex-col rounded"))),[(0,n.RG)(t.$slots,"default")],16),(0,n.Lk)("div",ey,[(0,n.Lk)("div",eb,[(0,n.RG)(t.$slots,"options")]),(0,n.bF)((0,o.R1)(s.R),{class:"max-h-8 px-3 text-xs",disabled:e.disabled,loader:e.loader,type:"submit"},{default:(0,n.k6)(()=>[(0,n.RG)(t.$slots,"submit",{},()=>[i[1]||(i[1]=(0,n.eW)("Continue",-1))])]),_:3},8,["disabled","loader"])])],32))}}),ek=["placeholder"],ex=(0,n.pM)({name:"CommandActionInput",inheritAttrs:!1,props:{modelValue:{},placeholder:{},autofocus:{type:Boolean,default:!0}},emits:["update:modelValue","delete"],setup(e,{emit:t}){let a=(0,o.KR)(null),r=(0,n.EW)({get:()=>e.modelValue??"",set:e=>t("update:modelValue",e)});(0,n.sV)(()=>{(0,n.dY)(()=>{e.autofocus&&a.value?.focus()})});let l=e=>{if(e.shiftKey||!e.target)return;e.preventDefault();let t=e.target,a=new Event("submit",{cancelable:!0});t.form?.dispatchEvent(a)},s=e=>{""===r.value&&(e.preventDefault(),e.stopPropagation(),t("delete",e))};return(t,o)=>(0,n.bo)(((0,n.uX)(),(0,n.CE)("textarea",(0,n.v6)({id:"command-action-input",ref_key:"input",ref:a,"onUpdate:modelValue":o[0]||(o[0]=e=>r.value=e),class:"min-h-8 w-full flex-1 resize-none border border-transparent py-1.5 pl-8.5 text-sm outline-none focus:border-b-1",placeholder:e.placeholder??"",wrap:"hard"},t.$attrs,{onKeydown:[(0,eg.jR)(s,["delete"]),(0,eg.jR)(l,["enter"])]}),null,16,ek)),[[eg.Jo,r.value]])}}),ew={class:"flex min-h-8 items-start gap-2 text-sm"},eS={class:"flex min-h-8 items-start gap-2 text-sm"},eC={key:0,class:"text-red text-xs",role:"alert"},e$=(0,n.pM)({__name:"OAuthScopesAddModal",props:{state:{},scopes:{},scope:{default:null}},emits:["cancel","submit"],setup(e,{emit:t}){let a=(0,n.EW)(()=>null!==e.scope),r=(0,n.EW)(()=>a.value?"Edit Scope":"Add Scope"),s=(0,n.EW)(()=>a.value?"Save":"Add Scope"),c=(0,o.KR)({name:"",description:""}),u=(0,o.KR)(!1);(0,n.wB)(()=>c.value.name,()=>{u.value=!0});let d=(0,n.EW)(()=>c.value.name.trim()),p=(0,n.EW)(()=>!!d.value&&(!a.value||d.value!==e.scope?.name)&&e.scopes.includes(d.value)),m=(0,n.EW)(()=>p.value?`A scope named "${d.value}" already exists.`:u.value&&!d.value?"Scope name is required.":null),h=(0,n.EW)(()=>!d.value||p.value),f=()=>{h.value||(t("submit",{name:d.value,description:c.value.description,...a.value&&e.scope?{oldName:e.scope.name}:{}}),e.state.hide())};return(0,n.wB)(()=>e.state.open,t=>{t&&(c.value=e.scope?{name:e.scope.name,description:e.scope.description}:{name:"",description:""},(0,n.dY)(()=>{u.value=!1}))}),(a,u)=>((0,n.uX)(),(0,n.Wv)((0,o.R1)(i.u),{bodyClass:"overflow-y-auto",size:"xs",state:e.state,title:r.value},{default:(0,n.k6)(()=>[(0,n.bF)((0,o.R1)(eO),{disabled:h.value,onCancel:u[2]||(u[2]=e=>t("cancel")),onSubmit:f},{submit:(0,n.k6)(()=>[(0,n.eW)((0,l.v_)(s.value),1)]),default:(0,n.k6)(()=>[(0,n.Lk)("div",ew,[u[3]||(u[3]=(0,n.eW)(" Name: ",-1)),(0,n.bF)((0,o.R1)(ex),{modelValue:c.value.name,"onUpdate:modelValue":u[0]||(u[0]=e=>c.value.name=e),autofocus:"",class:"field-sizing-content !p-0",placeholder:"read:user"},null,8,["modelValue"])]),(0,n.Lk)("div",eS,[u[4]||(u[4]=(0,n.eW)(" Description: ",-1)),(0,n.bF)((0,o.R1)(ex),{modelValue:c.value.description,"onUpdate:modelValue":u[1]||(u[1]=e=>c.value.description=e),autofocus:!1,class:"field-sizing-content !p-0",placeholder:"Read user data"},null,8,["modelValue"])]),m.value?((0,n.uX)(),(0,n.CE)("div",eC,(0,l.v_)(m.value),1)):(0,n.Q3)("",!0)]),_:1},8,["disabled"])]),_:1}
200,8,["state","title"]))}}),eA=a(78547),eR=a(47358),eE=a(37862),eP=a(41283),eT=a(92359),e_={class:"flex h-fit w-full"},ej={class:"group/scopes-accordion flex h-auto min-h-8 items-center gap-1.5 pr-2.25 pl-3 text-left"},eQ={class:"flex shrink-0 items-center gap-1.75"},eL={class:"grid max-h-40 auto-rows-auto overflow-x-hidden overflow-y-auto",style:{gridTemplateColumns:"1fr auto"}},eM={class:"no-scrollbar text-c-2 group-hover/scope-row:text-c-1 flex min-h-8 min-w-0 flex-1 items-center gap-1 overflow-x-auto px-3 py-1.5 pr-20 text-xs text-nowrap"},eZ={class:"font-code shrink-0 text-xs"},eU={class:"whitespace-nowrap"},eX=(0,n.pM)({__name:"OAuthScopesInput",props:{flowType:{},flow:{},selectedScopes:{}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){let a=(0,o.KR)(""),r=(0,o.KR)(null),c=(0,n.EW)(()=>Object.entries(e.flow?.scopes??{}).map(([e,t])=>({id:e,label:e,description:t}))),u=(0,n.EW)(()=>Object.keys(e.flow?.scopes??{}).length),d=(0,n.EW)(()=>u.value>=10),p=(0,n.EW)(()=>{let e=d.value?a.value:"";if(!e)return c.value;let t=RegExp(e.split("").map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*"),"i");return c.value.filter(({label:e,description:a})=>t.test(`${e} ${a}`))}),m=(0,n.EW)(()=>Object.keys(e.flow?.scopes??{}).length>0),h=(0,n.EW)(()=>e.selectedScopes.length===Object.keys(e.flow?.scopes??{}).length),f=(e,a)=>{t("update:selectedScopes",{scope:e,selected:a})},g=()=>t("update:selectedScopes",{scopes:Object.keys(e.flow?.scopes??{})}),v=()=>t("update:selectedScopes",{scopes:[]}),y=(0,i.h)(),b=(0,o.KR)(0),O=(0,o.KR)(!1);(0,n.wB)(m,(e,t)=>{t&&!e&&(O.value=!1,b.value+=1)});let w=()=>{r.value=null,y.show()},S=async a=>{let r=!a.oldName;t("upsert:scope",{scope:a.name,description:a.description,flowType:e.flowType,...a.oldName?{oldScope:a.oldName}:{},...r?{enable:!0}:{}}),r&&(O.value=!0,b.value+=1,await (0,n.dY)(),O.value=!1)};return(i,c)=>((0,n.uX)(),(0,n.Wv)((0,o.R1)(k.A),{class:"h-auto !max-h-[initial] min-h-8 items-center"},{default:(0,n.k6)(()=>[(0,n.Lk)("div",e_,[c[7]||(c[7]=(0,n.Lk)("div",{class:"text-c-1 h-full items-center"},null,-1)),((0,n.uX)(),(0,n.Wv)((0,o.R1)(eP.EN),{key:b.value,as:"div",class:"bl flex w-full flex-col",defaultOpen:O.value},{default:(0,n.k6)(()=>[(0,n.Lk)("div",ej,[(0,n.bF)((0,o.R1)(eP._q),{class:(0,l.C4)(["min-w-0 flex-1 text-left",m.value?"hover:text-c-1 cursor-pointer":"cursor-default",(e.selectedScopes.length||0)>0?"text-c-1":"text-c-3"]),disabled:!m.value},{default:(0,n.k6)(()=>[m.value?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[(0,n.eW)(" Scopes Selected "+(0,l.v_)(e.selectedScopes.length||0)+" / "+(0,l.v_)(Object.keys(e.flow?.scopes??{}).length||0),1)],64)):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[(0,n.eW)(" No Scopes Defined ")],64))]),_:1},8,["class","disabled"]),(0,n.Lk)("div",eQ,[(0,n.bF)((0,o.R1)(s.R),{class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:(0,eg.D$)(w,["stop"])},{default:(0,n.k6)(()=>[...c[3]||(c[3]=[(0,n.eW)(" Add Scope ",-1)])]),_:1}),m.value&&h.value?((0,n.uX)(),(0,n.Wv)((0,o.R1)(s.R),{key:0,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:(0,eg.D$)(v,["stop"])},{default:(0,n.k6)(()=>[...c[4]||(c[4]=[(0,n.eW)(" Deselect All ",-1)])]),_:1})):(0,n.Q3)("",!0),m.value&&!h.value?((0,n.uX)(),(0,n.Wv)((0,o.R1)(s.R),{key:1,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:(0,eg.D$)(g,["stop"])},{default:(0,n.k6)(()=>[...c[5]||(c[5]=[(0,n.eW)(" Select All ",-1)])]),_:1})):(0,n.Q3)("",!0),m.value?((0,n.uX)(),(0,n.Wv)((0,o.R1)(eP._q),{key:2,class:"text-c-3 hover:text-c-2 -m-0.5 flex shrink-0 items-center justify-center rounded p-0.5 focus-visible:outline-offset-2"},{default:(0,n.k6)(({open:e})=>[(0,n.bF)((0,o.R1)(eE.k),{class:"group-hover/scopes-accordion:text-c-2",icon:e?"ChevronDown":"ChevronRight",size:"md"},null,8,["icon"])]),_:1})):(0,n.Q3)("",!0)])]),(0,n.bF)((0,o.R1)(eP.kS),{as:"template"},{default:(0,n.k6)(()=>[(0,n.Lk)("div",null,[d.value?((0,n.uX)(),(0,n.Wv)((0,o.R1)(eT.v),{key:0,modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=e=>a.value=e),class:"flex items-center text-xs"},null,8,["modelValue"])):(0,n.Q3)("",!0),(0,n.Lk)("table",eL,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(p.value,({id:a,label:s,description:i})=>((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:a,class:"text-c-2 group/scope-row",onClick:t=>f(a,!e.selectedScopes.includes(a))},{default:(0,n.k6)(()=>[(0,n.bF)((0,o.R1)(k.A),{class:"box-border flex !max-h-[initial] w-full min-w-0 cursor-pointer items-stretch overflow-hidden px-0 py-0"},{default:(0,n.k6)(()=>[(0,n.Lk)("div",eM,[(0,n.Lk)("span",eZ,(0,l.v_)(s),1),String(i??"").trim()?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[c[6]||(c[6]=(0,n.Lk)("span",{class:"shrink-0"},"–",-1)),(0,n.Lk)("span",eU,(0,l.v_)(i),1)],64)):(0,n.Q3)("",!0)]),(0,n.Lk)("div",{class:"oauth-scope-row-action-rail absolute top-0 right-0 z-[1] flex h-full min-w-[4.5rem] items-center justify-end gap-0.5 py-1 pr-2 pl-4 opacity-0 transition-opacity group-focus-within/scope-row:opacity-100 group-hover/scope-row:opacity-100",onClick:c[1]||(c[1]=(0,eg.D$)(()=>{},["stop"]))},[(0,n.bF)((0,o.R1)(el.E),{icon:(0,o.R1)(eA.A),label:`Edit ${s}`,size:"sm",onClick:(0,eg.D$)(e=>{var t;r.value={name:(t={id:a,description:i??""}).id,description:t.description??""},y.show()},["stop"])},null,8,["icon","label","onClick"]),(0,n.bF)((0,o.R1)(el.E),{icon:(0,o.R1)(eR.A),label:`Delete ${s}`,size:"sm",onClick:(0,eg.D$)(r=>{t("delete:scope",{scope:a,flowType:e.flowType})},["stop"])},null,8,["icon","label","onClick"])])]),_:2},1024),(0,n.bF)((0,o.R1)(ef.A),{ariaLabel:`Select ${s} scope`,modelValue:e.selectedScopes.includes(a),onClick:c[2]||(c[2]=(0,eg.D$)(()=>{},["stop"])),"onUpdate:modelValue":e=>f(a,e)},null,8,["ariaLabel","modelValue","onUpdate:modelValue"])]),_:2},1032,["onClick"]))),128))])])]),_:1})]),_:1},8,["defaultOpen"]))]),(0,n.bF)(e$,{scope:r.value,scopes:Object.keys(e.flow.scopes??{}),state:(0,o.R1)(y),onSubmit:S},null,8,["scope","scopes","state"])]),_:1}))}}),eI=a(82553),eB=a(18486),eq=a(54486),eW=a(78451);let eD=eq.Yj().min(7).default(()=>(0,eW.Ak)()),eN=eq.Ik({description:eq.Yj().optional(),"x-scalar-ignore":eq.zM().optional()}),eV=eq.Ik({uid:eD.brand(),nameKey:eq.Yj().optional().default("")}),eF=eN.extend({type:eq.eu("apiKey"),name:eq.Yj().optional().default(""),in:eq.k5(["query","header","cookie"]).optional().default("header").catch("header")}),ez=eq.Ik({value:eq.Yj().default("")}),eH=eF.merge(eV).merge(ez),eY=eN.extend({type:eq.eu("http"),scheme:eq.Yj().toLowerCase().pipe(eq.k5(["basic","bearer"])).optional().default("basic"),bearerFormat:eq.KC([eq.eu("JWT"),eq.Yj()]).optional().default("JWT")}),eG=eq.Ik({username:eq.Yj().default(""),password:eq.Yj().default(""),token:eq.Yj().default("")}),eK=eY.merge(eV).merge(eG),eJ=eN.extend({type:eq.eu("openIdConnect"),openIdConnectUrl:eq.Yj().optional().default("")}),e0=eJ.merge(eV),e1=eq.Yj().default(""),e2=eq.Yj().default(""),e4=eq.Ik({refreshUrl:eq.Yj().optional().default(""),scopes:eq.g1(eq.Yj(),eq.Yj().optional().default("")).optional().default({}).catch({}),selectedScopes:eq.YO(eq.Yj()).optional().default([]),"x-scalar-client-id":eq.Yj().optional().default(""),token:eq.Yj().default(""),"x-scalar-security-query":eq.g1(eq.Yj(),eq.Yj()).optional(),"x-scalar-security-body":eq.g1(eq.Yj(),eq.Yj()).optional(),"x-tokenName":eq.Yj().optional(),"x-order":eq.ai().optional(),"x-scalar-ignore":eq.zM().optional()}),e8="u">typeof window?window.location.origin+window.location.pathname:"",e3=["SHA-256","plain","no"],e6=eq.k5(["header","body"]).optional(),e5=eN.extend({type:eq.eu("oauth2"),"x-default-scopes":eq.YO(eq.Yj()).optional(),flows:eq.Ik({implicit:e4.extend({type:eq.eu("implicit").default("implicit"),authorizationUrl:e1,"x-scalar-redirect-uri":eq.Yj().optional().default(e8)}),password:e4.extend({type:eq.eu("password").default("password"),tokenUrl:e2,clientSecret:eq.Yj().default(""),username:eq.Yj().default(""),password:eq.Yj().default(""),"x-scalar-credentials-location":e6}),clientCredentials:e4.extend({type:eq.eu("clientCredentials").default("
200clientCredentials"),tokenUrl:e2,clientSecret:eq.Yj().default(""),"x-scalar-credentials-location":e6}),authorizationCode:e4.extend({type:eq.eu("authorizationCode").default("authorizationCode"),authorizationUrl:e1,"x-usePkce":eq.k5(e3).optional().default("no"),"x-scalar-redirect-uri":eq.Yj().optional().default(e8),tokenUrl:e2,clientSecret:eq.Yj().default(""),"x-scalar-credentials-location":e6})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":"",refreshUrl:"",token:"",type:"implicit",authorizationUrl:"http://localhost:8080","x-scalar-redirect-uri":e8}})}),e7=e5.merge(eV);eq.g1(eq.Yj(),eq.YO(eq.Yj()).optional().default([])),eq.KC([eF,eY,e5,eJ]),eq.gM("type",[eH,eK,e0,e7]).transform(e=>("oauth2"===e.type&&e["x-default-scopes"]?.length&&Object.keys(e.flows).forEach(t=>{e.flows[t]?.selectedScopes&&e["x-default-scopes"]&&(e.flows[t].selectedScopes=[e["x-default-scopes"]].flat())}),e));var e9={class:"flex h-8 items-center justify-end gap-2 border-t"},te={class:"flex h-8 w-full items-center justify-end border-t"},tt=(0,n.pM)({__name:"OAuth2",props:{environment:{},flows:{},type:{},selectedScopes:{},scheme:{},server:{},proxyUrl:{},name:{},eventBus:{},options:{default:()=>({})},hideActions:{type:Boolean}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){let a=(0,eB.R)(),{toast:r}=(0,eI.Yf)(),l=(0,n.EW)(()=>e.flows[e.type]),i=(0,n.EW)(()=>{let t=l.value.scopes;return t?e.selectedScopes.filter(e=>Object.hasOwn(t,e)):[]}),c=(0,n.EW)(()=>"x-scalar-secret-client-secret"in l.value),u=(0,n.EW)(()=>l.value["x-scalar-secret-client-secret"]??""),d=t=>{if("openIdConnect"===e.scheme.type)return p(t);"oauth2"===e.scheme.type&&e.eventBus.emit("auth:update:security-scheme",{payload:{type:e.scheme.type,flows:{[e.type]:t}},name:e.name})},p=t=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:e.scheme.type,[e.type]:t},name:e.name}),m=()=>{a.isLoading||e.eventBus.emit("auth:clear:security-scheme-secrets",{name:e.name})},h=()=>{a.isLoading||p({"x-scalar-secret-token":"","x-scalar-secret-refresh-token":""})},f=(0,o.KR)(null),g=(0,o.KR)(!1);(0,n.wB)(()=>l.value,t=>{if(!t||!("x-scalar-secret-redirect-uri"in t))return;let a=JSON.stringify({type:e.type,authorizationUrl:t&&"authorizationUrl"in t?t.authorizationUrl:"",tokenUrl:t&&"tokenUrl"in t?t.tokenUrl:"",refreshUrl:t?.refreshUrl??"",scopes:Object.keys(t?.scopes??{})});if(f.value!==a&&(f.value=a,g.value=!1),g.value)return;let r=t["x-scalar-secret-redirect-uri"],n=U(e.options);g.value=!0,r||!n||e.options.captureOAuth2Callback||p({"x-scalar-secret-redirect-uri":n})},{immediate:!0});let v=async()=>{if(a.isLoading)return;a.start();let[t,n]=await Q(e.flows,e.type,i.value,e.server,e.proxyUrl,(0,C.RW)(e.environment),e.options.customFetch,e.options.captureOAuth2Callback);await a.clear(),n?.accessToken?p({"x-scalar-secret-token":n.accessToken,...n.refreshToken?{"x-scalar-secret-refresh-token":n.refreshToken}:{}}):(console.error(t),r(t?.message??"Failed to authorize","error"))},y=(0,n.EW)(()=>"implicit"!==e.type),b=(0,n.EW)(()=>"tokenUrl"in l.value&&l.value.tokenUrl?l.value.tokenUrl:"https://galaxy.scalar.com/oauth/refresh"),O=async()=>{if(a.isLoading||"implicit"===e.type)return;a.start();let[t,n]=await M(e.flows,e.type,e.proxyUrl,e.server,(0,C.RW)(e.environment),e.options.customFetch);await a.clear(),n?.accessToken?p({"x-scalar-secret-token":n.accessToken,...n.refreshToken?{"x-scalar-secret-refresh-token":n.refreshToken}:{}}):(console.error(t),r(t?.message??"Failed to refresh token","error"))};return(r,f)=>l.value["x-scalar-secret-token"]?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[(0,n.bF)((0,o.R1)(x.A),null,{default:(0,n.k6)(()=>[(0,n.bF)(eh,{class:"border-r-transparent",environment:e.environment,modelValue:l.value["x-scalar-secret-token"],placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":f[0]||(f[0]=e=>p({"x-scalar-secret-token":e}))},{default:(0,n.k6)(()=>[...f[14]||(f[14]=[(0,n.eW)(" Access Token ",-1)])]),_:1},8,["environment","modelValue"])]),_:1}),y.value?((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:0},{default:(0,n.k6)(()=>[(0,n.bF)(eh,{class:"border-r-transparent",environment:e.environment,modelValue:l.value.refreshUrl??"",placeholder:b.value,"onUpdate:modelValue":f[1]||(f[1]=e=>d({refreshUrl:e}))},{default:(0,n.k6)(()=>
200[...f[15]||(f[15]=[(0,n.eW)(" Refresh URL ",-1)])]),_:1},8,["environment","modelValue","placeholder"])]),_:1})):(0,n.Q3)("",!0),e.hideActions?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:1,class:"min-w-full"},{default:(0,n.k6)(()=>[(0,n.Lk)("div",e9,[y.value?((0,n.uX)(),(0,n.Wv)((0,o.R1)(s.R),{key:0,class:"p-0 px-2 py-0.5",loader:(0,o.R1)(a),size:"sm",variant:"outlined",onClick:O},{default:(0,n.k6)(()=>[...f[16]||(f[16]=[(0,n.eW)(" Refresh ",-1)])]),_:1},8,["loader"])):(0,n.Q3)("",!0),(0,n.bF)((0,o.R1)(s.R),{class:"mr-1 p-0 px-2 py-0.5",disabled:(0,o.R1)(a).isLoading,size:"sm",variant:"outlined",onClick:h},{default:(0,n.k6)(()=>[...f[17]||(f[17]=[(0,n.eW)(" Clear ",-1)])]),_:1},8,["disabled"])])]),_:1}))],64)):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[(0,n.bF)((0,o.R1)(x.A),null,{default:(0,n.k6)(()=>["authorizationUrl"in l.value?((0,n.uX)(),(0,n.Wv)(eh,{key:0,containerClass:"border-r-0",environment:e.environment,modelValue:l.value["x-scalar-secret-auth-url"]??"",placeholder:"https://galaxy.scalar.com/authorize","onUpdate:modelValue":f[2]||(f[2]=e=>{p({"x-scalar-secret-auth-url":e}),d({authorizationUrl:e})})},{default:(0,n.k6)(()=>[...f[18]||(f[18]=[(0,n.eW)(" Auth URL ",-1)])]),_:1},8,["environment","modelValue"])):(0,n.Q3)("",!0),"tokenUrl"in l.value?((0,n.uX)(),(0,n.Wv)(eh,{key:1,environment:e.environment,modelValue:l.value["x-scalar-secret-token-url"]??"",placeholder:"https://galaxy.scalar.com/token","onUpdate:modelValue":f[3]||(f[3]=e=>{p({"x-scalar-secret-token-url":e}),d({tokenUrl:e})})},{default:(0,n.k6)(()=>[...f[19]||(f[19]=[(0,n.eW)(" Token URL ",-1)])]),_:1},8,["environment","modelValue"])):(0,n.Q3)("",!0)]),_:1}),"x-scalar-secret-redirect-uri"in l.value?((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:0},{default:(0,n.k6)(()=>[(0,n.bF)(eh,{environment:e.environment,modelValue:l.value["x-scalar-secret-redirect-uri"],placeholder:e.options.captureOAuth2Callback?`${(0,o.R1)(U)(e.options)||"http://127.0.0.1"} (handled automatically)`:"Optional redirect URL","onUpdate:modelValue":f[4]||(f[4]=e=>{g.value=!0,p({"x-scalar-secret-redirect-uri":e})})},{default:(0,n.k6)(()=>[...f[20]||(f[20]=[(0,n.eW)(" Redirect URL ",-1)])]),_:1},8,["environment","modelValue","placeholder"])]),_:1})):(0,n.Q3)("",!0),"x-scalar-secret-username"in l.value&&"x-scalar-secret-password"in l.value?((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[(0,n.bF)((0,o.R1)(x.A),null,{default:(0,n.k6)(()=>[(0,n.bF)(eh,{class:"text-c-2",environment:e.environment,modelValue:l.value["x-scalar-secret-username"],placeholder:"janedoe","onUpdate:modelValue":f[5]||(f[5]=e=>p({"x-scalar-secret-username":e}))},{default:(0,n.k6)(()=>[...f[21]||(f[21]=[(0,n.eW)(" Username ",-1)])]),_:1},8,["environment","modelValue"])]),_:1}),(0,n.bF)((0,o.R1)(x.A),null,{default:(0,n.k6)(()=>[(0,n.bF)(eh,{environment:e.environment,modelValue:l.value["x-scalar-secret-password"],placeholder:"********",type:"password","onUpdate:modelValue":f[6]||(f[6]=e=>p({"x-scalar-secret-password":e}))},{default:(0,n.k6)(()=>[...f[22]||(f[22]=[(0,n.eW)(" Password ",-1)])]),_:1},8,["environment","modelValue"])]),_:1})],64)):(0,n.Q3)("",!0),(0,n.bF)((0,o.R1)(x.A),null,{default:(0,n.k6)(()=>[(0,n.bF)(eh,{environment:e.environment,modelValue:l.value["x-scalar-secret-client-id"],placeholder:"12345","onUpdate:modelValue":f[7]||(f[7]=e=>p({"x-scalar-secret-client-id":e}))},{default:(0,n.k6)(()=>[...f[23]||(f[23]=[(0,n.eW)(" Client ID ",-1)])]),_:1},8,["environment","modelValue"])]),_:1}),c.value?((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:2},{default:(0,n.k6)(()=>[(0,n.bF)(eh,{environment:e.environment,modelValue:u.value,placeholder:"XYZ123",type:"password","onUpdate:modelValue":f[8]||(f[8]=e=>p({"x-scalar-secret-client-secret":e}))},{default:(0,n.k6)(()=>[...f[24]||(f[24]=[(0,n.eW)(" Client Secret ",-1)])]),_:1},8,["environment","modelValue"])]),_:1})):(0,n.Q3)("",!0),"x-usePkce"in l.value?((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:3},{default:(0,n.k6)(()=>[(0,n.bF)(eh,{enum:(0,o.R1)(e3),environment:e.environment,modelValue:l.value["x-usePkce"],readOnly:"","onUpdate:modelValue":f[9]||(f[9]=e=>d({"x-usePkce":e}))},{default:(0,n.k6)(()=>[...f[25]||(f[25]=[(0,n.eW)(" Use PKCE ",-1)])]),_:1},8,["enum","environment","modelValue"])]),_:1})):(0,n.Q3)("",!0),"implicit"!==e.type?((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:4},{default:(0,n.k6)(()=>[(0,n.bF)(eh,{enum:["header","body"],environment:e.environment,modelValue:l.value["x-scalar-credentials-location"]||"header",placeholder:"header",readOnly:"","onUpdate:modelValue":f[10]||(f[10]=t=>{let a;return a="body"===t?"body":"header",void("openIdConnect"!==e.scheme.type&&d({"x-scalar-credentials-location":a}),p({"x-scalar-credentials-location":a}))})},{default:(0,n.k6)(()=>[...f[26]||(f[26]=[(0,n.eW)(" Credentials Location ",-1)])]),_:1},8,["environment","modelValue"])]),_:1})):(0,n.Q3)("",!0),(0,n.bF)((0,o.R1)(x.A),null,{default:(0,n.k6)(()=>[(0,n.bF)(eX,{flow:l.value,flowType:e.type,selectedScopes:i.value,"onUpdate:selectedScopes":f[11]||(f[11]=e=>t("update:selectedScopes",e)),"onUpsert:scope":f[12]||(f[12]=e=>t("upsert:scope",e)),"onDelete:scope":f[13]||(f[13]=e=>t("delete:scope",e))},null,8,["flow","flowType","selectedScopes"])]),_:1}),e.hideActions?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:5,class:"min-w-full"},{default:(0,n.k6)(()=>[(0,n.Lk)("div",te,["openIdConnect"===e.scheme.type?((0,n.uX)(),(0,n.Wv)((0,o.R1)(s.R),{key:0,class:"mr-1 p-0 px-2 py-0.5",disabled:(0,o.R1)(a).isLoading,size:"sm",variant:"outlined",onClick:m},{default:(0,n.k6)(()=>[...f[27]||(f[27]=[(0,n.eW)(" Clear ",-1)])]),_:1},8,["disabled"])):(0,n.Q3)("",!0),(0,n.bF)((0,o.R1)(s.R),{class:"mr-0.75 p-0 px-2 py-0.5",loader:(0,o.R1)(a),size:"sm",variant:"outlined",onClick:v},{default:(0,n.k6)(()=>[...f[28]||(f[28]=[(0,n.eW)(" Authorize ",-1)])]),_:1},8,["loader"])])]),_:1}))],64))}}),ta=a(42694),tr=a(70470),tn=ta.ZU.Object({authorization_endpoint:ta.ZU.Optional(ta.ZU.String()),token_endpoint:ta.ZU.Optional(ta.ZU.String()),scopes_supported:ta.ZU.Optional(ta.ZU.Array(ta.ZU.String())),grant_types_supported:ta.ZU.Optional(ta.ZU.Array(ta.ZU.String())),code_challenge_methods_supported:ta.ZU.Optional(ta.ZU.Array(ta.ZU.String()))}),to=async(e,t,a=fetch)=>{try{let r=e.trim();if(!r)return[Error("URL cannot be empty"),null];r.endsWith("/")&&(r=r.slice(0,-1)),r.includes("/.well-known/openid-configuration")||(r=`${r}/.well-known/openid-configuration`);let n=await a((0,E.m)(t,r));if(!n.ok)return[Error(`Failed to fetch OpenID Connect discovery document: ${n.status} ${n.statusText}`),null];let o=(0,tr.v)(tn,await n.json());if(!o.authorization_endpoint&&!o.token_endpoint)return[Error("Invalid OpenID Connect discovery document: missing required endpoints"),null];return[null,o]}catch(e){if(e instanceof Error)return[e,null];return[Error("Failed to fetch OpenID Connect discovery document"),null]}},tl=a(28041),ts={class:"flex h-8 w-full items-center justify-end border-t"},ti=(0,n.pM)({__name:"OpenIDConnect",props:{environment:{},eventBus:{}
200,getStaticBorderClass:{type:Function},name:{},proxyUrl:{},scheme:{},customFetch:{}},setup(e){let t=(0,eB.R)(),{toast:a}=(0,eI.Yf)(),r=async()=>{let r,n,o,l,s,i;if(t.isLoading||!e.scheme.openIdConnectUrl)return;t.start();let[c,u]=await to(e.scheme.openIdConnectUrl,e.proxyUrl,e.customFetch);if(await t.clear(),c){console.error(c),a(c?.message??"Failed to fetch OpenID Connect configuration","error");return}let d=(r=Object.fromEntries((u.scopes_supported??[]).map(e=>[e,""])),n=new Set(u.grant_types_supported??["authorization_code","implicit"]),o=u.authorization_endpoint,l=u.token_endpoint,s=u.code_challenge_methods_supported?.includes("S256")?"SHA-256":u.code_challenge_methods_supported?.includes("plain")?"plain":"no",i={},n.has("implicit")&&o&&(i.implicit={authorizationUrl:o,refreshUrl:o,scopes:r}),n.has("password")&&l&&(i.password={tokenUrl:l,refreshUrl:l,scopes:r}),n.has("client_credentials")&&l&&(i.clientCredentials={tokenUrl:l,refreshUrl:l,scopes:r}),n.has("authorization_code")&&o&&l&&(i.authorizationCode={authorizationUrl:o,tokenUrl:l,refreshUrl:l,"x-usePkce":s,scopes:r}),(0,tr.v)(tl.LJ,i));e.eventBus.emit("auth:update:security-scheme-secrets",{payload:d,name:e.name,overwrite:!0})},l=t=>e.eventBus.emit("auth:update:security-scheme",{payload:{type:"openIdConnect",openIdConnectUrl:t},name:e.name});return(a,i)=>((0,n.uX)(),(0,n.CE)(n.FK,null,[(0,n.bF)((0,o.R1)(x.A),null,{default:(0,n.k6)(()=>[(0,n.bF)(eh,{containerClass:e.getStaticBorderClass(),environment:e.environment,modelValue:e.scheme.openIdConnectUrl,placeholder:"https://example.com/.well-known/openid-configuration",required:"","onUpdate:modelValue":l},{default:(0,n.k6)(()=>[...i[0]||(i[0]=[(0,n.eW)(" Discovery URL ",-1)])]),_:1},8,["containerClass","environment","modelValue"])]),_:1}),(0,n.bF)((0,o.R1)(x.A),{class:"min-w-full"},{default:(0,n.k6)(()=>[(0,n.Lk)("div",ts,[(0,n.bF)((0,o.R1)(s.R),{class:"mr-0.75 p-0 px-2 py-0.5",disabled:!e.sc
200heme.openIdConnectUrl,loader:(0,o.R1)(t),size:"sm",variant:"outlined",onClick:r},{default:(0,n.k6)(()=>[...i[1]||(i[1]=[(0,n.eW)(" Fetch Configuration ",-1)])]),_:1},8,["disabled","loader"])])]),_:1})],64))}}),tc=a(34020),tu=a(17074),td=a(95589),tp={class:"bg-b-1 min-w-0 flex-1 px-3 py-1.25"},tm={class:"text-c-1 leading-5.5 font-medium"},th={class:"flex h-8 items-center gap-2 border-t px-3"},tf={class:"flex min-h-8 border-t text-base"},tg={class:"flex h-8 max-w-full gap-2.5 overflow-x-auto px-3"},tv=["onClick"],ty={class:"relative z-10"},tb={key:9,class:"text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance"},tO={key:10,class:"text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance"},tk={class:"flex h-8 items-center justify-end gap-2 border-t"},tx=(0,n.pM)({__name:"RequestAuthTab",props:{environment:{},isStatic:{type:Boolean},proxyUrl:{},selectedSecuritySchemas:{},securitySchemes:{},server:{},eventBus:{},options:{},documentType:{default:"openapi"}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){let a=(0,n.EW)(()=>(0,td.EN)(e.documentType)),r=(0,n.EW)(()=>Object.entries(e.selectedSecuritySchemas).map(([t,a=[]])=>{let r=(0,m.A)(e.securitySchemes[t]);return{scheme:r,name:t,scopes:a,visibleFlowKeys:r?.type==="oauth2"||r?.type==="openIdConnect"?Z(r.flows):[]}})),c=(0,o.KR)(""),u=(0,n.EW)(()=>r.value.flatMap(e=>e.visibleFlowKeys).some(e=>e===c.value)?c.value:""),d=(0,n.EW)(()=>r.value.length>1),p=(e,t)=>{let a=(0,l.ZH)(e);switch(t.type){case"apiKey":return`${a}: ${t.in}`;case"openIdConnect":case"oauth2":{let e=Z(t.flows)[0],r=u.value||e;if(!r)return a;return`${a}: ${r}`}case"http":return`${a}: ${t.scheme}`;default:return a}},h=e=>"user"!==e.in&&"password"!==e.in,g=e=>e?.type,v=(e,t)=>u.value===e||0===t&&!u.value,y=()=>e.isStatic&&"border-t",b=(t,a)=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:"http",...t},name:a}),w=(t,a)=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:t,name:a}),S=(a,r)=>{t("update:selectedScopes",{id:Object.keys(e.selectedSecuritySchemas),name:a,...r})},$=(e,a)=>{t("upsert:scope",{...a,name:e})},A=(e,a)=>{t("delete:scope",{...a,name:e})},R=(0,n.EW)(()=>(e=>{let t=null;for(let[a,r]of Object.entries(e)){let e=(0,m.A)(r);if(e?.type!=="oauth2"||(0,f.d)(e))continue;let n=e.flows;if(!n)continue;let o=e["x-default-scopes"]??[];if(n.authorizationCode&&!(0,f.d)(n.authorizationCode))return{name:a,flows:n,flowType:"authorizationCode",scopes:o};!n.implicit||(0,f.d)(n.implicit)||t||(t={name:a,flows:n,flowType:"implicit",scopes:o})}return t})(e.securitySchemes)),E=(0,n.EW)(()=>R.value?(0,m.A)(e.securitySchemes[R.value.name]):void 0),P=(0,eB.R)(),{toast:T}=(0,eI.Yf)(),_=(0,i.h)(),j=(0,o.KR)(),Q=async t=>{let a=R.value;if(!a||P.isLoading)return;P.start();let[r]=await I({eventBus:e.eventBus,bearerSchemeName:t,oauth2Name:a.name,flows:a.flows,flowType:a.flowType,scopes:a.scopes,server:e.server,proxyUrl:e.proxyUrl,environment:e.environment,options:e.options});await P.clear(),r&&T(r?.message??"Failed to authorize","error")},L=async t=>{let a=R.value;if(!a||"authorizationCode"!==a.flowType||P.isLoading)return;P.start();let[r,n]=await M(a.flows,a.flowType,e.proxyUrl,e.server,(0,C.RW)(e.environment),e.options?.customFetch);await P.clear(),n?.accessToken?X(e.eventBus,{bearerSchemeName:t,oauth2Name:a.name,flowType:a.flowType,tokens:n}):r&&T(r?.message??"Failed to refresh","error")},U=()=>{let e=j.value;_.hide(),e&&Q(e)};return(t,u)=>((0,n.uX)(),(0,n.CE)(n.FK,null,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(r.value,({scheme:t,name:r,scopes:i,visibleFlowKeys:m})=>((0,n.uX)(),(0,n.CE)(n.FK,{key:r},[d.value&&t?((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:0},{default:(0,n.k6)(()=>[(0,n.bF)((0,o.R1)(k.A),{"aria-label":p(r,t),class:"max-h-[auto]"},{default:(0,n.k6)(()=>[(0,n.Lk)("div",tp,[(0,n.Lk)("p",tm,(0,l.v_)(p(r,t)),1),t.description?((0,n.uX)(),(0,n.Wv)((0,o.R1)(tu.I),{key:0,class:"auth-description text-c-2 w-full",value:t.description},null,8,["value"])):(0,n.Q3)("",!0)])]),_:2},1032,["aria-label"])]),_:2},1024)):(0,n.Q3)("",!0),t?.description&&!d.value?((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:1},{default:(0,n.k6)(()=>[(0,n.bF)((0,o.R1)(k.A),{"aria-label":t.description,class:"max-h-[auto]"},{default:(0,n.k6)(()=>[(0,n.bF)((0,o.R1)(tu.I),{class:"auth-description bg-b-1 text-c-2 min-w-0 flex-1 px-3 py-1.25",value:t.description},null,8,["value"])]),_:2},1032,["aria-label"])]),_:2},1024)):(0,n.Q3)("",!0),t?.type==="http"?((0,n.uX)(),(0,n.CE)(n.FK,{key:2},["bearer"===t.scheme?((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:0},{default:(0,n.k6)(()=>[(0,n.bF)(eh,{containerClass:y(),environment:e.environment,modelValue:t["x-scalar-secret-token"],placeholder:"Token",type:"password","onUpdate:modelValue":e=>b({"x-scalar-secret-token":e},r)},{default:(0,n.k6)(()=>[...u[4]||(u[4]=[(0,n.eW)(" Bearer Token ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):(0,n.Q3)("",!0),"bearer"===t.scheme&&R.value?((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:1},{default:(0,n.k6)(()=>[(0,n.Lk)("div",th,[u[6]||(u[6]=(0,n.Lk)("span",{class:"text-c-3 mr-auto text-xs"},"Get a token",-1)),(0,n.bF)((0,o.R1)(s.R),{class:"p-0 px-2 py-0.5",loader:(0,o.R1)(P),size:"sm",type:"button",variant:"outlined",onClick:e=>Q(r)},{default:(0,n.k6)(()=>[(0,n.eW)(" Authorize via "+(0,l.v_)(R.value.name),1)]),_:2},1032,["loader","onClick"]),t["x-scalar-secret-token"]&&"authorizationCode"===R.value.flowType?((0,n.uX)(),(0,n.Wv)((0,o.R1)(s.R),{key:0,class:"p-0 px-2 py-0.5",disabled:(0,o.R1)(P).isLoading,size:"sm",type:"button",variant:"outlined",onClick:e=>L(r)},{default:(0,n.k6)(()=>
200[...u[5]||(u[5]=[(0,n.eW)(" Refresh ",-1)])]),_:1},8,["disabled","onClick"])):(0,n.Q3)("",!0),(0,n.bF)((0,o.R1)(el.E),{icon:(0,o.R1)(tc.A),label:`Configure ${R.value.name}`,size:"xs",onClick:e=>{j.value=r,_.show()}},null,8,["icon","label","onClick"])])]),_:2},1024)):t?.scheme==="basic"?((0,n.uX)(),(0,n.CE)(n.FK,{key:2},[(0,n.bF)((0,o.R1)(x.A),null,{default:(0,n.k6)(()=>[(0,n.bF)(eh,{class:"text-c-2",environment:e.environment,modelValue:t["x-scalar-secret-username"],placeholder:"janedoe",required:"","onUpdate:modelValue":e=>b({"x-scalar-secret-username":e},r)},{default:(0,n.k6)(()=>[...u[7]||(u[7]=[(0,n.eW)(" Username ",-1)])]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024),(0,n.bF)((0,o.R1)(x.A),null,{default:(0,n.k6)(()=>[(0,n.bF)(eh,{environment:e.environment,modelValue:t["x-scalar-secret-password"],placeholder:"********",type:"password","onUpdate:modelValue":e=>b({"x-scalar-secret-password":e},r)},{default:(0,n.k6)(()=>[...u[8]||(u[8]=[(0,n.eW)(" Password ",-1)])]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):(0,n.Q3)("",!0)],64)):t?.type==="apiKey"?((0,n.uX)(),(0,n.CE)(n.FK,{key:3},[h(t)?((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:0},{default:(0,n.k6)(()=>[(0,n.bF)(eh,{containerClass:y(),environment:e.environment,modelValue:t.name,placeholder:"api-key","onUpdate:modelValue":t=>{let a;return a={name:t},e.eventBus.emit("auth:update:security-scheme",{payload:{type:"apiKey",...a},name:r})}},{default:(0,n.k6)(()=>[...u[9]||(u[9]=[(0,n.eW)(" Name ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):(0,n.Q3)("",!0),(0,n.bF)((0,o.R1)(x.A),null,{default:(0,n.k6)(()=>[(0,n.bF)(eh,{containerClass:h(t)?void 0:y(),environment:e.environment,modelValue:t["x-scalar-secret-token"],placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":t=>{let a;return a={"x-scalar-secret-token":t},e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:"apiKey",...a},name:r})}},{default:(0,n.k6)(()=>[...u[10]||(u[10]=[(0,n.eW)(" Value ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):t?.type==="oauth2"||t?.type==="openIdConnect"?((0,n.uX)(),(0,n.CE)(n.FK,{key:4},[t?.type!=="openIdConnect"||m.length?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)(ti,{key:0,customFetch:e.options?.customFetch,environment:e.environment,eventBus:e.eventBus,getStaticBorderClass:y,name:r,proxyUrl:e.proxyUrl,scheme:t},null,8,["customFetch","environment","eventBus","name","proxyUrl","scheme"])),m.length>1?((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:1},{default:(0,n.k6)(()=>[(0,n.Lk)("div",tf,[(0,n.Lk)("div",tg,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(m,(t,a)=>{let r;return(0,n.uX)(),(0,n.CE)("button",{key:t,class:(0,l.C4)((r="floating-bg text-c-3 relative cursor-pointer border-b border-transparent py-1 text-base font-medium",v(t,a)?`${r} !text-c-1 !rounded-none border-b !border-current ${e.isStatic?"opacity-100":""}`:r)),type:"button",onClick:e=>{c.value=t}},[(0,n.Lk)("span",ty,(0,l.v_)(t),1)],10,tv)}),128))])])]),_:2},1024)):(0,n.Q3)("",!0),((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(m,(a,o)=>((0,n.uX)(),(0,n.CE)(n.FK,{key:a},[t.flows&&v(a,o)?((0,n.uX)(),(0,n.Wv)(tt,{key:0,environment:e.environment,eventBus:e.eventBus,flows:t.flows,name:r,options:e.options,proxyUrl:e.proxyUrl,scheme:t,selectedScopes:i,server:e.server,type:a,"onDelete:scope":e=>A(r,e),"onUpdate:selectedScopes":e=>S(r,e),"onUpsert:scope":e=>$(r,e)},null,8,["environment","eventBus","flows","name","options","proxyUrl","scheme","selectedScopes","server","type","onDelete:scope","onUpdate:selectedScopes","onUpsert:scope"])):(0,n.Q3)("",!0)],64))),128))],64)):(0,C.L$)(t?.type)?((0,n.uX)(),(0,n.CE)(n.FK,{key:5},[(0,n.bF)((0,o.R1)(x.A),null,{default:(0,n.k6)(()=>[(0,n.bF)(eh,{class:"text-c-2",containerClass:y(),environment:e.environment,modelValue:t["x-scalar-secret-username"],placeholder:"janedoe",required:"","onUpdate:modelValue":e=>w({type:t.type,"x-scalar-secret-username":e},r)},{default:(0,n.k6)(()=>[...u[11]||(u[11]=[(0,n.eW)(" Username ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024),(0,n.bF)((0,o.R1)(x.A),null,{default:(0,n.k6)(()=>[(0,n.bF)(eh,{environment:e.environment,modelValue:t["x-scalar-secret-password"],placeholder:"********",type:"password","onUpdate:modelValue":e=>w({type:t.type,"x-scalar-secret-password":e},r)},{default:(0,n.k6)(()=>[...u[12]||(u[12]=[(0,n.eW)(" Password ",-1)])]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):t?.type==="X509"?((0,n.uX)(),(0,n.CE)(n.FK,{key:6},[(0,n.bF)((0,o.R1)(x.A),null,{default:(0,n.k6)(()=>[(0,n.bF)(eh,{containerClass:y(),environment:e.environment,modelValue:t["x-scalar-secret-client-certificate"],placeholder:"-----BEGIN CERTIFICATE-----",type:"password","onUpdate:modelValue":e=>w({type:t.type,"x-scalar-secret-client-certificate":e},r)},{default:(0,n.k6)(()=>[...u[13]||(u[13]=[(0,n.eW)(" Client Certificate ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024),(0,n.bF)((0,o.R1)(x.A),null,{default:(0,n.k6)(()=>[(0,n.bF)(eh,{environment:e.environment,modelValue:t["x-scalar-secret-private-key"],placeholder:"-----BEGIN PRIVATE KEY-----",type:"password","onUpdate:modelValue":e=>w({type:t.type,"x-scalar-secret-private-key":e},r)},{default:(0,n.k6)(()=>[...u[14]||(u[14]=[(0,n.eW)(" Private Key ",-1)])]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):(0,C.P)(t?.type)?((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:7},{default:(0,n.k6)(()=>[(0,n.bF)(eh,{containerClass:y(),environment:e.environment,modelValue:t["x-scalar-secret-token"],placeholder:"********",type:"password","onUpdate:modelValue":e=>w({type:t.type,"x-scalar-secret-token":e},r)},{default:(0,n.k6)(()=>[...u[15]||(u[15]=[(0,n.eW)(" Key ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):t?.type==="gssapi"?((0,n.uX)(),(0,n.Wv)((0,o.R1)(x.A),{key:8},{default:(0,n.k6)(()=>[(0,n.bF)(eh,{containerClass:y(),environment:e.environment,modelValue:t["x-scalar-secret-service-name"],placeholder:"kafka","onUpdate:modelValue":e=>w({type:t.type,"x-scalar-secret-service-name":e},r)},{default:(0,n.k6)(()=>[...u[16]||(u[16]=[(0,n.eW)(" Service Name ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):g(t)?((0,n.uX)(),(0,n.CE)("div",tb,[u[17]||(u[17]=(0,n.eW)(" The ",-1)),(0,n.Lk)("code",null,(0,l.v_)(g(t)),1),u[18]||(u[18]=(0,n.eW)(" security scheme type is not supported yet. ",-1))])):((0,n.uX)(),(0,n.CE)("div",tO," The security scheme is missing a type, please double check your "+(0,l.v_)(a.value)+" document or Authentication Configuration ",1))],64))),128)),R.value&&E.value?((0,n.uX)(),(0,n.Wv)((0,o.R1)(i.u),{key:0,state:(0,o.R1)(_),size:"sm",title:`Configure ${R.value.name}`},{default:(0,n.k6)(()=>[(0,n.bF)((0,o.R1)(O.A),{columns:[""],presentational:""},{default:(0,n.k6)(()=>[(0,n.bF)(tt,{hideActions:"",environment:e.environment,eventBus:e.eventBus,flows:R.value.flows,name:R.value.name,options:e.options,proxyUrl:e.proxyUrl,scheme:E.value,selectedScopes:R.value.scopes,server:e.server,type:R.value.flowType,"onDelete:scope":u[0]||(u[0]=e=>A(R.value.name,e)),"onUpdate:selectedScopes":u[1]||(u[1]=e=>S(R.value.name,e)),"onUpsert:scope":u[2]||(u[2]=e=>$(R.value.name,e))},null,8,["environment","eventBus","flows","name","options","proxyUrl","scheme","selectedScopes","server","type"])]),_:1}),(0,n.Lk)("div",tk,[(0,n.bF)((0,o.R1)(s.R),{class:"p-0 px-2 py-0.5",size:"sm",variant:"outlined",onClick:u[3]||(u[3]=e=>(0,o.R1)(_).hide())},{default:(0,n.k6)(()=>[...u[19]||(u[19]=[(0,n.eW)(" Cancel ",-1)])]),_:1}),(0,n.bF)((0,o.R1)(s.R),{class:"p-0 px-2 py-0.5",loader:(0,o.R1)(P),size:"sm",onClick:U},{default:(0,n.k6)(()=>[...u[20]||(u[20]=[(0,n.eW)(" Authorize ",-1)])]),_:1},8,["loader"])])]),_:1}
200,8,["state","title"])):(0,n.Q3)("",!0)],64))}}),tw=["onClick"],tS={class:"relative z-10 font-medium whitespace-nowrap"},tC={key:0,class:"absolute inset-x-1 bottom-[var(--scalar-border-width)] left-1/2 z-1 h-px w-full -translate-x-1/2 bg-current"},t$=(0,n.pM)({__name:"RequestAuthDataTable",props:{environment:{},isStatic:{type:Boolean},selectedSchemeOptions:{},activeAuthIndex:{},proxyUrl:{},securitySchemes:{default:()=>({})},server:{},eventBus:{},meta:{},options:{},documentType:{}},setup(e,{expose:t}){let a=(0,n.EW)(()=>e.selectedSchemeOptions[e.activeAuthIndex]),r=(0,n.EW)(()=>e.selectedSchemeOptions.length>1),s=t=>e.eventBus.emit("auth:update:selected-scopes",{...t,meta:e.meta}),i=t=>e.eventBus.emit("auth:upsert:scopes",t),c=t=>e.eventBus.emit("auth:delete:scopes",t);return t({activeScheme:a}),(t,u)=>((0,n.uX)(),(0,n.CE)("form",{onSubmit:u[0]||(u[0]=(0,eg.D$)(()=>{},["prevent"]))},[r.value?((0,n.uX)(),(0,n.CE)("div",{key:0,class:(0,l.C4)(["box-content flex flex-wrap gap-x-2.5 overflow-hidden border-x border-t px-3",{"border-x-0":!e.isStatic}]),"data-testid":"auth-tabs"},[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.selectedSchemeOptions,(t,a)=>((0,n.uX)(),(0,n.CE)("div",{key:t.id,class:"relative z-1 -mb-[var(--scalar-border-width)] flex h-8"},[(0,n.Lk)("button",{class:(0,l.C4)(["floating-bg relative cursor-pointer border-b border-transparent py-1 text-sm font-medium transition-colors",e.activeAuthIndex===a?"text-c-1":"text-c-3"]),type:"button",onClick:t=>e.eventBus.emit("auth:update:active-index",{index:a,meta:e.meta})},[(0,n.Lk)("span",tS,(0,l.v_)(t.label),1)],10,tw),e.activeAuthIndex===a?((0,n.uX)(),(0,n.CE)("div",tC)):(0,n.Q3)("",!0)]))),128))],2)):(0,n.Q3)("",!0),a.value?((0,n.uX)(),(0,n.Wv)((0,o.R1)(O.A),{key:1,class:(0,l.C4)(["flex-1",{"bg-b-1 rounded-b-lg border-x border-b":e.isStatic}]),columns:[""],presentational:""},{default:(0,n.k6)(()=>[(0,n.bF)(tx,{documentType:e.documentType,environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSecuritySchemas:a.value.value,server:e.server,"onDelete:scope":c,"onUpdate:selectedScopes":s,"onUpsert:scope":i},null,8,["documentType","environment","eventBus","isStatic","options","proxyUrl","securitySchemes","selectedSecuritySchemas","server"])]),_:1},8,["class"])):((0,n.uX)(),(0,n.CE)("div",{key:2,class:(0,l.C4)(["bg-b-1 text-c-3 flex min-h-16 items-center justify-center border-t px-4 text-sm",{"min-h-[calc(4rem+0.5px)] rounded-b-lg border":e.isStatic}])}," No authentication selected ",2))],32))}}),tA=a(40978),tR=a(95876),tE=a(54860),tP=a(51324),tT=["id"],t_={class:"min-w-0 flex-1 truncate"},tj=(0,n.pM)({__name:"AuthSelector",props:{environment:{},eventBus:{},createAnySecurityScheme:{type:Boolean,default:!1},canDeleteSchemes:{type:Boolean,default:!0},defaultOpen:{type:Boolean,default:!0},isStatic:{type:Boolean,default:!1},meta:{},proxyUrl:{},securityRequirements:{},securitySchemes:{},selectedSecurity:{},server:{},title:{},options:{},documentType:{}},setup(e,{expose:t}){let a=(0,n.Bi)(),c=(0,o.KR)(null),u=(0,o.KR)(!1),h=(0,i.h)(),O=(0,o.KR)(null),k=(0,n.EW)(()=>{if(!e.securityRequirements?.length)return null;let t=(0,C.x9)(e.securityRequirements);return{icon:t?"Unlock":"Lock",text:t?"Optional":"Required"}}),x=(0,n.EW)(()=>((e,t,a,r=!1)=>{let n=new Map(a.map(e=>[g(e),e])),{requiredFormatted:o,requiredSchemeNames:l,existingIds:s}=e.reduce((e,a)=>{let r=b(n.get(g(a))??a,t);for(let t of(r&&(e.requiredFormatted.push(r),e.existingIds.add(r.id)),Object.keys(a)))e.requiredSchemeNames.add(t);return e},{requiredFormatted:[],requiredSchemeNames:new Set,existingIds:new Set}),i=[];for(let[e,a]of Object.entries(t)){if(l.has(e))continue;let t=(0,m.A)(a);if(t&&!(0,f.d)(t)){let t=v({name:e,value:{[e]:[]}});i.push(t),s.add(t.id)}}for(let e of a){let a=b(e,t);a&&!s.has(a.id)&&(i.push(a),s.add(a.id))}let c=[{label:"Required authentication",options:o},{label:"Available authentication",options:i}];return r?(c.push({label:"Add new authentication",options:Object.entries(p).map(([e,t])=>({id:e,label:t.label,value:{[e]:[]},payload:t.payload,isDeletable:!1}))}),c):o.length?c:i})(e.securityRequirements??[],e.securitySchemes??{},e.selectedSecurity?.selectedSchemes??[],e.createAnySecurityScheme)),w=(0,n.EW)(()=>{let t=e.selectedSecurity?.selectedSchemes;return t?.length?t.flatMap(t=>{let a=Object.keys(t);if(0===a.length)return[];if(a.length>1)return y(t);let r=a[0];return r&&(0,m.A)(e.securitySchemes?.[r])?v({name:r,value:t}):[]}):[]}),S=e=>{u.value&&e.stopPropagation(),c.value?.$el.click()},$=t=>{let a=t.filter(e=>void 0===e.payload).map(e=>(0,tP.s)(e.value,{depth:2})),r=t.filter(e=>void 0!==e.payload).map(e=>({name:e.label,scheme:e.payload}));e.eventBus.emit("auth:update:selected-security-schemes",{selectedRequirements:a,newSchemes:r,meta:e.meta})},A=e=>{O.value={label:e.label,payload:e.value},h.show()},R=()=>{O.value&&(e.eventBus.emit("auth:delete:security-scheme",{names:Object.keys(O.value.payload)}),O.value=null,h.hide())};return t({authIndicator:k,selectedSchemeOptions:w,schemeOptions:x}),(t,i)=>((0,n.uX)(),(0,n.Wv)((0,o.R1)(r.A),{class:"group/params relative",defaultOpen:e.defaultOpen,isStatic:e.isStatic,itemCount:w.value.length,"onUpdate:modelValue":i[1]||(i[1]=e=>u.value=e)},{title:(0,n.k6)(()=>[(0,n.Lk)("div",{id:(0,o.R1)(a),class:"inline-flex items-center gap-0.5 leading-[20px]"}
200,[(0,n.Lk)("span",null,(0,l.v_)(e.title),1),k.value?((0,n.uX)(),(0,n.CE)("span",{key:0,class:(0,l.C4)(["text-c-3 hover:bg-b-3 hover:text-c-1 -my-0.5 -mr-1 cursor-pointer rounded px-1 py-0.5 leading-[normal] font-normal",{"text-c-1":"Required"===k.value.text}]),"data-testid":"auth-indicator",onClick:S},(0,l.v_)(k.value.text),3)):(0,n.Q3)("",!0)],8,tT)]),actions:(0,n.k6)(()=>[(0,n.bF)((0,o.R1)(tE.BR),{class:"w-72 text-xs",modelValue:w.value,multiple:"",options:x.value,placement:"bottom-end",teleport:"",onDelete:A,"onUpdate:modelValue":$},{option:(0,n.k6)(({option:t,selected:a})=>[(0,n.bF)((0,o.R1)(tA.Pq),{multiselect:"",selected:a},null,8,["selected"]),(0,n.Lk)("div",t_,(0,l.v_)(t.label),1),t.isDeletable&&e.canDeleteSchemes?((0,n.uX)(),(0,n.Wv)((0,o.R1)(el.E),{key:0,class:"-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",icon:(0,o.R1)(eR.A),label:`Delete ${t.label}`,size:"xs",onClick:(0,eg.D$)(e=>A(t),["stop"])},null,8,["icon","label","onClick"])):(0,n.Q3)("",!0)]),default:(0,n.k6)(()=>[(0,n.bF)((0,o.R1)(s.R),{ref_key:"comboboxButtonRef",ref:c,"aria-describedby":(0,o.R1)(a),class:"group/combobox-button hover:text-c-1 text-c-2 flex h-fit w-full items-center gap-1 px-0.75 py-0.25 text-base font-normal",variant:"ghost"},{default:(0,n.k6)(()=>[1===w.value.length?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[i[2]||(i[2]=(0,n.Lk)("span",{class:"sr-only"},"Selected Auth Type:",-1)),(0,n.eW)(" "+(0,l.v_)(w.value[0]?.label),1)],64)):w.value.length>1?((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[i[3]||(i[3]=(0,n.eW)(" Multiple ",-1)),i[4]||(i[4]=(0,n.Lk)("span",{class:"sr-only"},"Auth Types Selected",-1))],64)):((0,n.uX)(),(0,n.CE)(n.FK,{key:2},[i[5]||(i[5]=(0,n.Lk)("span",{class:"sr-only"},"Select",-1)),i[6]||(i[6]=(0,n.eW)(" Auth Type ",-1))],64)),(0,n.bF)((0,o.R1)(tR.A),{class:"size-3 shrink-0 transition-transform duration-100 group-aria-expanded/combobox-button:rotate-180",weight:"bold"})]),_:1},8,["aria-describedby"])]),_:1},8,["modelValue","options"])]),default:(0,n.k6)(()=>[(0,n.bF)(t$,{activeAuthIndex:e.selectedSecurity?.selectedIndex??0,documentType:e.documentType,environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,meta:e.meta,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSchemeOptions:w.value,server:e.server},null,8,["activeAuthIndex","documentType","environment","eventBus","isStatic","meta","options","proxyUrl","securitySchemes","selectedSchemeOptions","server"]),O.value?((0,n.uX)(),(0,n.Wv)(d,{key:0,label:O.value.label,scheme:O.value,state:(0,o.R1)(h),onClose:i[0]||(i[0]=e=>(0,o.R1)(h).hide()),onDelete:R},null,8,["label","scheme","state"])):(0,n.Q3)("",!0)]),_:1},8,["defaultOpen","isStatic","itemCount"]))}})},59259:(e,t,a)=>{"use strict";a.d(t,{Y:()=>r});let r=e=>{if(!e)return()=>null;let t=e.getBoundingClientRect().top,a=null,r=new MutationObserver(r=>{r.some(e=>"childList"===e.type||"attributes"===e.type&&("style"===e.attributeName||"class"===e.attributeName))&&(null!==a&&cancelAnimationFrame(a),a=requestAnimationFrame(()=>{let r=e.getBoundingClientRect().top;r!==t&&window.scrollBy(0,r-t),a=null}))});return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"],characterData:!1}),()=>{null!==a&&cancelAnimationFrame(a),r.disconnect()}}},59906:(e,t,a)=>{"use strict";a.d(t,{_:()=>r});var r=(e,t)=>{for(let a of t)if(a.responseBody){for(let t of a.responseBody)if(n(e,t.mimeTypes))return t}},n=(e,t)=>{let a=e.toLowerCase();for(let e of t){let t=e.toLowerCase();if(t===a)return!0;if(t.includes("*")){let e=t.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*");if(RegExp(`^${e}$`).test(a))return!0}}return!1}},60411:(e,t,a)=>{"use strict";let r;a.d(t,{AM:()=>A,QT:()=>E,ut:()=>R});var n=a(38547),o=a(10779),l=a(38653),s=a(86579),i=a(56261),c=a(69022),u=a(70386),d=a(98379),p=a(81627),m=a(98211),h=a(21878),f=a(83886),g=a(96691),v=a(53261),y=a(6974),b=a(9e3),O=a(78465),k=((r=k||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r);let x=Symbol("PopoverContext");function w(e){let t=(0,n.WQ)(x,null);if(null===t){let t=Error(`<${e} /> is missing a parent <${A.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,w),t}return t}let S=Symbol("PopoverGroupContext");function C(){return(0,n.WQ)(S,null)}let $=Symbol("PopoverPanelContext"),A=(0,n.pM)({name:"Popover",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:a,expose:r}){var i;let u=(0,o.KR)(null);r({el:u,$el:u});let p=(0,o.KR)(1),m=(0,o.KR)(null),f=(0,o.KR)(null),k=(0,o.KR)(null),w=(0,o.KR)(null),S=(0,n.EW)(()=>(0,b.T)(u)),$=(0,n.EW)(()=>{var e,t;if(!(0,g.t)(m)||!(0,g.t)(w))return!1;for(let e of document.querySelectorAll("body > *"))if(Number(null==e?void 0:e.contains((0,g.t)(m)))^Number(null==e?void 0:e.contains((0,g.t)(w))))return!0;let a=(0,v.iq)(),r=a.indexOf((0,g.t)(m)),n=(r+a.length-1)%a.length,o=(r+1)%a.length,l=a[n],s=a[o];return!(null!=(e=(0,g.t)(w))&&e.contains(l))&&!(null!=(t=(0,g.t)(w))&&t.contains(s))}),A={popoverState:p,buttonId:(0,o.KR)(null),panelId:(0,o.KR)(null),panel:w,button:m,isPortalled:$,beforePanelSentinel:f,afterPanelSentinel:k,togglePopover(){p.value=(0,y.Y)(p.value,{0:1,1:0})},closePopover(){1!==p.value&&(p.value=1)},close(e){A.closePopover();let t=e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?(0,g.t)(e):(0,g.t)(A.button):(0,g.t)(A.button);null==t||t.focus()}};(0,n.Gt)(x,A),(0,h.Fo)((0,n.EW)(()=>(0,y.Y)(p.value,{0:h.Uw.Open,1:h.Uw.Closed})));let R={buttonId:A.buttonId,panelId:A.panelId,close(){A.closePopover()}},E=C(),P=null==E?void 0:E.registerPopover,[T,_]=(0,l.k2)(),j=(0,d.i)({mainTreeNodeRef:null==E?void 0:E.mainTreeNodeRef,portals:T,defaultContainers:[m,w]});return(0,n.nT)(()=>null==P?void 0:P(R)),(0,s.M)(null==(i=S.value)?void 0:i.defaultView,"focus",e=>{var t,a,r,n,o,l;e.target!==window&&e.target instanceof HTMLElement&&0===p.value&&((null!=(l=null==E?void 0:E.isFocusWithinPopoverGroup())?l:(null==(r=S.value)?void 0:r.activeElement)&&((null==(n=(0,g.t)(m))?void 0:n.contains(S.value.activeElement))||(null==(o=(0,g.t)(w))?void 0:o.contains(S.value.activeElement))))||m&&w&&(j.contains(e.target)||null!=(t=(0,g.t)(A.beforePanelSentinel))&&t.contains(e.target)||null!=(a=(0,g.t)(A.afterPanelSentinel))&&a.contains(e.target)||A.closePopover()))},!0),(0,c.j)(j.resolveContainers,(e,t)=>{var a;A.closePopover(),(0,v.Bm)(t,v.MZ.Loose)||(e.preventDefault(),null==(a=(0,g.t)(m))||a.focus())},(0,n.EW)(()=>0===p.value)),()=>{let r={open:0===p.value,close:A.close};return(0,n.h)(n.FK,[(0,n.h)(_,{},()=>(0,O.XX)({theirProps:{...e,...a},ourProps:{ref:u},slot:r,slots:t,attrs:a,name:"Popover"})),(0,n.h)(j.MainTreeNode)])}}}),R=(0,n.pM)({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:a,expose:r}){var l;let s=null!=(l=e.id)?l:`headlessui-popover-button-${(0,i.B)()}`,c=w("PopoverButton"),d=(0,n.EW)(()=>(0,b.T)(c.button));r({el:c.button,$el:c.button}),(0,n.sV)(()=>{c.buttonId.value=s}),(0,n.hi)(()=>{c.buttonId.value=null});let h=C(),k=null==h?void 0:h.closeOthers,x=(0,n.WQ)($,null),S=(0,n.EW)(()=>null!==x&&x.value===c.panelId.value),A=(0,o.KR)(null),R=`headlessui-focus-sentinel-${(0,i.B)()}`;S.value||(0,n.nT)(()=>{c.button.value=(0,g.t)(A)});let E=(0,u.c)((0,n.EW)(()=>({as:e.as,type:t.type})),A);function P(e){var t,a,r,n,o;if(S.value){if(1===c.popoverState.value)return;switch(e.key){case f.D.Space:case f.D.Enter:e.preventDefault(),null==(a=(t=e.target).click)||a.call(t),c.closePopover(),null==(r=(0,g.t)(c.button))||r.focus()}}else switch(e.key){case f.D.Space:case f.D.Enter:e.preventDefault(),e.stopPropagation(),1===c.popoverState.value&&(null==k||k(c.buttonId.value)),c.togglePopover();break;case f.D.Escape:if(0!==c.popoverState.value)return null==k?void 0:k(c.buttonId.value);if(!(0,g.t)(c.button)||null!=(n=d.value)&&n.activeElement&&!(null!=(o=(0,g.t)(c.button))&&o.contains(d.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),c.closePopover()}}function T(e){S.value||e.key===f.D.Space&&e.preventDefault()}function _(t){var a,r;e.disabled||(S.value?(c.closePopover(),null==(a=(0,g.t)(c.button))||a.focus()):(t.preventDefault(),t.stopPropagation(),1===c.popoverState.value&&(null==k||k(c.buttonId.value)),c.togglePopover(),null==(r=(0,g.t)(c.button))||r.focus()))}function j(e){e.preventDefault(),e.stopPropagation()}let Q=(0,p.u)();function L(){let e=(0,g.t)(c.panel);e&&(0,y.Y)(Q.value,{[p.O.Forwards]:()=>(0,v.CU)(e,v.BD.First),[p.O.Backwards]:()=>(0,v.CU)(e,v.BD.Last)})===v.Me.Error&&(0,v.CU)((0,v.iq)().filter(e=>"true"!==e.dataset.headlessuiFocusGuard),(0,y.Y)(Q.value,{[p.O.Forwards]:v.BD.Next,[p.O.Backwards]:v.BD.Previous}),{relativeTo:(0,g.t)(c.button)})}return()=>{let r=0===c.popoverState.value,{...o}=e,l=S.value?{ref:A,type:E.value,onKeydown:P,onClick:_}:{ref:A,id:s,type:E.value,"aria-expanded":0===c.popoverState.value,"aria-controls":(0,g.t)(c.panel)?c.panelId.value:void 0,disabled:!!e.disabled||void 0,onKeydown:P,onKeyup:T,onClick:_,onMousedown:j};return(0,n.h)(n.FK,[(0,O.XX)({ourProps:l,theirProps:{...t,...o},slot:{open:r},attrs:t,slots:a,name:"PopoverButton"}),r&&!S.value&&c.isPortalled.value&&(0,n.h)(m.j,{id:R,features:m.O.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:L})])}}}),E=((0,n.pM)({name:"PopoverOverlay",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(e,{attrs:t,slots:a}){let r=w("PopoverOverlay"),o=`headlessui-popover-overlay-${(0,i.B)()}`,l=(0,h.O_)(),s=(0,n.EW)(()=>null!==l?(l.value&h.Uw.Open)===h.Uw.Open:0===r.popoverState.value);function c(){r.closePopover()}return()=>{let n={open:0===r.popoverState.value};return(0,O.XX)({ourProps:{id:o,"aria-hidden":!0,onClick:c},theirProps:e,slot:n,attrs:t,slots:a,features:O.O5.RenderStrategy|O.O5.Static,visible:s.value,
200name:"PopoverOverlay"})}}}),(0,n.pM)({name:"PopoverPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:a,expose:r}){var o;let l=null!=(o=e.id)?o:`headlessui-popover-panel-${(0,i.B)()}`,{focus:s}=e,c=w("PopoverPanel"),u=(0,n.EW)(()=>(0,b.T)(c.panel)),d=`headlessui-focus-sentinel-before-${(0,i.B)()}`,k=`headlessui-focus-sentinel-after-${(0,i.B)()}`;r({el:c.panel,$el:c.panel}),(0,n.sV)(()=>{c.panelId.value=l}),(0,n.hi)(()=>{c.panelId.value=null}),(0,n.Gt)($,c.panelId),(0,n.nT)(()=>{var e,t;if(!s||0!==c.popoverState.value||!c.panel)return;let a=null==(e=u.value)?void 0:e.activeElement;null!=(t=(0,g.t)(c.panel))&&t.contains(a)||(0,v.CU)((0,g.t)(c.panel),v.BD.First)});let x=(0,h.O_)(),S=(0,n.EW)(()=>null!==x?(x.value&h.Uw.Open)===h.Uw.Open:0===c.popoverState.value);function C(e){var t,a;if(e.key===f.D.Escape){if(0!==c.popoverState.value||!(0,g.t)(c.panel)||u.value&&!(null!=(t=(0,g.t)(c.panel))&&t.contains(u.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),c.closePopover(),null==(a=(0,g.t)(c.button))||a.focus()}}function A(e){var t,a,r,n,o;let l=e.relatedTarget;l&&(0,g.t)(c.panel)&&(null!=(t=(0,g.t)(c.panel))&&t.contains(l)||(c.closePopover(),(null!=(r=null==(a=(0,g.t)(c.beforePanelSentinel))?void 0:a.contains)&&r.call(a,l)||null!=(o=null==(n=(0,g.t)(c.afterPanelSentinel))?void 0:n.contains)&&o.call(n,l))&&l.focus({preventScroll:!0})))}let R=(0,p.u)();function E(){let e=(0,g.t)(c.panel);e&&(0,y.Y)(R.value,{[p.O.Forwards]:()=>{var t;(0,v.CU)(e,v.BD.First)===v.Me.Error&&(null==(t=(0,g.t)(c.afterPanelSentinel))||t.focus())},[p.O.Backwards]:()=>{var e;null==(e=(0,g.t)(c.button))||e.focus({preventScroll:!0})}})}function P(){let e=(0,g.t)(c.panel);e&&(0,y.Y)(R.value,{[p.O.Forwards]:()=>{let e=(0,g.t)(c.button),t=(0,g.t)(c.panel);if(!e)return;let a=(0,v.iq)(),r=a.indexOf(e),n=a.slice(0,r+1),o=[...a.slice(r+1),...n];for(let e of o.slice())if("true"===e.dataset.headlessuiFocusGuard||null!=t&&t.contains(e)){let t=o.indexOf(e);-1!==t&&o.splice(t,1)}(0,v.CU)(o,v.BD.First,{sorted:!1})},[p.O.Backwards]:()=>{var t;(0,v.CU)(e,v.BD.Previous)===v.Me.Error&&(null==(t=(0,g.t)(c.button))||t.focus())}})}return()=>{let r={open:0===c.popoverState.value,close:c.close},{focus:o,...i}=e,u={ref:c.panel,id:l,onKeydown:C,onFocusout:s&&0===c.popoverState.value?A:void 0,tabIndex:-1};return(0,O.XX)({ourProps:u,theirProps:{...t,...i},attrs:t,slot:r,slots:{...a,default:(...e)=>{var t;return[(0,n.h)(n.FK,[S.value&&c.isPortalled.value&&(0,n.h)(m.j,{id:d,ref:c.beforePanelSentinel,features:m.O.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:E}),null==(t=a.default)?void 0:t.call(a,...e),S.value&&c.isPortalled.value&&(0,n.h)(m.j,{id:k,ref:c.afterPanelSentinel,features:m.O.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:P})])]}},features:O.O5.RenderStrategy|O.O5.Static,visible:S.value,name:"PopoverPanel"})}}}));(0,n.pM)({name:"PopoverGroup",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:a,expose:r}){let l=(0,o.KR)(null),s=(0,o.IJ)([]),i=(0,n.EW)(()=>(0,b.T)(l)),c=(0,d.x)();function u(e){let t=s.value.indexOf(e);-1!==t&&s.value.splice(t,1)}return r({el:l,$el:l}),(0,n.Gt)(S,{registerPopover:function(e){return s.value.push(e),()=>{u(e)}},unregisterPopover:u,isFocusWithinPopoverGroup:function(){var e;let t=i.value;if(!t)return!1;let a=t.activeElement;return!!(null!=(e=(0,g.t)(l))&&e.contains(a))||s.value.some(e=>{var r,n;return(null==(r=t.getElementById(e.buttonId.value))?void 0:r.contains(a))||(null==(n=t.getElementById(e.panelId.value))?void 0:n.contains(a))})},closeOthers:function(e){for(let t of s.value)t.buttonId.value!==e&&t.close()},mainTreeNodeRef:c.mainTreeNodeRef}),()=>(0,n.h)(n.FK,[(0,O.XX)({ourProps:{ref:l},theirProps:{...e,...t},slot:{},attrs:t,slots:a,name:"PopoverGroup"}),(0,n.h)(c.MainTreeNode)])}})},60652:(e,t,a)=>{"use strict";a.d(t,{G:()=>r,Z:()=>n});let r=e=>{if(null===e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||null===t},n=e=>"object"==typeof e&&null!==e},60739:(e,t,a)=>{"use strict";a.d(t,{Ar:()=>n,n_:()=>r});let r={SELECTED_CLIENT:"scalar-reference-selected-client-v2",AUTH:"scalar-reference-auth"},n=()=>"u"<typeof window?{getItem:()=>null,setItem:()=>null,removeItem:()=>null}:localStorage},61067:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconCaretRight",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M176,128,96,208V48Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},61930:(e,t,a)=>{"use strict";let r;function n(e){let t=Object.create(null);for(let a of e.split(","))t[a]=1;return e=>e in t}a.d(t,{$3:()=>h,$H:()=>Z,BH:()=>W,BX:()=>el,Bm:()=>k,C4:()=>H,CE:()=>g,CP:()=>u,DY:()=>U,Gv:()=>x,J$:()=>K,Kg:()=>O,MZ:()=>o,Mp:()=>c,NO:()=>i,Oj:()=>l,PT:()=>_,Qd:()=>A,Ro:()=>B,SU:()=>E,TF:()=>p,Tg:()=>Q,Tn:()=>b,Tr:()=>D,Vp:()=>er,W0:()=>J,We:()=>q,X$:()=>d,XW:()=>eo,Y2:()=>ee,ZH:()=>L,Zf:()=>$,_B:()=>Y,bB:()=>I,cy:()=>f,gd:()=>y,pD:()=>n,pU:()=>ep,rU:()=>M,tE:()=>s,tl:()=>z,u3:()=>es,vM:()=>v,v_:()=>ec,wQ:()=>et,yI:()=>R,yL:()=>w,yQ:()=>X,z3:()=>ea}
200);let o={},l=[],s=()=>{},i=()=>!1,c=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),u=e=>e.startsWith("onUpdate:"),d=Object.assign,p=(e,t)=>{let a=e.indexOf(t);a>-1&&e.splice(a,1)},m=Object.prototype.hasOwnProperty,h=(e,t)=>m.call(e,t),f=Array.isArray,g=e=>"[object Map]"===C(e),v=e=>"[object Set]"===C(e),y=e=>"[object RegExp]"===C(e),b=e=>"function"==typeof e,O=e=>"string"==typeof e,k=e=>"symbol"==typeof e,x=e=>null!==e&&"object"==typeof e,w=e=>(x(e)||b(e))&&b(e.then)&&b(e.catch),S=Object.prototype.toString,C=e=>S.call(e),$=e=>C(e).slice(8,-1),A=e=>"[object Object]"===C(e),R=e=>O(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,E=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),P=e=>{let t=Object.create(null);return a=>t[a]||(t[a]=e(a))},T=/-\w/g,_=P(e=>e.replace(T,e=>e.slice(1).toUpperCase())),j=/\B([A-Z])/g,Q=P(e=>e.replace(j,"-$1").toLowerCase()),L=P(e=>e.charAt(0).toUpperCase()+e.slice(1)),M=P(e=>e?`on${L(e)}`:""),Z=(e,t)=>!Object.is(e,t),U=(e,...t)=>{for(let a=0;a<e.length;a++)e[a](...t)},X=(e,t,a,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:a})},I=e=>{let t=parseFloat(e);return isNaN(t)?e:t},B=e=>{let t=O(e)?Number(e):NaN;return isNaN(t)?e:t},q=()=>r||(r="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:void 0!==a.g?a.g:{}),W=n("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function D(e){if(f(e)){let t={};for(let a=0;a<e.length;a++){let r=e[a],n=O(r)?function(e){let t={};return e.replace(F,"").split(N).forEach(e=>{if(e){let a=e.split(V);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}(r):D(r);if(n)for(let e in n)t[e]=n[e]}return t}if(O(e)||x(e))return e}let N=/;(?![^(]*\))/g,V=/:([^]+)/,F=/\/\*[^]*?\*\//g;function z(e){if(!e)return"";if(O(e))return e;let t="";for(let a in e){let r=e[a];if(O(r)||"number"==typeof r){let e=a.startsWith("--")?a:Q(a);t+=`${e}:${r};`}}return t}function H(e){let t="";if(O(e))t=e;else if(f(e))for(let a=0;a<e.length;a++){let r=H(e[a]);r&&(t+=r+" ")}else if(x(e))for(let a in e)e[a]&&(t+=a+" ");return t.trim()}function Y(e){if(!e)return null;let{class:t,style:a}=e;return t&&!O(t)&&(e.class=H(t)),a&&(e.style=D(a)),e}let G="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",K=n(G),J=n(G+",async,autofocus,autoplay,controls,default,defer,disabled,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function ee(e){return!!e||""===e}let et=n("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),ea=n("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radiu
200s,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function er(e){if(null==e)return!1;let t=typeof e;return"string"===t||"number"===t||"boolean"===t}let en=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function eo(e,t){return e.replace(en,e=>t?'"'===e?'\\\\\\"':`\\\\${e}`:`\\${e}`)}function el(e,t){if(e===t)return!0;let a="[object Date]"===C(e),r="[object Date]"===C(t);if(a||r)return!!a&&!!r&&e.getTime()===t.getTime();if(a=k(e),r=k(t),a||r)return e===t;if(a=f(e),r=f(t),a||r)return!!a&&!!r&&function(e,t){if(e.length!==t.length)return!1;let a=!0;for(let r=0;a&&r<e.length;r++)a=el(e[r],t[r]);return a}(e,t);if(a=x(e),r=x(t),a||r){if(!a||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let a in e){let r=e.hasOwnProperty(a),n=t.hasOwnProperty(a);if(r&&!n||!r&&n||!el(e[a],t[a]))return!1}}return String(e)===String(t)}function es(e,t){return e.findIndex(e=>el(e,t))}let ei=e=>!!(e&&!0===e.__v_isRef),ec=e=>O(e)?e:null==e?"":f(e)||x(e)&&(e.toString===S||!b(e.toString))?ei(e)?ec(e.value):JSON.stringify(e,eu,2):String(e),eu=(e,t)=>{if(ei(t))return eu(e,t.value);if(g(t))return{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,a],r)=>(e[ed(t,r)+" =>"]=a,e),{})};if(v(t))return{[`Set(${t.size})`]:[...t.values()].map(e=>ed(e))};if(k(t))return ed(t);if(x(t)&&!f(t)&&!A(t))return String(t);return t},ed=(e,t="")=>{var a;return k(e)?`Symbol(${null!=(a=e.description)?a:t})`:e};function ep(e){return null==e?"initial":"string"==typeof e?""===e?" ":e:("number"!=typeof e||Number.isFinite(e),String(e))}},62205:(e,t,a)=>{"use strict";a.d(t,{I:()=>r});var r={solid:["scalar-button-solid","bg-b-btn text-c-btn focus-visible:border-c-btn active:bg-b-btn hover:bg-h-btn outline-offset-1"],outlined:["scalar-button-outlined","active:bg-btn-1 shadow-border bg-b-1 text-c-1 hover:bg-b-2"],ghost:["scalar-button-ghost","bg-transparent text-c-2 active:text-c-1 hover:text-c-1"],gradient:["scalar-button-gradient","shadow-border bg-b-1.5 bg-linear-to-b from-b-1 to-b-2 hover:bg-linear-to-t","dark:bg-linear-to-t dark:hover:bg-linear-to-b"],danger:["scalar-button-danger","bg-c-danger text-white active:brightness-90 hover:brightness-90"]}},62449:(e,t,a)=>{"use strict";a.d(t,{W:()=>J});var r=a(78432);async function n({defaultValue:e,validation:t,transformation:a,maxRetries:r=5}){let l=a?.(e)??e;return await t(l)?l:o({value:[l,1],validation:t,maxRetries:r,transformation:a})}async function o({value:e,validation:t,maxRetries:a,attempts:r=0,transformation:n}){if(r>=a)return;let l=e.join(" "),s=n?.(l)??l;return await t(s)?s:o({value:[e[0],e[1]+1],validation:t,maxRetries:a,transformation:n,attempts:r+1})}var l=a(51316),s=a(9611),i=a(13699),c=a(51324),u=a(88044),d=a(95589);let p=e=>{if((0,d.yF)(e)||(0,d.KK)(e))return e["x-scalar-navigation"]?.name||void 0},m=e=>{if((0,d.yF)(e))return e.components?.securitySchemes??{};if((0,d.KK)(e)){let t=e.components?(0,l.A)(e.components):void 0;return t?.securitySchemes??{}}return{}},h=e=>(0,d.KK)(e)?"availableScopes":"scopes",f=async(e,t,{selectedRequirements:a,newSchemes:r,meta:o})=>{let l=p(t);if(!l)return;let s=[];if((0,d.yF)(t)){let e=await Promise.all(r.map(async e=>{let a=await n({defaultValue:e.name,validation:e=>!t.components?.securitySchemes?.[e],maxRetries:100});if(a)return t.components||(t.components={}),t.components.securitySchemes||(t.components.securitySchemes={}),t.components.securitySchemes[a]=e.scheme,{[a]:[]}}));s.push(...e.filter(Boolean))}let i="document"===o.type?e?.auth.getAuthSelectedSchemas({type:"document",documentName:l}):e?.auth.getAuthSelectedSchemas({type:"operation",documentName:l,path:o.path,method:o.method}),c=[...a,...s],u=()=>i?.selectedIndex?i.selectedIndex>=c.length?c.length-1:i.selectedIndex:0;return"document"===o.type?e?.auth.setAuthSelectedSchemas({type:"document",documentName:l},{selectedIndex:u(),selectedSchemes:c}):e?.auth.setAuthSelectedSchemas({type:"operation",documentName:l,path:o.path,method:o.method},{selectedIndex:u(),selectedSchemes:c})},g=(e,t,a)=>{let r=(0,l.A)(m(e)[t]);if(!r||"oauth2"!==r.type&&"openIdConnect"!==r.type)return null;let n=r.flows?.[a];return n?(0,l.A)(n):null},v=(e,t,a)=>{let n=p(t);if(!e||!n)return;let o=t=>{let r=e.auth.getAuthSelectedSchemas(t);if(!r)return;let n=(0,c.s)(r.selectedSchemes,{depth:1})??[];a(n),e.auth.setAuthSelectedSchemas(t,{selectedIndex:r.selectedIndex,selectedSchemes:n})};o({type:"document",documentName:n}),(0,d.yF)(t)&&Object.entries(t.paths??{}
200).forEach(([e,t])=>{(0,r.M8)(t,t=>{o({type:"operation",documentName:n,path:e,method:t})})})};var y=a(37163),b=a(70470);let O=({collection:e})=>({upsertCookie:t=>((e,{payload:t,index:a})=>{if(!e||(0,d.KK)(e))return;if(e["x-scalar-cookies"]||(e["x-scalar-cookies"]=[]),void 0!==a){if(a<0||a>=e["x-scalar-cookies"].length)return;let r=(0,b.v)(y.w6,{...e["x-scalar-cookies"][a],...t});return e["x-scalar-cookies"][a]=r,r}let r=(0,b.v)(y.w6,t);return e["x-scalar-cookies"].push(r),r})(e,t),deleteCookie:t=>((e,{index:t})=>!(!e||(0,d.KK)(e))&&!!e["x-scalar-cookies"]&&!(t<0)&&!(t>=e["x-scalar-cookies"].length)&&(e["x-scalar-cookies"].splice(t,1),!0))(e,t)}),k=async(e,t)=>{if(e){if(e.workspace.documents[t.name])return void t.callback?.(!1);await e.addDocument({name:t.name,document:{openapi:"3.1.0",info:{title:t.name,version:"1.0.0"},paths:{"/":{get:{}}},"x-scalar-icon":t.icon}}),t.callback?.(!0)}};var x=a(7041);let w=({workspace:e,collection:t})=>({upsertEnvironment:a=>((e,t,{environmentName:a,payload:r,oldEnvironmentName:n})=>{if(!t||!e||(0,d.KK)(t))return;t["x-scalar-environments"]||(t["x-scalar-environments"]={});let o=!t["x-scalar-environments"][n??a],l=(0,b.v)(x.pn,{...(0,c.s)(t["x-scalar-environments"][n??a],{depth:1}),...r});return t["x-scalar-environments"][a]=l,n&&n!==a&&(delete t["x-scalar-environments"][n],e["x-scalar-active-environment"]===n&&(e["x-scalar-active-environment"]=a)),o&&(e["x-scalar-active-environment"]=a),l})(e,t,a),deleteEnvironment:a=>((e,t,{environmentName:a})=>{!t||!e||(0,d.KK)(t)||delete t["x-scalar-environments"]?.[a]})(e,t,a),upsertEnvironmentVariable:e=>((e,{environmentName:t,variable:a,index:r})=>{if(!e||(0,d.KK)(e))return;if(!e["x-scalar-environments"]?.[t])return void console.error("Environment not found",t);let n=(0,b.v)(x.ic,a);if(void 0!==r){if(""===n.name)return void e["x-scalar-environments"][t].variables.splice(r,1);e["x-scalar-environments"][t].variables[r]=n}else e["x-scalar-environments"][t].variables.push(n);return n})(t,e),deleteEnvironmentVariable:e=>((e,{environmentName:t,index:a})=>{if(!(!e||(0,d.KK)(e))){if(!e["x-scalar-environments"]?.[t])return void console.error("Environment not found",t);e["x-scalar-environments"][t]?.variables?.splice(a,1)}})(t,e)}),S=(e,t,a)=>{if(!(0,d.yF)(e))return null;let n=(0,l.A)((0,r.Cu)(e.paths?.[a.path],a.method));if(!n)return null;let o=(0,l.A)(n.requestBody);return o||(n.requestBody={content:{}},o=(0,l.A)(n.requestBody)),o.content[t]||={},o.content[t].examples||={},o.content[t].examples[a.exampleKey]||={},(0,l.A)(o.content[t].examples?.[a.exampleKey])??null};var C=a(76412);let $=async({requestPayload:e,includeBody:t=!0,httpVersion:a="HTTP/1.1",bodySizeLimit:r=1048576})=>{let[n,o]=e,l=globalThis.location?.origin,s=Array.from(new URL(n,l&&"null"!==l?l:"http://localhost").searchParams.entries()).map(([e,t])=>({name:e,value:t})),i=new Headers(o.headers),c=i.get("content-type")?.split(";")[0]?.trim()??"text/plain",{headers:u,headersSize:d,cookies:p}=P(i),m=await (async()=>{if(t&&null!=o.body){let e=await A(o.body,c);if(e.size<=r)return e}return{text:"",size:-1}})();return{method:o.method??"GET",url:n,httpVersion:a,headers:u,cookies:p,queryString:s,headersSize:d,bodySize:m.size,postData:"params"in m?{mimeType:c,params:m.params}:{mimeType:c,text:m.text}}},A=async(e,t)=>{if(e instanceof FormData)return R(e);if(e instanceof URLSearchParams)return E(e);if(t.includes("application/octet-stream"))return{text:"",size:-1};if("string"==typeof e){let t=new TextEncoder().encode(e).byteLength;return{text:e,size:t}}return e instanceof Blob?{text:await e.text(),size:e.size}:e instanceof ArrayBuffer||ArrayBuffer.isView(e)?{text:new TextDecoder().decode(e),size:e.byteLength}:{text:"",size:-1}},R=e=>Array.from(e.entries()).reduce((e,[t,a])=>{if(a instanceof File){let r=`@${a.name}`;return e.params.push({name:t,value:r}),e.size+=r.length,e}return e.params.push({name:t,value:a}),e.size+=a.length,e},{params:[],size:0}),E=e=>Array.from(e.entries()).reduce((e,[t,a])=>(e.params.push({name:t,value:a}),e.size+=t.length+a.length,e),{params:[],size:0}),P=e=>
200Array.from(e.entries()).reduce((e,[t,a])=>{if("cookie"===t.toLowerCase()){let t=T(a);e.cookies.push(...t.cookies)}else e.headers.push({name:t,value:a}),e.headersSize+=t.length+2+a.length+2;return e},{headers:[],headersSize:0,cookies:[]}),T=e=>e.split(";").reduce((e,t)=>{let a=t.trim(),r=a.indexOf("=");if(-1===r)return e;let n=a.substring(0,r).trim(),o=a.substring(r+1).trim();return e.cookies.push({name:n,value:o}),e.size+=n.length+2+o.length+2,e},{cookies:[],size:0}),_=async({response:e,includeBody:t=!0,httpVersion:a="HTTP/1.1",bodySizeLimit:r=1048576})=>{let{headers:n,headersSize:o,cookies:l}=j(e),s=e.headers.get("location")||"",i=e.headers.get("content-type")??"text/plain",c=await (async()=>{if(t&&e.body){let t=await Q(e.clone());if(t.size<=r)return t}return{text:"",size:-1,encoding:void 0}})();return{status:e.status,statusText:e.statusText,httpVersion:a,headers:n,cookies:l,content:{size:c.size,mimeType:i,text:c.text,encoding:c.encoding},redirectURL:s,headersSize:o,bodySize:c.size}},j=e=>Array.from(e.headers.entries()).reduce((e,[t,a])=>{if(e.headers.push({name:t,value:a}),e.headersSize+=t.length+2+a.length+2,"set-cookie"===t.toLowerCase()){let t=M(a);t&&e.cookies.push(t)}return e},{headers:[],headersSize:0,cookies:[]}),Q=async e=>{let t=e.headers.get("content-type");if(!t||!L(t))return{text:"",size:-1,encoding:void 0};try{let t=await e.arrayBuffer(),a=t.byteLength;return{text:new TextDecoder("utf-8").decode(t),size:a,encoding:void 0}}catch{return{text:"",size:-1,encoding:void 0}}},L=e=>{let t=e.toLowerCase();return!!(t.startsWith("text/")||t.includes("application/json")||t.includes("+json")||t.includes("application/xml")||t.includes("text/xml")||t.includes("+xml")||t.includes("application/javascript")||t.includes("application/x-javascript")||t.includes("application/x-www-form-urlencoded")||t.includes("application/graphql"))},M=e=>{let t=e.split(";");if(0===t.length||!t[0])return null;let a=t[0].trim(),r=a.indexOf("=");return -1===r?null:{name:a.substring(0,r).trim(),value:a.substring(r+1).trim()}},Z=(e,t,a)=>{for(let r of e){let e=(0,l.A)(r);if(!(0,C.Y6)(e)&&e.in===a&&("header"===a?e.name.toLowerCase()===t.toLowerCase():e.name===t))return e}let r={name:t,in:a,schema:{type:"string"}};return e.push(r),r},U=async(e,t,{payload:a,meta:n})=>{if(!(0,d.yF)(t))return;let o=t["x-scalar-navigation"]?.name;if(!o||!a)return;let s=(0,l.A)((0,r.Cu)(t.paths?.[n.path],n.method));if(!s)return;let i=(s.parameters??[]).reduce((e,t)=>{let a=(0,l.A)(t);return(0,C.Y6)(a)||"path"===a.in&&(e[a.name]=(0,l.A)(a.examples?.[n.exampleKey])?.value??""),e},{}),c=await $({requestPayload:a.requestPayload}),u=await _({response:a.response});e?.history.addHistory(o,n.path,n.method,{response:u,request:c,meta:{example:n.exampleKey},time:a.duration,timestamp:a.timestamp,requestMetadata:{variables:i}})};var X=a(99822),I=a(75005),B=a(77579),q=a(95665),W=a(70287),D=a(47990),N=a(71544);let V=({store:e,generateId:t,...a})=>{a.entries?.forEach(n=>{let o;if("document"!==(o=n.parent).type&&"tag"!==o.type&&"operation"!==o.type)return;let s=(({store:e,entry:t})=>{let a=(0,N.X)("document",t);if(!a)return null;let n=e.workspace.documents[a.name];return n?"document"===t.type?n:(0,d.yF)(n)?"tag"===t.type?n.tags?.find(e=>e.name===t.name)??null:"operation"===t.type?(0,l.A)((0,r.Cu)(n.paths?.[t.path],t.method))??null:null:null:null})({store:e,entry:n.parent});if(!s||!("x-scalar-order"in s))return;let i=s["x-scalar-order"],c=i?.indexOf(n.id);if(!Array.isArray(i)||"number"!=typeof c||c<0)return;if("tag"in a){let r=n.id,o=t({type:"tag",parentId:n.parent.id,tag:a.tag});if(i[c]=o,r!==o){let t=(0,N.X)("document",n),l=t?e.workspace.documents[t.name]:null,s=(0,d.yF)(l)?l.tags?.find(e=>e.name===a.tag.name):void 0,i=s?.["x-scalar-order"];if(s&&Array.isArray(i)){let e=`${r}/`,t=`${o}/`;s["x-scalar-order"]=i.map(a=>a.startsWith(e)?t+a.slice(e.length):a)}}return}let u="tag"===n.parent.type&&"name"in s?{tag:s,id:n.parent.id}:void 0;i[c]=t({type:"operation",path:a.path,method:a.method,operation:a.operation,parentId:n.parent.id,parentTag:u})})};var F=a(45910);let z=(e,t)=>(0,d.yF)(e)?"document"===t.type?e:(0,l.A)((0,r.Cu)(e.paths?.[t.path],t.method))??null:null,H=(e,t)=>{let a={};for(let r of t){let t=e.indexOf(`{${r}}`);-1!==t&&(a[r]=t)}return a},Y=e=>null!==e&&void 0!==e["x-scalar-tabs"],G=e=>
200(0,c.s)(e["x-scalar-tabs"],{depth:1}),K=e=>e["x-scalar-active-tab"]??0;function J(e){let t=t=>({auth:(({document:e,store:t})=>({updateSelectedSecuritySchemes:a=>f(t,e,a),clearSelectedSecuritySchemes:a=>((e,t,{meta:a})=>{let r=p(t);if(r)return"document"===a.type?e?.auth.clearAuthSelectedSchemas({type:"document",documentName:r}):e?.auth.clearAuthSelectedSchemas({type:"operation",documentName:r,path:a.path,method:a.method})})(t,e,a),updateSecurityScheme:t=>((e,{payload:t,name:a})=>{if(!(0,d.yF)(e)&&!(0,d.KK)(e))return;let r=(0,l.A)(m(e)[a]);if(!r)return void console.error(`Security scheme ${a} not found`);let n=r.type;if(n===t.type||"httpApiKey"===n&&"apiKey"===t.type){let e=r.type;(0,i.r)(r,t),r.type=e}return r})(e,t),updateSecuritySchemeSecrets:a=>((e,t,{payload:a,name:r,overwrite:n=!1})=>{let o=p(t);if(!o)return;if(n)return void e?.auth.setAuthSecrets(o,r,a);let l=e?.auth.getAuthSecrets(o,r),s=(0,i.r)((0,c.s)(l,{depth:1})??{},a);e?.auth.setAuthSecrets(o,r,s)})(t,e,a),clearSecuritySchemeSecrets:a=>((e,t,{name:a})=>{let r=p(t);r&&e?.auth.clearAuthSecrets(r,a)})(t,e,a),updateSelectedAuthTab:a=>((e,t,{index:a,meta:n})=>{let o=p(t);if(!o||"operation"===n.type&&(!(0,d.yF)(t)||void 0===(0,r.Cu)(t.paths?.[n.path],n.method)))return;let l="document"===n.type?e?.auth.getAuthSelectedSchemas({type:"document",documentName:o}):e?.auth.getAuthSelectedSchemas({type:"operation",documentName:o,path:n.path,method:n.method});if(!l)return"document"===n.type?e?.auth.setAuthSelectedSchemas({type:"document",documentName:o},{selectedIndex:a,selectedSchemes:[]}):e?.auth.setAuthSelectedSchemas({type:"operation",documentName:o,path:n.path,method:n.method},{selectedIndex:a,selectedSchemes:[]});e?.auth.setAuthSelectedSchemas("document"===n.type?{type:"document",documentName:o}:{type:"operation",documentName:o,path:n.path,method:n.method},{selectedIndex:a,selectedSchemes:(0,c.s)(l.selectedSchemes,{depth:null})??[]})})(t,e,a),updateSelectedScopes:a=>((e,t,{id:a,name:r,scopes:n,scope:o,selected:l,meta:i})=>{let d=p(t);if(!d)return;let h=("document"===i.type?e?.auth.getAuthSelectedSchemas({type:"document",documentName:d}):e?.auth.getAuthSelectedSchemas({type:"operation",documentName:d,path:i.path,method:i.method}))??(0,u.Y)(void 0,void 0,[],m(t),1===a.length?a[0]:a),f=(0,c.s)(h.selectedSchemes,{depth:1})??[],g=f.find(e=>{let t,r;return t=[...Object.keys(e)].sort((e,t)=>e.localeCompare(t)),r=[...a].sort((e,t)=>e.localeCompare(t)),JSON.stringify(t)===JSON.stringify(r)});if(!(0,s.p)(g))return;let v=(()=>{if(void 0!==o&&void 0!==l){let e=Array.isArray(g[r])?g[r]:[];return l?Array.from(new Set([...e,o])):e.filter(e=>e!==o)}return n})();void 0!==v&&(g[r]=v,e?.auth.setAuthSelectedSchemas("document"===i.type?{type:"document",documentName:d}:{type:"operation",documentName:d,path:i.path,method:i.method},{selectedIndex:h.selectedIndex,selectedSchemes:f}))})(t,e,a),upsertScope:a=>((e,t,{name:a,flowType:r,scope:n,description:o,oldScope:l,enable:i})=>{if(!(0,d.yF)(t)&&!(0,d.KK)(t))return;let c=g(t,a,r);if(!c)return;let u=h(t);c[u]||(c[u]={});let p=c[u],m=!!l&&l!==n;if(m){if(!(l in p))return;delete p[l]}p[n]=o,(m||i)&&v(e,t,e=>{e.forEach(e=>{if(!(0,s.p)(e))return;let t=e[a];if(!Array.isArray(t))return;let r=t;m&&r.includes(l)&&(r=r.map(e=>e===l?n:e)),i&&!r.includes(n)&&(r=[...r,n]),r!==t&&(e[a]=r)})})})(t,e,a),deleteScope:a=>((e,t,{name:a,flowType:r,scope:n})=>{if(!(0,d.yF)(t)&&!(0,d.KK)(t))return;let o=g(t,a,r),l=o?.[h(t)];l&&(delete l[n],v(e,t,e=>{e.forEach(e=>{if(!(0,s.p)(e))return;let t=e[a];Array.isArray(t)&&t.includes(n)&&(e[a]=t.filter(e=>e!==n))})}))})(t,e,a),deleteSecurityScheme:a=>((e,t,{names:a})=>{if(!(0,d.yF)(t))return;let n=t["x-scalar-navigation"]?.name;if(!n)return;let o=(0,l.A)(t.components?.securitySchemes);if(!o)return;a.forEach(e=>{delete o[e]});let s=(e,t)=>Math.max(0,Math.min(e,t-1)),i=e=>((0,c.s)(e,{depth:1})??[]).filter(e=>!a.some(t=>Object.keys(e).includes(t))),u=e?.auth.getAuthSelectedSchemas({type:"document",documentName:n});if(u){let t=i(u.selectedSchemes);e?.auth.setAuthSelectedSchemas({type:"document",documentName:n},{selectedIndex:s(u.selectedIndex,t.length),selectedSchemes:t})}t.security&&(t.security=i(t.security)),Object.entries(t.paths??{}
200).forEach(([t,a])=>{(0,r.M8)(a,(a,r)=>{let o=(0,l.A)(r);"security"in o&&o.security&&(o.security=i(o.security));let c=e?.auth.getAuthSelectedSchemas({type:"operation",documentName:n,path:t,method:a});if(c){let r=i(c.selectedSchemes);e?.auth.setAuthSelectedSchemas({type:"operation",documentName:n,path:t,method:a},{selectedIndex:s(c.selectedIndex,r.length),selectedSchemes:r})}})})})(t,e,a)}))({store:e,document:t}),cookie:O({collection:t}),document:(({document:e,store:t})=>({updateDocumentExtension:t=>{(0,d.yF)(e)&&(0,i.r)(e,t)},updateDocumentInfo:t=>{(0,d.yF)(e)&&((0,i.r)(e.info,t),e["x-scalar-navigation"]&&void 0!==t.title&&(e["x-scalar-navigation"].title=t.title?.trim()||"Untitled Document"))},updateWatchMode:t=>{(0,d.yF)(e)&&(e["x-scalar-watch-mode"]=t)},updateDocumentIcon:t=>{(0,d.yF)(e)&&e["x-scalar-navigation"]&&(e["x-scalar-icon"]=t,e["x-scalar-navigation"].icon=t)},createEmptyDocument:e=>k(t,e),deleteDocument:e=>{t&&t.deleteDocument(e.name)}}))({document:t,store:e}),operation:(({document:e,store:t})=>({createOperation:e=>((e,t)=>{let a=e?.workspace.documents[t.documentName];if(!(0,d.yF)(a))return void t.callback?.(!1);let{path:n,method:o,operation:s}=t,i=n.startsWith("/")?n:`/${n}`;a.paths||(a.paths={}),a.paths[i]||(a.paths[i]={}),(0,I.R)(i),(0,I.R)(o),(0,r.mQ)(a.paths[i],o,s);let{servers:u}=s,p=(0,c.s)(u?.[0]);for(let e of u??[])a.servers?.some(t=>t.url===e.url)||(a.servers||(a.servers=[]),a.servers.push((0,c.s)(e)));p&&(a["x-scalar-selected-server"]=p.url);let m=s.parameters,h=(0,q.G)(i,i,m??[],l.A);return(void 0!==m||h.length>0)&&(s.parameters=h),t.callback?.(!0),i})(t,e),updateOperationMeta:a=>((e,t,{meta:a,payload:n})=>{if(!e||!(0,d.yF)(t))return;let o=t["x-scalar-navigation"]?.name;if(void 0===o)return;let s=(0,l.A)((0,r.Cu)(t.paths?.[a.path],a.method));s?(Object.assign(s,n),e.buildSidebar(o)):console.error("Operation not found",{meta:a,document:t})})(t,e,a),updateOperationPathMethod:a=>((e,t,{meta:a,payload:{method:n,path:o},blurTargetSelector:s,callback:i})=>{let u=a.method!==n,p=a.path!==o;if(!u&&!p)return void i("no-change",s);let m=u?n:a.method,h=p?o:a.path;if(!t||!(0,d.yF)(e))return void console.error("Document or workspace not found",{document:e});if((0,r.Cu)(e.paths?.[h],m))return void i("conflict",s);let f=e["x-scalar-navigation"];if(!f)return void console.error("Document navigation missing",{document:e});let g=(0,l.A)((0,r.Cu)(e.paths?.[a.path],a.method));if(!g)return void console.error("Operation not found",{meta:a,document:e});if(p){let e=(0,B.D)(a.path,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),t=(0,B.D)(h,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e);if(e.length>0||t.length>0){let e=g.parameters??[];g.parameters=(0,q.G)(h,a.path,e,l.A)}}let{generateId:v}=(0,D.N)(f.name),y=(0,W.sl)(f).get(`${a.path}|${a.method}`);y&&V({store:t,operation:g,generateId:v,method:m,path:h,entries:y}),e.paths||(e.paths={}),e.paths[h]||(e.paths[h]={}),(0,I.R)(h),(0,I.R)(a.path),(0,I.R)(m),(0,r.mQ)(e.paths[h],m,(0,c.s)(g)),(0,X.a)(a.method)&&((0,r.xf)(e.paths[a.path],a.method),(0,r.IK)(e.paths[a.path])&&delete e.paths[a.path]),t.history.clearOperationHistory(e["x-scalar-navigation"]?.name??"",a.path,a.method),i("success",s)})(e,t,a),deleteOperation:e=>((e,{meta:t,documentName:a})=>{let n=e?.workspace.documents[a];(0,d.yF)(n)&&((0,I.R)(t.path),(0,I.R)(t.method),(0,r.xf)(n.paths?.[t.path],t.method),(0,r.IK)(n.paths?.[t.path])&&delete n.paths?.[t.path])})(t,e),createOperationDraftExample:e=>((e,{meta:{path:t,method:a},documentName:n,exampleName:o})=>{let s=e?.workspace.documents[n];if(!(0,d.yF)(s))return void console.error("Document not found",{documentName:n});let i=(0,l.A)((0,r.Cu)(s.paths?.[t],a));if(!i)return void console.error("Operation not found",{path:t,method:a});i["x-draft-examples"]??=[];let c=new Set(i["x-draft-examples"]);c.add(o),i["x-draft-examples"]=Array.from(c)})(t,e),deleteOperationExample:e=>((e,{meta:{path:t,method:a,exampleKey:n},documentName:o})=>{let s=e?.workspace.documents[o];if(!(0,d.yF)(s))return;let i=(0,l.A)((0,r.Cu)(s.paths?.[t],a));if(!i)return;let c=new Set(i["x-draft-examples"]??[]);c.delete(n),void 0!==i["x-draft-examples"]&&(i["x-draft-examples"]=Array.from(c)),i.parameters?.forEach(e
200=>{let t=(0,l.A)(e);"content"in t&&t.content&&Object.values(t.content).forEach(e=>{delete e.examples?.[n]}),"examples"in t&&t.examples&&delete t.examples?.[n]});let u=(0,l.A)(i.requestBody);u&&Object.values(u.content??{}).forEach(e=>{delete e.examples?.[n]})})(t,e),renameOperationExample:e=>((e,{meta:{path:t,method:a,exampleKey:n},documentName:o,payload:s})=>{let i=e?.workspace.documents[o];if(!(0,d.yF)(i))return;let u=(0,l.A)((0,r.Cu)(i.paths?.[t],a));if(!u)return;let p=s.name.trim();if(!p||p===n)return;(0,I.R)(p);let m=[];u.parameters?.forEach(e=>{let t=(0,l.A)(e);"examples"in t&&t.examples&&m.push(t.examples),"content"in t&&t.content&&Object.values(t.content).forEach(e=>{e.examples&&m.push(e.examples)})});let h=(0,l.A)(u.requestBody);h&&(Object.values(h.content??{}).forEach(e=>{e.examples&&m.push(e.examples)}),h["x-scalar-selected-content-type"]&&m.push(h["x-scalar-selected-content-type"])),u["x-draft-examples"]?.includes(p)||m.some(e=>Object.hasOwn(e,p))||(u["x-draft-examples"]&&(u["x-draft-examples"]=u["x-draft-examples"].map(e=>e===n?p:e)),m.forEach(e=>{Object.hasOwn(e,n)&&(e[p]=(0,c.s)(e[n]),delete e[n])}))})(t,e),updateOperationExtension:t=>((e,{meta:t,payload:a})=>{if(!(0,d.yF)(e))return;let n=(0,l.A)((0,r.Cu)(e.paths?.[t.path],t.method));n&&(0,i.r)(n,a)})(e,t),updateOperationExtraParameters:t=>((e,{type:t,meta:a,payload:n,in:o})=>{if(!(0,d.yF)(e))return;let s=(0,l.A)((0,r.Cu)(e.paths?.[a.path],a.method));if(!s)return;s["x-scalar-disable-parameters"]||(s["x-scalar-disable-parameters"]={});let i={global:{cookie:"global-cookies"},default:{header:"default-headers"}}[t]?.[o];i&&(s["x-scalar-disable-parameters"][i]||(s["x-scalar-disable-parameters"][i]={}),s["x-scalar-disable-parameters"][i][a.exampleKey]={...s["x-scalar-disable-parameters"][i][a.exampleKey]??{},[a.name]:n.isDisabled??!1})})(e,t),upsertOperationParameter:t=>((e,{meta:t,type:a,payload:n,originalParameter:o})=>{if(o){(n.name||!o.name)&&(o.name=n.name),o.examples||(o.examples={}),o.examples[t.exampleKey]||(o.examples[t.exampleKey]={});let e=(0,l.A)(o.examples[t.exampleKey]);e.value=n.value,e["x-disabled"]=n.isDisabled;return}if(!(0,d.yF)(e))return;let s=(0,l.A)((0,r.Cu)(e.paths?.[t.path],t.method));s?(s.parameters||=[],s.parameters.push({name:n.name,in:a,required:"path"===a,examples:{[t.exampleKey]:{value:n.value,"x-disabled":!1}}})):console.error("Operation not found",{meta:t,document:e})})(e,t),deleteOperationParameter:t=>((e,{meta:t,originalParameter:a})=>{if(!(0,d.yF)(e))return;let n=(0,l.A)((0,r.Cu)(e.paths?.[t.path],t.method)),o=n?.parameters?.findIndex(e=>(0,l.A)(e)===a)??-1;if(n&&o>=0){n.parameters=(0,c.s)(n.parameters?.filter((e,t)=>t!==o),{depth:1});return}for(let r of(e=>{if(!e||"object"!=typeof e)return[];if("$ref"in e){let t=[];void 0!==e.parameters&&t.push(e);let a=(0,l.A)(e);return a&&t.push(a),t}return[e]})(e.paths?.[t.path])){let e=r.parameters?.findIndex(e=>(0,l.A)(e)===a)??-1;if(e>=0){r.parameters=(0,c.s)(r.parameters?.filter((t,a)=>a!==e),{depth:1});return}}})(e,t),deleteAllOperationParameters:t=>((e,{meta:t,type:a})=>{if(!(0,d.yF)(e))return;let n=(0,l.A)((0,r.Cu)(e.paths?.[t.path],t.method));n&&(n.parameters=n.parameters?.filter(e=>(0,l.A)(e).in!==a)??[])})(e,t),updateOperationRequestBodyContentType:t=>((e,{meta:t,payload:a})=>{if(!(0,d.yF)(e))return;let n=(0,l.A)((0,r.Cu)(e.paths?.[t.path],t.method));if(!n)return;let o=(0,l.A)(n.requestBody);o||(n.requestBody={content:{}},o=(0,l.A)(n.requestBody)),o["x-scalar-selected-content-type"]||(o["x-scalar-selected-content-type"]={}),o["x-scalar-selected-content-type"][t.exampleKey]=a.contentType})(e,t),updateOperationRequestBodyExample:t=>((e,{meta:t,payload:a,contentType:r})=>{let n=S(e,r,t);n?n.value=a:console.error("Example not found",t.exampleKey)})(e,t),updateOperationRequestBodyFormValue:t=>((e,{meta:t,payload:a,contentType:r})=>{let n=S(e,r,t);n?n.value=(0,c.s)(a,{depth:3}):console.error("Example not found",t.exampleKey)})(e,t),addResponseToHistory:a=>U(t,e,a),reloadOperationHistory:a=>((e,t,{meta:a,index:n,callback:o})=>{if(!(0,d.yF)(t))return void console.error("Document not found",a.path,a.method);let s=(0,l.A)((0,r.Cu)(t.paths?.[a.path],a.method));if(!s)return void console.error("Operation not found",a.path,a.method);let i=e?.history.getHistory(t["x-scalar-navigation"]?.name??"",a.path,a.method)?.[n];i?((({harRequest:e,exampleKey:t,baseOperation:a={},pathVariables:r={}})=>{var n;
200if(a.parameters||(a.parameters=[]),n=a.parameters,n.forEach(e=>{var a,n,o;let s=(0,l.A)(e);(0,C.Y6)(s)||(a=(0,l.A)(e),n=t,o=!0,(0,C.Y6)(a)||a.examples?.[n]&&((0,l.A)(a.examples[n])["x-disabled"]=o),"path"===s.in&&(s.examples||={},s.examples[t]={value:r[s.name]??"","x-disabled":!1}))}),e.queryString&&e.queryString.length>0)for(let r of e.queryString){let e=Z(a.parameters,r.name,"query");!e||(0,C.Y6)(e)||(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.headers&&e.headers.length>0)for(let r of e.headers){let e=Z(a.parameters,r.name,"header");!e||(0,C.Y6)(e)||(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.cookies&&e.cookies.length>0)for(let r of e.cookies){let e=Z(a.parameters,r.name,"cookie");!e||(0,C.Y6)(e)||(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.postData){let r,{mimeType:n,text:o,params:s}=e.postData;a.requestBody||(a.requestBody={content:{}});let i=(0,l.A)(a.requestBody);i.content[n]||(i.content[n]={schema:{type:"object"}});let c=i.content[n];if(!c)return;if(c.examples||={},s&&s.length>0)for(let e of(r=[],s))r.push({name:e.name,value:e.value,"x-disabled":!1});else r=o;c.examples[t]={value:r,"x-disabled":!1},i["x-scalar-selected-content-type"]||={},i["x-scalar-selected-content-type"][t]=n}})({harRequest:i.request,exampleKey:"draft",baseOperation:s,pathVariables:i.requestMetadata.variables}),o("success")):console.error("History item not found",n)})(t,e,a)}))({document:t,store:e}),server:(({document:e})=>({initializeServers:t=>((e,{meta:t})=>{let a=z(e,t);return a?(a.servers=[],a.servers):void console.error("Target not found",t)})(e,t),addServer:t=>((e,{url:t,select:a,meta:r})=>{let n=z(e,r);if(!n)return void console.error("Target not found",r);let o=(0,b.v)(F.iP,{url:t});return n.servers||(n.servers=[]),n.servers.push(o),a&&(n["x-scalar-selected-server"]=o.url),o})(e,t),updateServer:t=>((e,{index:t,server:a,meta:r})=>{let n=z(e,r);if(!n)return;let o=(0,c.s)(n.servers?.[t],{depth:1});if(!o)return void console.error("Server not found at index:",t);let l=o.url,s=(0,b.v)(F.iP,{...o,...a});if(l&&l!==s.url){let e=s.variables??{};s.variables=((e,t,a)=>{let r=(0,B.D)(t,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),n=(0,B.D)(e,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),o=H(t,r),l=H(e,n),s=new Set,i={};for(let e of n){if(a[e]){i[e]=a[e],s.add(e);continue}let t=l[e],n=r.find(e=>o[e]===t&&!s.has(e));if(n&&a[n]){i[e]=a[n],s.add(n);continue}i[e]={default:""}}return i})(s.url,l,e),n["x-scalar-selected-server"]===l&&(n["x-scalar-selected-server"]=s.url)}return n.servers?n.servers[t]=s:n.servers=[s],s})(e,t),deleteServer:t=>((e,{index:t,meta:a})=>{let r=z(e,a);if(!r?.servers)return;let n=r.servers[t]?.url;r.servers.splice(t,1),r["x-scalar-selected-server"]===n&&(r["x-scalar-selected-server"]=r.servers[0]?.url??void 0)})(e,t),clearServers:t=>((e,{meta:t})=>{let a=z(e,t);a&&(a.servers=void 0,a["x-scalar-selected-server"]=void 0)})(e,t),updateServerVariables:t=>((e,{index:t,key:a,value:r,meta:n})=>{let o=z(e,n),l=o?.servers?.[t]?.variables?.[a];return l?(l.default=r,l):void console.error("Variable not found",a,t)})(e,t),updateSelectedServer:t=>((e,{url:t,meta:a})=>{let r=z(e,a);if(r)return""===t?(r["x-scalar-selected-server"]="",""):(r["x-scalar-selected-server"]=r["x-scalar-selected-server"]===t?"":t,r["x-scalar-selected-server"])})(e,t),updateSelectedAsyncApiServer:t=>((e,{name:t})=>{if((0,d.KK)(e))return e["x-scalar-selected-server"]=t,e["x-scalar-selected-server"]})(e,t),updateAsyncApiServerVariables:t=>((e,{name:t,key:a,value:r})=>{if(!(0,d.KK)(e))return;let n=(0,l.A)(e.servers?.[t]),o=n?.variables?.[a]?(0,l.A)(n.variables[a]):void 0;return o?(o.default=r,o):void console.error("Variable not found",a,t)})(e,t)}))({document:t}),tag:(({store:e})=>({createTag:t=>{let a;return a=e?.workspace.documents[t.documentName],void(!(0,d.yF)(a)?console.error("Document not found",{payload:t,store:e}):(!a.tags&&(a.tags=[]),a.tags.push({name:t.name})))},editTag:t=>((e,t)=>{let a,n,o,s=e?.workspace.documents[t.documentName];if(!e||!(0,d.yF)(s))return void console.error("Document not found",{payload:t,store:e});let i=s["x-scalar-navigation"];if(!i)return void console.error("Document navigation missing",{payload:t,store:e});let u=t.tag.name,p=t.newName;if(s.tags?.length&&(s.tags=s.tags.map(e=>{let t=(0,c.s)(e);return t.name===u?{...t,name:p}:t}
200)),t.tag.children?.forEach(e=>{if("operation"===e.type){let t=(0,l.A)((0,r.Cu)(s.paths?.[e.path],e.method));if(t&&"tags"in t){let e=(0,c.s)(t.tags,{depth:null});t.tags=e?.map(e=>e===u?p:e)}}else if("webhook"===e.type){let t=(0,l.A)((0,r.Cu)(s.webhooks?.[e.name],e.method));if(t&&"tags"in t){let e=(0,c.s)(t.tags,{depth:null});t.tags=e?.map(e=>e===u?p:e)}}}),s["x-tagGroups"]){let e=(0,c.s)(s["x-tagGroups"],{depth:null});s["x-tagGroups"]=e.map(e=>({...e,tags:e.tags.map(e=>e===u?p:e)}))}let{generateId:m}=(0,D.N)(i.name),h=(a=new Map,n=(e,t)=>{let r=a.get(e);r?r.push(t):a.set(e,[t])},(o=(e,t)=>{if(e)for(let a of e)"tag"===a.type?(n(a.name,{...a,parent:t}),o(a.children,{...a,parent:t})):"children"in a&&a.children&&o(a.children,{...a,parent:t})})(i.children,i),a).get(u);h&&V({store:e,tag:{name:p},generateId:m,entries:h})})(e,t),deleteTag:t=>((e,t)=>{let a=e?.workspace.documents[t.documentName];if(!(0,d.yF)(a))return;Object.values(a.paths??{}).forEach(e=>{(0,r.M8)(e,(e,a)=>{let r=(0,l.A)(a);if("tags"in r){let e=(0,c.s)(r.tags,{depth:1});r.tags=e?.filter(e=>e!==t.name)}})}),Object.values(a.webhooks??{}).forEach(e=>{(0,r.M8)(e,(e,a)=>{let r=(0,l.A)(a),n=(0,c.s)(r.tags,{depth:1});r.tags=n?.filter(e=>e!==t.name)})});let n=(0,c.s)(a.tags,{depth:null});a.tags=n?.filter(e=>e.name!==t.name)})(e,t)}))({store:e}),environment:w({workspace:e?.workspace??null,collection:t})});return{workspace:()=>({cookie:O({collection:e?.workspace??null}),tabs:(({workspace:e})=>({updateTabs:t=>{e&&(t["x-scalar-tabs"]&&(e["x-scalar-tabs"]=t["x-scalar-tabs"]),void 0!==t["x-scalar-active-tab"]&&(e["x-scalar-active-tab"]=t["x-scalar-active-tab"]))},addTab:t=>(e=>{if(!Y(e))return!1;let t=G(e),a=t[K(e)];if(!a)return!1;let r=[...t,{...a}];return e["x-scalar-tabs"]=r,e["x-scalar-active-tab"]=r.length-1,!0})(e),closeTab:t=>((e,t)=>{if(!Y(e))return!1;let a="event"in t?t.event.code.startsWith("Digit")?Number.parseInt(t.event.key,10)-1:NaN:t.index,r=K(e),n=G(e).filter((e,t)=>t!==a);if(n.length<=0)return!1;e["x-scalar-tabs"]=n;let o=a<r?r-1:Math.min(r,n.length-1);return e["x-scalar-active-tab"]=o,!0})(e,t),closeOtherTabs:t=>((e,t)=>{if(!Y(e))return!1;let a=G(e);return!(a.length<=1)&&(e["x-scalar-tabs"]=a.filter((e,a)=>a===t.index),e["x-scalar-active-tab"]=0,!0)})(e,t),navigatePreviousTab:t=>(e=>{if(!Y(e))return!1;let t=K(e);return!(t<=0)&&(e["x-scalar-active-tab"]=t-1,!0)})(e),navigateNextTab:t=>(e=>{if(!Y(e))return!1;let t=G(e),a=K(e);return!(a>=t.length-1)&&(e["x-scalar-active-tab"]=a+1,!0)})(e),focusTab:t=>((e,t)=>{if(!Y(e))return!1;let a=G(e),r="event"in t?t.event.code.startsWith("Digit")?Number.parseInt(t.event.key,10)-1:NaN:t.index;return!Number.isNaN(r)&&!(r<0)&&!(r>=a.length)&&(e["x-scalar-active-tab"]=r,!0)})(e,t),focusLastTab:t=>(e=>{if(!Y(e))return!1;let t=G(e);return!(t.length<=1)&&(e["x-scalar-active-tab"]=t.length-1,!0)})(e)}))({workspace:e?.workspace??null}),workspace:(({workspace:e})=>({updateActiveProxy:t=>{e&&(e["x-scalar-active-proxy"]=t)},updateColorMode:t=>{e&&(e["x-scalar-color-mode"]=t)},updateTheme:t=>{e&&(e["x-scalar-theme"]=t)},updateSelectedClient:t=>{e&&(e["x-scalar-default-client"]=t)},updateSelectedExample:t=>{e&&(e["x-scalar-default-example"]=t)},updateActiveEnvironment:t=>{e&&(e["x-scalar-active-environment"]=t??void 0)}}))({workspace:e?.workspace??null}),environment:w({workspace:e?.workspace??null,collection:e?.workspace??null})}),active:()=>t(e?.workspace.activeDocument??null),doc:a=>t(((e,t)=>{if(!e)return null;let a=e.workspace.documents[t];return a||null})(e,a))}}},62906:(e,t,a)=>{"use strict";let r;a.d(t,{YH:()=>eu,Gu:()=>P,VR:()=>T,Je:()=>eb,OF:()=>X,$t:()=>ek,sj:()=>q,iR:()=>E,Nb:()=>Y,om:()=>eR,vB:()=>eE,FB:()=>ew,Pe:()=>em,sU:()=>z,EY:()=>m,ZX:()=>eh,vS:()=>w,Fh:()=>C,QR:()=>ex,y$:()=>eI,zK:()=>x,kn:()=>eB,MK:()=>S});let n=[],o=[],l="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let e=0,t=0;e<l.length;e++)(e%2?o:n).push(t+=l[e]);function s(e){return e>=127462&&e<=127487}function i(e,t,a){if(t==e.length)return t;t&&u(e.charCodeAt(t))&&d(e.charCodeAt(t-1))&&t--;let r=c(e,t);for(t+=p(r);t<e.length;){let l=c(e,t);if(8205==r||8205==l||a&&function(e){if(e<768)return!1;for(let t=0,a=n.length;;){let r=t+a>>1;if(e<n[r])a=r;else{if(!(e>=o[r]))return!0;t=r+1}if(t==a)return!1}}(l))t+=p(l),r=l;else if(s(l)){let a=0,r=t-2;for(;r>=0&&s(c(e,r));)a++,r-=2;if(a%2==0)break;t+=2}else break}return t}function c(e,t){let a=e.charCodeAt(t);if(!d(a)||t+1==e.length)return a;let r=e.charCodeAt(t+1);return u(r)?(a-55296<<10)+(r-56320)+65536:a}function u(e){return e>=56320&&e<57344}function d(e){return e>=55296&&e<56320}function p(e){return e<65536?1:2}class m{lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,a){[e,t]=k(this,e,t);let r=[];return this.decompose(0,e,r,2),a.length&&a.decompose(0,a.length,r,3),this.decompose(t,this.length,r,1),f.from(r,this.length-(t-e)+a.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=k(this,e,t);let a=[];
200return this.decompose(e,t,a,0),f.from(a,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),a=this.length-this.scanIdentical(e,-1),r=new v(this),n=new v(e);for(let e=t,o=t;;){if(r.next(e),n.next(e),e=0,r.lineBreak!=n.lineBreak||r.done!=n.done||r.value!=n.value)return!1;if(o+=r.value.length,r.done||o>=a)return!0}}iter(e=1){return new v(this,e)}iterRange(e,t=this.length){return new y(this,e,t)}iterLines(e,t){let a;if(null==e)a=this.iter();else{null==t&&(t=this.lines+1);let r=this.line(e).from;a=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new b(a)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new h(e):f.from(h.split(e,[])):m.empty}}class h extends m{constructor(e,t=function(e){let t=-1;for(let a of e)t+=a.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,a,r){for(let n=0;;n++){let o=this.text[n],l=r+o.length;if((t?a:l)>=e)return new O(r,l,a,o);r=l+1,a++}}decompose(e,t,a,r){var n;let o=e<=0&&t>=this.length?this:new h((n=this.text,g(n,[""],e,t)),Math.min(t,this.length)-Math.max(0,e));if(1&r){let e=a.pop(),t=g(o.text,e.text.slice(),0,o.length);if(t.length<=32)a.push(new h(t,e.length+o.length));else{let e=t.length>>1;a.push(new h(t.slice(0,e)),new h(t.slice(e)))}}else a.push(o)}replace(e,t,a){var r;if(!(a instanceof h))return super.replace(e,t,a);[e,t]=k(this,e,t);let n=g(this.text,g(a.text,(r=this.text,g(r,[""],0,e))),t),o=this.length+a.length-(t-e);return n.length<=32?new h(n,o):f.from(h.split(n,[]),o)}sliceString(e,t=this.length,a="\n"){[e,t]=k(this,e,t);let r="";for(let n=0,o=0;n<=t&&o<this.text.length;o++){let l=this.text[o],s=n+l.length;n>e&&o&&(r+=a),e<s&&t>n&&(r+=l.slice(Math.max(0,e-n),t-n)),n=s+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let a=[],r=-1;for(let n of e)a.push(n),r+=n.length+1,32==a.length&&(t.push(new h(a,r)),a=[],r=-1);return r>-1&&t.push(new h(a,r)),t}}class f extends m{constructor(e,t){for(let a of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=a.lines}lineInner(e,t,a,r){for(let n=0;;n++){let o=this.children[n],l=r+o.length,s=a+o.lines-1;if((t?s:l)>=e)return o.lineInner(e,t,a,r);r=l+1,a=s+1}}decompose(e,t,a,r){for(let n=0,o=0;o<=t&&n<this.children.length;n++){let l=this.children[n],s=o+l.length;if(e<=s&&t>=o){let n=r&(o<=e|2*(s>=t));o>=e&&s<=t&&!n?a.push(l):l.decompose(e-o,t-o,a,n)}o=s+1}}replace(e,t,a){if([e,t]=k(this,e,t),a.lines<this.lines)for(let r=0,n=0;r<this.children.length;r++){let o=this.children[r],l=n+o.length;if(e>=n&&t<=l){let s=o.replace(e-n,t-n,a),i=this.lines-o.lines+s.lines;if(s.lines<i>>4&&s.lines>i>>6){let n=this.children.slice();return n[r]=s,new f(n,this.length-(t-e)+a.length)}return super.replace(n,l,s)}n=l+1}return super.replace(e,t,a)}sliceString(e,t=this.length,a="\n"){[e,t]=k(this,e,t);let r="";for(let n=0,o=0;n<this.children.length&&o<=t;n++){let l=this.children[n],s=o+l.length;o>e&&n&&(r+=a),e<s&&t>o&&(r+=l.sliceString(e-o,t-o,a)),o=s+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof f))return 0;let a=0,[r,n,o,l]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,n+=t){if(r==o||n==l)return a;let s=this.children[r],i=e.children[n];if(s!=i)return a+s.scanIdentical(i,t);a+=s.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let a=0;for(let t of e)a+=t.lines;if(a<32){let a=[];for(let t of e)t.flatten(a);return new h(a,t)}let r=Math.max(32,a>>5),n=r<<1,o=r>>1,l=[],s=0,i=-1,c=[];function u(){0!=s&&(l.push(1==c.length?c[0]:f.from(c,i)),i=-1,s=c.length=0)}for(let t of e)!function e(t){let a;if(t.lines>n&&t instanceof f)for(let a of t.children)e(a);else t.lines>o&&(s>o||!s)?(u(),l.push(t)):t instanceof h&&s&&(a=c[c.length-1])instanceof h&&t.lines+a.lines<=32?(s+=t.lines,i+=t.length+1,c[c.length-1]=new h(a.text.concat(t.text),a.length+1+t.length)):(s+t.lines>r&&u(),s+=t.lines,i+=t.length+1,c.push(t))}(t);return u(),1==l.length?l[0]:new f(l,t)}}function g(e,t,a=0,r=1e9){for(let n=0,o=0,l=!0;o<e.length&&n<=r;o++){let s=e[o],i=n+s.length;i>=a&&(i>r&&(s=s.slice(0,r-n)),n<a&&(s=s.slice(a-n)),l?(t[t.length-1]+=s,l=!1):t.push(s)),n=i+1}return t}m.empty=new h([""],0);class v{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof h?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let a=this.nodes.length-1,r=this.nodes[a],n=this.offsets[a],o=n>>1,l=r instanceof h?r.text.length:r.children.length;if(o==(t>0?l:0)){if(0==a)return this.done=!0,this.value="",this;t>0&&this.offsets[a-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&n)==(t>
2000?0:1)){if(this.offsets[a]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof h){let n=r.text[o+(t<0?-1:0)];if(this.offsets[a]+=t,n.length>Math.max(0,e))return this.value=0==e?n:t>0?n.slice(e):n.slice(0,n.length-e),this;e-=n.length}else{let n=r.children[o+(t<0?-1:0)];e>n.length?(e-=n.length,this.offsets[a]+=t):(t<0&&this.offsets[a]--,this.nodes.push(n),this.offsets.push(t>0?1:(n instanceof h?n.text.length:n.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class y{constructor(e,t,a){this.value="",this.done=!1,this.cursor=new v(e,t>a?-1:1),this.pos=t>a?e.length:0,this.from=Math.min(t,a),this.to=Math.max(t,a)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let a=t<0?this.pos-this.from:this.to-this.pos;e>a&&(e=a),a-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=a?r:t<0?r.slice(r.length-a):r.slice(0,a),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class b{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:a,value:r}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):a?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}"u">typeof Symbol&&(m.prototype[Symbol.iterator]=function(){return this.iter()},v.prototype[Symbol.iterator]=y.prototype[Symbol.iterator]=b.prototype[Symbol.iterator]=function(){return this});class O{constructor(e,t,a,r){this.from=e,this.to=t,this.number=a,this.text=r}get length(){return this.to-this.from}}function k(e,t,a){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,a))]}function x(e,t,a=!0,r=!0){return function(e,t,a=!0,r=!0){return(a?i:function(e,t,a){for(;t>1;){let r=i(e,t-2,a);if(r<t)return r;t--}return 0})(e,t,r)}(e,t,a,r)}function w(e,t){let a=e.charCodeAt(t);if(!(a>=55296&&a<56320)||t+1==e.length)return a;let r=e.charCodeAt(t+1);return r>=56320&&r<57344?(a-55296<<10)+(r-56320)+65536:a}function S(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function C(e){return e<65536?1:2}let $=/\r\n?|\n/;var A,R,E=((A=E||(E={}))[A.Simple=0]="Simple",A[A.TrackDel=1]="TrackDel",A[A.TrackBefore=2]="TrackBefore",A[A.TrackAfter=3]="TrackAfter",A);class P{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let a=this.sections[t+1];e+=a<0?this.sections[t]:a}return e}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(e){for(let t=0,a=0,r=0;t<this.sections.length;){let n=this.sections[t++],o=this.sections[t++];o<0?(e(a,r,n),r+=n):r+=o,a+=n}}iterChangedRanges(e,t=!1){Q(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let a=this.sections[t++],r=this.sections[t++];r<0?e.push(a,r):e.push(r,a)}return new P(e)}composeDesc(e){return this.empty?e:e.empty?this:M(this,e)}mapDesc(e,t=!1){return e.empty?this:L(this,e,t)}mapPos(e,t=-1,a=E.Simple){let r=0,n=0;for(let o=0;o<this.sections.length;){let l=this.sections[o++],s=this.sections[o++],i=r+l;if(s<0){if(i>e)return n+(e-r);n+=l}else{if(a!=E.Simple&&i>=e&&(a==E.TrackDel&&r<e&&i>e||a==E.TrackBefore&&r<e||a==E.TrackAfter&&i>e))return null;if(i>e||i==e&&t<0&&!l)return e==r||t<0?n:n+s;n+=s}r=i}if(e>r)throw RangeError(`Position ${e} is out of range for changeset of length ${r}`);return n}touchesRange(e,t=e){for(let a=0,r=0;a<this.sections.length&&r<=t;){let n=this.sections[a++],o=this.sections[a++],l=r+n;if(o>=0&&r<=t&&l>=e)return!(r<e)||!(l>t)||"cover";r=l}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let a=this.sections[t++],r=this.sections[t++];e+=(e?" ":"")+a+(r>=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new P(e)}static create(e){return new P(e)}}class T extends P{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return Q(this,(t,a,r,n,o)=>e=e.replace(r,r+(a-t),o),!1),e}
200mapDesc(e,t=!1){return L(this,e,t,!0)}invert(e){let t=this.sections.slice(),a=[];for(let r=0,n=0;r<t.length;r+=2){let o=t[r],l=t[r+1];if(l>=0){t[r]=l,t[r+1]=o;let s=r>>1;for(;a.length<s;)a.push(m.empty);a.push(o?e.slice(n,n+o):m.empty)}n+=o}return new T(t,a)}compose(e){return this.empty?e:e.empty?this:M(this,e,!0)}map(e,t=!1){return e.empty?this:L(this,e,t,!0)}iterChanges(e,t=!1){Q(this,e,t)}get desc(){return P.create(this.sections)}filter(e){let t=[],a=[],r=[],n=new Z(this);n:for(let o=0,l=0;;){let s=o==e.length?1e9:e[o++];for(;l<s||l==s&&0==n.len;){if(n.done)break n;let e=Math.min(n.len,s-l);_(r,e,-1);let o=-1==n.ins?-1:0==n.off?n.ins:0;_(t,e,o),o>0&&j(a,t,n.text),n.forward(e),l+=e}let i=e[o++];for(;l<i;){if(n.done)break n;let e=Math.min(n.len,i-l);_(t,e,-1),_(r,e,-1==n.ins?-1:0==n.off?n.ins:0),n.forward(e),l+=e}}return{changes:new T(t,a),filtered:P.create(r)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let a=this.sections[t],r=this.sections[t+1];r<0?e.push(a):0==r?e.push([a]):e.push([a].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,a){let r=[],n=[],o=0,l=null;function s(e=!1){if(!e&&!r.length)return;o<t&&_(r,t-o,-1);let a=new T(r,n);l=l?l.compose(a.map(l)):a,r=[],n=[],o=0}return!function e(i){if(Array.isArray(i))for(let t of i)e(t);else if(i instanceof T){if(i.length!=t)throw RangeError(`Mismatched change set length (got ${i.length}, expected ${t})`);s(),l=l?l.compose(i.map(l)):i}else{let{from:e,to:l=e,insert:c}=i;if(e>l||e<0||l>t)throw RangeError(`Invalid change range ${e} to ${l} (in doc of length ${t})`);let u=c?"string"==typeof c?m.of(c.split(a||$)):c:m.empty,d=u.length;if(e==l&&0==d)return;e<o&&s(),e>o&&_(r,e-o,-1),_(r,l-e,d),j(n,r,u),o=l}}(e),s(!l),l}static empty(e){return new T(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],a=[];for(let r=0;r<e.length;r++){let n=e[r];if("number"==typeof n)t.push(n,-1);else if(!Array.isArray(n)||"number"!=typeof n[0]||n.some((e,t)=>t&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==n.length)t.push(n[0],0);else{for(;a.length<r;)a.push(m.empty);a[r]=m.of(n.slice(1)),t.push(n[0],a[r].length)}}return new T(t,a)}static createSet(e,t){return new T(e,t)}}function _(e,t,a,r=!1){if(0==t&&a<=0)return;let n=e.length-2;n>=0&&a<=0&&a==e[n+1]?e[n]+=t:n>=0&&0==t&&0==e[n]?e[n+1]+=a:r?(e[n]+=t,e[n+1]+=a):e.push(t,a)}function j(e,t,a){if(0==a.length)return;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(a);else{for(;e.length<r;)e.push(m.empty);e.push(a)}}function Q(e,t,a){let r=e.inserted;for(let n=0,o=0,l=0;l<e.sections.length;){let s=e.sections[l++],i=e.sections[l++];if(i<0)n+=s,o+=s;else{let c=n,u=o,d=m.empty;for(;c+=s,u+=i,i&&r&&(d=d.append(r[l-2>>1])),!a&&l!=e.sections.length&&!(e.sections[l+1]<0);)s=e.sections[l++],i=e.sections[l++];t(n,c,o,u,d),n=c,o=u}}}function L(e,t,a,r=!1){let n=[],o=r?[]:null,l=new Z(e),s=new Z(t);for(let e=-1;;)if(l.done&&s.len||s.done&&l.len)throw Error("Mismatched change set lengths");else if(-1==l.ins&&-1==s.ins){let e=Math.min(l.len,s.len);_(n,e,-1),l.forward(e),s.forward(e)}else if(s.ins>=0&&(l.ins<0||e==l.i||0==l.off&&(s.len<l.len||s.len==l.len&&!a))){let t=s.len;for(_(n,s.ins,-1);t;){let a=Math.min(l.len,t);l.ins>=0&&e<l.i&&l.len<=a&&(_(n,0,l.ins),o&&j(o,n,l.text),e=l.i),l.forward(a),t-=a}s.next()}else if(l.ins>=0){let t=0,a=l.len;for(;a;)if(-1==s.ins){let e=Math.min(a,s.len);t+=e,a-=e,s.forward(e)}
200else if(0==s.ins&&s.len<a)a-=s.len,s.next();else break;_(n,t,e<l.i?l.ins:0),o&&e<l.i&&j(o,n,l.text),e=l.i,l.forward(l.len-a)}else if(l.done&&s.done)return o?T.createSet(n,o):P.create(n);else throw Error("Mismatched change set lengths")}function M(e,t,a=!1){let r=[],n=a?[]:null,o=new Z(e),l=new Z(t);for(let e=!1;;)if(o.done&&l.done)return n?T.createSet(r,n):P.create(r);else if(0==o.ins)_(r,o.len,0,e),o.next();else if(0!=l.len||l.done)if(o.done||l.done)throw Error("Mismatched change set lengths");else{let t=Math.min(o.len2,l.len),a=r.length;if(-1==o.ins){let a=-1==l.ins?-1:l.off?0:l.ins;_(r,t,a,e),n&&a&&j(n,r,l.text)}else -1==l.ins?(_(r,o.off?0:o.len,t,e),n&&j(n,r,o.textBit(t))):(_(r,o.off?0:o.len,l.off?0:l.ins,e),n&&!l.off&&j(n,r,l.text));e=(o.ins>t||l.ins>=0&&l.len>t)&&(e||r.length>a),o.forward2(t),l.forward(t)}else _(r,0,l.ins,e),n&&j(n,r,l.text),l.next()}class Z{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return -2==this.ins}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?m.empty:e[t]}textBit(e){let{inserted:t}=this.set,a=this.i-2>>1;return a>=t.length&&!e?m.empty:t[a].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class U{constructor(e,t,a,r){this.from=e,this.to=t,this.flags=a,this.goalColumn=r}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get undirectional(){return(64&this.flags)>0}get bidiLevel(){let e=7&this.flags;return 7==e?null:e}map(e,t=-1){let a,r;return this.empty?a=r=e.mapPos(this.from,t):(a=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),a==this.from&&r==this.to?this:new U(a,r,this.flags,this.goalColumn)}extend(e,t=e,a=0){if(e<=this.anchor&&t>=this.anchor)return X.range(e,t,void 0,void 0,a);let r=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return X.range(this.anchor,r,void 0,void 0,a)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&this.goalColumn==e.goalColumn&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return X.range(e.anchor,e.head)}static create(e,t,a,r){return new U(e,t,a,r)}}class X{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:X.create(this.ranges.map(a=>a.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let a=0;a<this.ranges.length;a++)if(!this.ranges[a].eq(e.ranges[a],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new X([this.main],0)}addRange(e,t=!0){return X.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let a=this.ranges.slice();return a[t]=e,X.create(a,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new X(e.ranges.map(e=>U.fromJSON(e)),e.main)}static single(e,t=e){return new X([X.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let a=0,r=0;r<e.length;r++){let n=e[r];if(n.empty?n.from<=a:n.from<a)return X.normalized(e.slice(),t);a=n.to}return new X(e,t)}static cursor(e,t=0,a,r){return U.create(e,e,(0==t?0:t<0?8:16)|(null==a?7:Math.min(6,a)),r)}static range(e,t,a,r,n){let o=null==r?7:Math.min(6,r);return n||e==t||(n=t<e?1:-1),n&&(o|=n<0?8:16),t<e?U.create(t,e,32|o,a):U.create(e,t,o,a)}static undirectionalRange(e,t){return U.create(e,t,64,void 0)}static normalized(e,t=0){let a=e[t];e.sort((e,t)=>
200e.from-t.from),t=e.indexOf(a);for(let a=1;a<e.length;a++){let r=e[a],n=e[a-1];if(r.empty?r.from<=n.to:r.from<n.to){let o=n.from,l=Math.max(r.to,n.to);a<=t&&t--,e.splice(--a,2,r.anchor>r.head?X.range(l,o):X.range(o,l))}}return new X(e,t)}}function I(e,t){for(let a of e.ranges)if(a.to>t)throw RangeError("Selection points outside of document")}let B=0;class q{constructor(e,t,a,r,n){this.combine=e,this.compareInput=t,this.compare=a,this.isStatic=r,this.id=B++,this.default=e([]),this.extensions="function"==typeof n?n(this):n}get reader(){return this}static define(e={}){return new q(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(!e.combine?W:(e,t)=>e===t),!!e.static,e.enables)}of(e){return new D([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new D(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new D(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],a=>t(a.field(e)))}}function W(e,t){return e==t||e.length==t.length&&e.every((e,a)=>e===t[a])}class D{constructor(e,t,a,r){this.dependencies=e,this.facet=t,this.type=a,this.value=r,this.id=B++}dynamicSlot(e){var t;let a=this.value,r=this.facet.compareInput,n=this.id,o=e[n]>>1,l=2==this.type,s=!1,i=!1,c=[];for(let a of this.dependencies)"doc"==a?s=!0:"selection"==a?i=!0:((null!=(t=e[a.id])?t:1)&1)==0&&c.push(e[a.id]);return{create:e=>(e.values[o]=a(e),1),update(e,t){if(s&&t.docChanged||i&&(t.docChanged||t.selection)||V(e,c)){let t=a(e);if(l?!N(t,e.values[o],r):!r(t,e.values[o]))return e.values[o]=t,1}return 0},reconfigure:(e,t)=>{let s,i=t.config.address[n];if(null!=i){let n=ea(t,i);if(this.dependencies.every(a=>a instanceof q?t.facet(a)===e.facet(a):!(a instanceof z)||t.field(a,!1)==e.field(a,!1))||(l?N(s=a(e),n,r):r(s=a(e),n)))return e.values[o]=n,0}else s=a(e);return e.values[o]=s,1}}}get extension(){return this}}function N(e,t,a){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!a(e[r],t[r]))return!1;return!0}function V(e,t){let a=!1;for(let r of t)1&et(e,r)&&(a=!0);return a}let F=q.define({static:!0});class z{constructor(e,t,a,r,n){this.id=e,this.createF=t,this.updateF=a,this.compareF=r,this.spec=n,this.provides=void 0}static define(e){let t=new z(B++,e.create,e.update,e.compare||((e,t)=>e===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(F).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,a)=>{let r=e.values[t],n=this.updateF(r,a);return this.compareF(r,n)?0:(e.values[t]=n,1)},reconfigure:(e,a)=>{let r=e.facet(F),n=a.facet(F),o;return(o=r.find(e=>e.field==this))&&o!=n.find(e=>
200e.field==this)?(e.values[t]=o.create(e),1):null!=a.config.address[this.id]?(e.values[t]=a.field(this),0):(e.values[t]=this.create(e),1)}}}init(e){return[this,F.of({field:this,create:e})]}get extension(){return this}}function H(e){return t=>new G(t,e)}let Y={highest:H(0),high:H(1),default:H(2),low:H(3),lowest:H(4)};class G{constructor(e,t){this.inner=e,this.prec=t}get extension(){return this}}class K{of(e){return new J(this,e)}reconfigure(e){return K.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class J{constructor(e,t){this.compartment=e,this.inner=t}get extension(){return this}}class ee{constructor(e,t,a,r,n,o){for(this.base=e,this.compartments=t,this.dynamicSlots=a,this.address=r,this.staticValues=n,this.facets=o,this.statusTemplate=[];this.statusTemplate.length<a.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return null==t?e.default:this.staticValues[t>>1]}static resolve(e,t,a){var r,n,o;let l,s,i=[],c=Object.create(null),u=new Map;for(let a of(r=e,n=t,o=u,l=[[],[],[],[],[]],s=new Map,!function e(t,a){let r=s.get(t);if(null!=r){if(r<=a)return;let e=l[r].indexOf(t);e>-1&&l[r].splice(e,1),t instanceof J&&o.delete(t.compartment)}if(s.set(t,a),Array.isArray(t))for(let r of t)e(r,a);else if(t instanceof J){if(o.has(t.compartment))throw RangeError("Duplicate use of compartment in extensions");let r=n.get(t.compartment)||t.inner;o.set(t.compartment,r),e(r,a)}else if(t instanceof G)e(t.inner,t.prec);else if(t instanceof z)l[a].push(t),t.provides&&e(t.provides,a);else if(t instanceof D)l[a].push(t),t.facet.extensions&&e(t.facet.extensions,2);else{let r=t.extension;if(!r)throw Error(`Unrecognized extension value in extension set (${t}).`);if(r==t)throw Error(`Unrecognized extension value in extension set (${t}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(r,a)}}(r,2),l.reduce((e,t)=>e.concat(t))))a instanceof z?i.push(a):(c[a.facet.id]||(c[a.facet.id]=[])).push(a);let d=Object.create(null),p=[],m=[];for(let e of i)d[e.id]=m.length<<1,m.push(t=>e.slot(t));let h=null==a?void 0:a.config.facets;for(let e in c){let t=c[e],r=t[0].facet,n=h&&h[e]||[];if(t.every(e=>0==e.type))if(d[r.id]=p.length<<1|1,W(n,t))p.push(a.facet(r));else{let e=r.combine(t.map(e=>e.value));p.push(a&&r.compare(e,a.facet(r))?a.facet(r):e)}else{for(let e of t)0==e.type?(d[e.id]=p.length<<1|1,p.push(e.value)):(d[e.id]=m.length<<1,m.push(t=>e.dynamicSlot(t)));d[r.id]=m.length<<1,m.push(e=>(function(e,t,a){let r=a.map(t=>e[t.id]),n=a.map(e=>e.type),o=r.filter(e=>!(1&e)),l=e[t.id]>>1;function s(e){let a=[];for(let t=0;t<r.length;t++){let o=ea(e,r[t]);if(2==n[t])for(let e of o)a.push(e);else a.push(o)}return t.combine(a)}return{create(e){for(let t of r)et(e,t);return e.values[l]=s(e),1},update(e,a){if(!V(e,o))return 0;let r=s(e);return t.compare(r,e.values[l])?0:(e.values[l]=r,1)},reconfigure(e,n){let o=V(e,r),i=n.config.facets[t.id],c=n.facet(t);if(i&&!o&&W(a,i))return e.values[l]=c,0;let u=s(e);return t.compare(u,c)?(e.values[l]=c,0):(e.values[l]=u,1)}}})(e,r,t))}}return new ee(e,u,m.map(e=>e(d)),d,p,c)}}function et(e,t){if(1&t)return 2;let a=t>>1,r=e.status[a];if(4==r)throw Error("Cyclic dependency between fields and/or facets");if(2&r)return r;e.status[a]=4;let n=e.computeSlot(e,e.config.dynamicSlots[a]);return e.status[a]=2|n}function ea(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let er=q.define(),en=q.define({combine:e=>e.some(e=>e),static:!0}),eo=q.define({combine:e=>e.length?e[0]:void 0,static:!0}),el=q.define(),es=q.define(),ei=q.define(),ec=q.define({combine:e=>!!e.length&&e[0]});class eu{constructor(e,t){this.type=e,this.value=t}static define(){return new ed}}class ed{of(e){return new eu(this,e)}}class ep{constructor(e){this.map=e}of(e){return new em(this,e)}}class em{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new em(this.type,t)}is(e){return this.type==e}static define(e={}){return new ep(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let a=[];for(let r of e){let e=r.map(t);e&&a.push(e)}return a}}em.reconfigure=em.define(),em.appendConfig=em.define();class eh{constructor(e,t,a,r,n,o){this.startState=e,this.changes=t,this.selection=a,this.effects=r,this.annotations=n,this.scrollIntoView=o,this._doc=null,this._state=null,a&&I(a,t.newLength),n.some(e=>e.type==eh.time)||(this.annotations=n.concat(eh.time.of(Date.now())))}static create(e,t,a,r,n,o){return new eh(e,t,a,r,n,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(eh.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ef(e,t,a){var r;let n,o,l;return a?(n=t.changes,o=T.empty(t.changes.length),l=e.changes.compose(t.changes)):(n=t.changes.map(e.changes),o=e.changes.mapDesc(t.changes,!0),l=e.changes.compose(n)),{changes:l,selection:t.selection?t.selection.map(o):null==(r=e.selection)?void 0:r.map(n),effects:em.mapEffects(e.effects,n).concat(em.mapEffects(t.effects,o)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function eg(e,t,a){let r=t.selection,n=ey(t.annotations);return t.userEvent&&(n=n.concat(eh.userEvent.of(t.userEvent))),{changes:t.changes instanceof T?t.changes:T.of(t.changes||[],a,e.facet(eo)),selection:r&&(r instanceof X?r:X.single(r.anchor,r.head)),effects:ey(t.effects),annotations:n,scrollIntoView:!!t.scrollIntoView}}eh.time=eu.define(),eh.userEvent=eu.define(),eh.addToHistory=eu.define(),eh.remote=eu.define();let ev=[];function ey(e){return null==e?ev:Array.isArray(e)?e:[e]}var eb=((R=eb||(eb={}
200))[R.Word=0]="Word",R[R.Space=1]="Space",R[R.Other=2]="Other",R);let eO=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{r=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(e){}class ek{constructor(e,t,a,r,n,o){this.config=e,this.doc=t,this.selection=a,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=n,o&&(o._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)et(this,e<<1);this.computeSlot=null}field(e,t=!0){let a=this.config.address[e.id];if(null==a){if(t)throw RangeError("Field is not present in this state");return}return et(this,a),ea(this,a)}update(...e){return function e(t,a,r){let n=eg(t,a.length?a[0]:{},t.doc.length);a.length&&!1===a[0].filter&&(r=!1);for(let e=1;e<a.length;e++){!1===a[e].filter&&(r=!1);let o=!!a[e].sequential;n=ef(n,eg(t,a[e],o?n.changes.newLength:t.doc.length),o)}let o=eh.create(t,n.changes,n.selection,n.effects,n.annotations,n.scrollIntoView);return function(e){let t=e.startState,a=t.facet(ei),r=e;for(let n=a.length-1;n>=0;n--){let o=a[n](e);o&&Object.keys(o).length&&(r=ef(r,eg(t,o,e.changes.newLength),!0))}return r==e?e:eh.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}(r?function(t){let a=t.startState,r=!0;for(let e of a.facet(el)){let a=e(t);if(!1===a){r=!1;break}Array.isArray(a)&&(r=!0===r?a:function(e,t){let a=[];for(let r=0,n=0;;){let o,l;if(r<e.length&&(n==t.length||t[n]>=e[r]))o=e[r++],l=e[r++];else{if(!(n<t.length))return a;o=t[n++],l=t[n++]}!a.length||a[a.length-1]<o?a.push(o,l):a[a.length-1]<l&&(a[a.length-1]=l)}}(r,a))}if(!0!==r){let e,n;if(!1===r)n=t.changes.invertedDesc,e=T.empty(a.doc.length);else{let a=t.changes.filter(r);e=a.changes,n=a.filtered.mapDesc(a.changes).invertedDesc}t=eh.create(a,e,t.selection&&t.selection.map(n),em.mapEffects(t.effects,n),t.annotations,t.scrollIntoView)}let n=a.facet(es);for(let r=n.length-1;r>=0;r--){let o=n[r](t);t=o instanceof eh?o:Array.isArray(o)&&1==o.length&&o[0]instanceof eh?o[0]:e(a,ey(o),!1)}return t}(o):o)}(this,e,!0)}applyTransaction(e){let t,a=this.config,{base:r,compartments:n}=a;for(let t of e.effects)t.is(K.reconfigure)?(a&&(n=new Map,a.compartments.forEach((e,t)=>n.set(t,e)),a=null),n.set(t.value.compartment,t.value.extension)):t.is(em.reconfigure)?(a=null,r=t.value):t.is(em.appendConfig)&&(a=null,r=ey(r).concat(t.value));t=a?e.startState.values.slice():new ek(a=ee.resolve(r,n,this),this.doc,this.selection,a.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values;let o=e.startState.facet(en)?e.newSelection:e.newSelection.asSingle();new ek(a,e.newDoc,o,t,(t,a)=>a.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:X.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,a=e(t.ranges[0]),r=this.changes(a.changes),n=[a.range],o=ey(a.effects);for(let a=1;a<t.ranges.length;a++){let l=e(t.ranges[a]),s=this.changes(l.changes),i=s.map(r);for(let e=0;e<a;e++)n[e]=n[e].map(i);let c=r.mapDesc(s,!0);n.push(l.range.map(c)),r=r.compose(i),o=em.mapEffects(o,i).concat(em.mapEffects(ey(l.effects),c))}return{changes:r,selection:X.create(n,t.mainIndex),effects:o}}changes(e=[]){return e instanceof T?e:T.of(e,this.doc.length,this.facet(ek.lineSeparator))}toText(e){return m.of(e.split(this.facet(ek.lineSeparator)||$))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return null==t?e.default:(et(this,t),ea(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let a in e){let r=e[a];r instanceof z&&null!=this.config.address[r.id]&&(t[a]=r.spec.toJSON(this.field(e[a]),this))}return t}static fromJSON(e,t={},a){if(!e||"string"!=typeof e.doc)throw RangeError("Invalid JSON representation for EditorState");let r=[];if(a){for(let t in a)if(Object.prototype.hasOwnProperty.call(e,t)){let n=a[t],o=e[t];r.push(n.init(e=>n.spec.fromJSON(o,e)))}}return ek.create({doc:e.doc,selection:X.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=ee.resolve(e.extensions||[],new Map),a=e.doc instanceof m?e.doc:m.of((e.doc||"").split(t.staticFacet(ek.lineSeparator)||$)),r=e.selection?e.selection instanceof X?e.selection:X.single(e.selection.anchor,e.selection.head):X.single(0);return I(r,a.length),t.staticFacet(en)||(r=r.asSingle()),new ek(t,a,r,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(ek.tabSize)}get lineBreak(){return this.facet(ek.lineSeparator)||"\n"}get readOnly(){return this.facet(ec)}phrase(e,...t){for(let t of this.facet(ek.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,a)=>{if("$"==a)return"$";let r=+(a||1);return!r||r>t.length?e:t[r-1]})),e}languageDataAt(e,t,a=-1){let r=[];for(let n of this.facet(er))for(let o of n(this,t,a))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){var t;let a=this.languageDataAt("wordChars",e);return t=a.length?a[0]:"",e=>
200{if(!/\S/.test(e))return eb.Space;if(function(e){if(r)return r.test(e);for(let t=0;t<e.length;t++){let a=e[t];if(/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||eO.test(a)))return!0}return!1}(e))return eb.Word;for(let a=0;a<t.length;a++)if(e.indexOf(t[a])>-1)return eb.Word;return eb.Other}}wordAt(e){let{text:t,from:a,length:r}=this.doc.lineAt(e),n=this.charCategorizer(e),o=e-a,l=e-a;for(;o>0;){let e=x(t,o,!1);if(n(t.slice(e,o))!=eb.Word)break;o=e}for(;l<r;){let e=x(t,l);if(n(t.slice(l,e))!=eb.Word)break;l=e}return o==l?null:X.range(o+a,l+a)}}function ex(e,t,a={}){let r={};for(let t of e)for(let e of Object.keys(t)){let n=t[e],o=r[e];if(void 0===o)r[e]=n;else if(o===n||void 0===n);else if(Object.hasOwnProperty.call(a,e))r[e]=a[e](o,n);else throw Error("Config merge conflict for field "+e)}for(let e in t)void 0===r[e]&&(r[e]=t[e]);return r}ek.allowMultipleSelections=en,ek.tabSize=q.define({combine:e=>e.length?e[0]:4}),ek.lineSeparator=eo,ek.readOnly=ec,ek.phrases=q.define({compare(e,t){let a=Object.keys(e),r=Object.keys(t);return a.length==r.length&&a.every(a=>e[a]==t[a])}}),ek.languageData=er,ek.changeFilter=el,ek.transactionFilter=es,ek.transactionExtender=ei,K.reconfigure=em.define();class ew{eq(e){return this==e}range(e,t=e){return eC.create(e,t,this)}}function eS(e,t){return e==t||e.constructor==t.constructor&&e.eq(t)}ew.prototype.startSide=ew.prototype.endSide=0,ew.prototype.point=!1,ew.prototype.mapMode=E.TrackDel;class eC{constructor(e,t,a){this.from=e,this.to=t,this.value=a}static create(e,t,a){return new eC(e,t,a)}}function e$(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class eA{constructor(e,t,a,r){this.from=e,this.to=t,this.value=a,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,a,r=0){let n=a?this.to:this.from;for(let o=r,l=n.length;;){if(o==l)return o;let r=o+l>>1,s=n[r]-e||(a?this.value[r].endSide:this.value[r].startSide)-t;if(r==o)return s>=0?o:l;s>=0?l=r:o=r+1}}between(e,t,a,r){for(let n=this.findIndex(t,-1e9,!0),o=this.findIndex(a,1e9,!1,n);n<o;n++)if(!1===r(this.from[n]+e,this.to[n]+e,this.value[n]))return!1}map(e,t){let a=[],r=[],n=[],o=-1,l=-1;for(let s=0;s<this.value.length;s++){let i=this.value[s],c=this.from[s]+e,u=this.to[s]+e,d,p;if(c==u){let e=t.mapPos(c,i.startSide,i.mapMode);if(null==e||(d=p=e,i.startSide!=i.endSide&&(p=t.mapPos(c,i.endSide))<d))continue}else if((d=t.mapPos(c,i.startSide))>(p=t.mapPos(u,i.endSide))||d==p&&i.startSide>0&&i.endSide<=0)continue;0>(p-d||i.endSide-i.startSide)||(o<0&&(o=d),i.point&&(l=Math.max(l,p-d)),a.push(i),r.push(d-o),n.push(p-o))}return{mapped:a.length?new eA(r,n,a,l):null,pos:o}}}class eR{constructor(e,t,a,r){this.chunkPos=e,this.chunk=t,this.nextLayer=a,this.maxPoint=r}static create(e,t,a,r){return new eR(e,t,a,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:a=!1,filterFrom:r=0,filterTo:n=this.length}=e,o=e.filter;if(0==t.length&&!o)return this;if(a&&(t=t.slice().sort(e$)),this.isEmpty)return t.length?eR.of(t):this;let l=new eT(this,null,-1).goto(0),s=0,i=[],c=new eE;for(;l.value||s<t.length;)if(s<t.length&&(l.from-t[s].from||l.startSide-t[s].value.startSide)>=0){let e=t[s++];c.addInner(e.from,e.to,e.value)||i.push(e)}else 1==l.rangeIndex&&l.chunkIndex<this.chunk.length&&(s==t.length||this.chunkEnd(l.chunkIndex)<t[s].from)&&(!o||r>this.chunkEnd(l.chunkIndex)||n<this.chunkPos[l.chunkIndex])&&c.addChunk(this.chunkPos[l.chunkIndex],this.chunk[l.chunkIndex])?l.nextChunk():((!o||r>l.to||n<l.from||o(l.from,l.to,l.value))&&!c.addInner(l.from,l.to,l.value)&&i.push(eC.create(l.from,l.to,l.value)),l.next());return c.finishInner(this.nextLayer.isEmpty&&!i.length?eR.empty:this.nextLayer.update({add:i,filter:o,filterFrom:r,filterTo:n}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],a=[],r=-1;for(let n=0;n<this.chunk.length;n++){let o=this.chunkPos[n],l=this.chunk[n],s=e.touchesRange(o,o+l.length);if(!1===s)r=Math.max(r,l.maxPoint),t.push(l),a.push(e.mapPos(o));else if(!0===s){let{mapped:n,pos:s}=l.map(o,e);
200n&&(r=Math.max(r,n.maxPoint),t.push(n),a.push(s))}}let n=this.nextLayer.map(e);return 0==t.length?n:new eR(a,t,n||eR.empty,r)}between(e,t,a){if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){let n=this.chunkPos[r],o=this.chunk[r];if(t>=n&&e<=n+o.length&&!1===o.between(n,e-n,t-n,a))return}this.nextLayer.between(e,t,a)}}iter(e=0){return e_.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return e_.from(e).goto(t)}static compare(e,t,a,r,n=-1){let o=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=n),l=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=n),s=eP(o,l,a),i=new eQ(o,s,n),c=new eQ(l,s,n);a.iterGaps((e,t,a)=>eL(i,e,c,t,a,r)),a.empty&&0==a.length&&eL(i,0,c,0,0,r)}static eq(e,t,a=0,r){null==r&&(r=0x3b9ac9ff);let n=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),o=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(n.length!=o.length)return!1;if(!n.length)return!0;let l=eP(n,o),s=new eQ(n,l,0).goto(a),i=new eQ(o,l,0).goto(a);for(;;){if(s.to!=i.to||!eM(s.active,i.active)||s.point&&(!i.point||!eS(s.point,i.point)))return!1;if(s.to>r)return!0;s.next(),i.next()}}static spans(e,t,a,r,n=-1){let o=new eQ(e,null,n).goto(t),l=t,s=o.openStart;for(;;){let e=Math.min(o.to,a);if(o.point){let a=o.activeForPoint(o.to),n=o.pointFrom<t?a.length+1:o.point.startSide<0?a.length:Math.min(a.length,s);r.point(l,e,o.point,a,n,o.pointRank),s=Math.min(o.openEnd(e),a.length)}else e>l&&(r.span(l,e,o.active,s),s=o.openEnd(e));if(o.to>a)return s+(o.point&&o.to>a?1:0);l=o.to,o.next()}}static of(e,t=!1){let a=new eE;for(let r of e instanceof eC?[e]:t?function(e){if(e.length>1)for(let t=e[0],a=1;a<e.length;a++){let r=e[a];if(e$(t,r)>0)return e.slice().sort(e$);t=r}return e}(e):e)a.add(r.from,r.to,r.value);return a.finish()}static join(e){if(!e.length)return eR.empty;let t=e[e.length-1];for(let a=e.length-2;a>=0;a--)for(let r=e[a];r!=eR.empty;r=r.nextLayer)t=new eR(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint));return t}}eR.empty=new eR([],[],null,-1),eR.empty.nextLayer=eR.empty;class eE{finishChunk(e){this.chunks.push(new eA(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,a){this.addInner(e,t,a)||(this.nextLayer||(this.nextLayer=new eE)).add(e,t,a)}addInner(e,t,a){let r=e-this.lastTo||a.startSide-this.last.endSide;if(r<=0&&0>(e-this.lastFrom||a.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(r<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=a,this.lastFrom=e,this.lastTo=t,this.value.push(a),a.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let a=t.value.length-1;return this.last=t.value[a],this.lastFrom=t.from[a]+e,this.lastTo=t.to[a]+e,!0}finish(){return this.finishInner(eR.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=eR.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eP(e,t,a){let r=new Map;for(let t of e)for(let e=0;e<t.chunk.length;e++)t.chunk[e].maxPoint<=0&&r.set(t.chunk[e],t.chunkPos[e]);let n=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let o=r.get(e.chunk[t]);null==o||(a?a.mapPos(o):o)!=e.chunkPos[t]||(null==a?void 0:a.touchesRange(o,o+e.chunk[t].length))||n.add(e.chunk[t])}return n}class eT{constructor(e,t,a,r=0){this.layer=e,this.skip=t,this.minPoint=a,this.rank=r}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,a){for(;this.chunkIndex<this.layer.chunk.length;){let t=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break;this.chunkIndex++,a=!1}if(this.chunkIndex<this.layer.chunk.length){let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!a||this.rangeIndex<r)&&this.setRangeIndex(r)}this.next()}forward(e,t){0>(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],a=e+t.from[this.rangeIndex];if(this.from=a,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class e_{constructor(e){this.heap=e}static from(e,t=null,a=-1){let r=[];for(let n=0;n<e.length;n++)for(let o=e[n];!o.isEmpty;o=o.nextLayer)o.maxPoint>=a&&r.push(new eT(o,t,a,n));return 1==r.length?r[0]:new e_(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let a of this.heap)a.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)ej(this.heap,e);return this.next(),this}forward(e,t){for(let a of this.heap)a.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)ej(this.heap,e);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),ej(this.heap,0)}}}function ej(e,t){for(let a=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let n=e[r];if(r+1<e.length&&n.compare(e[r+1])>=0&&(n=e[r+1],r++),0>a.compare(n))break;e[r]=a,e[t]=n,t=r}}class eQ{constructor(e,t,a){this.minPoint=a,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=e_.from(e,t,a)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eZ(this.active,e),eZ(this.activeTo,e),eZ(this.activeRank,e),this.minActive=eX(this.active,this.activeTo)}
200addActive(e){let t=0,{value:a,to:r,rank:n}=this.cursor;for(;t<this.activeRank.length&&(n-this.activeRank[t]||r-this.activeTo[t])>0;)t++;eU(this.active,t,a),eU(this.activeTo,t,r),eU(this.activeRank,t,n),e&&eU(e,t,this.cursor.from),this.minActive=eX(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let a=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&0>(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),a&&eZ(a,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let e=this.cursor.value;if(e.point)if(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=e,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}else this.addActive(a),this.cursor.next()}else{this.to=this.endSide=1e9;break}}if(a){this.openStart=0;for(let t=a.length-1;t>=0&&a[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let a=this.active.length-1;a>=0&&!(this.activeRank[a]<this.pointRank);a--)(this.activeTo[a]>e||this.activeTo[a]==e&&this.active[a].endSide>=this.point.endSide)&&t.push(this.active[a]);return t.reverse()}openEnd(e){let t=0;for(let a=this.activeTo.length-1;a>=0&&this.activeTo[a]>e;a--)t++;return t}}function eL(e,t,a,r,n,o){e.goto(t),a.goto(r);let l=r+n,s=r,i=r-t,c=!!o.boundChange;for(let t=!1;;){let r=e.to+i-a.to,n=r||e.endSide-a.endSide,u=n<0?e.to+i:a.to,d=Math.min(u,l);if(e.point||a.point?(e.point&&a.point&&eS(e.point,a.point)&&eM(e.activeForPoint(e.to),a.activeForPoint(a.to))||o.comparePoint(s,d,e.point,a.point),t=!1):(t&&o.boundChange(s),d>s&&!eM(e.active,a.active)&&o.compareRange(s,d,e.active,a.active),c&&d<l&&(r||e.openEnd(u)!=a.openEnd(u))&&(t=!0)),u>l)break;s=u,n<=0&&e.next(),n>=0&&a.next()}}function eM(e,t){if(e.length!=t.length)return!1;for(let a=0;a<e.length;a++)if(e[a]!=t[a]&&!eS(e[a],t[a]))return!1;return!0}function eZ(e,t){for(let a=t,r=e.length-1;a<r;a++)e[a]=e[a+1];e.pop()}function eU(e,t,a){for(let a=e.length-1;a>=t;a--)e[a+1]=e[a];e[t]=a}function eX(e,t){let a=-1,r=1e9;for(let n=0;n<t.length;n++)0>(t[n]-r||e[n].endSide-e[a].endSide)&&(a=n,r=t[n]);return a}function eI(e,t,a=e.length){let r=0;for(let n=0;n<a&&n<e.length;)9==e.charCodeAt(n)?(r+=t-r%t,n++):(r++,n=x(e,n));return r}function eB(e,t,a,r){for(let r=0,n=0;;){if(n>=t)return r;if(r==e.length)break;n+=9==e.charCodeAt(r)?a-n%a:1,r=x(e,r)}return!0===r?-1:e.length}},64356:(e,t,a)=>{"use strict";a.d(t,{w:()=>O});var r=a(80574),n=a(59906),o=a(23803),l=a(69876),s=a(26388),i=async(e,t,a)=>{let r=(0,s.E)(t);return a?.decode?await a.decode(e,t):(0,l._5)(r.essence)?new TextDecoder(r.parameters.get("charset")).decode(e):new Blob([e],{type:r.essence})},c=a(7228),u=a(70310),d=a(95877),p=a(95493),m=a(6518);let h=/^[!-:<>-~]+$/,f=/^[!-:<-~]*$/,g=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,v=/^[ -:=-~]*$/;var y=a(6798),b=[204,205,304],O=async({isUsingProxy:e,requestPayload:t,request:a,plugins:r=[],customFetch:n=fetch})=>{try{let o=performance.now(),l=(0,u.b)()?await n(...t):await n(a??(0,d.jg)(...t)),s=performance.now(),i=Date.now(),c=s-o,h=l.headers.get("content-type"),f=((e,t=!1)=>{let a=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(e=>e.toLowerCase()).forEach(e=>delete a[e]),delete a[m.uj];let r=Object.keys(a).find(e=>"x-scalar-modified-headers"===e.toLowerCase()),n=r?a[r]?.toString().split(", ")?.map(e=>e.toLowerCase())??[]:[];return Object.keys(a).forEach(e=>{n.includes(e.toLowerCase())&&delete a[e]}),r&&delete a[r],Object.keys(a).forEach(e=>{let t=/^x-scalar-original-/i;if(t.test(e)){let r=e.replace(t,"");a[e]&&(a[r]=a[e],delete a[e])}}
200),Object.keys(a).forEach(e=>{let t=e.split("-").map(e=>e.charAt(0).toUpperCase()+e.toLowerCase().slice(1)).join("-");e!==t&&a[e]&&(a[t]=a[e],delete a[e])}),Object.fromEntries(Object.entries(a).sort(([e],[t])=>e.localeCompare(t)))})(l.headers,e),g=new URL(l.url),v=g.pathname+g.search,y=l.statusText||p.Z[l.status]?.name||"",O=t[1].method??"GET",k=b.includes(l.status);if(h?.startsWith("text/event-stream")&&l.body)return x({response:l,requestPayload:t,timestamp:i,duration:c,responseHeaders:f,statusText:y,method:O,fullPath:v});return w({response:l,requestPayload:t,timestamp:i,duration:c,responseHeaders:f,statusText:y,method:O,fullPath:v,contentType:h,shouldSkipBody:k,plugins:r})}catch(e){return[(0,c.cQ)(e,c.Sr.REQUEST_FAILED),null]}},k=e=>{let t=(0,y.s_)(e.headers.get(m.uj)??"").map(e=>((e,t,a={})=>{if(!h.test(e))throw TypeError(`argument name is invalid: ${e}`);if(!f.test(t))throw TypeError(`argument val is invalid: ${t}`);let r=`${e}=${t}`;if(void 0!==a.maxAge){if(!Number.isInteger(a.maxAge))throw TypeError(`option maxAge is invalid: ${a.maxAge}`);r+=`; Max-Age=${a.maxAge}`}if(a.domain){if(!g.test(a.domain))throw TypeError(`option domain is invalid: ${a.domain}`);r+=`; Domain=${a.domain}`}if(a.path){if(!v.test(a.path))throw TypeError(`option path is invalid: ${a.path}`);r+=`; Path=${a.path}`}if(a.expires){if(!(a.expires instanceof Date)||!Number.isFinite(a.expires.valueOf()))throw TypeError(`option expires is invali
200d: ${a.expires}`);r+=`; Expires=${a.expires.toUTCString()}`}if(a.httpOnly&&(r+="; HttpOnly"),a.secure&&(r+="; Secure"),a.partitioned&&(r+="; Partitioned"),a.priority)switch("string"==typeof a.priority?a.priority.toLowerCase():void 0){case"low":r+="; Priority=Low";break;case"medium":r+="; Priority=Medium";break;case"high":r+="; Priority=High";break;default:throw TypeError(`option priority is invalid: ${a.priority}`)}if(a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"none":r+="; SameSite=None";break;default:throw TypeError(`option sameSite is invalid: ${a.sameSite}`)}return r})(e.name,e.value,{...e,sameSite:e.sameSite}));return t.length?t:null},x=({response:e,requestPayload:t,timestamp:a,duration:n,responseHeaders:o,statusText:l,method:s,fullPath:i})=>{let c=new Response(null,{status:e.status,statusText:l,headers:e.headers}),u=k(c)??(0,r.o)(c.headers);return[null,{timestamp:a,requestPayload:t,response:{...c,headers:o,cookieHeaderKeys:u,reader:e.body.getReader(),duration:n,method:s,path:i},originalResponse:c.clone()}]},w=async({response:e,requestPayload:t,timestamp:a,duration:l,responseHeaders:s,statusText:c,method:u,fullPath:d,contentType:p,shouldSkipBody:m,plugins:h})=>{let f=await e.clone().arrayBuffer(),g=(0,o.$Z)(p),v=(0,o.qK)(p).essence,y=await i(f,g,(0,n._)(v,h)),b=new Response(m?null:f,{status:e.status,statusText:c,headers:e.headers}),O=k(b)??(0,r.o)(b.headers);return[null,{timestamp:a,requestPayload:t,response:{...b,headers:s,cookieHeaderKeys:O,data:y,size:f.byteLength,duration:l,method:u,status:e.status,path:d},originalResponse:e.clone()}]}},64518:(e,t,a)=>{"use strict";a.d(t,{F:()=>o,c:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-scalar-credentials-location":r.ZU.Optional(r.ZU.Union([r.ZU.Literal("header"),r.ZU.Literal("body")]))}),l=(0,n.Ik)({"x-scalar-credentials-location":(0,n.lq)((0,n.KC)([(0,n.eu)("header"),(0,n.eu)("body")]))},{typeName:"XScalarCredentialsLocation",typeComment:"Where OAuth2 credentials are sent"})},65338:(e,t,a)=>{"use strict";a.d(t,{A:()=>$});var r=a(13416),n=a(91565),o=a(93514),l=a(75439),s=(e,t)=>{let a=e?.variables?.find(e=>e.name===t);if(a)return"string"==typeof a.value?a.value:a.value?.default},i=a(23373),c=(e,t)=>{if((0,i.jM)(e))return{type:"contextFunction",identifier:e,details:(0,i.Xk)(e)};let a=s(t,e);return{type:"environment",name:e,value:a||"No value",isDefined:!!a}},u=a(5131),d=(e,t)=>{let a;if(!t||!e.includes("{{"))return"";let r=new RegExp(u.Q.VARIABLES.source,u.Q.VARIABLES.flags),n="";for(;null!==(a=r.exec(e));)n+=`|${a[1]??""}`;return n},p=e=>"string"==typeof e?e:null==e?"":JSON.stringify(e),m=a(38547),h=a(10779),f=a(56942),g=a(61930),v=a(602),y=a(78451),b={class:"whitespace-nowrap"},O=["id"],k=["aria-activedescendant","aria-autocomplete","aria-controls","aria-expanded","aria-invalid","aria-label","aria-readonly","aria-required","contenteditable","data-placeholder","role"],x={key:5,class:"centered-y text-orange absolute right-7 text-xs"},w={key:6,class:"centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.code-input-lite__editor:focus]:z-1"},S={key:7,class:"required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pt-px pr-2 opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 peer-has-[.code-input-lite__editor:focus]:opacity-0"},C=(0,m.pM)({inheritAttrs:!1,__name:"CodeInputLite",props:{modelValue:{type:[String,Number,Boolean,Array,Object]},environment:{},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},error:{type:Boolean,default:!1},layout:{default:"desktop"},placeholder:{},required:{type:Boolean,default:!1},emitOnBlur:{type:Boolean,default:!0},withVariables:{type:Boolean,default:!0},withFakeData:{type:Boolean,default:!1},alwaysEmitChange:{type:Boolean,default:!1},linethrough:{type:Boolean,default:!1},type:{},enum:{},examples:{},default:{type:[String,Number,Boolean,Array,Object]},nullable:{type:Boolean,default:!1}},emits:["update:modelValue","submit","blur","navigate"],setup(e,{expose:t,emit:a}){let r=(0,m.OA)(),C=(0,h.KR)(null),$=(0,m.EW)(()=>r.id??C.value??void 0),A=()=>{r.id||null!==C.value||(C.value=`id-${(0,y.Ak)()}`)},R=(0,m.rk)("editorRef"),E=(0,h.KR)(null),P=(0,m.EW)(()=>$.value?`${$.value}-listbox`:void 0),T=(0,m.EW)(()=>E.value?.activeOptionId),_=(0,h.KR)(!1),j=(0,h.KR)(!0),Q=(0,h.KR)(!1),L=e=>0===e.trim().length,M=(0,m.EW)(()=>!e.enum?.length&&("boolean"===e.type||Array.isArray(e.type)&&e.type.includes("boolean"))),Z=(0,m.EW)(()=>e.nullable?["true","false","null"]:["true","false"]),U=(0,m.EW)(()=>Array.isArray(e.type)?e.type.find(e=>"null"!==e)??"string":e.type),X=e=>a("update:modelValue",e),I=[],B=!1,q=()=>{for(let e of I)e.unmount();I=[]},W=()=>{if(R.value&&"modal"!==e.layout)for(let t of R.value.querySelectorAll(".scalar-pill")){let a=(0,f.Ef)(l.A,{context:c(t.dataset.variable??"",e.environment),target:t});a.mount(document.createElement("div")),I.push(a)}},D=(t,a,r)=>{let n=(0,i.jM)(t),o=document.createElement("span");o.className=n?"scalar-pill scalar-pill--context-fn":"scalar-pill",o.
200contentEditable="false",o.dataset.variable=t,o.dataset.pillStart=String(a),o.dataset.pillEnd=String(r);let l=n?"var(--scalar-color-3)":e.environment?.color||"var(--scalar-color-1)";return o.style.setProperty("--tw-bg-base",l),n||s(e.environment,t)||(o.style.opacity="0.5"),o.textContent=t,o},N=t=>{let a,r=R.value;if(!r)return;if(q(),r.replaceChildren(),!e.withVariables||!t.includes("{{")){t&&r.appendChild(document.createTextNode(t)),j.value=L(t);return}let n=new RegExp(u.Q.VARIABLES.source,u.Q.VARIABLES.flags),o=0;for(;null!==(a=n.exec(t));){let e=a.index,n=e+a[0].length;e>o&&r.appendChild(document.createTextNode(t.slice(o,e))),r.appendChild(D(a[1]??"",e,n)),o=n}o<t.length&&r.appendChild(document.createTextNode(t.slice(o))),j.value=!1,B&&W()},V=e=>e.nodeType===Node.TEXT_NODE?(e.textContent??"").length:e instanceof HTMLElement&&e.classList.contains("scalar-pill")?`{{${e.dataset.variable??""}}}`.length:(e.textContent??"").length,F=()=>{let e=R.value;if(!e)return"";let t="";for(let a of Array.from(e.childNodes))a.nodeType===Node.TEXT_NODE?t+=a.textContent??"":a instanceof HTMLElement&&a.classList.contains("scalar-pill")?t+=`{{${a.dataset.variable??""}}}`:a instanceof HTMLElement&&(t+=a.textContent??"");return t},z=null,H="",Y=()=>{let t=e.environment?.color??"",a=e.withVariables?"1":"0",r=e.environment?.variables??[],n="";for(let e of r){let t="string"==typeof e.value?e.value:e.value?.default??"";n+=`\x1f${e.name}\x1e${t}`}return`${t}|${a}|${n}`},G=()=>{B||(B=!0,W())},K=()=>{let e=R.value;if(!e)return null;let t=window.getSelection();if(!t||0===t.rangeCount)return null;let a=t.getRangeAt(0);if(a.startContainer!==e&&!e.contains(a.startContainer))return null;if(a.startContainer===e){let t=0;for(let r=0;r<a.startOffset&&r<e.childNodes.length;r++)t+=V(e.childNodes[r]);return t}let r=0;for(let t of Array.from(e.childNodes)){if(t===a.startContainer)return r+a.startOffset;if(t.contains(a.startContainer))return 0===a.startOffset?r:r+V(t);r+=V(t)}return r},J=e=>{let t=R.value;if(!t)return;let a=document.createRange(),r=0,n=!1;for(let o of Array.from(t.childNodes)){let t=V(o);if(r+t>=e){if(o.nodeType===Node.TEXT_NODE){let t=Math.max(0,Math.min(e-r,(o.textContent??"").length));a.setStart(o,t)}else e-r<=0?a.setStartBefore(o):a.setStartAfter(o);n=!0;break}r+=t}n?a.collapse(!0):(a.selectNodeContents(t),a.collapse(!1));let o=window.getSelection();o&&(o.removeAllRanges(),o.addRange(a))},ee=(0,h.KR)(!1),et=(0,h.KR)(""),ea=(0,h.KR)({left:0,top:0}),er=(0,m.EW)(()=>e.withFakeData?i.qP.map(e=>({key:e,description:(0,i.Xk)(e)})):[]),en=(0,m.EW)(()=>ee.value&&e.withVariables&&"modal"!==e.layout&&(!!e.environment||e.withFakeData)),eo=()=>{if(!R.value)return;let e=K();if(null===e){ee.value=!1;return}let t=F().slice(0,e),a=t.lastIndexOf("{{");if(a<=t.lastIndexOf("}}")){ee.value=!1;return}et.value=t.slice(a+2),A(),ee.value=!0,(0,m.dY)(()=>{let e=window.getSelection();if(!e||0===e.rangeCount||!R.value)return;let t=e.getRangeAt(0).cloneRange();t.collapse(!0);let a=t.getBoundingClientRect(),r=R.value.getBoundingClientRect();ea.value={left:a.left||r.left,top:a.bottom||r.bottom}})},el=t=>{if(e.readOnly)return;let a=K()??0,r=F(),n=Math.max(0,a-et.value.length-2),o=`${r.slice(0,n)}{{${t}}}${r.slice(a)}`,l=n+`{{${t}}}`.length;z=d(o,e.withVariables),N(o),J(l),ee.value=!1,es(o,{skipDropdownCheck:!0})},es=(t,r={})=>{let n=t===p(e.modelValue);(e.alwaysEmitChange||!n)&&a("update:modelValue",t),r.skipDropdownCheck||eo()},ei=()=>{let t=F();j.value=L(t);let a=d(t,e.withVariables);if(!Q.value&&a!==z){let e=K();z=a,N(t),null!==e&&J(e)}es(t)},ec=()=>{Q.value=!0},eu=()=>{Q.value=!1,ei()},ed=()=>{_.value=!0,A(),G()},ep=t=>{_.value=!1,ee.value=!1;let r=F();e.emitOnBlur&&r&&a("submit",r,t),a("blur",r,t)},em=e=>{e.preventDefault();let t=e.clipboardData?.getData("text/plain")??"";t&&(document.execCommand("insertText",!1,t.replace(/\r?\n/g," ")),ei())},eh=e=>{if(ee.value){if("ArrowDown"===e.key||"ArrowUp"===e.key){e.preventDefault(),e.stopPropagation(),E.value?.handleArrowKey("ArrowDown"===e.key?"down":"up");return}if("Enter"===e.key){e.preventDefault(),e.stopPropagation(),E.value?.handleSelect();return}if("Escape"===e.key){e.preventDefault(),e.stopPropagation(),ee.value=!1;return}}if("Enter"===e.key){e.preventDefault(),a("submit",F(),e);return}},ef=e=>{let t=e.target?.closest(".scalar-pill");
200if(!t)return;let a=R.value;if(!a)return;a.focus();let r=document.createRange();r.selectNode(t);let n=window.getSelection();n?.removeAllRanges(),n?.addRange(r),eo()};return(0,m.sV)(()=>{let t=p(e.modelValue);z=d(t,e.withVariables),H=Y(),N(t),j.value=L(t),Object.hasOwn(r,"autofocus")&&R.value?.focus()}),(0,m.wB)(()=>e.modelValue,t=>{let a=p(t);j.value=L(a),F()!==a&&(z=d(a,e.withVariables),N(a))}),(0,m.wB)(R,t=>{if(!t||!L(F()))return;let a=p(e.modelValue);""!==a&&(z=d(a,e.withVariables),N(a))},{flush:"sync"}),(0,m.wB)([()=>e.environment,()=>e.withVariables],()=>{let t=Y();if(t===H||(H=t,""===z))return;z=d(F(),e.withVariables);let a=K();N(F()),null!==a&&J(a)},{deep:!0}),(0,m.xo)(()=>{q()}),t({focus:e=>{let t=R.value;if(!t||(t.focus(),!(0,v.O)(e)))return;let a=F().length;J("start"===e?0:"end"===e?a:e)},setContent:(t="")=>{F()!==t&&(z=d(t,e.withVariables),N(t),j.value=L(t))},getValue:()=>F(),cursorPosition:()=>{let e=K();return null===e?void 0:e},isFocused:_,editorRef:R}),(t,l)=>((0,m.uX)(),(0,m.CE)(m.FK,null,[e.disabled?((0,m.uX)(),(0,m.CE)("div",{key:0,class:(0,g.C4)(["text-c-2 flex cursor-default items-center justify-center",{"font-code pr-2 pl-1 text-base":"modal"===e.layout,"px-2":"modal"!==e.layout,"line-through":e.linethrough}]),"data-testid":"code-input-lite-disabled"},[(0,m.Lk)("span",b,(0,g.v_)(e.modelValue),1)],2)):e.enum?.length?((0,m.uX)(),(0,m.Wv)(n.A,{key:1,default:e.default,modelValue:e.modelValue,type:U.value,value:e.enum,"onUpdate:modelValue":X},null,8,["default","modelValue","type","value"])):M.value?((0,m.uX)(),(0,m.Wv)(n.A,{key:2,default:e.default,modelValue:e.modelValue,value:Z.value,"onUpdate:modelValue":X},null,8,["default","modelValue","value"])):e.examples?.length?((0,m.uX)(),(0,m.Wv)(n.A,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":X},null,8,["default","modelValue","value"])):((0,m.uX)(),(0,m.CE)("div",(0,m.v6)({key:4,id:$.value},t.$attrs,{class:["code-input-lite group/code-input-lite peer relative w-full leading-[1.44] -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline",{"code-input-lite--error":e.error,"code-input-lite--empty":j.value,"line-through":e.linethrough}]}),[(0,m.Lk)("div",{ref_key:"editorRef",ref:R,"aria-activedescendant":en.value?T.value:void 0,"aria-autocomplete":e.withVariables?"list":void 0,"aria-controls":en.value?P.value:void 0,"aria-expanded":en.value?"true":void 0,"aria-invalid":e.error?"true":void 0,"aria-label":(0,h.R1)(r)["aria-label"],"aria-readonly":e.readOnly?"true":void 0,"aria-required":e.required?"true":void 0,class:"code-input-lite__editor",contenteditable:e.readOnly?"false":"true","data-placeholder":e.placeholder,role:e.withVariables?"combobox":"textbox",spellcheck:"false",onBlur:ep,onClick:ef,onCompositionend:eu,onCompositionstart:ec,onFocus:ed,onInput:ei,onKeydown:eh,onPaste:em,onPointerover:G},null,40,k)],16,O)),t.$slots.warning?((0,m.uX)(),(0,m.CE)("div",x,[(0,m.RG)(t.$slots,"warning",{},void 0,!0)])):(0,m.Q3)("",!0),t.$slots.icon?((0,m.uX)(),(0,m.CE)("div",w,[(0,m.RG)(t.$slots,"icon",{},void 0,!0)])):(0,m.Q3)("",!0),e.required?((0,m.uX)(),(0,m.CE)("div",S," Required ")):(0,m.Q3)("",!0),en.value?((0,m.uX)(),(0,m.Wv)(o.A,{key:8,ref_key:"dropdownRef",ref:E,contextFunctionItems:er.value,dropdownPosition:ea.value,environment:e.environment,listboxId:P.value,query:et.value,onClose:l[0]||(l[0]=e=>ee.value=!1),onRedirect:l[1]||(l[1]=e=>a("navigate",{page:"document",path:"environment"})),onSelect:el},null,8,["contextFunctionItems","dropdownPosition","environment","listboxId","query"])):(0,m.Q3)("",!0)],64))}}),$=(0,r.A)(C,[["__scopeId","data-v-4dfd05a3"]])},65495:(e,t,a)=>{"use strict";a.d(t,{o:()=>n});class r{data;next;constructor(e){this.data=e,this.next=null}}class n{front;rear;size;constructor(){this.front=null,this.rear=null,this.size=0}enqueue(e){let t=new r(e);this.isEmpty()||!this.rear?this.front=t:this.rear.next=t,this.rear=t,this.size++}dequeue(){if(this.isEmpty()||!this.front)return null;let e=this.front;return this.front=this.front.next,null===this.front&&(this.rear=null),this.size--,e.data}peek(){return this.isEmpty()||!this.front?null:this.front.data}isEmpty(){return 0===this.size}getSize(){return this.size}toString(){let e=this.front,t=[];for(;e;)t.push(e.data),e=e.next;return t.join(" -> ")}}},65790:(e,t,a)=>{"use strict";a.d(t,{S:()=>l,a:()=>s});var r=a(38547),n=a(78465);let o=Symbol("ForcePortalRootContext");function l(){return(0,r.WQ)(o,!1)}let s=(0,r.pM)({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup:(e,{slots:t,attrs:a})=>((0,r.Gt)(o,e.force),()=>{let{force:r,...o}=e;return(0,n.XX)({theirProps:o,ourProps:{},slot:{},slots:t,attrs:a,name:"ForcePortalRoot"})})})},66429:(e,t,a)=>{"use strict";a.d(t,{i:()=>n});var r=a(80597);function n(e){return function e(t){return r.QS(t)?t.map(t=>e(t)):r.XF(t)?new Date(t.getTime()):r.G4(t)?new Uint8Array(t):r.__(t)?new RegExp(t.source,t.flags):r.av(t)?function(t){let a={};for(let r of Object.getOwnPropertyNames(t))a[r]=e(t[r]);for(let r of Object.getOwnPropertySymbols(t))a[r]=e(t[r]);return a}(t):t}(e)}},66772:(e,t,a)=>{"use strict";a.d(t,{nu:()=>o,ru:()=>n});let r=new Map;function n(e){return r.has(e)}function o(e){return r.get(e)}},67065:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconArrowRight",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M216,128l-72,72V56Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},67741:(e,t,a)=>{"use strict";a.d(t,{Y:()=>i});let r=/[^\p{L}\p{M}\p{N}\s_-]/gu,n=/[\s_-]+/g,o=/^-+|-+$/g,l=/\p{M}/gu,s=new Map,i=(e,t={})=>{let{allowedSpecialChars:a="",preserveCase:i=!1,normalizationForm:c="NFC",stripAccents:u=!1}=t,d=(()=>
200{if(0===a.length)return r;let e=s.get(a);if(e)return e;let t=a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),n=RegExp(`[^\\p{L}\\p{M}\\p{N}\\s_\\-${t}]`,"gu");return s.set(a,n),n})(),p=e.slice(0,255).trim(),m=u?p.normalize("NFD").replace(l,""):p.normalize(c);return(i?m:m.toLowerCase()).replace(d,"").replace(n,"-").replace(o,"")}},67935:(e,t,a)=>{"use strict";a.d(t,{F:()=>o});var r=a(26555);let n=e=>e instanceof Error?e.message:String(e);function o(e){try{let t=e();if(t instanceof Promise)return t.then(e=>(0,r.ok)(e),e=>(console.error(e),(0,r._)(n(e))));return(0,r.ok)(t)}catch(e){return console.error(e),(0,r._)(n(e))}}},68409:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var r=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a}},68491:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var r=a(73330),n=a(10779),o=a(38547),l=a(61930);let s=new Set(["top","bottom"]);function i(e){return s.has(e.split("-")[0])?"y":"x"}var c=a(34741),u=a(78170),d=(0,o.pM)({inheritAttrs:!1,__name:"ScalarFloating",props:{placement:{},offset:{type:[Number,Object,Function],default:5},resize:{type:Boolean,default:!1},target:{},middleware:{default:()=>[]},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){let a=(0,n.KR)(null),s=(0,n.KR)(null),d=(0,o.EW)(()=>{if("u">typeof window&&s.value){if("string"==typeof e.target){let t=document.getElementById(e.target);if(t)return t;console.warn(`ScalarFloating: Target with id="${e.target}" not found`)}else if(e.target instanceof HTMLElement)return e.target;let t=s.value.children?.[0];return t instanceof HTMLElement?t:s.value}}),p=function(e,t={enabled:(0,n.KR)(!0)}){let a=(0,n.KR)(0),r=(0,n.KR)(0),l=(0,n.KR)();return"u">typeof ResizeObserver&&(l.value=new ResizeObserver(([e])=>{e&&(a.value=e.borderBoxSize[0]?.inlineSize??0,r.value=e.borderBoxSize[0]?.blockSize??0)})),(0,o.wB)([()=>(0,n.BA)(t.enabled),()=>(0,n.BA)(e)],([e,t])=>{t&&l.value&&(e?l.value.observe(t):l.value.disconnect())},{immediate:!0}),{width:(0,o.EW)(()=>(0,n.BA)(t.enabled)?`${a.value}px`:void 0),height:(0,o.EW)(()=>(0,n.BA)(t.enabled)?`${r.value}px`:void 0)}}(d,{enabled:(0,o.EW)(()=>e.resize)}),m=(0,o.EW)(()=>"y"===i(e.placement??"bottom")?p.width.value:void 0),h=(0,o.EW)(()=>"x"===i(e.placement??"bottom")?p.height.value:void 0),{floatingStyles:f,middlewareData:g}=(0,c.we)(d,a,{placement:(0,o.EW)(()=>e.placement??"bottom"),whileElementsMounted:u.ll,middleware:(0,o.EW)(()=>[(0,u.cY)(e.offset),(0,u.UU)({padding:48}),(0,u.BN)({padding:8}),(0,u.Ej)({apply({availableWidth:e,availableHeight:t,elements:a}){Object.assign(a.floating.style,{maxWidth:`${Math.max(0,e)-16}px`,maxHeight:`${Math.max(0,t)-16}px`})}}),...e.middleware])});return t({targetRef:d}),(t,i)=>((0,o.uX)(),(0,o.CE)(o.FK,null,[(0,o.Lk)("div",{ref_key:"wrapperRef",ref:s,class:(0,l.C4)({contents:!!t.$slots.default})},[(0,o.RG)(t.$slots,"default")],2),t.$slots.floating?((0,o.uX)(),(0,o.Wv)((0,n.R1)(r.A),{key:0,disabled:!e.teleport,to:"string"==typeof e.teleport?e.teleport:void 0},{default:(0,o.k6)(()=>
200[(0,o.Lk)("div",{ref_key:"floatingRef",ref:a,class:"relative z-context",style:(0,l.Tr)((0,n.R1)(f))},[(0,o.RG)(t.$slots,"floating",{data:(0,n.R1)(g),height:h.value,width:m.value})],4)]),_:3},8,["disabled","to"])):(0,o.Q3)("",!0)],64))}})},69022:(e,t,a)=>{"use strict";a.d(t,{j:()=>d});var r=a(38547),n=a(10779),o=a(96691),l=a(53261),s=a(45734),i=a(56992);function c(e,t,a){i._.isServer||(0,r.nT)(r=>{document.addEventListener(e,t,a),r(()=>document.removeEventListener(e,t,a))})}var u=a(33705);function d(e,t,a=(0,r.EW)(()=>!0)){function i(r,n){if(!a.value||r.defaultPrevented)return;let s=n(r);if(null!==s&&s.getRootNode().contains(s)){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:(0,o.t)(t);if(null!=e&&e.contains(s)||r.composed&&r.composedPath().includes(e))return}return(0,l.Bm)(s,l.MZ.Loose)||-1===s.tabIndex||r.preventDefault(),t(r,s)}}let p=(0,n.KR)(null);c("pointerdown",e=>{var t,r;a.value&&(p.value=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)},!0),c("mousedown",e=>{var t,r;a.value&&(p.value=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)},!0),c("click",e=>{(0,s.Fr)()||p.value&&(i(e,()=>p.value),p.value=null)},!0),c("touchend",e=>i(e,()=>e.target instanceof HTMLElement?e.target:null),!0),(0,u.M)("blur",e=>i(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},69025:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(68409),n=a(8873),o=a(38547),l=a(10779),s=(0,o.pM)({inheritAttrs:!1,__name:"ScalarColorModeToggleIcon",props:{is:{default:"button"},mode:{default:"light"}},setup(e){let{cx:t}=(0,n.AX)(),a=(0,o.EW)(()=>"dark"===e.mode?"Set light mode":"Set dark mode");return(r,n)=>((0,o.uX)(),(0,o.Wv)((0,o.$y)(e.is),(0,o.v6)({"aria-label":a.value,class:`toggle-icon-${e.mode}`,type:"button"===e.is?"button":void 0},(0,l.R1)(t)("size-3 flex items-center justify-center text-c-1")),{default:(0,o.k6)(()=>[...n[0]||(n[0]=[(0,o.Lk)("span",{class:"toggle-icon-sun-ray"},null,-1),(0,o.Lk)("span",{class:"toggle-icon-sun-ray"},null,-1),(0,o.Lk)("span",{class:"toggle-icon-sun-ray"},null,-1),(0,o.Lk)("span",{class:"toggle-icon-sun-ray"},null,-1),(0,o.Lk)("span",{class:"toggle-icon-ellipse"},[(0,o.Lk)("span",{class:"toggle-icon-moon-mask"})],-1)])]),_:1},16,["aria-label","class","type"]))}}),i=(0,r.A)(s,[["__scopeId","data-v-60be8692"]])},69568:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var r=a(68409),n=a(8873),o=a(38547),l=a(61930),s=a(10779),i=(0,o.pM)({__name:"ScalarDropdownButton",props:{is:{default:"button"},active:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=(0,n.Fj)({base:["block h-8 min-w-0 gap-1.5 rounded px-2.5 py-1.5 text-left","truncate  no-underline text-sm text-c-1","cursor-pointer hover:bg-b-2 highlighted:bg-b-2"],variants:{disabled:{true:"pointer-events-none text-c-3"},active:{true:""}},compoundVariants:[{disabled:!1,active:!0,class:"bg-b-2"}]});return(a,r)=>((0,o.uX)(),(0,o.Wv)((0,o.$y)(e.is),{"aria-disabled":e.disabled,class:(0,l.C4)(["item",(0,s.R1)(n.cx)("scalar-dropdown-item",(0,s.R1)(t)({active:e.active,disabled:e.disabled}))]),type:"button"===e.is?"button":void 0},{default:(0,o.k6)(()=>[(0,o.RG)(a.$slots,"default",{},void 0,!0)]),_:3},8,["aria-disabled","class","type"]))}}),c=(0,r.A)(i,[["__scopeId","data-v-f5e0d3d8"]])},69876:(e,t,a)=>{"use strict";a.d(t,{L:()=>n,_5:()=>l,zi:()=>o});var r={"application/epub+zip":{extension:".epub"},"application/gzip":{extension:".gz"},"application/java-archive":{extension:".jar"},"application/javascript":{extension:".js",raw:!0},"application/json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/ld+json":{extension:".jsonld",raw:!0,language:"json",preview:"json"},"application/problem+json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/vnd.api+json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/dns-json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/x-ndjson":{extension:".ndjson",raw:!0,language:"json",preview:"ndjson"},"application/ndjson":{extension:".ndjson",raw:!0,language:"json",preview:"ndjson"},"application/msword":{extension:".doc"},"application/octet-stream":{extension:".bin"},"application/ogg":{extension:".ogx"},"application/pdf":{extension:".pdf",preview:"object"},"application/rtf":{extension:".rtf",raw:!0},"application/vnd.amazon.ebook":{extension:".azw"},"application/vnd.apple.installer+xml":{extension:".mpkg",raw:!0,language:"xml"},"application/vnd.mozilla.xul+xml":{extension:".xul",raw:!0,language:"xml"},"application/vnd.ms-excel":{extension:".xls"},"application/vnd.ms-fontobject":{extension:".eot"},"application/vnd.ms-powerpoint":{extension:".ppt"},"application/vnd.oasis.opendocument.presentation":{extension:".odp"},"application/vnd.oasis.opendocument.spreadsheet":{extension:".ods"},"application/vnd.oasis.opendocument.text":{extension:".odt"},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extension:".pptx"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extension:".xlsx"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extension:".docx"},"application/vnd.rar":{extension:".rar"},"application/vnd.visio":{extension:".vsd"},"application/x-7z-compressed":{extension:".7z"},"application/x-abiword":{extension:".abw"},"application/x-bzip":{extension:".bz"},"application/x-bzip2":{extension:".bz2"},"application/x-cdf":{extension:".cda"},"application/x-csh":{extension:".csh"},"application/x-freearc":{extension:".arc"},"application/x-httpd-php":{extension:".php",raw:!0},"application/x-sh":{extension:".sh",raw:!0},"application/x-tar":{extension:".tar"},"application/xhtml+xml":{extension:".xhtml",raw:!0,language:"html"},"application/xml":{extension:".xml",raw:!0,language:"xml"},"application/yaml":{extension:".yaml",raw:!0,language:"yaml"},"application/zip":{extension:".zip"},"audio/aac":{extension:".aac"},"audio/midi":{extension:".midi"},"audio/mpeg":{extension:".mp3",preview:"audio"},"audio/ogg":{extension:".oga"},"audio/wav":{extension:".wav"},"audio/webm":{extension:".weba"},"font/otf":{extension:".otf"},"font/ttf":{extension:".ttf"},"font/woff":{extension:".woff"},"font/woff2":{extension:".woff2"},"image/apng":{extension:".apng",preview:"image",alpha:!0},"image/avif":{extension:".avif",preview:"image"},"image/bmp":{extension:".bmp",preview:"image"},"image/gif":{extension:".gif",preview:"image",alpha:!0},"image/jpeg":{extension:".jpg",preview:"image"},"image/png":{extension:".png",preview:"image",alpha:!0},"image/svg+xml":{extension:".svg",raw:!0,language:"xml",preview:"image",alpha:!0},"image/tiff":{extension:".tiff"},"image/vnd.microsoft.icon":{extension:".ico",preview:"image"},"image/webp":{extension:".webp",preview:"image",alpha:!0},"text/calendar":{extension:".ics",raw:!0},"text/css":{extension:".css",raw:!0,language:"css"},"text/csv":{extension:".csv",raw:!0},"text/html":{extension:".html",raw:!0,language:"html",preview:"object"},"text/javascript":{extension:".js",raw:!0},"text/json":{extension:".json",raw:!0,language:"json",preview:"json"},"text/plain":{extension:".txt",raw:!0},"text/xml":{extension:".xml",raw:!0,language:"xml"},"text/yaml":{extension:".yaml",raw:!0,language:"yaml"},"video/3gpp":{extension:".3gp"},"audio/3gpp":{extension:".3gp"},"video/3gpp2":{extension:".3g2"},"audio/3gpp2":{extension:".3g2"},"video/mp2t":{extension:".ts"},"video/mp4":{extension:".mp4",preview:"video"},"video/mpeg":{extension:".mpeg"},"video/ogg":{extension:".ogv"},"video/webm":{extension:".webm",preview:"video"},"video/x-msvideo":{extension:".avi"}},n=Object.entries(r).filter(([,e])=>e?.raw).map(([e])=>e);function o(e){let t=r[e];return t||(e.endsWith("+json")?{extension:".json",raw:!0,language:"json",preview:"json"}:void 0)}function l(e){return!!o(e)?.raw}},70287:(e,t,a)=>{"use strict";a.d(t,{xp:()=>M,sl:()=>r,XJ:()=>n.X,U4:()=>C});let r=e=>{let t=new Map,a=(e,a)=>{let r=t.get(e);r?r.push(a):t.set(e,[a])},r=(e,t)=>{if(e)for(let n of e)"operation"===n.type?a(`${n.path}|${n.method}`,{...n,parent:t}):"webhook"===n.type?a(`${n.name}|${n.method}`,{...n,parent:t}):"children"in n&&n.children&&r(n.children,{...n,parent:t})};return r(e.children,e),t};var n=a(71544);function o(e,t,a){let r=new Map;t.forEach((e,t)=>r.set(e,t));let n=[],o=[];
200return e.forEach(e=>{let t=r.get(a(e));void 0===t?o.push(e):n[t]=e}),[...n.filter(e=>void 0!==e),...o]}var l=a(21502),s=a(51316),i=a(8922),c=a(51324),u=a(47990);let d=({tagsMap:e,name:t,documentId:a,generateId:r})=>(e.get(t)||e.set(t,{id:r({type:"tag",tag:{name:t},parentId:a}),parentId:a,entries:[],tag:{name:t}}),e.get(t));function p(e){return e.replace(/!\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/(\*{3}|_{3})(.+?)\1/g,"$2").replace(/(\*{2}|_{2})(.+?)\1/g,"$2").replace(/(\*|_)(.+?)\1/g,"$2").replace(/~~(.+?)~~/g,"$1").replace(/`([^`]+)`/g,"$1").replace(/<[^>]+>/g,"").replace(/[<>]/g,"").trim()}var m=a(28205);let h="Introduction",f=(e,t,a)=>({id:e({type:"text",depth:1,slug:"introduction",parentId:t,info:a,value:h}),title:h,type:"text"}),g=({generateId:e,parentId:t,info:a})=>{let r,n=a.description?.trim();if(!n)return[f(e,t,a)];let o=function(e){let t,{slug:a}=(0,m.K)();return t=function(e){let t=e.split(/\r?\n/),a=[],r=!1,n="",o=0;for(let e=0;e<t.length;e++){let l=t[e]??"",s=l.trimStart();if(r){let e=/^(`{3,}|~{3,})\s*$/.exec(s)?.[1];e&&e[0]===n&&e.length>=o&&(r=!1);continue}{let e=/^(`{3,}|~{3,})/.exec(s)?.[1];if(e){r=!0,n=e.charAt(0),o=e.length;continue}}if(/^(?: {4}|\t)/.test(l))continue;let i=/^(#{1,6})\s+(.+?)(?:\s+#+\s*)?$/.exec(s),c=i?.[1],u=i?.[2];if(c&&u){let e=p(u);e&&a.push({depth:c.length,value:e});continue}let d=t[e+1];if(!d||/^(?: {4}|\t)/.test(d))continue;let m=/^(=+|-+)\s*$/.exec(d.trim())?.[1];if(!m)continue;let h=p(s);h&&(a.push({depth:"="===m[0]?1:2,value:h}),e++)}return a}(e),t.map(e=>({...e,slug:a(e.value)}))}(n),l=(r=Math.min(...o.map(e=>e.depth)))>=1&&r<=6?r:1,s=[],i=null,c=null;if(!n.startsWith("#")){let r=f(e,t,a);s.push(r),i=r}for(let r of o){if(r.depth!==l&&r.depth!==l+1)continue;let n={id:e({type:"text",depth:r.depth,slug:r.slug,parentId:t,info:a,value:r.value}),title:r.value,type:"text"};r.depth===l?(n.children=[],i?(i.children||(i.children=[]),i.children.push(n)):s.push(n),c=n):c&&c.children?.push(n)}return s},v=({ref:e,name:t,generateId:a,parentTag:r,_schema:n,parentId:o})=>{let l=a({name:t,type:"model",parentTag:r,parentId:o,schema:n}),i=(0,s.A)(n);return{id:l,title:i&&"title"in i&&i.title||t,name:t,ref:e,type:"model"}},y=({document:e,tagsMap:t,generateId:a,documentId:r})=>{let n=e.components?.schemas??{},o=[];for(let e in n){if(!Object.hasOwn(n,e))continue;let l=(0,s.A)(n[e],s.F);if((0,i.d)(l))continue;let c=`#/components/schemas/${e}`;l?.["x-tags"]?l["x-tags"].forEach(n=>{let{tag:o,id:l}=d({tagsMap:t,name:n,documentId:r,generateId:a});t.get(n)?.entries.push(v({ref:c,name:e,generateId:a,parentTag:{tag:o,id:l},parentId:r}))}):o.push(v({ref:c,name:e,generateId:a,_schema:(0,s.A)(n[e]),parentId:r}))}return o},b=(...e)=>{for(let t of e){let e=t?.trim();if(e)return e}},O=(e,t)=>"string"==typeof t.address&&t.address.length>0?t.address:e,k=(e,t)=>{let a,r=t.channel;if(!r||!("$ref"in r))return;let n=(a=r.$ref,a.match(/^#\/channels\/([^/]+)$/)?.[1]);if(!n)return;let o=e.channels?.[n];if(o)return{channelName:n,channel:(0,s.A)(o,s.F)}},x=e=>{let t=(0,s.A)(e,s.F);return{name:t.name,description:t.description}},w=({bucket:e,operationEntries:t,generateId:a,parentId:r,parentTag:n,operationsSorter:o,document:c})=>{let u,d;if((0,i.d)(e.channel))return;let p=a({type:"asyncapi-channel",channelName:e.channelName,parentId:r,parentTag:n}),m=t.flatMap(({operationName:t,operation:r})=>{let n=(({operationName:e,operation:t,channel:a,channelName:r,channelAddress:n,generateId:o,parentId:c})=>{if((0,i.d)(t))return;let u=o({type:"asyncapi-operation",operationName:e,parentId:c}),d=(({channelName:e,channel:t,operationId:a,messageNames:r,generateId:n})=>{let o=r.flatMap(r=>{let o=t.messages?.[r];if(!o)return[];let l=(0,s.A)(o,s.F);return(0,i.d)(l)?[]:[{type:"asyncapi-message",id:n({type:"asyncapi-message",messageName:r,channelName:e,parentId:a}),title:b(l.title,l.summary,l.name)??r,messageName:r,channelName:e}]});return o.sort((e,t)=>e.title.localeCompare(t.title)),o})({channelName:r,channel:a,operationId:u,messageNames:((e,t,a)=>{let r=t.messages??{};if(void 0===e.messages)return(0,l.u)(r);if(0===e.messages.length)return[];let n=`#/channels/${a}/messages/`,o=new Set;for(let t of e.messages)if("$ref"in t){if(t.$ref.startsWith(n)){let e=t.$ref.slice(n.length);if(r[e]){o.add(e);continue}}for(let[e,a]of Object.entries(r))a&&"$ref"in a&&a.$ref===t.$ref&&o.add(e)}
200return[...o]})(t,a,r),generateId:o});return{type:"asyncapi-operation",id:u,title:b(t.title,t.summary)??e,operationName:e,action:t.action,channelName:r,channelAddress:n,children:d.length>0?d:void 0}})({operationName:t,operation:r,channel:e.channel,channelName:e.channelName,channelAddress:e.channelAddress,generateId:a,parentId:p});return n?[n]:[]});if("alpha"===o?m.sort((e,t)=>e.title.localeCompare(t.title)):"method"===o?m.sort((e,t)=>e.action.localeCompare(t.action)):"function"==typeof o&&m.sort((e,t)=>o({method:e.action,path:e.operationName,ref:e.operationName,httpVerb:e.action},{method:t.action,path:t.operationName,ref:t.operationName,httpVerb:t.action})),0===m.length)return;let h=c.channels?.[e.channelName];return!h||"$ref"in h||(h["x-scalar-order"]=m.map(e=>e.id)),{type:"asyncapi-channel",id:p,title:(u=e.channel,d=e.channelName,b(u.title,u.summary)??O(d,u)),channelName:e.channelName,channelAddress:e.channelAddress,children:m}},S=(e,t,a)=>{let r=e.get(t);if(r)return r;let n={channelName:t,channel:a,channelAddress:O(t,a),channelTags:a.tags?.map(x)??[],operations:[]};return e.set(t,n),n},C=(e,t,a)=>{let{generateId:r,operationsSorter:n,tagsSorter:l,hideModels:p,modelsSectionLabel:m}=(0,u.N)(e,a),h=r({type:"document",info:t.info,name:e}),f=(e=>{let t=new Map;for(let[a,r]of Object.entries(e.channels??{})){if(!r)continue;let e=(0,s.A)(r,s.F);(0,i.d)(e)||S(t,a,e)}for(let[a,r]of Object.entries(e.operations??{})){if(!r)continue;let n=(0,s.A)(r,s.F);if((0,i.d)(n))continue;let o=k(e,n);o&&S(t,o.channelName,o.channel).operations.push({operationName:a,operation:n})}return t})(t),v=new Map,b=[];for(let e of f.values()){if(0===e.channelTags.length){let a=w({bucket:e,operationEntries:e.operations,generateId:r,parentId:h,operationsSorter:n,document:t});a&&b.push(a)}for(let a of e.channelTags){let{id:o,entries:l}=d({tagsMap:v,name:a.name??"Untitled Tag",documentId:h,generateId:r});if(l.some(t=>"asyncapi-channel"===t.type&&t.channelName===e.channelName))continue;let s=w({bucket:e,operationEntries:e.operations,generateId:r,parentId:o,parentTag:{tag:a,id:o},operationsSorter:n,document:t});s&&l.push(s)}}let O=t.components?(0,s.A)(t.components,s.F):void 0,x=!p&&O?.schemas?y({documentId:h,document:{components:O},generateId:r,tagsMap:v}):[],C=g({generateId:r,parentId:h,info:t.info});v.size>0&&C.push(...(({tagKeys:e,tagsMap:t,documentId:a,options:{tagsSorter:r,generateId:n},sortOrder:l})=>{let s=e.flatMap(e=>{let{tag:r,entries:l}=d({tagsMap:t,name:e,documentId:a,generateId:n});if((0,i.d)(r))return[];let s=r["x-scalar-order"];return(({tag:e,generateId:t,children:a,parentId:r})=>{let n=t({type:"tag",tag:e,parentId:r,isGroup:!1}),o=e["x-displayName"]??e.name??"Untitled Tag";return e["x-scalar-order"]=a.map(e=>e.id),{type:"tag",id:n,title:o,name:e.name||o,description:e.description,children:a,isGroup:!1,isWebhooks:!1}})({tag:r,generateId:n,children:s?o(l,s,e=>e.id):l,parentId:a})});return l?o(s,l,e=>e.id):("alpha"===r?s.sort((e,t)=>e.title.localeCompare(t.title)):"function"==typeof r&&s.sort((e,o)=>r(d({tagsMap:t,name:e.name,documentId:a,generateId:n}).tag,d({tagsMap:t,name:o.name,documentId:a,generateId:n}).tag)),s)})({tagKeys:[...v.keys()],tagsMap:v,documentId:h,options:{tagsSorter:l,generateId:r},sortOrder:t["x-scalar-order"]})),"alpha"===n&&b.sort((e,t)=>e.title.localeCompare(t.title)),C.push(...b),x.length&&C.push({type:"models",id:r({type:"model",parentId:h}),title:m,name:m,children:x});let $=t["x-scalar-order"],A=$?o(C,$,e=>e.id):C;return t["x-scalar-order"]=(0,c.s)(A.map(e=>e.id)),{id:h,type:"document",title:t.info?.title?.trim()||"Untitled Document",name:e,children:A,icon:t["x-scalar-icon"]}};var $=a(89351),A=a(78432);a(17557),a(39021),a(91095);var R=a(46284);let E=e=>e.deprecated||e["x-scalar-stability"]===R.mI.Deprecated,P=({ref:e,operation:t,method:a,path:r,generateId:n,parentId:o,parentTag:l,operationTitleSource:i})=>{let c,u=n({type:"operation",operation:t,parentTag:l,method:a,path:r,parentId:o}),d="path"===i?r:t.summary?.trim()?t.summary:r,p=E(t),m=(c=new Set(t["x-draft-examples"]??[]),t.requestBody&&Object.values((0,s.A)(t.requestBody).content??{}
200).forEach(e=>{Object.keys(e.examples??{}).forEach(e=>{c.add(e)})}),t.parameters&&t.parameters.forEach(e=>{let t=(0,s.A)(e)??{};"content"in t&&t.content&&Object.values(t.content).forEach(e=>{Object.keys(e.examples??{}).forEach(e=>{c.add(e)})}),"examples"in t&&t.examples&&Object.keys(t.examples??{}).forEach(e=>{c.add(e)})}),Array.from(c)).map(e=>({type:"example",id:n({type:"example",parentId:u,name:e}),title:e,name:e}));return{id:u,title:d,path:r,method:a,ref:e,type:"operation",isDeprecated:p,children:m.length?m:void 0}},T=({tag:e,generateId:t,children:a,isGroup:r=!1,isTagGroup:n=!1,parentId:o})=>{var l;let s=t({type:"tag",tag:e,parentId:o,isGroup:r,isTagGroup:n}),i=e["x-displayName"]??e.summary??e.name??"Untitled Tag";return e["x-scalar-order"]=a.map(e=>e.id),{id:s,title:i,name:e.name||i,description:e.description,children:a,isGroup:r,...n?{isTagGroup:!0}:{},isWebhooks:!1,type:"tag",xKeys:(l=(0,c.s)(e))?Object.fromEntries(Object.entries(l).filter(([e])=>e.startsWith("x-"))):{}}},_=({_keys:e,tagsMap:t,options:{tagsSorter:a,operationsSorter:r,generateId:n},documentId:l,sortOrder:s})=>{let c=e.flatMap(e=>{let{tag:a,entries:s}=d({tagsMap:t,name:e,documentId:l,generateId:n});if((0,i.d)(a))return[];let c=a["x-scalar-order"];return void 0===c&&("alpha"===r?s.sort((e,t)=>"operation"===e.type&&"operation"===t.type?e.title.localeCompare(t.title):0):"method"===r?s.sort((e,t)=>"operation"===e.type&&"operation"===t.type?e.method.localeCompare(t.method):0):"function"==typeof r&&s.sort((e,t)=>{if("operation"!==e.type&&"webhook"!==e.type||"operation"!==t.type&&"webhook"!==t.type)return 0;let a="operation"===e.type?e.path:e.name,n="operation"===t.type?t.path:t.name;return r({method:e.method,path:a,ref:e.ref,httpVerb:e.method},{method:t.method,path:n,ref:t.ref,httpVerb:t.method})})),T({tag:a,generateId:n,children:c?o(s,c,e=>e.id):s,parentId:l,isGroup:!1})});return s?o(c,s,e=>e.id):("alpha"===a?c.sort((e,t)=>(e.title||"Untitled Tag").localeCompare(t.title||"Untitled Tag")):"function"==typeof a&&c.sort((e,r)=>a(d({tagsMap:t,name:e.name,documentId:l,generateId:n}).tag,d({tagsMap:t,name:r.name,documentId:l,generateId:n}).tag)),c)},j=e=>{let t=new Set(e.flatMap(e=>"string"==typeof e.name?e.name:[])),a=new Map;for(let r of e)r.name&&r.parent&&r.parent!==r.name&&t.has(r.parent)&&a.set(r.name,r.parent);return a},Q=(e,t)=>{let a=new Set([t]),r=e.get(t);for(;r;){if(a.has(r))return!0;a.add(r),r=e.get(r)}return!1},L=({ref:e,method:t,name:a,title:r,generateId:n,parentTag:o,webhook:l,isDeprecated:s,parentId:i})=>({id:n({type:"webhook",name:a,method:t,webhook:l,parentTag:o,parentId:i}),title:r,name:a,ref:e,method:t,type:"webhook",isDeprecated:s}),M=(e,t,a)=>{let{hideModels:r,modelsSectionLabel:n,tagsSorter:l,operationsSorter:p,generateId:m,operationTitleSource:h}=(0,u.N)(e,a),f=m({type:"document",info:t.info,name:e}),v=new Map(t.tags?.map(e=>[e.name??"Untitled Tag",{id:m({type:"tag",tag:e,parentId:f}),parentId:f,tag:e,entries:[]}])??[]),b=g({generateId:m,parentId:f,info:t.info}),{untaggedOperations:O}=(({document:e,tagsMap:t,generateId:a,documentId:r,operationTitleSource:n})=>{let o=[];return Object.entries(e.paths??{}).forEach(([e,l])=>{(0,A.M8)(l,(l,c)=>{let u=(0,s.A)(c,s.F);if(!u||(0,i.d)(u))return;let p=`#/paths/${(0,$.F)(e)}/${l}`;u.tags?.length?u.tags.forEach(o=>{let{tag:s,id:i}=d({tagsMap:t,name:o,documentId:r,generateId:a});t.get(o)?.entries.push(P({ref:p,operation:u,method:l,path:e,parentTag:{tag:s,id:i},generateId:a,parentId:i,operationTitleSource:n}))}):o.push(P({ref:p,operation:u,method:l,path:e,generateId:a,parentId:r,operationTitleSource:n}))})}),{untaggedOperations:o}})({document:t,tagsMap:v,generateId:m,documentId:f,operationTitleSource:h}),k=m({type:"webhook",name:"",parentId:f}),x=(({document:e,tagsMap:t,generateId:a,untaggedWebhooksParentId:r,documentId:n})=>{let o=[];return Object.entries(e.webhooks??{}).forEach(([e,l])=>{(0,A.M8)(l,(l,c)=>{let u=(0,s.A)(c,s.F);if(!u||(0,i.d)(u))return;let p=`#/webhooks/${e}/${l}`;u.tags?.length?u.tags.forEach(r=>{let{tag:o,id:s}=d({tagsMap:t,name:r,documentId:n,generateId:a});t.get(r)?.entries.push(L({ref:p,method:l,name:e,title:u.summary??e,webhook:u,generateId:a,parentTag:{tag:o,id:s},parentId:s,isDeprecated:E(u)}))}):o.push(L({ref:p,method:l,name:e,title:u.summary??e,generateId:a,isDeprecated:E(u),webhook:u,parentId:r}))})}),o})({document:t,generateId:m,tagsMap:v,untaggedWebhooksParentId:k,documentId:f}),w=(({document:e,tagsMap:t,documentId:a,options:{generateId:r,tagsSorter:n,operationsSorter:l}})=>{let s=j(e.tags??[]);if(Array.from(s.keys()).some(e=>!Q(s,e))){let s=new Map;for(let t of e.tags??[])t.name&&t["x-scalar-order"]&&s.set(t.name,t["x-scalar-order"]);return(({flatEntries:e,document:t,originalOrders:a})=>{let r=new Map,n=new Map;for(let t of e)"tag"===t.type&&(r.set(t.name,t),n.set(t.name,(t.children?.length??0)>0));let l=j(t.tags??[]),s=new Set,i=new Set;for(let[e,t]of r){let a=l.get(e);if(void 0===a||Q(l,e))continue;let n=r.get(a);n&&(n.children=n.children??[],n.children.push(t),s.add(e),i.add(a))}let c=new Map;for(let e of t.tags??[])e.name&&c.set(e.name,e);for(let e of i){let t=r.get(e);if(!t)continue;let n=a.get(e);n&&(t.children=o(t.children??[],n,e=>e.id));let l=c.get(e);l&&(l["x-scalar-order"]=(t.children??[]).map(e=>e.id))}for(let[e,t]of r)(t.children??[]).some(e=>"tag"===e.type)&&!n.get(e)&&(t.isGroup=!0);return e.filter(e=>!("tag"===e.type&&s.has(e.name)))})({flatEntries:_({_keys:Array.from(t.keys()),tagsMap:t,options:{generateId:r,tagsSorter:n,operationsSorter:l},documentId:a,sortOrder:e["x-scalar-order"]}),document:e,originalOrders:s})}return e["x-tagGroups"]?e["x-tagGroups"].flatMap(e=>{let o=_({_keys:e.tags,tagsMap:t,options:{tagsSorter:n,operationsSorter:l,generateId:r},documentId:a,sortOrder:e["x-scalar-order"]});return e["x-scalar-order"]=o.map(e=>e.id),o.length?T({tag:e,generateId:r,children:o,parentId:a,isGroup:!0,isTagGroup:!0}
200):[]}):_({_keys:Array.from(t.keys()),tagsMap:t,options:{generateId:r,tagsSorter:n,operationsSorter:l},documentId:a,sortOrder:e["x-scalar-order"]})})({document:t,tagsMap:v,documentId:f,options:{tagsSorter:l,operationsSorter:p,generateId:m}});if(b.push(...w),b.push(...O),x.length&&b.push({type:"tag",id:k,title:"Webhooks",name:"Webhooks",children:x,isGroup:!1,isWebhooks:!0}),!r&&t.components?.schemas){let e=y({documentId:f,document:t,generateId:m,tagsMap:v});e.length&&b.push({type:"models",id:m({type:"model",parentId:f}),title:n,name:n,children:e})}let S=t["x-scalar-order"];return S&&b.sort((e,t)=>{let a=S.indexOf(e.id),r=S.indexOf(t.id);return(-1===a?1/0:a)-(-1===r?1/0:r)}),t["x-scalar-order"]=(0,c.s)(b.map(e=>e.id)),{id:f,type:"document",title:t.info?.title?.trim()||"Untitled Document",name:e,children:b,icon:t["x-scalar-icon"]}}},70310:(e,t,a)=>{"use strict";a.d(t,{b:()=>r});let r=()=>"u">typeof window&&"electron"in window},70386:(e,t,a)=>{"use strict";a.d(t,{c:()=>s});var r=a(10779),n=a(38547),o=a(96691);function l(e,t){if(e)return e;let a=null!=t?t:"button";if("string"==typeof a&&"button"===a.toLowerCase())return"button"}function s(e,t){let a=(0,r.KR)(l(e.value.type,e.value.as));return(0,n.sV)(()=>{a.value=l(e.value.type,e.value.as)}),(0,n.nT)(()=>{var e;a.value||(0,o.t)(t)&&(0,o.t)(t)instanceof HTMLButtonElement&&!(null!=(e=(0,o.t)(t))&&e.hasAttribute("type"))&&(a.value="button")}),a}},70470:(e,t,a)=>{"use strict";a.d(t,{v:()=>k});var r=a(89166),n=a(9085),o=a(32097),l=a(95486);function s(e,t=new WeakMap){if((0,r.QS)(e)){if(t.has(e))return t.get(e);let a=[];t.set(e,a);for(let r=0;r<e.length;r++)a.push(s(e[r],t));return a}if((0,r.XF)(e))return new Date(e.toISOString());if((0,r.Qb)(e))return e.slice();if((0,r.N6)(e))return new Map(s([...e.entries()]));if((0,r.Ts)(e))return new Set(s([...e.entries()]));if((0,r.av)(e)){if(t.has(e))return t.get(e);let a={};for(let r of(t.set(e,a),Object.getOwnPropertyNames(e)))a[r]=s(e[r],t);for(let r of Object.getOwnPropertySymbols(e))a[r]=s(e[r],t);return a}if((0,r.u$)(e))return e;throw Error("ValueClone: Unable to clone value")}var i=a(15830),c=a(31354),u=a(6962),d=a(66772);class p extends n.i{constructor(e,t){super(t),this.schema=e}}function m(e){return(0,r.hg)(e)?e():s(e)}function h(e,t){let a=(0,i.uN)(e,t);switch(e[o.b8]){case"Any":case"Record":case"Unknown":return(0,r.LT)(e,"default")?m(e.default):{};case"Argument":return{};case"Array":if(!0!==e.uniqueItems||(0,r.LT)(e,"default"))if("contains"in e&&!(0,r.LT)(e,"default"))throw new p(e,"Array with the contains constraint requires a default value");else if("default"in e)return m(e.default);else if(void 0!==e.minItems)return Array.from({length:e.minItems}).map(t=>h(e.items,a));else return[];throw new p(e,"Array with the uniqueItems constraint requires a default value");case"AsyncIterator":return(0,r.LT)(e,"default")?m(e.default):async function*(){}();case"BigInt":return(0,r.LT)(e,"default")?m(e.default):BigInt(0);case"Boolean":return!!(0,r.LT)(e,"default")&&m(e.default);case"Constructor":if((0,r.LT)(e,"default"))return m(e.default);{let t=h(e.returns,a);return"object"!=typeof t||Array.isArray(t)?class{}:class{constructor(){for(const[e,a]of Object.entries(t))this[e]=a}}}case"Date":return(0,r.LT)(e,"default")?m(e.default):void 0!==e.minimumTimestamp?new Date(e.minimumTimestamp):new Date;case"Function":return(0,r.LT)(e,"default")?m(e.default):()=>h(e.returns,a);case"Import":let n;return n=globalThis.Object.values(e.$defs),h(e.$defs[e.$ref],[...a,...n]);case"Integer":case"Number":return(0,r.LT)(e,"default")?m(e.default):void 0!==e.minimum?e.minimum:0;case"Intersect":if((0,r.LT)(e,"default"))return m(e.default);{let t=e.allOf.reduce((e,t)=>{let r=h(t,a);return"object"==typeof r?{...e,...r}:r},{});if(!(0,l.J)(e,a,t))throw new p(e,"Intersect produced invalid value. Consider using a default value.");return t}case"Iterator":return(0,r.LT)(e,"default")?m(e.default):function*(){}();case"Literal":return(0,r.LT)(e,"default")?m(e.default):e.const;case"Never":if((0,r.LT)(e,"default"))return m(e.default);throw new p(e,"Never types cannot be created. Consider using a default value.");case"Not":if((0,r.LT)(e,"default"))return m(e.default);throw new p(e,"Not types must have a default value");case"Null":return(0,r.LT)(e,"default")?m(e.default):null;case"Object":if((0,r.LT)(e,"default"))return m(e.default);{let t=new Set(e.required),r={};for(let[n,o]of Object.entries(e.properties))t.has(n)&&(r[n]=h(o,a));return r}case"Promise":return(0,r.LT)(e,"default")?m(e.default):Promise.resolve(h(e.item,a));case"Ref":return(0,r.LT)(e,"default")?m(e.default):h((0,i.Lk)(e,a),a);case"RegExp":if((0,r.LT)(e,"default"))return m(e.default);throw new p(e,"RegExp types cannot be created. Consider using a default value.");case"String":if(void 0!==e.pattern)if((0,r.LT)(e,"default"))return m(e.default);else throw new p(e,"String types with patterns must specify a default value");if(void 0!==e.format)if((0,r.LT)(e,"default"))return m(e.default);else throw new p(e,"String types with formats must specify a default value");if((0,r.LT)(e,"default"))return m(e.default);if(void 0!==e.minLength)return Array.from({length:e.minLength}).map(()=>" ").join("");return"";case"Symbol":return(0,r.LT)(e,"default")?m(e.default):"value"in e?Symbol.for(e.value):Symbol();case"TemplateLiteral":if((0,r.LT)(e,"default"))return m(e.default);if(!(0,c.VA)(e))throw new p(e,"Can only create template literals that produce a finite variants. Consider using a default value.");return(0,u.vl)(e)[0];case"This":if(g++>f)throw new p(e,"Cannot create recursive type as it appears possibly infinite. Consider using a default.");return(0,r.LT)(e,"default")?m(e.default):h((0,i.Lk)(e,a),a);case"Tuple":return(0,r.LT)(e,"default")?m(e.default):void 0===e.items?[]:Array.from({length:e.minItems}).map((t,r)=>h(e.items[r],a));case"Undefined":case"Void":return(0,r.LT)(e,"default")?m(e.default):void 0;case"Union":if((0,r.LT)(e,"default"))return m(e.default);if(0!==e.anyOf.length)return h(e.anyOf[0],a);throw Error("ValueCreate.Union: Cannot create Union with zero variants");case"Uint8Array":return(0,r.LT)(e,"default")?m(e.default):new Uint8Array(void 0!==e.minByteLength?e.minByteLength:0);default:if(!d.ru(e[o.b8]))throw new p(e,"Unknown type");if((0,r.LT)(e,"default"))return m(e.default);throw Error("User defined types must specify a default value")}}let f=512,g=0;function v(...e){return g=0,2===e.length?h(e[0],e[1]):h(e[0],[])}class y extends n.i{constructor(e,t){super(t),this.schema=e}}function b(e,t,a,n){let c=(0,r.IP)(e.$id)?(0,i.uN)(e,t):t;switch(e[o.b8]){case"Array":if((0,l.J)(e,c,a))return s(a);let u=(0,r.QS)(a)?a:v(e,c),d=(0,r.Mx)(e.minItems)&&u.length<e.minItems?[...u,...Array.from({length:e.minItems-u.length},()=>null)]:u,p=((0,r.Mx)(e.maxItems)&&d.length>
200e.maxItems?d.slice(0,e.maxItems):d).map(t=>b(e.items,c,t,n));if(!0!==e.uniqueItems)return p;let m=[...new Set(p)];if(!(0,l.J)(e,c,m))throw new y(e,"Array cast produced invalid data due to uniqueItems constraint");return m;case"Constructor":if((0,l.J)(e,c,a))return v(e,c);let h=new Set(e.returns.required||[]),f=function(){};for(let[t,r]of Object.entries(e.returns.properties))(h.has(t)||void 0!==a.prototype[t])&&(f.prototype[t]=b(r,c,a.prototype[t],n));return f;case"Import":let g;return g=globalThis.Object.values(e.$defs),b(e.$defs[e.$ref],[...c,...g],a,n);case"Intersect":if((0,l.J)(e,c,a))return a;let k=v(e,c),x=function e(t,a){return(0,r.av)(t)&&!(0,r.av)(a)||!(0,r.av)(t)&&(0,r.av)(a)?t:(0,r.av)(t)&&(0,r.av)(a)?globalThis.Object.getOwnPropertyNames(t).reduce((r,n)=>{let o=n in a?e(t[n],a[n]):t[n];return{...r,[n]:o}},{}):a}(k,a);return(0,l.J)(e,c,x)?x:k;case"Never":throw new y(e,"Never types cannot be cast");case"Object":if(n.has(a))return n.get(a);if((0,l.J)(e,c,a))return a;if(null===a||"object"!=typeof a)return v(e,c);let w=new Set(e.required||[]),S={};for(let[t,r]of(n.set(a,S),Object.entries(e.properties)))(w.has(t)||void 0!==a[t])&&(S[t]=b(r,c,a[t],n));if("object"==typeof e.additionalProperties){let t=Object.getOwnPropertyNames(e.properties);for(let r of Object.getOwnPropertyNames(a))t.includes(r)||(S[r]=b(e.additionalProperties,c,a[r],n))}return S;case"Record":if((0,l.J)(e,c,a))return s(a);if(null===a||"object"!=typeof a||Array.isArray(a)||a instanceof Date)return v(e,c);let C=Object.getOwnPropertyNames(e.patternProperties)[0],$=e.patternProperties[C],A={};for(let[e,t]of Object.entries(a))A[e]=b($,c,t,n);return A;case"Ref":case"This":return b((0,i.Lk)(e,c),c,a,n);case"Tuple":return(0,l.J)(e,c,a)?s(a):(0,r.QS)(a)?void 0===e.items?[]:e.items.map((e,t)=>b(e,c,a[t],n)):v(e,c);case"Union":return(0,l.J)(e,c,a)?s(a):"default"in e?"function"==typeof a?e.default:s(e.default):O(function(e,t,a){let n=e.anyOf.map(e=>(0,i.Lk)(e,t)),[s,c]=[n[0],0];for(let e of n){let n=function e(t,a,n){if("Object"!==t[o.b8]||"object"!=typeof n||(0,r.Ef)(n))if("Union"===t[o.b8])return Math.max(...t.anyOf.map(e=>(0,i.Lk)(e,a)).map(t=>e(t,a,n)));else return+!!(0,l.J)(t,a,n);{let e=Object.getOwnPropertyNames(n);return Object.entries(t.properties).reduce((t,[r,s])=>t+(100*("Literal"===s[o.b8]&&s.const===n[r])+10*!!(0,l.J)(s,a,n[r])+ +!!e.includes(r)),0)}}(e,t,a);n>c&&(s=e,c=n)}return s}(e,c,a),c,a,n);case"Date":case"Symbol":case"Uint8Array":return(0,l.J)(e,t,a)?s(a):v(e,t);default:return(0,l.J)(e,c,a)?a:v(e,c)}}function O(...e){return 2===e.length||3===e.length&&e[2]instanceof WeakMap?b(e[0],[],e[1],e[2]??new WeakMap):b(e[0],e[1],e[2],e[3]??new WeakMap)}let k=(e,t)=>O(e,t)},71478:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(68409),n=a(38547),o={class:"-mx-0.75 my-0.75 h-border bg-border"},l=(0,r.A)({},[["render",function(e,t,a,r,l,s){return(0,n.uX)(),(0,n.CE)("div",o)}]])},71544:(e,t,a)=>{"use strict";a.d(t,{X:()=>r});let r=(e,t)=>{if(t)return t.type===e?t:r(e,t.parent)}},71961:(e,t,a)=>{"use strict";a.d(t,{i:()=>n});var r=a(82553);function n(e={}){let{notify:t=e=>a(e,"info")}=e,{toast:a}=(0,r.Yf)();return{copyToClipboard:async function(e){try{let a=void 0===e?"undefined":"string"==typeof e?e:JSON.stringify(e);await navigator.clipboard.writeText(a),t("Copied to the clipboard")}catch(e){console.error(e.message),t("Failed to copy to clipboard")}}}}},72312:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconWebhooksLogo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M192,180H118.71a56,56,0,1,1-104.6-37.46,12,12,0,1,1,21.37,10.92A31.64,31.64,0,0,0,32,168a32,32,0,0,0,64,0,12,12,0,0,1,12-12h84a12,12,0,0,1,0,24Zm0-68a55.9,55.9,0,0,0-18.45,3.12L138.22,57.71a12,12,0,0,0-20.44,12.58l40.94,66.52a12,12,0,0,0,16.52,3.93,32,32,0,1,1,19.68,59.13A12,12,0,0,0,196,223.82a10.05,10.05,0,0,0,1.09,0A56,56,0,0,0,192,112ZM57.71,178.22a12,12,0,0,0,16.51-3.93l40.94-66.52a12,12,0,0,0-3.92-16.51,32,32,0,1,1,45.28-41.8,12,12,0,1,0,21.37-10.92A56,56,0,1,0,89.1,104.32L53.78,161.71A12,12,0,0,0,57.71,178.22Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M128,104a40,40,0,1,1,40-40A40,40,0,0,1,128,104Zm64,24a40,40,0,1,0,40,40A40,40,0,0,0,192,128ZM64,128a40,40,0,1,0,40,40A40,40,0,0,0,64,128Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M50.15,160,89.07,92.57l-2.24-3.88a48,48,0,1,1,85.05-44.17,8.17,8.17,0,0,1-3.19,10.4,8,8,0,0,1-11.35-3.72,32,32,0,1,0-56.77,29.3.57.57,0,0,1,.08.13l13.83,23.94a8,8,0,0,1,0,8L77.86,176a16,16,0,0,1-27.71-16Zm141-40H178.81L141.86,56a16,16,0,0,0-27.71,16l34.64,60a8,8,0,0,0,6.92,4h35.63c17.89,0,32.95,14.64,32.66,32.53A32,32,0,0,1,192.31,200a8.23,8.23,0,0,0-8.28,7.33,8,8,0,0,0,8,8.67,48.05,48.05,0,0,0,48-48.93C239.49,140.79,217.48,120,191.19,120ZM208,167.23c-.4-8.61-7.82-15.23-16.43-15.23H114.81a8,8,0,0,0-6.93,4L91.72,184h0a32,32,0,1,1-53.47-35,8.2,8.2,0,0,0-.92-11,8,8,0,0,0-11.72,1.17A47.63,47.63,0,0,0,16,167.54,48,48,0,0,0,105.55,192v0l4.62-8H192A16,16,0,0,0,208,167.23Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M179.37,174H109.6a46,46,0,1,1-82.4-33.61,6,6,0,0,1,9.6,7.21A33.68,33.68,0,0,0,30,168a34,34,0,0,0,68,0,6,6,0,0,1,6-6h75.37a14,14,0,1,1,0,12ZM64,182a14,14,0,0,0,11.73-21.62l36.42-59.18a6,6,0,0,0-2-8.25,34,34,0,1,1,49-42.57,6,6,0,1,0,11-4.79A46,46,0,1,0,99,99.7L65.52,154.08c-.5-.05-1-.08-1.52-.08a14,14,0,0,0,0,28Zm128-60a46,46,0,0,0-18.8,4L139.73,71.61A14,14,0,1,0,128,78a12.79,12.79,0,0,0,1.52-.09l36.4,59.17a6.05,6.05,0,0,0,3.73,2.69,6,6,0,0,0,4.53-.73A34,34,0,1,1,192,202a6,6,0,0,0,0,12,46,46,0,0,0,0-92Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M180.7,172H107.81a44,44,0,1,1-79-30.41,4,4,0,0,1,6.4,4.81A35.67,35.67,0,0,0,28,168a36,36,0,0,0,72,0,4,4,0,0,1,4-4h76.7a12,12,0,1,1,0,8ZM64,180a12,12,0,0,0,9.33-19.54l37.11-60.3a4,4,0,0,0-1.31-5.51A36,36,0,1,1,161,49.58a4,4,0,1,0,7.33-3.19,44,44,0,1,0-66.71,52.83l-35.1,57.05A11.58,11.58,0,0,0,64,156a12,12,0,0,0,0,24Zm128-56a44,44,0,0,0-19.56,4.58l-35.11-57A12,12,0,1,0,128,76a12.24,12.24,0,0,0,2.52-.27L167.63,136a4,4,0,0,0,5.5,1.31A36,36,0,1,1,192,204a4,4,0,0,0,0,8,44,44,0,0,0,0-88Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},72560:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(42694);let n=(...e)=>r.ZU.Composite(e)},72662:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r=a(8873),n=a(38547),o=a(61930),l=a(10779),s=(0,n.pM)({inheritAttrs:!1,__name:"ScalarFloatingBackdrop",setup(e){let{cx:t}=(0,r.AX)();return(e,a)=>((0,n.uX)(),(0,n.CE)("div",(0,o._B)((0,n.Ng)((0,l.R1)(t)("absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted"))),[(0,n.RG)(e.$slots,"default")],16))}})},72804:(e,t,a)=>{"use strict";a.d(t,{V:()=>g});var r,n,o=a(89166),l=a(9085);class s extends l.i{constructor(e){super("Unable to hash value"),this.value=e}}(r=n||(n={}
200))[r.Undefined=0]="Undefined",r[r.Null=1]="Null",r[r.Boolean=2]="Boolean",r[r.Number=3]="Number",r[r.String=4]="String",r[r.Object=5]="Object",r[r.Array=6]="Array",r[r.Date=7]="Date",r[r.Uint8Array=8]="Uint8Array",r[r.Symbol=9]="Symbol",r[r.BigInt=10]="BigInt";let i=BigInt("14695981039346656037"),[c,u]=[BigInt("1099511628211"),BigInt("18446744073709551616")],d=Array.from({length:256}).map((e,t)=>BigInt(t)),p=new Float64Array(1),m=new DataView(p.buffer),h=new Uint8Array(p.buffer);function f(e){i^=d[e],i=i*c%u}function g(e){return i=BigInt("14695981039346656037"),function e(t){if((0,o.QS)(t)){for(let a of(f(n.Array),t))e(a);return}if((0,o.Zx)(t))return void(f(n.Boolean),f(+!!t));if((0,o.cQ)(t)){for(let e of(f(n.BigInt),m.setBigInt64(0,t),h))f(e);return}if((0,o.XF)(t))return void(f(n.Date),e(t.getTime()));if((0,o.Ef)(t))return void f(n.Null);if((0,o.Mx)(t)){for(let e of(f(n.Number),m.setFloat64(0,t),h))f(e);return}if((0,o.av)(t)){for(let a of(f(n.Object),globalThis.Object.getOwnPropertyNames(t).sort()))e(a),e(t[a]);return}if((0,o.IP)(t)){f(n.String);for(let e=0;e<t.length;e++)for(let a of function*(e){let t=0===e?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let a=0;a<t;a++)yield e>>8*(t-1-a)&255}(t.charCodeAt(e)))f(a);return}
200if((0,o.nH)(t))return void(f(n.Symbol),e(t.description));if((0,o.G4)(t)){f(n.Uint8Array);for(let e=0;e<t.length;e++)f(t[e]);return}if((0,o.R1)(t))return f(n.Undefined);throw new s(t)}(e),i}},73330:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(45340),n=a(38547),o=a(10779),l=(0,n.pM)({inheritAttrs:!1,__name:"ScalarTeleport",props:{to:{},immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=(0,r.nW)();return(a,r)=>((0,n.uX)(),(0,n.Wv)(n.Im,{defer:!e.immediate,disabled:e.disabled,to:e.to||(0,o.R1)(t)},[(0,n.Lk)("div",(0,n.v6)({class:"scalar-app",style:{display:"contents"}},a.$attrs),[(0,n.RG)(a.$slots,"default")],16)],8,["defer","disabled","to"]))}})},74162:(e,t,a)=>{"use strict";a.d(t,{A:()=>f});var r=a(57319),n=a(8873),o=a(38547),l=a(10779),s=a(56942),i=a(61930),c=a(19423),u=a(3652),d={"aria-hidden":"true",class:"flex items-center py-1.5 mask-y-from-[calc(100%-8px)] mask-y-to-100%"},p={key:0,class:"whitespace-nowrap px-1.5"},m={key:0,class:"sr-only",role:"alert"},h={key:1,class:"sr-only"},f=(0,o.pM)({inheritAttrs:!1,__name:"ScalarCopyButton",props:(0,o.zz)({showLabel:{type:Boolean},placement:{default:"right"}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){let t=(0,o.fn)(e,"copied"),{cx:a}=(0,n.AX)(),f=(0,o.EW)(()=>t.value?c.A:u.A);return(n,c)=>((0,o.uX)(),(0,o.CE)("button",(0,o.v6)({type:"button"},(0,l.R1)(a)("group/copy-button relative z-0 flex items-center justify-center","size-6 p-1.25 -m-1 rounded text-xs bg-b-2",t.value?"text-c-1":"text-c-2 hover:text-c-1")),[(0,o.bF)(s.eB,{enterActiveClass:"transition-transform",enterFromClass:"scale-0",enterToClass:"scale-100",leaveActiveClass:"transition-transform",leaveFromClass:"scale-100",leaveToClass:"scale-0",mode:"out-in"},{default:(0,o.k6)(()=>[((0,o.uX)(),(0,o.Wv)((0,o.$y)(f.value),{class:"size-full"}))]),_:1}),c[4]||(c[4]=(0,o.Lk)("div",{class:"bg-inherit rounded-[inherit] absolute inset-0 -z-1"},null,-1)),(0,o.Lk)("div",{class:(0,i.C4)(["group/copy-label absolute flex items-center -inset-y-0.5 rounded",{"left-0 pl-[100%]":"right"===e.placement,"right-0 pr-[100%]":"left"===e.placement}])},[(0,o.Lk)("div",d,[(0,o.bF)(s.eB,{enterActiveClass:"transition-transform ease-out",enterFromClass:"translate-y-1.5",enterToClass:"translate-y-0",leaveActiveClass:"transition-transform ease-in",leaveFromClass:"translate-y-0",leaveToClass:"-translate-y-1.5",mode:"out-in"},{default:(0,o.k6)(()=>[t.value?((0,o.uX)(),(0,o.CE)("div",p,[(0,o.RG)(n.$slots,"copied",{},()=>[c[0]||(c[0]=(0,o.eW)("Copied",-1))])])):((0,o.uX)(),(0,o.CE)("div",{key:1,class:(0,i.C4)(["whitespace-nowrap px-1.5",{"group-hocus/copy-button:block hidden":!e.showLabel&&!t.value}])},[(0,o.RG)(n.$slots,"copy",{},()=>[c[1]||(c[1]=(0,o.eW)("Copy",-1))])],2))]),_:3})]),t.value?((0,o.uX)(),(0,o.CE)("div",m,[(0,o.RG)(n.$slots,"copied",{},()=>[c[2]||(c[2]=(0,o.eW)("Copied",-1))])])):((0,o.uX)(),(0,o.CE)("div",h,[(0,o.RG)(n.$slots,"copy",{},()=>[c[3]||(c[3]=(0,o.eW)("Copy",-1))])])),(0,o.RG)(n.$slots,"backdrop",{},()=>[(0,o.bF)(r.A)])],2)],16))}})},74958:(e,t,a)=>{"use strict";a.d(t,{X:()=>r});let r={document:{navigation:"x-scalar-navigation"},workspace:{colorMode:"x-scalar-color-mode",sidebarWidth:"x-scalar-sidebar-width",defaultClient:"x-scalar-default-client",defaultExample:"x-scalar-default-example",activeDocument:"x-scalar-active-document",theme:"x-scalar-theme"}}},75005:(e,t,a)=>{"use strict";a.d(t,{R:()=>n,s:()=>o});let r=new Set(["__proto__","prototype","constructor"]),n=(e,t)=>{if(r.has(e))throw Error(t?`Prototype pollution key detected: "${e}" in ${t}`:`Prototype pollution key detected: "${e}"`)},o=e=>r.has(e)},75182:(e,t,a)=>{"use strict";a.d(t,{V:()=>o,w:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-scalar-icon":r.ZU.Optional(r.ZU.String())}),l=(0,n.Ik)({"x-scalar-icon":(0,n.lq)((0,n.Yj)())},{typeName:"XScalarIcon",typeComment:"A custom icon representing the collection"})},75230:(e,t,a)=>{"use strict";let r;a.d(t,{l2:()=>D});var n=a(60652),o=a(13904),l=a(6802),s=a(96445),i=a(53572),c=a(2272);let u=()=>{var e=(()=>{let e,t;var a,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,s={},i={default:()=>es};for(var c in i)r(s,c,{get:i[c],enumerable:!0});var u=(e,t)=>
200Array.isArray(e)?d(e,t):"string"==typeof e?m(e,t):p(e,t),d=(e,t)=>{let a={};for(let t of e){if(1!==t.length)throw Error(`Invalid character: "${t}"`);a[t.charCodeAt(0)]=!0}return e=>{let r=e.index,n=e.input;for(;e.index<n.length&&n.charCodeAt(e.index)in a;)e.index+=1;let o=e.index;if(o>r){if(void 0!==t&&!e.options.silent){let a=e.input.slice(r,o),l="function"==typeof t?t(a,n,String(r)):t;void 0===l||e.output.push(l)}e.indexMax=Math.max(e.indexMax,e.index)}return!0}},p=(e,t)=>{let a=new RegExp(e.source,e.flags.replace(/y|$/,"y"));return O(e=>{a.lastIndex=e.index;let r=a.exec(e.input);if(!r)return!1;if(void 0!==t&&!e.options.silent){let a="function"==typeof t?t(...r,e.input,String(e.index)):t;void 0===a||e.output.push(a)}return e.index+=r[0].length,e.indexMax=Math.max(e.indexMax,e.index),!0})},m=(e,t)=>a=>{if(!a.input.startsWith(e,a.index))return!1;if(void 0!==t&&!a.options.silent){let r="function"==typeof t?t(e,a.input,String(a.index)):t;void 0===r||a.output.push(r)}return a.index+=e.length,a.indexMax=Math.max(a.indexMax,a.index),!0},h=(e,t,a,r)=>{let n=x(e);return O(b(y(e=>{let r=0;for(;r<a;){let t=e.index;if(!n(e)||(r+=1,e.index===t))break}return r>=t})))},f=(e,t)=>h(e,0,1/0),g=(e,t)=>{let a=e.map(x);return O(b(y(e=>{for(let t=0,r=a.length;t<r;t++)if(!a[t](e))return!1;return!0})))},v=(e,t)=>{let a=e.map(x);return O(b(e=>{for(let t=0,r=a.length;t<r;t++)if(a[t](e))return!0;return!1}))},y=(e,t=!1)=>{let a=x(e);return e=>{let r=e.index,n=e.output.length,o=a(e);return(!o||t)&&(e.index=r,e.output.length!==n&&(e.output.length=n)),o}},b=(e,t)=>x(e),O=(e=0,t=>{let a=x(t),r=e+=1;return e=>{var t;if(!1===e.options.memoization)return a(e);let n=e.index,o=(t=e.cache)[r]||(t[r]=new Map),l=o.get(n);if(!1===l)return!1;if("number"==typeof l)return e.index=l,!0;if(l)return e.index=l.index,l.output?.length&&e.output.push(...l.output),!0;{let t=e.output.length;if(!a(e))return o.set(n,!1),!1;{let a=e.index,r=e.output.length;if(r>t){let l=e.output.slice(t,r);o.set(n,{index:a,output:l})}else o.set(n,a);return!0}}}}),k=e=>{let t;return a=>(t||(t=x(e())),t(a))},x=(a=e=>{if("function"==typeof e)return 0===e.length?k(e):e;if("string"==typeof e||e instanceof RegExp)return u(e);if(Array.isArray(e))return g(e);if("object"==typeof e&&null!==e)return v(Object.values(e));throw Error("Invalid rule")},t=new Map,e=>{let r=t.get(e);if(r)return r;let n=a(e);return t.set(e,n),n}),w="abcdefghijklmnopqrstuvwxyz",S=e=>{let t="";for(;e>0;)t=w[(e-1)%26]+t,e=Math.floor((e-1)/26);return t},C=e=>{let t=0;for(let a=0,r=e.length;a<r;a++)t=26*t+w.indexOf(e[a])+1;return t},$=(e,t)=>{if(t<e)return $(t,e);let a=[];for(;e<=t;)a.push(e++);return a},A=(e,t)=>$(C(e),C(t)).map(S),R=e=>e,E=e=>P(t=>((e,t,a={})=>{let r={cache:{},input:e,index:0,indexMax:0,options:a,output:[]};if(x(t)(r)&&r.index===e.length)return r.output;throw Error(`Failed to parse at index ${r.indexMax}`)})(t,e,{memoization:!1}).join("")),P=e=>{let t={};return a=>t[a]??(t[a]=e(a))},T=u(/^\*\*\/\*$/,".*"),_=u(/^\*\*\/(\*)?([ a-zA-Z0-9._-]+)$/,(e,t,a)=>`.*${t?"":"(?:^|/)"}${a.replaceAll(".","\\.")}`),j=u(/^\*\*\/(\*)?([ a-zA-Z0-9._-]*)\{([ a-zA-Z0-9._-]+(?:,[ a-zA-Z0-9._-]+)*)\}$/,(e,t,a,r)=>`.*${t?"":"(?:^|/)"}${a.replaceAll(".","\\.")}(?:${r.replaceAll(",","|").replaceAll(".","\\.")})`),Q=u(/\\./,R),L=u(/[$.*+?^(){}[\]\|]/,e=>`\\${e}`),M=u(/./,R),Z=v([u(/^(?:!!)*!(.*)$/,(e,t)=>`(?!^${ea(t)}$).*?`),u(/^(!!)+/,"")]),U=v([u(/\/(\*\*\/)+/,"(?:/.+/|/)"),u(/^(\*\*\/)+/,"(?:^|.*/)"),u(/\/(\*\*)$/,"(?:/.*|$)"),u(/\*\*/,".*")]),X=v([u(/\*\/(?!\*\*\/)/,"[^/]*/"),u(/\*/,"[^/]*")]),I=u("?","[^/]"),B=u("[",R),q=u("]",R),W=u(/[!^]/,"^/"),D=u(/[a-z]-[a-z]|[0-9]-[0-9]/i,R),N=v([Q,u(/[$.*+?^(){}[\|]/,e=>`\\${e}`),D,u(/[^\]]/,R)]),V=g([B,h(W,0,1),f(N),q]),F=u("{","(?:"),z=u("}",")"),H=g([F,v([u(/(\d+)\.\.(\d+)/,(e,t,a)=>{let r,n,o;return(r=+t,n=+a,o=Math.min(t.length,a.length),$(r,n).map(e=>String(e).padStart(o,"0"))).join("|")}),u(/([a-z]+)\.\.([a-z]+)/,(e,t,a)=>A(t,a).join("|")),u(/([A-Z]+)\.\.([A-Z]+)/,(e,t,a)=>A(t.toLowerCase(),a.toLowerCase()).join("|").toUpperCase())]),z]),Y=u("{","(?:"),G=u("}",")"),K=u(",","|"),J=u(/[$.*+?^(){[\]\|]/,e=>`\\${e}`),ee=u(/[^}]/,R),et=g([Y,f(v([U,X,I,V,H,k(()=>et),Q,J,K,ee])),G]),ea=E(f(v([T,_,j,Z,U,X,I,V,H,et,Q,L,M]))),er=u(/\\./,R),en=u(/./,R),eo=E(f(v([er,u(/\*\*\*+/,"*"),u(/([^/{[(!])\*\*/,(e,t)=>`${t}*`),u(/(^|.)\*\*(?=[^*/)\]}])/,(e,t)=>`${t}*`),en]))),el=(e,t)=>
200{let a=Array.isArray(e)?e:[e];if(!a.length)return!1;let r=a.map(el.compile),n=a.every(e=>/(\/(?:\*\*)?|\[\/\])$/.test(e)),o=t.replace(/[\\\/]+/g,"/").replace(/\/$/,n?"/":"");return r.some(e=>e.test(o))};el.compile=e=>RegExp(`^${ea(eo(e))}$`,"s");var es=el;return((e,t,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))l.call(e,s)||void 0===s||r(e,s,{get:()=>t[s],enumerable:!(a=n(t,s))||a.enumerable});return e})(r({},"__esModule",{value:!0}),s)})();return e.default||e},d=/^[A-Za-z]:\//;function p(e=""){return e?e.replace(/\\/g,"/").replace(d,e=>e.toUpperCase()):e}let m=/^[/\\]{2}/,h=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,f=/^[A-Za-z]:$/,g=/^\/([A-Za-z]:)?$/,v=/.(\.[^./]+|\.)$/,y=/^[/\\]|^[a-zA-Z]:[/\\]/,b=function(e){if(0===e.length)return".";let t=(e=p(e)).match(m),a=x(e),r="/"===e[e.length-1];return 0===(e=k(e,!a)).length?a?"/":r?"./":".":(r&&(e+="/"),f.test(e)&&(e+="/"),t)?a?`//${e}`:`//./${e}`:a&&!x(e)?`/${e}`:e},O=function(...e){e=e.map(e=>p(e));let t="",a=!1;for(let r=e.length-1;r>=-1&&!a;r--){let n=r>=0?e[r]:void 0!==c&&"function"==typeof c.cwd?c.cwd().replace(/\\/g,"/"):"/";n&&0!==n.length&&(t=`${n}/${t}`,a=x(n))}return(t=k(t,!a),a&&!x(t))?`/${t}`:t.length>0?t:"."};function k(e,t){let a="",r=0,n=-1,o=0,l=null;for(let s=0;s<=e.length;++s){if(s<e.length)l=e[s];else if("/"===l)break;else l="/";if("/"===l){if(n===s-1||1===o);else if(2===o){if(a.length<2||2!==r||"."!==a[a.length-1]||"."!==a[a.length-2]){if(a.length>2){let e=a.lastIndexOf("/");-1===e?(a="",r=0):r=(a=a.slice(0,e)).length-1-a.lastIndexOf("/"),n=s,o=0;continue}else if(a.length>0){a="",r=0,n=s,o=0;continue}}t&&(a+=a.length>0?"/..":"..",r=2)}else a.length>0?a+=`/${e.slice(n+1,s)}`:a=e.slice(n+1,s),r=s-n-1;n=s,o=0}else"."===l&&-1!==o?++o:o=-1}return a}let x=function(e){return h.test(e)},w=function(e){if(".."===e)return"";let t=v.exec(p(e));return t&&t[1]||""},S=function(e){let t=p(e).replace(/\/$/,"").split("/").slice(0,-1);return 1===t.length&&f.test(t[0])&&(t[0]+="/"),t.join("/")||(x(e)?"/":".")},C=function(e,t){let a=p(e).split("/"),r="";for(let e=a.length-1;e>=0;e--){let t=a[e];if(t){r=t;break}}return t&&r.endsWith(t)?r.slice(0,-t.length):r},$={__proto__:null,basename:C,dirname:S,extname:w,format:function(e){let t=e.ext?e.ext.startsWith(".")?e.ext:`.${e.ext}`:"",a=[e.root,e.dir,e.base??(e.name??"")+t].filter(Boolean);return p(e.root?O(...a):a.join("/"))},isAbsolute:x,join:function(...e){let t="";for(let a of e)if(a)if(t.length>0){let e="/"===t[t.length-1],r="/"===a[0];e&&r?t+=a.slice(1):t+=e||r?a:`/${a}`}else t+=a;return b(t)},matchesGlob:(e,t)=>{var a;return a=b(e),r||(r=u(),u=null),r(t,a)},normalize:b,normalizeString:k,parse:function(e){let t=y.exec(e)?.[0]?.replace(/\\/g,"/")||"",a=C(e),r=w(a);return{root:t,dir:S(e),base:a,ext:r,name:a.slice(0,a.length-r.length)}},relative:function(e,t){let a=O(e).replace(g,"$1").split("/"),r=O(t).replace(g,"$1").split("/");if(":"===r[0][1]&&":"===a[0][1]&&a[0]!==r[0])return r.join("/");for(let e of[...a]){if(r[0]!==e)break;a.shift(),r.shift()}return[...a.map(()=>".."),...r].join("/")},resolve:O,sep:"/",toNamespacedPath:function(e){return p(e)}},A=globalThis.process?.platform==="win32"?";":":",R={posix:void 0,win32:void 0},E=(e=A)=>new Proxy($,{get:(t,a)=>"delimiter"===a?e:"posix"===a?P:"win32"===a?T:R[a]||$[a]}),P=E(":"),T=E(";");var _=a(75005),j=a(22480);function Q(e,t,a){if(""===t)throw Error("Cannot set value at root ('') pointer");let r=(0,j.i)(t);r.forEach(e=>(0,_.R)(e));let n=e;for(let e=0;e<r.length;e++){let t=r[e],o=e===r.length-1,l=r[e+1],s=/^\d+$/.test(l??"");o?n[t]=a:(t in n&&"object"==typeof n[t]||(n[t]=s?[]:{}),n=n[t])}}var L=a(89351),M=a(44084);function Z(e){let t=(0,M.W)(e).substring(0,7);return t.match(/^\d+$/)?"a"+t.substring(1):t}async function U(e,t,a,r,n=0){if(n>=100)throw"Can not generate unique compressed values";let o=await e(r??t);return void 0!==a[o]&&a[o]!==t?U(e,t,a,o,n+1):(a[o]=t,o)}function X(e){return e.startsWith("#")}function I(e,t){let a=t.find(t=>t.validate(e));return a?a.exec(e):Promise.resolve({ok:!1})}function B(e,t){if(!X(e))throw"Please provide an internal ref";return`#/${t.map(L.F).join("/")}${e.substring(1)}`}let q=(e,t,a,r,n,o=!1,l=new Set)=>{let i=(0,s.E)(t,(0,j.i)(a)).value;if(l.has(i))return;l.add(i),Q(e,a,i);let c=a=>
200{if(a&&"object"==typeof a)for(let s of("$ref"in a&&"string"==typeof a.$ref&&(a.$ref.startsWith(`#/${r}/${(0,L.F)(n)}`)?q(e,t,a.$ref.substring(1),r,n,o,l):o&&q(e,t,a.$ref.substring(1),r,n,o,l)),Object.values(a)))c(s)};c(i)},W="x-ext";async function D(e,t){var a,r;let c;t.externalDocumentsKey=t.externalDocumentsKey??W,t.externalDocumentsMappingsKey=t.externalDocumentsMappingsKey??"x-ext-urls";let u=t.cache??new Map,d=t.plugins.filter(e=>"loader"===e.type),p=t.plugins.filter(e=>"lifecycle"===e.type),m=async()=>{if("string"!=typeof e)return e;let t=await I(e,d);if(t.ok&&"object"==typeof t.data)return t.data;throw Error("Failed to resolve input: Please provide a valid string value or pass a loader to process the input")},h=await m(),f=t.root??h,g=(0,l.f)(f),v=void 0!==t.root&&t.root!==h||void 0!==t.depth,y=t.visitedNodes??new Set,b=(()=>{let a=(0,l.O)(f);return a?a:t.origin?t.origin:"string"!=typeof e?"/":!(0,i.q)(e)&&((0,i.q)(e)||/^\s*(?:-\s*)?[\w\-]+\s*:\s*.+\n.*/.test(e)||function(e){if(!/^\s*(\{)/.test(e.slice(0,500)))return!1;try{let t=JSON.parse(e);return(0,n.G)(t)}catch{return!1}}(e))?"/":e})();void 0===f[t.externalDocumentsMappingsKey]&&(f[t.externalDocumentsMappingsKey]={});let{generate:O}=(a=t.compress??Z,c=Object.fromEntries(Object.entries(r=f[t.externalDocumentsMappingsKey]).map(([e,t])=>[t,e])),{generate:async e=>{let t=c[e];if(t)return t;let n=await U(a,e,r),o=n.match(/^\d+$/)?`a${n}`:n;return c[e]=o,o}}),k=async(e,...a)=>{let r=t.hooks?.[e];for(let t of(r&&await r(...a),p)){let r=t[e];r&&await r(...a)}},x=async(e,a=b,r=!1,c=0,p=[],m=null)=>{if(void 0!==t.depth&&c>t.depth||!(0,n.G)(e)&&!Array.isArray(e)||y.has(e))return;y.add(e);let h={path:p,resolutionCache:u,parentNode:m,rootNode:f,loaders:d};await k("onBeforeNodeProcess",e,h);let w=(0,l.O)(e);if((0,n.G)(e)&&"$ref"in e&&"string"==typeof e.$ref){let l=e.$ref,p="$global"in e&&"boolean"==typeof e.$global&&e.$global,m=(0,o.n)(l,w??a,g);if(void 0!==m){if(v){let e=(0,j.i)(`/${m}`),t=e.length>0?(0,s.E)(f,e.slice(0,-1)).value:void 0,a=(0,s.E)(f,e);await x(a.value,a.context,r,c+1,e,t)}await k("onAfterNodeProcess",e,h);return}let[y,S=""]=l.split("#",2),C=((e,t)=>{if((0,i.q)(t))return t;if((0,i.q)(e)){let a=new URL(e);return a.pathname=P.posix.resolve("/",P.dirname(a.pathname),t),a.toString()}return P.resolve(P.dirname(e),t)})(w??a,y),$=((e,t)=>{if((0,i.q)(e)&&(0,i.q)(t)){let a=new URL(e),r=new URL(t);if(a.origin!==r.origin)return e;let n=P.dirname(P.posix.resolve("/",r.pathname)),o=P.posix.resolve("/",a.pathname);return P.posix.relative(n,o)}if((0,i.q)(t)){let a=new URL(t),r=P.dirname(P.posix.resolve("/",a.pathname));return a.pathname=P.posix.relative(r,P.posix.resolve("/",e)),a.toString()}if((0,i.q)(e))return e;let a=P.dirname(P.resolve(t)),r=P.resolve(e);return P.relative(a,r)})(C,b),A=await O($),R=u.has($);R||u.set($,I(C,d)),await k("onResolveStart",e);let E=await u.get($);if(E.ok){R||(p||function e(t,a){if(Array.isArray(t))return void t.forEach(t=>e(t,a));if((0,n.G)(t)&&(Object.values(t).forEach(t=>e(t,a)),"object"==typeof t&&"$ref"in t&&"string"==typeof t.$ref)){let e=t.$ref;if(!X(e))return;t.$ref=B(e,a)}}(E.data,[W,A]),await x(E.data,p?a:C,p,c+1,[t.externalDocumentsKey,A,f[t.externalDocumentsMappingsKey]]),Q(f,`/${t.externalDocumentsMappingsKey}/${(0,L.F)(A)}`,$)),!0===t.treeShake?q(f,{[t.externalDocumentsKey]:{[A]:E.data}},B(`#${S}`,[t.externalDocumentsKey,A]).substring(1),t.externalDocumentsKey,A):R||Q(f,`/${t.externalDocumentsKey}/${A}`,E.data),e.$ref=B(`#${S}`,[t.externalDocumentsKey,A]),await k("onResolveSuccess",e),await k("onAfterNodeProcess",e,h);return}return await k("onResolveError",e),await k("onAfterNodeProcess",e,h),console.warn(`Failed to resolve external reference "${C}". The reference may be invalid, inaccessible, or missing a loader for this type of reference.`)}for(let n in e)n!==t.externalDocumentsKey&&n!==t.externalDocumentsMappingsKey&&await x(e[n],w??a,r,c+1,[...p,n],e);await k("onAfterNodeProcess",e,h)};return await x(h),t.urlMap||v||delete f[t.externalDocumentsMappingsKey],h}},75265:(e,t,a)=>{"use strict";a.d(t,{c:()=>l});var r=a(60652),n=a(51316),o=a(51324);let l=e=>{let t=new WeakSet,a=new WeakMap,l=e=>{if(!(0,r.G)(e)&&!Array.isArray(e))return e;let s=(0,o.s)(e,{depth:1});if(a.has(s))return a.get(s);if(t.has(s))return"[circular]";if(t.add(s),"$ref"in e){let t=l((0,n.A)(e)),o=Object.entries(e).filter(([e])=>"$ref"!==e&&"$ref-value"!==e);if(o.length>0&&(0,r.G)(t)){let e={...t};for(let[t,a]of o)e[t]=l(a);return a.set(s,e),e}return a.set(s,t),t}if(Array.isArray(e)){let t=e.map(l);return a.set(s,t),t}let i=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,l(t)]));return a.set(s,i),i};return l(e)}},75439:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r=a(38547),n=a(56942),o=a(10779),l=a(24766),s=(0,r.pM)({name:"PillTooltipHost",__name:"PillTooltipHost",props:{context:{},target:{}},setup(e){let t="contextFunction"===e.context.type,a=(0,r.EW)(()=>
200{if(!t||"u"<typeof document||"contextFunction"!==e.context.type)return"";let a=document.createElement("div");return(0,n.XX)((0,r.h)("div",{class:"flex flex-col gap-1.5 text-left"},[(0,r.h)("span",{},e.context.details),(0,r.h)("div",{class:"text-[color:var(--scalar-color-3)] text-[10px] font-normal"},"Computed at request execution")]),a),a.innerHTML}),s=(0,r.EW)(()=>"environment"===e.context.type?e.context.value:""),i=(0,o.KR)(e.target);return(0,l.fS)({content:t?a:s,contentTarget:t?"innerHTML":"textContent",delay:0,placement:"bottom-start",offset:6,targetRef:i}),(e,t)=>null}})},76086:(e,t,a)=>{"use strict";a.d(t,{_:()=>l,b:()=>o});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-scalar-active-environment":r.ZU.Optional(r.ZU.String())}),l=(0,n.Ik)({"x-scalar-active-environment":(0,n.lq)((0,n.Yj)({typeComment:"The currently selected environment"}))},{typeName:"XScalarActiveEnvironment",typeComment:"The currently selected environment"})},76412:(e,t,a)=>{"use strict";a.d(t,{R8:()=>n,TU:()=>l,Tl:()=>r,Wl:()=>s,Y6:()=>i,z4:()=>o});let r=e=>"type"in e&&("object"===e.type||Array.isArray(e.type)&&e.type.includes("object")),n=e=>"type"in e&&("array"===e.type||Array.isArray(e.type)&&e.type.includes("array")),o=e=>"type"in e&&("string"===e.type||Array.isArray(e.type)&&e.type.includes("string")),l=e=>"type"in e&&("number"===e.type||"integer"===e.type||Array.isArray(e.type)&&e.type.includes("number")||Array.isArray(e.type)&&e.type.includes("integer")),s=e=>void 0!==e&&"type"in e,i=e=>"content"in e&&void 0!==e.content},76610:(e,t,a)=>{"use strict";a.d(t,{t$:()=>s,dp:()=>h,iQ:()=>y,_L:()=>T,SL:()=>k,eb:()=>w,qx:()=>S,xS:()=>u,sj:()=>A,d4:()=>j,P_:()=>z,Rc:()=>J,Kx:()=>et});var r=a(8873),n=a(38547),o=a(61930),l=a(10779),s=(0,n.pM)({inheritAttrs:!1,__name:"ScalarSidebar",setup(e){let{cx:t}=(0,r.AX)();return(e,a)=>((0,n.uX)(),(0,n.CE)("aside",(0,o._B)((0,n.Ng)((0,l.R1)(t)("flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72"))),[(0,n.RG)(e.$slots,"default")],16))}}),i=a(68409),c=(0,n.pM)({inheritAttrs:!1,__name:"ScalarSidebarIndent",props:{indent:{default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){let t=(0,n.EW)(()=>Array.from({length:e.indent},(e,t)=>t)),{cx:a}=(0,r.AX)();return(r,s)=>((0,n.uX)(),(0,n.CE)("div",(0,o._B)((0,n.Ng)((0,l.R1)(a)("scalar-sidebar-indent flex justify-center",{"mr-[calc(20px-var(--scalar-sidebar-indent))]":e.indent>0,"scalar-sidebar-indent-selected":e.selected}))),[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(t.value,(a,r)=>((0,n.uX)(),(0,n.CE)("div",{key:a,class:"relative w-[var(--scalar-sidebar-indent)]"},[s[0]||(s[0]=(0,n.Lk)("div",{class:"scalar-sidebar-indent-border absolute left-2 inset-y-0 w-border bg-sidebar-indent-border"},null,-1)),r===t.value.length-1?((0,n.uX)(),(0,n.CE)("div",{key:0,class:(0,o.C4)(["absolute left-2 inset-y-0 w-border",e.disabled?"":e.selected?"bg-sidebar-indent-border-active":"group-hover/button:bg-sidebar-indent-border-hover"])},null,2)):(0,n.Q3)("",!0)]))),128))],16))}}),u=(0,i.A)(c,[["__scopeId","data-v-3e080c68"]]),d=a(84044),p={key:0,class:"h-lh *:size-4 mr-1 flex items-center"},m={class:"group/button-label flex-1 min-w-0"},h=(0,n.pM)({inheritAttrs:!1,__name:"ScalarSidebarButton",props:{is:{default:"a"},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{default:0}},setup(e){let t=(0,r.Fj)({base:["group/button peer/button flex items-stretch rounded p-2","font-sidebar text-base/4  text-sidebar-c-2 no-underline wrap-break-word"],variants:{active:{true:"text-sidebar-c-active font-sidebar-active"},disabled:{true:"cursor-auto"},selected:{true:"cursor-auto bg-sidebar-b-active text-sidebar-c-active font-sidebar-active"}},compoundVariants:[{selected:!1,disabled:!1,active:!1,class:"hover:bg-sidebar-b-hover hover:text-sidebar-c-hover"},{selected:!1,disabled:!1,active:!0,class:"hover:bg-sidebar-b-hover"}],defaultVariants:{selected:!1,disabled:!1,active:!1}}),{cx:a}=(0,r.AX)();return(r,o)=>((0,n.uX)(),(0,n.Wv)((0,n.$y)(e.is),(0,n.v6)({"aria-current":e.selected?"page":void 0,type:"button"===e.is?"button":void 0},(0,l.R1)(a)((0,l.R1)(t)({selected:e.selected,disabled:e.disabled,active:e.active}))),{default:(0,n.k6)(()=>[(0,n.RG)(r.$slots,"indent",{}
200,()=>[(0,n.bF)(u,{class:"-my-2",disabled:e.disabled,indent:e.indent,selected:e.selected},null,8,["disabled","indent","selected"])]),e.icon||r.$slots.icon?((0,n.uX)(),(0,n.CE)("div",p,[(0,n.RG)(r.$slots,"icon",{},()=>[e.icon?((0,n.uX)(),(0,n.Wv)((0,l.R1)(d.A),{key:0,icon:e.icon},null,8,["icon"])):(0,n.Q3)("",!0)])])):(0,n.Q3)("",!0),(0,n.Lk)("div",m,[(0,n.RG)(r.$slots,"default")]),(0,n.RG)(r.$slots,"aside")]),_:3},16,["aria-current","type"]))}}),f=a(53252),g={class:"flex items-center"},v={class:"flex-1 min-w-0 flex items-center text-sm text-sidebar-c-2"},y=(0,n.pM)({inheritAttrs:!1,__name:"ScalarSidebarFooter",setup(e){let{cx:t}=(0,r.AX)();return(e,a)=>((0,n.uX)(),(0,n.CE)("div",(0,o._B)((0,n.Ng)((0,l.R1)(t)("flex flex-col gap-3 px-3 pb-3 border-sidebar-border"))),[(0,n.RG)(e.$slots,"default"),(0,n.Lk)("div",g,[(0,n.Lk)("div",v,[(0,n.RG)(e.$slots,"description",{},()=>[a[0]||(a[0]=(0,n.Lk)("a",{class:"no-underline hover:underline",href:"https://www.scalar.com",target:"_blank"}," Powered by Scalar ",-1))])]),(0,n.RG)(e.$slots,"toggle",{},()=>[(0,n.bF)((0,l.R1)(f.A))])])],16))}}),b=a(61067),O={class:"sr-only"},k=(0,n.pM)({inheritAttrs:!1,__name:"ScalarSidebarGroupToggle",props:{is:{default:"div"},open:{type:Boolean,default:!1},icon:{type:[Object,Function]}},setup(e){let t=(0,r.Fj)({base:"size-4 flex items-center justify-center transition-transform duration-100",variants:{open:{true:"rotate-90"}},defaultVariants:{open:!1}}),{cx:a}=(0,r.AX)();return(r,s)=>((0,n.uX)(),(0,n.Wv)((0,n.$y)(e.is),(0,n.v6)({type:"button"===e.is?"button":void 0},(0,l.R1)(a)((0,l.R1)(t)({open:e.open}))),{default:(0,n.k6)(()=>[(0,n.RG)(r.$slots,"default",{open:e.open},()=>[e.icon?((0,n.uX)(),(0,n.Wv)((0,l.R1)(d.A),{key:0,icon:e.icon},null,8,["icon"])):((0,n.uX)(),(0,n.Wv)((0,l.R1)(b.A),{key:1,class:"size-3",weight:"bold"}))]),(0,n.Lk)("span",O,[(0,n.RG)(r.$slots,"label",{open:e.open},()=>[(0,n.eW)((0,o.v_)(e.open?"Close":"Open")+" Group ",1)])])]),_:3},16,["type"]))}}),x=["aria-expanded"],w=(0,n.pM)({inheritAttrs:!1,__name:"ScalarSidebarGroupToggleButton",props:{open:{type:Boolean,default:!1},selected:{type:Boolean}},setup(e){let t=(0,r.Fj)({base:["absolute top-[1lh] right-1.25 -translate-y-1/2","rounded p-0.75 text-sidebar-c-2"],variants:{selected:{true:"hover:bg-sidebar-b-1 hover:text-sidebar-c-1",false:"hover:bg-sidebar-b-hover hover:text-sidebar-c-hover"}},defaultVariants:{selected:!1}}),{cx:a}=(0,r.AX)();return(r,o)=>((0,n.uX)(),(0,n.CE)("button",(0,n.v6)({"aria-expanded":e.open,type:"button"},(0,l.R1)(a)((0,l.R1)(t)({selected:e.selected}))),[(0,n.RG)(r.$slots,"default",{open:e.open},()=>[(0,n.bF)(k,{open:e.open},(0,n.eX)({_:2},[r.$slots.label?{name:"label",fn:(0,n.k6)(()=>[(0,n.RG)(r.$slots,"label",{open:e.open})]),key:"0"}:void 0]),1032,["open"])])],16,x))}}),S=(0,n.pM)({inheritAttrs:!1,__name:"ScalarSidebarGroupToggleSpacer",setup(e){let{cx:t}=(0,r.AX)();return(e,a)=>((0,n.uX)(),(0,n.CE)("div",(0,o._B)((0,n.Ng)((0,l.R1)(t)("size-4"))),null,16))}}),C=Symbol(),$=(e={})=>{let{increment:t=!1,reset:a=!1}=e,r=(0,n.WQ)(C,0);return a?(0,n.Gt)(C,0):t&&r<6?(0,n.Gt)(C,r+1):(0,n.Gt)(C,r),{level:r}},A=(0,n.pM)({inheritAttrs:!1,__name:"ScalarSidebarItem",props:{is:{},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{}},setup(e){let{level:t}=$(),{cx:a}=(0,r.AX)();return(r,s)=>((0,n.uX)(),(0,n.CE)("li",(0,o._B)((0,n.Ng)((0,l.R1)(a)("group/item flex flex-col text-base"))),[(0,n.RG)(r.$slots,"before"),(0,n.RG)(r.$slots,"button",{level:(0,l.R1)(t)},()=>[(0,n.bF)(h,(0,n.v6)(e,{indent:e.indent??(0,l.R1)(t)}),(0,n.eX)({_:2},[r.$slots.default?{name:"default",fn:(0,n.k6)(()=>[(0,n.RG)(r.$slots,"default")]),key:"0"}:void 0,r.$slots.icon?{name:"icon",fn:(0,n.k6)(()=>[(0,n.RG)(r.$slots,"icon")]),key:"1"}:void 0,r.$slots.aside?{name:"aside",fn:(0,n.k6)(()=>[(0,n.RG)(r.$slots,"aside")]),key:"2"}:void 0]),1040,["indent"])]),(0,n.RG)(r.$slots,"after")],16))}}),R=(0,n.pM)({__name:"ScalarSidebarLoading",props:{items:{default:4}},setup:e=>(t,a)=>((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.items,e=>((0,n.uX)(),(0,n.Wv)(A,{key:e,class:"pointer-events-none"},{default:(0,n.k6)(()=>[...a[0]||(a[0]=[(0,n.Lk)("div",{class:"group/button-loading bg-sidebar-c-2/15 rounded-lg animate-pulse h-lh w-full box-content py-px -my-px"},null,-1)])]),_:1}))),128))}),E={class:"group/group-button relative flex flex-col text-base"},P={key:0,class:"group/items flex flex-col gap-px"},T=(0,n.pM)({inheritAttrs:!1,__name:"ScalarSidebarGroup",props:(0,n.zz)({is:{default:"li"},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},controlled:{type:Boolean},discrete:{type:Boolean},loading:{type:Boolean}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:(0,n.zz)(["click","toggle"],["update:open"]),setup(e,{emit:t}){let a=(0,n.fn)(e,"open"),{level:s}=$({increment:!0}),{cx:i}=(0,r.AX)(),c=r=>{t("click",r),e.controlled||e.discrete||(a.value=!a.value)},d=r=>{t("toggle",r),!e.controlled&&e.discrete&&(a.value=!a.value)};return(t,r)=>((0,n.uX)(),(0,n.Wv)((0,n.$y)(e.is),(0,o._B)((0,n.Ng)((0,l.R1)(i)("group/item flex flex-col gap-px"))),{default:(0,n.k6)(()=>[(0,n.Lk)("div",E,[(0,n.RG)(t.$slots,"before",{open:a.value}),(0,n.RG)(t.$slots,"button",{level:(0,l.R1)(s),open:a.value},()=>[(0,n.bF)(h,{is:"button",active:e.active,"aria-expanded":e.discrete?void 0:a.value,disabled:e.disabled,icon:e.icon,indent:(0,l.R1)(s),selected:e.selected,onClick:c},(0,n.eX)({indent:(0,n.k6)(()=>[(0,n.bF)(u,{class:"mr-0 -my-2",indent:(0,l.R1)(s),selected:e.selected},null,8,["indent","selected"])]),aside:(0,n.k6)(()=>[(0,n.RG)(t.$slots,"aside",{open:a.value}),e.discrete?((0,n.uX)(),(0,n.Wv)(S,{key:0})):(0,n.RG)(t.$slots,"toggle",{open:a.value},()=>[(0,n.bF)(k,{class:"text-sidebar-c-2",open:a.value},null,8,["open"])],void 0,1)]),default:(0,n.k6)(()=>[(0,n.RG)(t.$slots,"default",{open:a.value})]),_:2},[t.$slots.icon?{name:"icon",fn:(0,n.k6)(()=>[(0,n.RG)(t.$slots,"icon",{open:a.value})]),key:"0"}:void 0]),1032,["active","aria-expanded","disabled","icon","indent","selected"]),e.discrete?((0,n.uX)(),(0,n.Wv)(w,{key:0,open:a.value,selected:e.selected,onClick:d},{default:(0,n.k6)(()=>[(0,n.RG)(t.$slots,"toggle",{open:a.value},()=>[(0,n.bF)(k,{open:a.value},{label:(0,n.k6)(()=>
200[(0,n.eW)((0,o.v_)(a.value?"Close":"Open")+" ",1),(0,n.RG)(t.$slots,"default",{open:a.value})]),_:3},8,["open"])])]),_:3},8,["open","selected"])):(0,n.Q3)("",!0)]),(0,n.RG)(t.$slots,"after",{open:a.value})]),a.value?((0,n.uX)(),(0,n.CE)("ul",P,[e.loading?((0,n.uX)(),(0,n.Wv)(R,{key:0})):(0,n.RG)(t.$slots,"items",{open:a.value},void 0,void 0,1)])):(0,n.Q3)("",!0)]),_:3},16))}}),_=Symbol(),j=(0,n.pM)({inheritAttrs:!1,__name:"ScalarSidebarItems",props:{is:{default:"ul"}},setup(e){let t,a,{open:s}=(t=(0,l.Gc)(new Set),a=(0,n.EW)(()=>{for(let e of t)if(e())return!0;return!1}),(0,n.Gt)(_,t),{open:a}),{cx:i}=(0,r.AX)();return(t,a)=>((0,n.uX)(),(0,n.Wv)((0,n.$y)(e.is),(0,o._B)((0,n.Ng)((0,l.R1)(i)("group/items relative flex flex-col p-(--scalar-sidebar-padding) gap-px transition-transform duration-300",(0,l.R1)(s)?"-translate-x-full":"translate-x-0"))),{default:(0,n.k6)(()=>[(0,n.RG)(t.$slots,"default")]),_:3},16))}}),Q=(0,n.pM)({inheritAttrs:!1,__name:"ScalarSidebarSpacer",props:{indent:{default:0}},setup(e){let{cx:t}=(0,r.AX)();return(a,r)=>((0,n.uX)(),(0,n.CE)("div",(0,o._B)((0,n.Ng)((0,l.R1)(t)("flex px-2 h-1"))),[(0,n.bF)(u,{indent:e.indent},null,8,["indent"])],16))}}),L=a(56942);a(67065);var M=a(94361),Z={key:0},U={key:1},X={key:2},I={key:3},B={key:4},q={key:5},W=a(44419),D={class:"flex-1 text-start leading-none"},N={key:0,class:"uppercase text-sidebar-c-2 leading-none py-1 px-1.25 rounded text-xs font-medium border"},V={class:"sr-only"},F={dir:"ltr"},z=(0,n.pM)({inheritAttrs:!1,__name:"ScalarSidebarSearchButton",props:{shortcutLabel:{default:"Keyboard Shortcut:"}},setup(e){let{cx:t}=(0,r.AX)();return(a,r)=>((0,n.uX)(),(0,n.CE)("button",(0,n.v6)({type:"button"},(0,l.R1)(t)("flex items-center rounded border text-base h-8 gap-1 pl-2 pr-1","bg-sidebar-b-search border-sidebar-border-search text-sidebar-c-search")),[(0,n.bF)((0,l.R1)(W.A),{"aria-hidden":"true",class:"size-4"}),(0,n.Lk)("span",D,[(0,n.RG)(a.$slots,"default",{},()=>[r[0]||(r[0]=(0,n.eW)("Search...",-1))])]),a.$slots.shortcut?((0,n.uX)(),(0,n.CE)("span",N,[(0,n.Lk)("span",V,(0,o.v_)(e.shortcutLabel),1),(0,n.Lk)("kbd",F,[(0,n.RG)(a.$slots,"shortcut")])])):(0,n.Q3)("",!0)],16))}}),H=a(90003),Y=a(41097),G=a(8544),K=["aria-label"],J=(0,n.pM)({inheritAttrs:!1,__name:"ScalarSidebarSearchInput",props:(0,n.zz)({autofocus:{type:Boolean},loader:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,l.KR)(null),a=(0,n.fn)(e,"modelValue");function s(){a.value="",t.value&&t.value.focus()}let{stylingAttrsCx:i,otherAttrs:c}=(0,r.AX)();return(0,n.sV)(()=>e.autofocus&&t.value?.focus()),(r,u)=>((0,n.uX)(),(0,n.CE)("label",(0,o._B)((0,n.Ng)((0,l.R1)(i)("flex items-center rounded border text-base has-[:focus-visible]:bg-sidebar-b-1 has-[:focus-visible]:outline h-8 gap-1 pl-2 pr-1.5","bg-sidebar-b-search border-sidebar-border-search",a.value?"text-sidebar-c-1":"text-sidebar-c-search"))),[(0,n.bF)((0,l.R1)(W.A),{class:"text-sidebar-c-search size-4"}),(0,n.bo)((0,n.Lk)("input",(0,n.v6)({ref_key:"inputRef",ref:t,"onUpdate:modelValue":u[0]||(u[0]=e=>a.value=e),"aria-label":e.label??"Enter search query",autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:"flex-1 appearance-none rounded border-none bg-transparent outline-none",placeholder:"Search...",spellcheck:"false",type:"search"},(0,l.R1)(c)),null,16,K),[[L.Jo,a.value]]),e.loader&&e.loader.isActive?((0,n.uX)(),(0,n.Wv)((0,l.R1)(H.A),{key:0,class:"mr-3 self-center",loader:e.loader,size:"md"},null,8,["loader"])):a.value?((0,n.uX)(),(0,n.Wv)((0,l.R1)(Y.A),{key:1,class:"p-px size-4",icon:(0,l.R1)(G.A),label:"Clear Search",weight:"bold",onClick:(0,L.D$)(s,["stop","prevent"])},null,8,["icon"])):(0,n.Q3)("",!0)],16))}}),ee={class:"flex flex-col gap-px"},et=(0,n.pM)({inheritAttrs:!1,__name:"ScalarSidebarSection",props:{is:{default:"li"},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},loading:{type:Boolean}},setup(e){let{level:t}=$({increment:!1}),{cx:a}=(0,r.AX)();return(r,s)=>((0,n.uX)(),(0,n.Wv)((0,n.$y)(e.is),(0,o._B)((0,n.Ng)((0,l.R1)(a)("group/item group/sidebar-section contents"))),{default:(0,n.k6)(()=>[(0,n.bF)(Q,{class:"group/spacer-before h-3",indent:(0,l.R1)(t)},null,8,["indent"]),r.$slots.default?((0,n.uX)(),(0,n.Wv)(h,{key:0,is:"div",class:"text-sm/4 py-1.75 font-bold",disabled:"",icon:e.icon,indent:(0,l.R1)(t)},{default:(0,n.k6)(()=>[(0,n.RG)(r.$slots,"default")]),_:3},8,["icon","indent"])):(0,n.Q3)("",!0),(0,n.Lk)("ul",ee,[e.loading?((0,n.uX)(),(0,n.Wv)(R,{key:0})):(0,n.RG)(r.$slots,"items",{},void 0,void 0,1)]),(0,n.bF)(Q,{class:"group/spacer-after h-3",indent:(0,l.R1)(t)},null,8,["indent"])]),_:3},16))}})},76696:(e,t,a)=>{"use strict";function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===u(e)}function n(e){return null==e?"":function(e){if("string"==typeof e)return e;if("bigint"==typeof e)return e.toString();let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}function o(e){return"string"==typeof e}function l(e){return"number"==typeof e}function s(e){return"object"==typeof e}function i(e){return null!=e}function c(e){return!e.trim().length}
200function u(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}a.d(t,{A:()=>z});let d="Invalid doc index: must be a non-negative integer within the bounds of the docs array",p=Object.prototype.hasOwnProperty;var m=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let a=h(e);this._keys.push(a),this._keyMap[a.id]=a,t+=a.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function h(e){let t=null,a=null,n=null,l=1,s=null;if(o(e)||r(e))n=e,t=f(e),a=g(e);else{if(!p.call(e,"name"))throw Error("Missing name property in key");let r=e.name;if(n=r,p.call(e,"weight")&&void 0!==e.weight&&(l=e.weight)<=0){let e;throw Error((e=g(r),`Property 'weight' in key '${e}' must be a positive integer`))}t=f(r),a=g(r),s=e.getFn??null}return{path:t,id:a,weight:l,src:n,getFn:s}}function f(e){return r(e)?e:e.split(".")}function g(e){return r(e)?e.join("."):e}let v=Object.freeze({isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:"any",getFn:function(e,t){let a=[],c=!1,d=(e,t,p,m)=>{if(i(e))if(t[p]){var h,f;let g=e[t[p]];if(!i(g))return;if(p===t.length-1&&(o(g)||l(g)||!0===(h=g)||!1===h||s(f=h)&&null!==f&&"[object Boolean]"==u(h)||"bigint"==typeof g))a.push(void 0!==m?{v:n(g),i:m}:n(g));else if(r(g)){c=!0;for(let e=0,a=g.length;e<a;e+=1)d(g[e],t,p+1,e)}else t.length&&d(g,t,p+1,m)}else a.push(void 0!==m?{v:e,i:m}:e)};return d(e,o(t)?t.split("."):t,0),c?a:a[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1});var y=class{constructor({getFn:e=v.getFn,fieldNormWeight:t=v.fieldNormWeight}={}){this.norm=function(e=1,t=3){let a=new Map,r=Math.pow(10,t);return{get(t){let n=0,o=!1;for(let e=0;e<t.length;e++){var l;(l=t.charCodeAt(e))>=9&&l<=13||32===l||160===l?o=!1:o||(n++,o=!0)}if(0===n&&(n=1),a.has(n))return a.get(n);let s=Math.round(r/Math.pow(n,.5*e))/r;return a.set(n,s),s},clear(){a.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){if(this.isCreated||!this.docs.length)return;this.isCreated=!0;let e=this.docs.length;this.records=Array(e);let t=0;if(o(this.docs[0]))for(let a=0;a<e;a++){let e=this._createStringRecord(this.docs[a],a);e&&(this.records[t++]=e)}else for(let a=0;a<e;a++)this.records[t++]=this._createObjectRecord(this.docs[a],a);this.records.length=t,this.norm.clear()}add(e,t){if(!Number.isInteger(t)||t<0)throw Error(d);if(o(e)){let a=this._createStringRecord(e,t);return a&&this.records.push(a),a}let a=this._createObjectRecord(e,t);return this.records.push(a),a}removeAt(e){if(!Number.isInteger(e)||e<0)throw Error(d);for(let t=0,a=this.records.length;t<a;t+=1)if(this.records[t].i===e){this.records.splice(t,1);break}for(let t=0,a=this.records.length;t<a;t+=1)this.records[t].i>e&&(this.records[t].i-=1)}removeAll(e){let t=new Set;for(let a of e)Number.isInteger(a)&&a>=0&&t.add(a);if(0===t.size)return;this.records=this.records.filter(e=>!t.has(e.i));let a=Array.from(t).sort((e,t)=>e-t);for(let e of this.records){let t=0,r=a.length;for(;t<r;){let n=t+r>>>1;a[n]<e.i?t=n+1:r=n}e.i-=t}}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_createStringRecord(e,t){return!i(e)||c(e)?null:{v:e,i:t,n:this.norm.get(e)}}_createObjectRecord(e,t){let a={i:t,$:{}};for(let t=0,l=this.keys.length;t<l;t++){let l=this.keys[t],s=l.getFn?l.getFn(e):this.getFn(e,l.path);if(i(s)){if(r(s)){let e=[];for(let t=0,a=s.length;t<a;t+=1){let a=s[t];if(i(a)){if(o(a)){if(!c(a)){let r={v:a,i:t,n:this.norm.get(a)};e.push(r)}}else if(i(a.v)){let t=o(a.v)?a.v:n(a.v);if(!c(t)){let r={v:t,i:a.i,n:this.norm.get(t)};e.push(r)}}}}a.$[t]=e}else if(o(s)&&!c(s)){let e={v:s,n:this.norm.get(s)};a.$[t]=e}}}return a}toJSON(){return{keys:this.keys.map(({getFn:e,...t})=>t),records:this.records}}};function b(e,t,{getFn:a=v.getFn,fieldNormWeight:r=v.fieldNormWeight}={}){let n=new y({getFn:a,fieldNormWeight:r});return n.setKeys(e.map(h)),n.setSources(t),n.create(),n}function O(e){if(e.length<=1)return e;e.sort((e,t)=>
200e[0]-t[0]||e[1]-t[1]);let t=[e[0]];for(let a=1,r=e.length;a<r;a+=1){let r=t[t.length-1],n=e[a];n[0]<=r[1]+1?r[1]=Math.max(r[1],n[1]):t.push(n)}return t}let k={ł:"l",Ł:"L",đ:"d",Đ:"D",ø:"o",Ø:"O",ħ:"h",Ħ:"H",ŧ:"t",Ŧ:"T",ı:"i",ß:"ss"},x=RegExp("["+Object.keys(k).join("")+"]","g"),w="function"==typeof String.prototype.normalize?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"").replace(x,e=>k[e]):e=>e;var S=class{constructor(e,{location:t=v.location,threshold:a=v.threshold,distance:r=v.distance,includeMatches:n=v.includeMatches,findAllMatches:o=v.findAllMatches,minMatchCharLength:l=v.minMatchCharLength,isCaseSensitive:s=v.isCaseSensitive,ignoreDiacritics:i=v.ignoreDiacritics,ignoreLocation:c=v.ignoreLocation}={}){if(this.options={location:t,threshold:a,distance:r,includeMatches:n,findAllMatches:o,minMatchCharLength:l,isCaseSensitive:s,ignoreDiacritics:i,ignoreLocation:c},e=s?e:e.toLowerCase(),e=i?w(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const u=(e,t)=>{this.chunks.push({pattern:e,alphabet:function(e){let t={};for(let a=0,r=e.length;a<r;a+=1){let n=e.charAt(a);t[n]=(t[n]||0)|1<<r-a-1}return t}(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0;const t=d%32,a=d-t;for(;e<a;)u(this.pattern.substr(e,32),e),e+=32;if(t){const e=d-32;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:a,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=a?w(e):e,this.pattern===e){if(e.length<this.options.minMatchCharLength)return{isMatch:!1,score:1};let t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}let{location:n,distance:o,threshold:l,findAllMatches:s,minMatchCharLength:i,ignoreLocation:c}=this.options,u=[],d=0,p=!1;this.chunks.forEach(({pattern:t,alphabet:a,startIndex:m})=>{let{isMatch:h,score:f,indices:g}=function(e,t,a,{location:r=v.location,distance:n=v.distance,threshold:o=v.threshold,findAllMatches:l=v.findAllMatches,minMatchCharLength:s=v.minMatchCharLength,includeMatches:i=v.includeMatches,ignoreLocation:c=v.ignoreLocation}={}){let u;if(t.length>32)throw Error("Pattern length exceeds max of 32.");let d=t.length,p=e.length,m=Math.max(0,Math.min(r,p)),h=o,f=m,g=(e,t)=>{let a=e/d;if(c)return a;let r=Math.abs(m-t);return n?a+r/n:r?1:a},y=s>1||i,b=y?Array(p):[];for(;(u=e.indexOf(t,f))>-1;)if(h=Math.min(g(0,u),h),f=u+d,y){let e=0;for(;e<d;)b[u+e]=1,e+=1}f=-1;let O=[],k=1,x=0,w=d+p,S=1<<d-1;for(let t=0;t<d;t+=1){let r=0,n=w;for(;r<n;)g(t,m+n)<=h?r=n:w=n,n=Math.floor((w-r)/2+r);w=n;let o=Math.max(1,m-n+1),s=l?p:Math.min(m+n,p)+d,i=Array(s+2);i[s+1]=(1<<t)-1;for(let r=s;r>=o;r-=1){let n=r-1,l=a[e[n]];if(i[r]=(i[r+1]<<1|1)&l,t&&(i[r]|=(O[r+1]|O[r])<<1|1|O[r+1]),i[r]&S&&(k=g(t,n))<=h){if(h=k,f=n,x=t,f<=m)break;o=Math.max(1,2*m-f)}}if(g(t+1,m)>h)break;O=i}if(y&&f>=0){let t=Math.min(p-1,f+d-1+x);for(let r=f;r<=t;r+=1)a[e[r]]&&(b[r]=1)}let C={isMatch:f>=0,score:Math.max(.001,k)};if(y){let e=function(e=[],t=v.minMatchCharLength){let a=[],r=-1,n=-1,o=0;for(let l=e.length;o<l;o+=1){let l=e[o];l&&-1===r?r=o:l||-1===r||((n=o-1)-r+1>=t&&a.push([r,n]),r=-1)}return e[o-1]&&o-r>=t&&a.push([r,o-1]),a}(b,s);
200e.length?i&&(C.indices=e):C.isMatch=!1}return C}(e,t,a,{location:n+m,distance:o,threshold:l,findAllMatches:s,minMatchCharLength:i,includeMatches:r,ignoreLocation:c});h&&(p=!0),d+=f,h&&g&&u.push(...g)});let m={isMatch:p,score:p?d/this.chunks.length:1};return p&&r&&(m.indices=O(u)),m}};let C=new Set(["fuzzy","include"]),$=[{type:"exact",multiRegex:/^="(.*)"$/,singleRegex:/^=(.*)$/,create:e=>({type:"exact",search(t){let a=t===e;return{isMatch:a,score:+!a,indices:[0,e.length-1]}}})},{type:"include",multiRegex:/^'"(.*)"$/,singleRegex:/^'(.*)$/,create:e=>({type:"include",search(t){let a,r=0,n=[],o=e.length;for(;(a=t.indexOf(e,r))>-1;)r=a+o,n.push([a,r-1]);let l=!!n.length;return{isMatch:l,score:+!l,indices:n}}})},{type:"prefix-exact",multiRegex:/^\^"(.*)"$/,singleRegex:/^\^(.*)$/,create:e=>({type:"prefix-exact",search(t){let a=t.startsWith(e);return{isMatch:a,score:+!a,indices:[0,e.length-1]}}})},{type:"inverse-prefix-exact",multiRegex:/^!\^"(.*)"$/,singleRegex:/^!\^(.*)$/,create:e=>({type:"inverse-prefix-exact",search(t){let a=!t.startsWith(e);return{isMatch:a,score:+!a,indices:[0,t.length-1]}}})},{type:"inverse-suffix-exact",multiRegex:/^!"(.*)"\$$/,singleRegex:/^!(.*)\$$/,create:e=>({type:"inverse-suffix-exact",search(t){let a=!t.endsWith(e);return{isMatch:a,score:+!a,indices:[0,t.length-1]}}})},{type:"suffix-exact",multiRegex:/^"(.*)"\$$/,singleRegex:/^(.*)\$$/,create:e=>({type:"suffix-exact",search(t){let a=t.endsWith(e);return{isMatch:a,score:+!a,indices:[t.length-e.length,t.length-1]}}})},{type:"inverse-exact",multiRegex:/^!"(.*)"$/,singleRegex:/^!(.*)$/,create:e=>({type:"inverse-exact",search(t){let a=-1===t.indexOf(e);return{isMatch:a,score:+!a,indices:[0,t.length-1]}}})},{type:"fuzzy",multiRegex:/^"(.*)"$/,singleRegex:/^(.*)$/,create:(e,t={})=>{let a=new S(e,{location:t.location??v.location,threshold:t.threshold??v.threshold,distance:t.distance??v.distance,includeMatches:t.includeMatches??v.includeMatches,findAllMatches:t.findAllMatches??v.findAllMatches,minMatchCharLength:t.minMatchCharLength??v.minMatchCharLength,isCaseSensitive:t.isCaseSensitive??v.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics??v.ignoreDiacritics,ignoreLocation:t.ignoreLocation??v.ignoreLocation});return{type:"fuzzy",search:e=>a.searchIn(e)}}}],A=$.length;function R(e,t){let a=e.match(t);return a?a[1]:null}var E=class{constructor(e,{isCaseSensitive:t=v.isCaseSensitive,ignoreDiacritics:a=v.ignoreDiacritics,includeMatches:r=v.includeMatches,minMatchCharLength:n=v.minMatchCharLength,ignoreLocation:o=v.ignoreLocation,findAllMatches:l=v.findAllMatches,location:s=v.location,threshold:i=v.threshold,distance:c=v.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:a,includeMatches:r,minMatchCharLength:n,findAllMatches:l,ignoreLocation:o,location:s,threshold:i,distance:c},e=t?e:e.toLowerCase(),e=a?w(e):e,this.pattern=e,this.query=function(e,t={}){return e.replace(/\\\|/g,"\0").split("|").map(e=>{let a=(function(e){let t=[],a=e.length,r=0;for(;r<a;){for(;r<a&&" "===e[r];)r++;if(r>=a)break;let n=r;for(;n<a&&" "!==e[n]&&'"'!==e[n];)n++;if(n<a&&'"'===e[n]){for(n++;n<a;){if('"'===e[n]){let t=n+1;if(t>=a||" "===e[t]){n++;break}if("$"===e[t]&&(t+1>=a||" "===e[t+1])){n+=2;break}}n++}t.push(e.substring(r,n)),r=n}else{for(;n<a&&" "!==e[n];)n++;t.push(e.substring(r,n)),r=n}}return t})(e.replace(/\u0000/g,"|").trim()).filter(e=>e&&!!e.trim()),r=[];for(let e=0,n=a.length;e<n;e+=1){let n=a[e],o=!1,l=-1;for(;!o&&++l<A;){let e=$[l],a=R(n,e.multiRegex);a&&(r.push(e.create(a,t)),o=!0)}if(!o)for(l=-1;++l<A;){let e=$[l],a=R(n,e.singleRegex);if(a){r.push(e.create(a,t));break}}}return r})}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:a,isCaseSensitive:r,ignoreDiacritics:n}=this.options;e=r?e:e.toLowerCase(),e=n?w(e):e;let o=0,l=[],s=0,i=!1;for(let r=0,n=t.length;r<n;r+=1){let n=t[r];l.length=0,o=0,i=!1;for(let t=0,r=n.length;t<r;t+=1){let r=n[t],{isMatch:c,indices:u,score:d}=r.search(e);if(c)o+=1,s+=d,r.type.startsWith("inverse")&&(i=!0),a&&(C.has(r.type)?l.push(...u):l.push(u));else{s=0,o=0,l.length=0,i=!1;break}}
200if(o){let e={isMatch:!0,score:s/o};return i&&(e.hasInverse=!0),a&&(e.indices=O(l)),e}}return{isMatch:!1,score:1}}};let P=[];function T(...e){P.push(...e)}function _(e,t){for(let a=0,r=P.length;a<r;a+=1){let r=P[a];if(r.condition(e,t))return new r(e,t)}return new S(e,t)}let j="$and",Q="$path",L=e=>!!(e[j]||e.$or),M=e=>({[j]:Object.keys(e).map(t=>({[t]:e[t]}))});function Z(e,t,{auto:a=!0}={}){let n=e=>{if(o(e)){let r={keyId:null,pattern:e};return a&&(r.searcher=_(e,t)),r}let l=Object.keys(e),i=!!e[Q];if(!i&&l.length>1&&!L(e))return n(M(e));if(!r(e)&&s(e)&&!L(e)){let r=i?e[Q]:l[0],n=i?e.$val:e[r];if(!o(n))throw Error(`Invalid value for key ${r}`);let s={keyId:g(r),pattern:n};return a&&(s.searcher=_(n,t)),s}let c={children:[],operator:l[0]};return l.forEach(t=>{let a=e[t];r(a)&&a.forEach(e=>{c.children.push(n(e))})}),c};return L(e)||(e=M(e)),n(e)}function U(e,{ignoreFieldNorm:t=v.ignoreFieldNorm}){let a=1;return e.forEach(({key:e,norm:r,score:n})=>{let o=e?e.weight:null;a*=Math.pow(0===n&&o?Number.EPSILON:n,(o||1)*(t?1:r))}),a}var X=class{constructor(e,t){this.limit=e,this.heap=[],this.comparator=t}get size(){return this.heap.length}insert(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):0>this.comparator(e,this.heap[0])&&(this.heap[0]=e,this._sinkDown(0))}extractSorted(){return this.heap.sort(this.comparator)}_bubbleUp(e){let t=this.heap;for(;e>0;){let a=e-1>>1;if(0>=this.comparator(t[e],t[a]))break;let r=t[e];t[e]=t[a],t[a]=r,e=a}}_sinkDown(e){let t=this.heap,a=t.length,r=e;do{let n=2*(e=r)+1,o=2*e+2;if(n<a&&this.comparator(t[n],t[r])>0&&(r=n),o<a&&this.comparator(t[o],t[r])>0&&(r=o),r!==e){let a=t[e];t[e]=t[r],t[r]=a}}while(r!==e)}};let I=/[\p{L}\p{M}\p{N}_]+/gu,B=new WeakSet;function q({isCaseSensitive:e=!1,ignoreDiacritics:t=!1,tokenize:a}={}){let r=function(e){if("function"==typeof e){let t=!1;return a=>{let r=e(a);if(!t&&(t=!0,!Array.isArray(r)||r.some(e=>"string"!=typeof e)))throw Error(`[Fuse] tokenize function must return string[]; received ${Array.isArray(r)?"array containing non-strings":typeof r}.`);return r}}if(e instanceof RegExp)return!e.global&&(B.has(e)||(B.add(e),console.warn(`[Fuse] tokenize regex ${e} lacks the global flag; only the first match per text will be returned. Add the 'g' flag.`))),t=>t.match(e)||[];return e=>e.match(I)||[]}(a);return{tokenize:a=>(e||(a=a.toLowerCase()),t&&(a=w(a)),r(a))}}var W=class{static condition(e,t){return t.useTokenSearch}constructor(e,t){this.options=t,this.analyzer=q({isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,tokenize:t.tokenize});const a=this.analyzer.tokenize(e),{df:r,fieldCount:n}=t._invertedIndex;for(const e of(this.termSearchers=[],this.idfWeights=[],a)){this.termSearchers.push(new S(e,{location:t.location,threshold:t.threshold,distance:t.distance,includeMatches:t.includeMatches,findAllMatches:t.findAllMatches,minMatchCharLength:t.minMatchCharLength,isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,ignoreLocation:!0}));const a=r.get(e)||0,o=Math.log(1+(n-a+.5)/(a+.5));this.idfWeights.push(o)}this.combineAll="all"===t.tokenMatch,this.numTerms=this.termSearchers.length,this.useMask=this.numTerms<=31}searchIn(e){if(!this.termSearchers.length)return{isMatch:!1,score:1};let t=[],a=0,r=0,n=0,o=0,l=this.combineAll&&!this.useMask?new Set:null;for(let s=0;s<this.termSearchers.length;s++){let i=this.termSearchers[s].searchIn(e),c=this.idfWeights[s];r+=c,i.isMatch&&(n++,a+=c*(1-i.score),i.indices&&t.push(...i.indices),this.combineAll&&(this.useMask?o|=1<<s:l.add(s)))}if(0===n)return{isMatch:!1,score:1};let s={isMatch:!0,score:Math.max(.001,r>0?1-a/r:0)};return this.options.includeMatches&&t.length&&(s.indices=O(t)),this.combineAll&&(this.useMask?s.matchedMask=o:s.matchedTerms=l,s.termCount=this.numTerms),s}};function D(e,t,a,r){let n=r.tokenize(t);if(!n.length)return;e.fieldCount++,e.docFieldCount.set(a,(e.docFieldCount.get(a)||0)+1);let o=new Set(n),l=e.docTermFieldHits.get(a);for(let t of(l||(l=new Map,e.docTermFieldHits.set(a,l)),o))l.set(t,(l.get(t)||0)+1),e.df.set(t,(e.df.get(t)||0)+1)}function N(e,t,a,r){let{i:n,v:o,$:l}=t;if(void 0!==o)return void D(e,o,n,r);if(l)for(let t=0;t<a;t++){let a=l[t];if(a)if(Array.isArray(a))for(let t of a)D(e,t.v,n,r);
200else D(e,a.v,n,r)}}function V(e,t){if(0===t.length)return;let a=Array.from(new Set(t)).sort((e,t)=>e-t);for(let t of a)!function(e,t){let a=e.docFieldCount.get(t);if(void 0===a)return;e.fieldCount-=a,e.docFieldCount.delete(t);let r=e.docTermFieldHits.get(t);if(r){for(let[t,a]of r){let r=(e.df.get(t)||0)-a;r<=0?e.df.delete(t):e.df.set(t,r)}e.docTermFieldHits.delete(t)}}(e,t);let r=e=>{let t=0,r=a.length;for(;t<r;){let n=t+r>>>1;a[n]<e?t=n+1:r=n}return e-t},n=a[0],o=new Map;for(let[t,a]of e.docFieldCount)o.set(t>n?r(t):t,a);e.docFieldCount=o;let l=new Map;for(let[t,a]of e.docTermFieldHits)l.set(t>n?r(t):t,a);e.docTermFieldHits=l}var F=class{constructor(e,t,a){this.options={...v,...t},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new m(this.options.keys),this._docs=e,this._myIndex=null,this._invertedIndex=null,this.setCollection(e,a),this._lastQuery=null,this._lastSearcher=null}_getSearcher(e){if(this._lastQuery===e)return this._lastSearcher;let t=_(e,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=e,this._lastSearcher=t,t}setCollection(e,t){if(this._docs=e,t&&!(t instanceof y))throw Error("Incorrect 'index' type");if(this._myIndex=t||b(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){let e=q({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=function(e,t,a){let r={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(let n of e)N(r,n,t,a);return r}(this._myIndex.records,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}add(e){if(!i(e))return;this._docs.push(e);let t=this._myIndex.add(e,this._docs.length-1);if(this._invertedIndex&&t){var a;let e=q({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});a=this._invertedIndex,N(a,t,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}remove(e=()=>!1){let t=[],a=[];for(let r=0,n=this._docs.length;r<n;r+=1)e(this._docs[r],r)&&(t.push(this._docs[r]),a.push(r));if(a.length){this._invertedIndex&&V(this._invertedIndex,a);let e=new Set(a);this._docs=this._docs.filter((t,a)=>!e.has(a)),this._myIndex.removeAll(a),this._invalidateSearcherCache()}return t}removeAt(e){if(!Number.isInteger(e)||e<0||e>=this._docs.length)throw Error(d);this._invertedIndex&&V(this._invertedIndex,[e]);let t=this._docs.splice(e,1)[0];return this._myIndex.removeAt(e),this._invalidateSearcherCache(),t}_invalidateSearcherCache(){this._lastQuery=null,this._lastSearcher=null}getIndex(){return this._myIndex}_normalizedKeys(){return this._myIndex.keys.map(e=>this._keyStore.get(e.id)||e)}search(e,t){let a,{limit:r=-1}=t||{},{includeMatches:n,includeScore:s,shouldSort:c,sortFn:u,ignoreFieldNorm:d}=this.options;if(o(e)&&!e.trim()){let e=this._docs.map((e,t)=>({item:e,refIndex:t}));return l(r)&&r>-1&&(e=e.slice(0,r)),e}let p=c&&l(r)&&r>0&&o(e),m=(e,t)=>u(e,t)||e.idx-t.idx;if(p){let t=new X(r,m);o(this._docs[0])?this._searchStringList(e,{heap:t,ignoreFieldNorm:d}):this._searchObjectList(e,{heap:t,ignoreFieldNorm:d}),a=t.extractSorted()}else!function(e,{ignoreFieldNorm:t=v.ignoreFieldNorm}){e.forEach(e=>{e.score=U(e.matches,{ignoreFieldNorm:t})})}(a=o(e)?o(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),{ignoreFieldNorm:d}),c&&a.sort(o(e)?m:u),l(r)&&r>-1&&(a=a.slice(0,r));return function(e,t,{includeMatches:a=v.includeMatches,includeScore:r=v.includeScore}={}){return e.map(e=>{let n,{idx:o}=e,l={item:t[o],refIndex:o};return a&&(n=[],e.matches.forEach(e=>{if(!i(e.indices)||!e.indices.length)return;let t={indices:e.indices,value:e.value};e.key&&(t.key=e.key.id),e.idx>-1&&(t.refIndex=e.idx),n.push(t)}),l.matches=n),r&&(l.score=e.score),l})}(a,this._docs,{includeMatches:n,includeScore:s})}_searchStringList(e,{heap:t,ignoreFieldNorm:a}={}){let r=this._getSearcher(e),n=this.options.useTokenSearch&&"all"===this.options.tokenMatch,{records:o}=this._myIndex,l=t?null:[];return o.forEach(({v:e,i:o,n:s})=>{if(!i(e))return;let c=r.searchIn(e);if(c.isMatch){let r={score:c.score,value:e,norm:s,indices:c.indices};n&&(r.matchedMask=c.matchedMask,r.matchedTerms=c.matchedTerms,r.termCount=c.termCount);let i=[r];if(!n||this._coversAllTokens(i)){let r={item:e,idx:o,matches:i};t?(r.score=U(r.matches,{ignoreFieldNorm:a}),t.insert(r)):l.push(r)}}}),l}_searchLogical(e){let t=Z(e,this.options),a=this._normalizedKeys(),r=(e,t,n)=>{if(!("children"in e)){let r,{keyId:o,searcher:l}=e;return(null===o?(r=[],a.forEach((e,a)=>{r.push(...this._findMatches({key:e,value:t[a],searcher:l}))})):r=this._findMatches({key:this._keyStore.get(o),value:this._myIndex.getValueForItemAtKeyId(t,o),searcher:l}),r&&r.length)?[{idx:n,item:t,matches:r}]:[]}let{children:o,operator:l}=e,s=[];for(let e=0,a=o.length;e<a;e+=1){let a=r(o[e],t,n);if(a.length)s.push(...a);else if(l===j)return[]}return s},n=this._myIndex.records,o=new Map,l=[];
200return n.forEach(({$:e,i:a})=>{if(i(e)){let n=r(t,e,a);n.length&&(o.has(a)||(o.set(a,{idx:a,item:e,matches:[]}),l.push(o.get(a))),n.forEach(({matches:e})=>{o.get(a).matches.push(...e)}))}}),l}_searchObjectList(e,{heap:t,ignoreFieldNorm:a}={}){let r=this._getSearcher(e),n=this.options.useTokenSearch&&"all"===this.options.tokenMatch,{records:o}=this._myIndex,l=this._normalizedKeys(),s=t?null:[];return o.forEach(({$:e,i:o})=>{if(!i(e))return;let c=[],u=!1,d=!1;if(l.forEach((t,a)=>{let n=this._findMatches({key:t,value:e[a],searcher:r});n.length?(c.push(...n),n[0].hasInverse&&(d=!0)):u=!0}),(!d||!u)&&c.length&&(!n||this._coversAllTokens(c))){let r={idx:o,item:e,matches:c};t?(r.score=U(r.matches,{ignoreFieldNorm:a}),t.insert(r)):s.push(r)}}),s}_findMatches({key:e,value:t,searcher:a}){if(!i(t))return[];let n=[];if(r(t))t.forEach(({v:t,i:r,n:o})=>{if(!i(t))return;let l=a.searchIn(t);if(l.isMatch){let a={score:l.score,key:e,value:t,idx:r,norm:o,indices:l.indices,hasInverse:l.hasInverse};void 0!==l.termCount&&(a.matchedMask=l.matchedMask,a.matchedTerms=l.matchedTerms,a.termCount=l.termCount),n.push(a)}});else{let{v:r,n:o}=t,l=a.searchIn(r);if(l.isMatch){let t={score:l.score,key:e,value:r,norm:o,indices:l.indices,hasInverse:l.hasInverse};void 0!==l.termCount&&(t.matchedMask=l.matchedMask,t.matchedTerms=l.matchedTerms,t.termCount=l.termCount),n.push(t)}}return n}_coversAllTokens(e){let t=e.length?e[0].termCount:void 0;if(void 0===t)return!0;if(t<=31){let a=0;for(let t=0;t<e.length;t++)a|=e[t].matchedMask||0;return a===2**t-1}let a=new Set;for(let t=0;t<e.length;t++){let r=e[t].matchedTerms;if(r)for(let e of r)a.add(e)}return a.size===t}};F.version="7.5.0",F.createIndex=b,F.parseIndex=function(e,{getFn:t=v.getFn,fieldNormWeight:a=v.fieldNormWeight}={}){let{keys:r,records:n}=e,o=new y({getFn:t,fieldNormWeight:a});return o.setKeys(r),o.setIndexRecords(n),o},F.config=v,F.match=function(e,t,a){if(a&&a.useTokenSearch)throw Error("Fuse.match does not support useTokenSearch: token search requires corpus-level statistics (df, fieldCount) that a one-off string comparison does not have. Use new Fuse(...).search(...) instead.");return _(e,{...v,...a}).searchIn(t)},F.parseQuery=Z,T(E),T(W),F.use=function(...e){e.forEach(e=>T(e))};var z=F},77387:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r=a(38547),n=a(61930),o=a(10779),l=a(19423),s=(0,r.pM)({__name:"ScalarListboxCheckbox",props:{selected:{type:Boolean},multiselect:{type:Boolean}},setup:e=>(t,a)=>((0,r.uX)(),(0,r.CE)("div",{class:(0,n.C4)(["flex size-4 items-center justify-center p-0.75",[e.selected?"bg-c-accent text-b-1":"text-transparent shadow-border",e.multiselect?"rounded":"rounded-full"]])},[e.selected?((0,r.uX)(),(0,r.Wv)((0,o.R1)(l.A),{key:0,class:"size-3",weight:"bold"})):(0,r.Q3)("",!0)],2))})},77533:(e,t,a)=>{"use strict";let r,n;a.d(t,{B:()=>mY});var o,l,s=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a},i={en:{common:{additionalProperties:"additional properties",const:"const",deprecated:"deprecated",description:"Description",discriminator:"Discriminator",enum:"enum",format:"Format",greaterThan:"greater than",httpMethod:"HTTP Method",keys:"keys",lessThan:"less than",max:"max",min:"min",maxLength:"max length",minLength:"min length",multipleOf:"multiple of",nullable:"nullable",path:"Path",propertyNames:"property names",pattern:"Pattern",copyPattern:"Copy pattern",readOnly:"read-only",required:"required",hideValues:"Hide values",showAllValues:"Show all values",type:"Type",unique:"unique",values:"values",writeOnly:"write-only"},search:{label:"Search",inputLabel:"Enter search query",open:"Open Search",placeholder:"Search...",clear:"Clear Search",keyboardShortcut:"Keyboard Shortcut:",command:"Command",control:"Control",results:"Reference Search Results",navigate:"Navigate",select:"Select",instructions:"Press up arrow / down arrow to navigate, enter to select, type to filter results",entryHeading:"Heading",entryOperation:"Operation",entryTag:"Tag",entryTagGroup:"Tag Group",entryWebhook:"Webhook"},navigation:{introduction:"Introduction",closeGroup:"Close Group",closeMenu:"Close Menu",openGroup:"Open Group",openMenu:"Open Menu",operations:"Operations",endpoints:"{name} endpoints",showAllEndpoints:"Show all {name} endpoints",sidebarFor:"Sidebar for {name}",mainContent:"API documentation for {name}",collapsed:"Collapsed",webhooks:"Webhooks",channels:"Channels"},server:{label:"Server",select:"Select a server"},info:{termsOfService:"Terms of Service"},asyncapi:{servers:"Servers",protocols:"Protocols"},clientLibraries:{heading:"Client Libraries",more:"More",selectAll:"Select from all clients"},operation:{body:"Body",cookies:"Cookies",headers:"Headers",pathParameters:"Path Parameters",queryParameters:"Query Parameters",requestBody:"Request Body",responses:"Responses",testRequest:"Test Request",webhook:"Webhook",selectedContentType:"Selected Content Type",hideHeaders:"Hide Headers",showHeaders:"Show Headers",callbacks:"Callbacks"},response:{exampleResponses:"Example Responses",noBody:"No Body",showSchema:"Show Schema",status:"Status"},schema:{example:"Example",examples:"Examples",default:"Default",schema:"Schema",emptyObject:"Empty object",showAdditionalProperties:"Show additional properties",childAttributes:"Child Attributes",hideChildAttributes:"Hide {name}",showChildAttributes:"Show {name}",forName:"for {name}
200",showSchemaDetails:"Show Schema Details",oneOf:"One of",anyOf:"Any of",allOf:"All of",not:"Not",unknownType:"unknown type"},download:{openapi:"Download OpenAPI Document",asyncapi:"Download AsyncAPI Document"},models:{label:"Models"},actions:{copyLink:"Copy link",copyLinkTo:"Copy link to {name}",copyToClipboard:"Copy link to clipboard",copyEndpointUrl:"Copy endpoint URL",showMore:"Show More"},agent:{askAi:"Ask AI",askAiAgent:"Ask AI Agent",close:"Close Client"},mcp:{generate:"Generate MCP",connect:"Connect MCP"},developerTools:{title:"Developer Tools",configure:"Configure",share:"Share",deploy:"Deploy",scalarConfiguration:"Scalar Configuration",theme:"Theme",layout:"Layout",layoutOptions:"Layout Options",intro:"The developer tools allow you to customize the appearance and behavior of your documentation. You can also share your documentation using the Scalar Registry.",disableToolbarBefore:"To disable the toolbar, set",disableToolbarAfter:"in your configuration.",localhostOnly:"The developer tools will only appear when running on localhost.",layoutModern:"Modern",layoutClassic:"Classic",showSidebar:"Show Sidebar",defaultOpenFirstTag:"Default Open First Tag",defaultOpenAllTags:"Default Open All Tags",expandAll:"Expand All {label}",expandAllResponses:"Expand All Responses",hideClientButton:"Hide Client Button",hideDarkModeToggle:"Hide Dark Mode Toggle",hideModels:"Hide {label}",hideSearch:"Hide Search",showOperationId:"Show Operation ID",hideTestRequestButton:"Hide Test Request Button",scalarDocs:"Scalar Docs",deployDescription:"Deploy your documentation on Scalar, the modern documentation platform for your API and everything else.",shareTitle:"Share your API Reference",shareDescription:"Upload your OpenAPI document to share your API Reference with others. As easy as pressing a button.",uploadDocument:"Upload Document",temporaryLinkExpiration:"Your document will automatically be deleted after 7 days.",deployOnScalar:"Deploy on Scalar",deployFree:"Deploy your documentation for free.",additionalFeaturesMightRequire:"Additional features might require",generate:"Generate",passwordProtection:"Password Protection",customDomains:"Custom Domains",freeFormContent:"Free-form content",cdnInfrastructure:"CDN Infrastructure",pullFromGitHub:"Pull from GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Spectral Linting",jsonSchemaHosting:"JSON Schema Hosting",askAi:"Ask AI",mcpServers:"MCP Servers",unableToExportDocument:"Unable to export active document",unknownError:"An unknown error occurred"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Welcome to the Scalar API References + Swagger Editor, a Free & Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references.",showExample:"Show Example",uploadFile:"Upload File",integrations:"INTEGRATIONS",theming:"THEMING",features:"Features",customize:"Customize",customizeDescription:"Bring your typography & color palettes, or use our themes!",testing:"Testing",testingDescription:"A deeply integrated Rest API Client (Also Free & Open-Source)",search:"Search",searchDescription:"Fully integrated Search (Using fuse.js)",hosting:"Hosting",hostingDescription:"Free subdomain hosting on https://apidocumentation.com",openApiSwagger:"OpenAPI & Swagger",openApiSwaggerDescription:"Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0",codeSamples:"Code Samples",codeSamplesDescription:"Code samples to show off your API in most popular languages"},footer:{poweredByScalar:"Powered by Scalar"},authentication:{title:"Authentication",accepts:"Accepts",allOf:"all of:",authentication:"authentication",optional:"Auth Optional",oneOf:"one of:",required:"Auth Required",requires:"Requires",scopes:"OAuth scopes"}},ru:{common:{additionalProperties:"дополнительные свойства",const:"константа",deprecated:"устарело",description:"Описание",discriminator:"Дискриминатор",enum:"enum",format:"Формат",greaterThan:"больше чем",httpMethod:"HTTP-метод",keys:"ключи",lessThan:"меньше чем",max:"макс.",min:"мин.",maxLength:"макс. длина",minLength:"мин. длина",multipleOf:"кратно",nullable:"может быть null",path:"Путь",propertyNames:"имена свойств",pattern:"Шаблон",copyPattern:"Скопировать шаблон",readOnly:"только чтение",required:"обязательно",hideValues:"Скрыть значения",showAllValues:"Показать все значения",type:"Тип",unique:"уникально",values:"значения",writeOnly:"только запись"}
200,search:{label:"Поиск",inputLabel:"Введите поисковый запрос",open:"Открыть поиск",placeholder:"Поиск...",clear:"Очистить поиск",keyboardShortcut:"Сочетание клавиш:",command:"Command",control:"Control",results:"Результаты поиска по документации",navigate:"Навигация",select:"Выбрать",instructions:"Нажмите стрелку вверх или вниз для навигации, Enter для выбора, вводите текст для фильтрации результатов",entryHeading:"Заголовок",entryOperation:"Операция",entryTag:"Тег",entryTagGroup:"Группа тегов",entryWebhook:"Вебхук"},navigation:{introduction:"Введение",closeGroup:"Закрыть группу",closeMenu:"Закрыть меню",openGroup:"Открыть группу",openMenu:"Открыть меню",operations:"Операции",endpoints:"Эндпоинты {name}",showAllEndpoints:"Показать все эндпоинты {name}",sidebarFor:"Боковая панель для {name}",mainContent:"Документация API для {name}",collapsed:"Свернуто",webhooks:"Вебхуки",channels:"Каналы"},server:{label:"Сервер",select:"Выберите сервер"},info:{termsOfService:"Условия использования"},asyncapi:{servers:"Серверы",protocols:"Протоколы"},clientLibraries:{heading:"Клиентские библиотеки",more:"Ещё",selectAll:"Выбрать из всех клиентов"},operation:{body:"Тело",cookies:"Cookie",headers:"Заголовки",pathParameters:"Параметры пути",queryParameters:"Query-параметры",requestBody:"Тело запроса",responses:"Ответы",testRequest:"Проверить запрос",webhook:"Вебхук",selectedContentType:"Выбранный тип содержимого",hideHeaders:"Скрыть заголовки",showHeaders:"Показать заголовки",callbacks:"Обратные вызовы"},response:{exampleResponses:"Примеры ответов",noBody:"Нет тела",showSchema:"Показать схему",status:"Статус"},schema:{example:"Пример",examples:"Примеры",default:"Значение по умолчанию",schema:"Схема",emptyObject:"Пустой объект",showAdditionalProperties:"Показать дополнительные свойства",childAttributes:"Дочерние атрибуты",hideChildAttributes:"Скрыть {name}",showChildAttributes:"Показать {name}",forName:"для {name}",showSchemaDetails:"Показать детали схемы",oneOf:"Один из",anyOf:"Любой из",allOf:"Все из",not:"Не",unknownType:"неизвестный тип"},download:{openapi:"Скачать OpenAPI-документ",asyncapi:"Скачать AsyncAPI-документ"},models:{label:"Модели"},actions:{copyLink:"Скопировать ссылку",copyLinkTo:"Скопировать ссылку на {name}",copyToClipboard:"Скопировать ссылку в буфер обмена",copyEndpointUrl:"Скопировать URL endpoint-а",showMore:"Показать ещё"},agent:{askAi:"Спросить AI",askAiAgent:"Спросить AI-агента",close:"Закрыть клиент"},mcp:{generate:"Создать MCP",connect:"Подключить MCP"},developerTools:{title:"Инструменты разработчика",configure:"Настроить",share:"Поделиться",deploy:"Опубликовать",scalarConfiguration:"Конфигурация Scalar",theme:"Тема",layout:"Макет",layoutOptions:"Параметры макета",intro:"Инструменты разработчика позволяют настроить внешний вид и поведение документации. Также можно поделиться документацией через Scalar Registry.",disableToolbarBefore:"Чтобы отключить панель, установите",disableToolbarAfter:"в конфигурации.",localhostOnly:"Инструменты разработчика отображаются только при запуске на localhost.",layoutModern:"Современный",layoutClassic:"Классический",showSidebar:"Показать боковую панель",defaultOpenFirstTag:"Открывать первый тег по умолчанию",defaultOpenAllTags:"Открывать все теги по умолчанию",expandAll:"Развернуть все {label}",expandAllResponses:"Развернуть все ответы",hideClientButton:"Скрыть кнопку клиента",hideDarkModeToggle:"Скрыть переключатель тёмной темы",hideModels:"Скрыть {label}",hideSearch:"Скрыть поиск",showOperationId:"Показать ID операции",hideTestRequestButton:"Скрыть кнопку тестового запроса",scalarDocs:"Scalar Docs",deployDescription:"Опубликуйте док
200ументацию на Scalar — современной платформе документации для вашего API и не только.",shareTitle:"Поделиться API Reference",shareDescription:"Загрузите документ OpenAPI, чтобы поделиться API Reference с другими. Так же просто, как нажать кнопку.",uploadDocument:"Загрузить документ",temporaryLinkExpiration:"Документ будет автоматически удалён через 7 дней.",deployOnScalar:"Опубликовать на Scalar",deployFree:"Опубликуйте документацию бесплатно.",additionalFeaturesMightRequire:"Для дополнительных возможностей может потребоваться",generate:"Создать",passwordProtection:"Защита паролем",customDomains:"Пользовательские домены",freeFormContent:"Произвольный контент",cdnInfrastructure:"CDN-инфраструктура",pullFromGitHub:"Загрузка из GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Линтинг Spectral",jsonSchemaHosting:"Хостинг JSON Schema",askAi:"Спросить AI",mcpServers:"MCP-серверы",unableToExportDocument:"Не удалось экспортировать активный документ",unknownError:"Произошла неизвестная ошибка"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Добро пожаловать в Scalar API References + Swagger Editor — бесплатный инструмент с открытым исходным кодом, который принимает файл Swagger/OAS и создаёт красивые API Reference.",showExample:"Показать пример",uploadFile:"Загрузить файл",integrations:"ИНТЕГРАЦИИ",theming:"ТЕМЫ",features:"Возможности",customize:"Настройка",customizeDescription:"Используйте свою типографику и цветовые палитры или наши темы!",testing:"Тестирование",testingDescription:"Глубоко интегрированный REST API Client (тоже бесплатный и с открытым исходным кодом)",search:"Поиск",searchDescription:"Полностью интегрированный поиск (с использованием fuse.js)",hosting:"Хостинг",hostingDescription:"Бесплатный хостинг на поддомене https://apidocumentation.com",openApiSwagger:"OpenAPI и Swagger",openApiSwaggerDescription:"Поддержка OpenAPI 3.1, OpenAPI 3.0 и Swagger 2.0",codeSamples:"Примеры кода",codeSamplesDescription:"Примеры кода для демонстрации вашего API на самых популярных языках"},footer:{poweredByScalar:"Работает на Scalar"},authentication:{title:"Аутентификация",accepts:"Принимает",allOf:"все из:",authentication:"аутентификация",optional:"Аутентификация необязательна",oneOf:"одно из:",required:"Требуется аутентификация",requires:"Требуется",scopes:"Области OAuth"}},es:{common:{additionalProperties:"propiedades adicionales",const:"constante",deprecated:"obsoleto",description:"Descripci\xf3n",discriminator:"Discriminador",enum:"enum",format:"Formato",greaterThan:"mayor que",httpMethod:"M\xe9todo HTTP",keys:"claves",lessThan:"menor que",max:"m\xe1x.",min:"m\xedn.",maxLength:"longitud m\xe1x.",minLength:"longitud m\xedn.",multipleOf:"m\xfaltiplo de",nullable:"admite null",path:"Ruta",propertyNames:"nombres de propiedades",pattern:"Patr\xf3n",copyPattern:"Copiar patr\xf3n",readOnly:"solo lectura",required:"obligatorio",hideValues:"Ocultar valores",showAllValues:"Mostrar todos los valores",type:"Tipo",unique:"\xfanico",values:"valores",writeOnly:"solo escritura"},search:{label:"Buscar",inputLabel:"Introduce tu consulta de b\xfasqueda",open:"Abrir b\xfasqueda",placeholder:"Buscar...",clear:"Borrar b\xfasqueda",keyboardShortcut:"Atajo de teclado:",command:"Comando",control:"Control",results:"Resultados de b\xfasqueda de la referencia",navigate:"Navegar",select:"Seleccionar",instructions:"Pulsa flecha arriba o abajo para navegar, Enter para seleccionar y escribe para filtrar resultados",entryHeading:"Encabezado",entryOperation:"Operaci\xf3n",entryTag:"Etiqueta",entryTagGroup:"Grupo de etiquetas",entryWebhook:"Webhook"},navigation:{introduction:"Introducci\xf3n",closeGroup:"Cerrar grupo",closeMenu:"Cerrar men\xfa",openGroup:"Abrir grupo",openMenu:"Abrir men\xfa",operations:"Operaciones",endpoints:"Endpoints de {name}",showAllEndpoints:"Mostrar todos los endpoints de {name}",sidebarFor:"Barra lateral de {name}",mainContent:"Documentaci\xf3n de la API de {name}",collapsed:"Contra\xeddo",webhooks:"Webhooks",channels:"Canales"},server:{label:"Servidor",select:"Seleccionar un servidor"},info:{termsOfService:"T\xe9rminos del servicio"},asyncapi:{servers:"Servidores",protocols:"Protocolos"},clientLibraries:{heading:"Bibliotecas cliente",more:"M\xe1s",selectAll:"Seleccionar entre todos los clientes"},operation:{body:"Cuerpo",cookies:"Cookies",headers:"Encabezados",pathParameters:"Par\xe1metros de ruta",queryParameters:"Par\xe1metros de consulta",requestBody:"Cuerpo de la solicitud",responses:"Respuestas",testRequest:"Probar solicitud",webhook:"Webhook",selectedContentType:"Tipo de contenido seleccionado",hideHeaders:"Ocultar encabezados",showHeaders:"Mostrar encabezados",callbacks:"Callbacks"},response:{exampleResponses:"Ejemplos de respuesta",noBody:"Sin cuerpo",showSchema:"Mostrar esquema",status:"Estado"},schema:{example:"Ejemplo",examples:"Ejemplos",default:"Predeterminado",schema:"Esquema",emptyObject:"Objeto vac\xedo",showAdditionalProperties:"Mostrar propiedades adicionales",childAttributes:"Atributos 
200secundarios",hideChildAttributes:"Ocultar {name}",showChildAttributes:"Mostrar {name}",forName:"para {name}",showSchemaDetails:"Mostrar detalles del esquema",oneOf:"Uno de",anyOf:"Cualquiera de",allOf:"Todos de",not:"No",unknownType:"tipo desconocido"},download:{openapi:"Descargar documento OpenAPI",asyncapi:"Descargar documento AsyncAPI"},models:{label:"Modelos"},actions:{copyLink:"Copiar enlace",copyLinkTo:"Copiar enlace a {name}",copyToClipboard:"Copiar enlace al portapapeles",copyEndpointUrl:"Copiar URL del endpoint",showMore:"Mostrar m\xe1s"},agent:{askAi:"Preguntar a IA",askAiAgent:"Preguntar al agente de IA",close:"Cerrar cliente"},mcp:{generate:"Generar MCP",connect:"Conectar MCP"},developerTools:{title:"Herramientas de desarrollo",configure:"Configurar",share:"Compartir",deploy:"Desplegar",scalarConfiguration:"Configuraci\xf3n de Scalar",theme:"Tema",layout:"Dise\xf1o",layoutOptions:"Opciones de dise\xf1o",intro:"Las herramientas de desarrollo te permiten personalizar la apariencia y el comportamiento de tu documentaci\xf3n. Tambi\xe9n puedes compartir tu documentaci\xf3n con Scalar Registry.",disableToolbarBefore:"Para desactivar la barra de herramientas, configura",disableToolbarAfter:"en tu configuraci\xf3n.",localhostOnly:"Las herramientas de desarrollo solo aparecer\xe1n al ejecutarse en localhost.",layoutModern:"Moderno",layoutClassic:"Cl\xe1sico",showSidebar:"Mostrar barra lateral",defaultOpenFirstTag:"Abrir la primera etiqueta por defecto",defaultOpenAllTags:"Abrir todas las etiquetas por defecto",expandAll:"Expandir todo {label}",expandAllResponses:"Expandir todas las respuestas",hideClientButton:"Ocultar bot\xf3n del cliente",hideDarkModeToggle:"Ocultar selector de modo oscuro",hideModels:"Ocultar {label}",hideSearch:"Ocultar b\xfasqueda",showOperationId:"Mostrar ID de operaci\xf3n",hideTestRequestButton:"Ocultar bot\xf3n de solicitud de prueba",scalarDocs:"Scalar Docs",deployDescription:"Despliega tu documentaci\xf3n en Scalar, la plataforma moderna de documentaci\xf3n para tu API y mucho m\xe1s.",shareTitle:"Comparte tu API Reference",shareDescription:"Sube tu documento OpenAPI para compartir tu API Reference con otras personas. Tan f\xe1cil como pulsar un bot\xf3n.",uploadDocument:"Subir documento",temporaryLinkExpiration:"Tu documento se eliminar\xe1 autom\xe1ticamente despu\xe9s de 7 d\xedas.",deployOnScalar:"Desplegar en Scalar",deployFree:"Despliega tu documentaci\xf3n gratis.",additionalFeaturesMightRequire:"Las funciones adicionales pueden requerir",generate:"Generar",passwordProtection:"Protecci\xf3n con contrase\xf1a",customDomains:"Dominios personalizados",freeFormContent:"Contenido libre",cdnInfrastructure:"Infraestructura CDN",pullFromGitHub:"Importar desde GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Linting de Spectral",jsonSchemaHosting:"Alojamiento de JSON Schema",askAi:"Preguntar a IA",mcpServers:"Servidores MCP",unableToExportDocument:"No se pudo exportar el documento activo",unknownError:"Se produjo un error desconocido"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Bienvenido a Scalar API References + Swagger Editor, una herramienta gratuita y de c\xf3digo abierto que toma tu archivo Swagger/OAS y genera API References elegantes.",showExample:"Mostrar ejemplo",uploadFile:"Subir archivo",integrations:"INTEGRACIONES",theming:"TEMAS",features:"Funciones",customize:"Personalizar",customizeDescription:"Usa tu tipograf\xeda y paletas de colores, o nuestros temas.",testing:"Pruebas",testingDescription:"Un REST API Client profundamente integrado (tambi\xe9n gratuito y de c\xf3digo abierto)",search:"B\xfasqueda",searchDescription:"B\xfasqueda completamente integrada (con fuse.js)",hosting:"Hosting",hostingDescription:"Hosting gratuito en un subdominio de https://apidocumentation.com",openApiSwagger:"OpenAPI y Swagger",openApiSwaggerDescription:"Compatibilidad con OpenAPI 3.1, OpenAPI 3.0 y Swagger 2.0",codeSamples:"Ejemplos de c\xf3digo",codeSamplesDescription:"Ejemplos de c\xf3digo para mostrar tu API en los lenguajes m\xe1s populares"},footer:{poweredByScalar:"Desarrollado por Scalar"},authentication:{title:"Autenticaci\xf3n",accepts:"Acepta",allOf:"todo lo siguiente:",authentication:"autenticaci\xf3n",optional:"Autenticaci\xf3n opcional",oneOf:"uno de:",required:"Autenticaci\xf3n requerida",requires:"Requiere",scopes:"\xc1mbitos de OAuth"}},fr:{common:{additionalProperties:"propri\xe9t\xe9s suppl\xe9mentaires",const:"constante",deprecated:"obsol\xe8te",description:"Description",discriminator:"Discriminateur",enum:"enum",format:"Format",greaterThan:"sup\xe9rieur \xe0",httpMethod:"M\xe9thode HTTP",keys:"cl\xe9s",lessThan:"inf\xe9rieur \xe0",max:"max.",min:"min.",maxLength:"longueur max.",minLength:"longueur min.",multipleOf:"multiple de",nullable:"nullable",path:"Chemin",propertyNames:"noms des propri\xe9t\xe9s",pattern:"Motif",copyPattern:"Copier le motif",readOnly:"lecture seule",required:"obligatoire",hideValues:"Masquer les valeurs",showAllValues:"Afficher toutes les valeurs",type:"Type",unique:"unique",values:"valeurs",writeOnly:"\xe9criture seule"},search:{label:"Rechercher",inputLabel:"Saisissez votre recherche",open:"Ouvrir la recherche",placeholder:"Rechercher...",clear:"Effacer la recherche",keyboardShortcut:"Raccourci clavier :",command:"Commande",control:"Contr\xf4le",results:"R\xe9sultats de recherche de la r\xe9f\xe9rence",navigate:"Naviguer",select:"S\xe9lectionner",instructions:"Appuyez sur fl\xe8che haut ou bas pour naviguer, Entr\xe9e pour s\xe9lectionner, saisissez du texte pour filtrer les r\xe9sultats",entryHeading:"Titre",entryOperation:"Op\xe9ration",entryTag:"Balise",entryTagGroup:"Groupe de balises",entryWebhook:"Webhook"},navigation:{introduction:"Introduction",closeGroup:"Fermer le groupe",closeMenu:"Fermer le menu",openGroup:"Ouvrir le groupe",openMenu:"Ouvrir le menu",operations:"Op\xe9rations",endpoints:"Endpoints de {name}",showAllEndpoints:"Afficher tous les endpoints de {name}",sidebarFor:"Barre lat\xe9rale pour {name}",mainContent:"Documentation de l’API pour {name}",collapsed:"R\xe9duit",webhooks:"Webhooks",channels:"Canaux"},server:{label:"Serveur",select:"S\xe9lectionner un serveur"},info:{termsOfService:"Conditions d’utilisation"},asyncapi:{servers:"Serveurs",protocols:"Protocoles"},clientLibraries:{heading:"Biblioth\xe8ques clientes",more:"Plus",selectAll:"S\xe9lectionner parmi tous les clients"},operation:{body:"Corps",cookies:"Cookies",headers:"En-t\xeates",pathParameters:"Param\xe8tres de chemin",queryParameters:"Param\xe8tres de requ\xeate",requestBody:"Corps de la requ\xeate",responses:"R\xe9ponses",testRequest:"Tester la requ\xeate",webhook:"Webhook",selectedContentType:"Type de contenu s\xe9lectionn\xe9",hideHeaders:"Masquer les en-t\xeates",showHeaders:"Afficher les en-t\xeates",callbacks:"Callbacks"},response:{exampleResponses:"Exemples de r\xe9ponses",noBody:"Aucun corps",showSchema:"Afficher le sch\xe9ma",status:"Statut"},schema:{example:"Exemple",examples:"Exemples",default:"Par d\xe9faut",schema:"Sch\xe9ma",emptyObject:"Objet vide",showAdditionalProperties:"Afficher les propri\xe9t\xe9s suppl\xe9mentaires",childAttributes:"Attributs enfants",hideChildAttributes:"Masquer {name}",showChildAttributes:"Afficher {name}",forName:"pour {name}
200",showSchemaDetails:"Afficher les d\xe9tails du sch\xe9ma",oneOf:"Un parmi",anyOf:"N’importe lequel parmi",allOf:"Tous parmi",not:"Non",unknownType:"type inconnu"},download:{openapi:"T\xe9l\xe9charger le document OpenAPI",asyncapi:"T\xe9l\xe9charger le document AsyncAPI"},models:{label:"Mod\xe8les"},actions:{copyLink:"Copier le lien",copyLinkTo:"Copier le lien vers {name}",copyToClipboard:"Copier le lien dans le presse-papiers",copyEndpointUrl:"Copier l’URL de l’endpoint",showMore:"Afficher plus"},agent:{askAi:"Demander \xe0 l’IA",askAiAgent:"Demander \xe0 l’agent IA",close:"Fermer le client"},mcp:{generate:"G\xe9n\xe9rer MCP",connect:"Connecter MCP"},developerTools:{title:"Outils de d\xe9veloppement",configure:"Configurer",share:"Partager",deploy:"D\xe9ployer",scalarConfiguration:"Configuration Scalar",theme:"Th\xe8me",layout:"Mise en page",layoutOptions:"Options de mise en page",intro:"Les outils de d\xe9veloppement vous permettent de personnaliser l’apparence et le comportement de votre documentation. Vous pouvez aussi partager votre documentation avec Scalar Registry.",disableToolbarBefore:"Pour d\xe9sactiver la barre d’outils, d\xe9finissez",disableToolbarAfter:"dans votre configuration.",localhostOnly:"Les outils de d\xe9veloppement apparaissent uniquement lors d’une ex\xe9cution sur localhost.",layoutModern:"Moderne",layoutClassic:"Classique",showSidebar:"Afficher la barre lat\xe9rale",defaultOpenFirstTag:"Ouvrir le premier tag par d\xe9faut",defaultOpenAllTags:"Ouvrir tous les tags par d\xe9faut",expandAll:"Tout d\xe9velopper pour {label}",expandAllResponses:"D\xe9velopper toutes les r\xe9ponses",hideClientButton:"Masquer le bouton client",hideDarkModeToggle:"Masquer le s\xe9lecteur de mode sombre",hideModels:"Masquer {label}",hideSearch:"Masquer la recherche",showOperationId:"Afficher l’ID d’op\xe9ration",hideTestRequestButton:"Masquer le bouton de requ\xeate de test",scalarDocs:"Scalar Docs",deployDescription:"D\xe9ployez votre documentation sur Scalar, la plateforme moderne de documentation pour votre API et bien plus encore.",shareTitle:"Partager votre API Reference",shareDescription:"T\xe9l\xe9versez votre document OpenAPI pour partager votre API Reference avec d’autres personnes. Aussi simple qu’un clic.",uploadDocument:"T\xe9l\xe9verser le document",temporaryLinkExpiration:"Votre document sera automatiquement supprim\xe9 apr\xe8s 7 jours.",deployOnScalar:"D\xe9ployer sur Scalar",deployFree:"D\xe9ployez votre documentation gratuitement.",additionalFeaturesMightRequire:"Les fonctionnalit\xe9s suppl\xe9mentaires peuvent n\xe9cessiter",generate:"G\xe9n\xe9rer",passwordProtection:"Protection par mot de passe",customDomains:"Domaines personnalis\xe9s",freeFormContent:"Contenu libre",cdnInfrastructure:"Infrastructure CDN",pullFromGitHub:"Import depuis GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Linting Spectral",jsonSchemaHosting:"H\xe9bergement JSON Schema",askAi:"Demander \xe0 l’IA",mcpServers:"Serveurs MCP",unableToExportDocument:"Impossible d’exporter le document actif",unknownError:"Une erreur inconnue est survenue"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Bienvenue dans Scalar API References + Swagger Editor, un outil gratuit et open source qui transforme votre fichier Swagger/OAS en belles API References.",showExample:"Afficher l’exemple",uploadFile:"T\xe9l\xe9verser un fichier",integrations:"INT\xc9GRATIONS",theming:"TH\xc8MES",features:"Fonctionnalit\xe9s",customize:"Personnaliser",customizeDescription:"Utilisez votre typographie et vos palettes de couleurs, ou nos th\xe8mes !",testing:"Tests",testingDescription:"Un REST API Client profond\xe9ment int\xe9gr\xe9 (\xe9galement gratuit et open source)",search:"Recherche",searchDescription:"Recherche enti\xe8rement int\xe9gr\xe9e (avec fuse.js)",hosting:"H\xe9bergement",hostingDescription:"H\xe9bergement gratuit sur un sous-domaine de https://apidocumentation.com",openApiSwagger:"OpenAPI et Swagger",openApiSwaggerDescription:"Prise en charge d’OpenAPI 3.1, OpenAPI 3.0 et Swagger 2.0",codeSamples:"Exemples de code",codeSamplesDescription:"Des exemples de code pour pr\xe9senter votre API dans les langages les plus populaires"},footer:{poweredByScalar:"Propuls\xe9 par Scalar"},authentication:{title:"Authentification",accepts:"Accepte",allOf:"tous les \xe9l\xe9ments :",authentication:"authentification",optional:"Authentification optionnelle",oneOf:"l’un des \xe9l\xe9ments :",required:"Authentification requise",requires:"Requiert",scopes:"Port\xe9es OAuth"}},de:{common:{additionalProperties:"zus\xe4tzliche Eigenschaften",const:"Konstante",deprecated:"veraltet",description:"Beschreibung",discriminator:"Diskriminator",enum:"enum",format:"Format",greaterThan:"gr\xf6\xdfer als",httpMethod:"HTTP-Methode",keys:"Schl\xfcssel",lessThan:"kleiner als",max:"max.",min:"min.",maxLength:"max. L\xe4nge",minLength:"min. L\xe4nge",multipleOf:"Vielfaches von",nullable:"nullable",path:"Pfad",propertyNames:"Eigenschaftsnamen",pattern:"Muster",copyPattern:"Muster kopieren",readOnly:"nur lesbar",required:"erforderlich",hideValues:"Werte ausblenden",showAllValues:"Alle Werte anzeigen",type:"Typ",unique:"eindeutig",values:"Werte",writeOnly:"nur schreibbar"}
200,search:{label:"Suchen",inputLabel:"Suchbegriff eingeben",open:"Suche \xf6ffnen",placeholder:"Suchen...",clear:"Suche l\xf6schen",keyboardShortcut:"Tastenk\xfcrzel:",command:"Befehl",control:"Steuerung",results:"Suchergebnisse der Referenz",navigate:"Navigieren",select:"Ausw\xe4hlen",instructions:"Dr\xfccken Sie Pfeil nach oben oder unten zum Navigieren, Enter zum Ausw\xe4hlen und tippen Sie zum Filtern der Ergebnisse",entryHeading:"\xdcberschrift",entryOperation:"Operation",entryTag:"Tag",entryTagGroup:"Tag-Gruppe",entryWebhook:"Webhook"},navigation:{introduction:"Einf\xfchrung",closeGroup:"Gruppe schlie\xdfen",closeMenu:"Men\xfc schlie\xdfen",openGroup:"Gruppe \xf6ffnen",openMenu:"Men\xfc \xf6ffnen",operations:"Operationen",endpoints:"{name}-Endpunkte",showAllEndpoints:"Alle {name}-Endpunkte anzeigen",sidebarFor:"Seitenleiste f\xfcr {name}",mainContent:"API-Dokumentation f\xfcr {name}",collapsed:"Eingeklappt",webhooks:"Webhooks",channels:"Kan\xe4le"},server:{label:"Server",select:"Server ausw\xe4hlen"},info:{termsOfService:"Nutzungsbedingungen"},asyncapi:{servers:"Server",protocols:"Protokolle"},clientLibraries:{heading:"Client-Bibliotheken",more:"Mehr",selectAll:"Aus allen Clients ausw\xe4hlen"},operation:{body:"Body",cookies:"Cookies",headers:"Header",pathParameters:"Pfadparameter",queryParameters:"Query-Parameter",requestBody:"Request Body",responses:"Antworten",testRequest:"Request testen",webhook:"Webhook",selectedContentType:"Ausgew\xe4hlter Inhaltstyp",hideHeaders:"Header ausblenden",showHeaders:"Header anzeigen",callbacks:"Callbacks"},response:{exampleResponses:"Beispielantworten",noBody:"Kein Body",showSchema:"Schema anzeigen",status:"Status"},schema:{example:"Beispiel",examples:"Beispiele",default:"Standard",schema:"Schema",emptyObject:"Leeres Objekt",showAdditionalProperties:"Zus\xe4tzliche Eigenschaften anzeigen",childAttributes:"Untergeordnete Attribute",hideChildAttributes:"{name} ausblenden",showChildAttributes:"{name} anzeigen",forName:"f\xfcr {name}",showSchemaDetails:"Schema-Details anzeigen",oneOf:"Eines von",anyOf:"Beliebiges von",allOf:"Alle von",not:"Nicht",unknownType:"unbekannter Typ"},download:{openapi:"OpenAPI-Dokument herunterladen",asyncapi:"AsyncAPI-Dokument herunterladen"},models:{label:"Modelle"},actions:{copyLink:"Link kopieren",copyLinkTo:"Link zu {name} kopieren",copyToClipboard:"Link in die Zwischenablage kopieren",copyEndpointUrl:"Endpoint-URL kopieren",showMore:"Mehr anzeigen"},agent:{askAi:"KI fragen",askAiAgent:"KI-Agent fragen",close:"Client schlie\xdfen"},mcp:{generate:"MCP generieren",connect:"MCP verbinden"},developerTools:{title:"Entwicklertools",configure:"Konfigurieren",share:"Teilen",deploy:"Bereitstellen",scalarConfiguration:"Scalar-Konfiguration",theme:"Theme",layout:"Layout",layoutOptions:"Layout-Optionen",intro:"Mit den Entwicklertools kannst du das Aussehen und Verhalten deiner Dokumentation anpassen. Du kannst deine Dokumentation auch \xfcber Scalar Registry teilen.",disableToolbarBefore:"Um die Toolbar zu deaktivieren, setze",disableToolbarAfter:"in deiner Konfiguration.",localhostOnly:"Die Entwicklertools werden nur angezeigt, wenn sie auf localhost ausgef\xfchrt werden.",layoutModern:"Modern",layoutClassic:"Klassisch",showSidebar:"Seitenleiste anzeigen",defaultOpenFirstTag:"Ersten Tag standardm\xe4\xdfig \xf6ffnen",defaultOpenAllTags:"Alle Tags standardm\xe4\xdfig \xf6ffnen",expandAll:"Alle {label} erweitern",expandAllResponses:"Alle Antworten erweitern",hideClientButton:"Client-Schaltfl\xe4che ausblenden",hideDarkModeToggle:"Dark-Mode-Umschalter ausblenden",hideModels:"{label} ausblenden",hideSearch:"Suche ausblenden",showOperationId:"Operation-ID anzeigen",hideTestRequestButton:"Test-Request-Schaltfl\xe4che ausblenden",scalarDocs:"Scalar Docs",deployDescription:"Ver\xf6ffentliche deine Dokumentation auf Scalar, der modernen Dokumentationsplattform f\xfcr deine API und alles Weitere.",shareTitle:"API Reference teilen",shareDescription:"Lade dein OpenAPI-Dokument hoch, um deine API Reference mit anderen zu teilen. So einfach wie ein Klick.",uploadDocument:"Dokument hochladen",temporaryLinkExpiration:"Dein Dokument wird nach 7 Tagen automatisch gel\xf6scht.",deployOnScalar:"Auf Scalar ver\xf6ffentlichen",deployFree:"Ver\xf6ffentliche deine Dokumentation kostenlos.",additionalFeaturesMightRequire:"Zus\xe4tzliche Funktionen erfordern m\xf6glicherweise",generate:"Generieren",passwordProtection:"Passwortschutz",customDomains:"Eigene Domains",freeFormContent:"Freiform-Inhalte",cdnInfrastru
200cture:"CDN-Infrastruktur",pullFromGitHub:"Von GitHub laden",markdownMdx:"Markdown/MDX",spectralLinting:"Spectral-Linting",jsonSchemaHosting:"JSON-Schema-Hosting",askAi:"KI fragen",mcpServers:"MCP-Server",unableToExportDocument:"Aktives Dokument konnte nicht exportiert werden",unknownError:"Ein unbekannter Fehler ist aufgetreten"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Willkommen bei Scalar API References + Swagger Editor, einem kostenlosen Open-Source-Tool, das deine Swagger/OAS-Datei in sch\xf6ne API References verwandelt.",showExample:"Beispiel anzeigen",uploadFile:"Datei hochladen",integrations:"INTEGRATIONEN",theming:"THEMES",features:"Funktionen",customize:"Anpassen",customizeDescription:"Nutze deine Typografie und Farbpaletten oder unsere Themes!",testing:"Testen",testingDescription:"Ein tief integrierter REST API Client (ebenfalls kostenlos und Open Source)",search:"Suche",searchDescription:"Vollst\xe4ndig integrierte Suche (mit fuse.js)",hosting:"Hosting",hostingDescription:"Kostenloses Subdomain-Hosting auf https://apidocumentation.com",openApiSwagger:"OpenAPI und Swagger",openApiSwaggerDescription:"Unterst\xfctzung f\xfcr OpenAPI 3.1, OpenAPI 3.0 und Swagger 2.0",codeSamples:"Codebeispiele",codeSamplesDescription:"Codebeispiele, um deine API in den beliebtesten Sprachen zu pr\xe4sentieren"},footer:{poweredByScalar:"Bereitgestellt von Scalar"},authentication:{title:"Authentifizierung",accepts:"Akzeptiert",allOf:"alle von:",authentication:"Authentifizierung",optional:"Authentifizierung optional",oneOf:"eines von:",required:"Authentifizierung erforderlich",requires:"Erfordert",scopes:"OAuth-Scopes"}},"zh-CN":{common:{additionalProperties:"附加属性",const:"常量",deprecated:"已弃用",description:"描述",discriminator:"鉴别器",enum:"枚举",format:"格式",greaterThan:"大于",httpMethod:"HTTP 方法",keys:"键",lessThan:"小于",max:"最大值",min:"最小值",maxLength:"最大长度",minLength:"最小长度",multipleOf:"倍数",nullable:"可为 null",path:"路径",propertyNames:"属性名称",pattern:"模式",copyPattern:"复制模式",readOnly:"只读",required:"必填",hideValues:"隐藏值",showAllValues:"显示所有值",type:"类型",unique:"唯一",values:"值",writeOnly:"只写"},search:{label:"搜索",inputLabel:"输入搜索查询",open:"打开搜索",placeholder:"搜索...",clear:"清除搜索",keyboardShortcut:"键盘快捷键:",command:"Command 键",control:"Control 键",results:"参考文档搜索结果",navigate:"导航",select:"选择",instructions:"按上/下箭头导航,按 Enter 选择,输入内容筛选结果",entryHeading:"标题",entryOperation:"操作",entryTag:"标签",entryTagGroup:"标签组",entryWebhook:"Webhook"},navigation:{introduction:"简介",closeGroup:"关闭分组",closeMenu:"关闭菜单",openGroup:"打开分组",openMenu:"打开菜单",operations:"操作",endpoints:"{name} 端点",showAllEndpoints:"显示 {name} 的所有端点",sidebarFor:"{name} 的侧边栏",mainContent:"{name} 的 API 文档",collapsed:"已折叠",webhooks:"Webhooks",channels:"频道"},server:{label:"服务器",select:"选择服务器"},info:{termsOfService:"服务条款"},asyncapi:{servers:"服务器",protocols:"协议"},clientLibraries:{heading:"客户端库",more:"更多",selectAll:"从所有客户端中选择"},operation:{body:"请求体",cookies:"Cookie",headers:"请求头",pathParameters:"路径参数",queryParameters:"查询参数",requestBody:"请求体",responses:"响应",testRequest:"测试请求",webhook:"Webhook",selectedContentType:"已选内容类型",hideHeaders:"隐藏标头",showHeaders:"显示标头",callbacks:"回调"},response:{exampleResponses:"响应示例",noBody:"无内容",showSchema:"显示 Schema",status:"状态"},schema:{example:"示例",examples:"示例",default:"默认值",schema:"架构",emptyObject:"空对象",showAdditionalProperties:"显示附加属性",childAttributes:"子属性",hideChildAttributes:"隐藏 {name}",showChildAttributes:"显示 {name}",forName:"对于 {name}",showSchemaDetails:"显示架构详情",oneOf:"其中一个",anyOf:"任意一个",allOf:"全部",not:"非",unknownType:"未知类型"},download:{openapi:"下载 OpenAPI 文档",asyncapi:"下载 AsyncAPI 文档"},models:{label:"模型"},actions:{copyLink:"复制链接",copyLinkTo:"复制指向 {name} 的链接",copyToClipboard:"复制链接到剪贴板",copyEndpointUrl:"复制端点 URL",showMore:"显示更多"},agent:{askAi:"询问 AI",askAiAgent:"询问 AI 助手",close:"关闭客户端"},mcp:{generate:"生成 MCP",connect:"连接 MCP"},developerTools:{title:"开发者工具",configure:"配置",share:"分享",deploy:"部署",scalarConfiguration:"Scalar 配置",theme:"主题",layout:"布局",layoutOptions:"布局选项",intro:"开发者工具可用于自定义文档的外观和行为。你也可以通过 Scalar Registry 分享文档。",disableToolbarBefore:"要禁用工具栏,请在配置中设置",disableToolbarAfter:"。",localhostOnly:"开发者工具只会在 localhost 上运行时显示。",layoutModern:"现代",layoutClassic:"经典",showSidebar:"显示侧边栏",defaultOpenFirstTag:"默认打开第一个标签",defaultOpenAllTags:"默认打开所有标签",expandAll:"展开所有 {label}",expandAllResponses:"展开所有响应",hideClientButton:"隐藏客户端按钮",hideDarkModeToggle:"隐藏深色模式开关",hideModels:"隐藏 {label}",hideSearch:"隐藏搜索",showOperationId:"显示操作 ID",hideTestRequestButton:"隐藏测试请求按钮",scalarDocs:"Scalar Docs",deployDescription:"将你的文档部署到 Scalar,这是适用于 API 等内容的现代文档平台。",shareTitle:"分享你的 API Reference",shareDescription:"上传 OpenAPI 文档,与其他人分享你的 API Reference。只需点击按钮即可。",uploadDocument:"上传文档",temporaryLinkExpiration:"你的文档将在 7 天后自动删除。",deployOnScalar:"部署到 Scalar",deployFree:"免费部署你的文档。",additionalFeaturesMightRequire:"其他功能可能需要",generate:"生成",passwordProtection:"密码保护",customDomains:"自定义域名",freeFormContent:"自由内容",cdnInfrastru
200cture:"CDN 基础设施",pullFromGitHub:"从 GitHub 拉取",markdownMdx:"Markdown/MDX",spectralLinting:"Spectral Linting",jsonSchemaHosting:"JSON Schema 托管",askAi:"询问 AI",mcpServers:"MCP 服务器",unableToExportDocument:"无法导出当前文档",unknownError:"发生未知错误"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"欢迎使用 Scalar API References + Swagger Editor,这是一款免费开源工具,可将你的 Swagger/OAS 文件生成精美的 API References。",showExample:"显示示例",uploadFile:"上传文件",integrations:"集成",theming:"主题",features:"功能",customize:"自定义",customizeDescription:"使用你的排版和调色板,或使用我们的主题!",testing:"测试",testingDescription:"深度集成的 REST API Client(同样免费且开源)",search:"搜索",searchDescription:"完整集成的搜索(使用 fuse.js)",hosting:"托管",hostingDescription:"在 https://apidocumentation.com 上免费托管子域名",openApiSwagger:"OpenAPI 和 Swagger",openApiSwaggerDescription:"支持 OpenAPI 3.1、OpenAPI 3.0 和 Swagger 2.0",codeSamples:"代码示例",codeSamplesDescription:"用最流行语言展示你的 API 的代码示例"},footer:{poweredByScalar:"由 Scalar 提供支持"},authentication:{title:"身份验证",accepts:"接受",allOf:"全部:",authentication:"身份认证",optional:"身份认证可选",oneOf:"其中之一:",required:"需要身份认证",requires:"需要",scopes:"OAuth 作用域"}},ar:{common:{additionalProperties:"خصائص إضافية",const:"ثابت",deprecated:"مهمل",description:"الوصف",discriminator:"المميّز",enum:"تعداد",format:"التنسيق",greaterThan:"أكبر من",httpMethod:"طريقة HTTP",keys:"المفاتيح",lessThan:"أقل من",max:"الحد الأقصى",min:"الحد الأدنى",maxLength:"أقصى طول",minLength:"أدنى طول",multipleOf:"مضاعف لـ",nullable:"يقبل null",path:"المسار",propertyNames:"أسماء الخصائص",pattern:"النمط",copyPattern:"نسخ النمط",readOnly:"قراءة فقط",required:"مطلوب",hideValues:"إخفاء القيم",showAllValues:"عرض كل القيم",type:"النوع",unique:"فريد",values:"القيم",writeOnly:"كتابة فقط"},search:{label:"بحث",inputLabel:"أدخل استعلام البحث",open:"فتح البحث",placeholder:"بحث...",clear:"مسح البحث",keyboardShortcut:"اختصار لوحة المفاتيح:",command:"مفتاح الأوامر",control:"مفتاح التحكم",results:"نتائج البحث في المرجع",navigate:"تنقّل",select:"اختيار",instructions:"اضغط السهم للأعلى أو للأسفل للتنقل، Enter للاختيار، واكتب لتصفية النتائج",entryHeading:"عنوان",entryOperation:"عملية",entryTag:"وسم",entryTagGroup:"مجموعة وسوم",entryWebhook:"خطاف ويب"},navigation:{introduction:"المقدمة",closeGroup:"إغلاق المجموعة",closeMenu:"إغلاق القائمة",openGroup:"فتح المجموعة",openMenu:"فتح القائمة",operations:"العمليات",endpoints:"نقاط نهاية {name}",showAllEndpoints:"إظهار كل نقاط نهاية {name}",sidebarFor:"الشريط الجانبي لـ {name}",mainContent:"وثائق واجهة برمجة التطبيقات لـ {name}",collapsed:"مطوي",webhooks:"خطافات الويب",channels:"القنوات"},server:{label:"الخادم",select:"اختر خادماً"},info:{termsOfService:"شروط الخدمة"},asyncapi:{servers:"الخوادم",protocols:"البروتوكولات"},clientLibraries:{heading:"مكتبات العملاء",more:"المزيد",selectAll:"اختر من جميع العملاء"},operation:{body:"الجسم",cookies:"ملفات تعريف الارتباط",headers:"الرؤوس",pathParameters:"معاملات المسار",queryParameters:"معاملات الاستعلام",requestBody:"جسم الطلب",responses:"الاستجابات",testRequest:"اختبار الطلب",webhook:"خطاف ويب",selectedContentType:"نوع المحتوى المحدد",hideHeaders:"إخفاء الرؤوس",showHeaders:"إظهار الرؤوس",callbacks:"عمليات الاستدعاء"},response:{exampleResponses:"أمثلة الاستجابات",noBody:"لا يوجد جسم",showSchema:"عرض المخطط",status:"الحالة"},schema:{example:"مثال",examples:"أمثلة",default:"الافتراضي",schema:"المخطط",emptyObject:"كائن فارغ",showAdditionalProperties:"إظهار الخصائص الإضافية",childAttributes:"السمات الفرعية",hideChildAttributes:"إخفاء {name}",showChildAttributes:"إظهار {name}",forName:"لـ {name}
200",showSchemaDetails:"إظهار تفاصيل المخطط",oneOf:"واحد من",anyOf:"أي من",allOf:"كل من",not:"ليس",unknownType:"نوع غير معروف"},download:{openapi:"تنزيل مستند OpenAPI",asyncapi:"تنزيل مستند AsyncAPI"},models:{label:"النماذج"},actions:{copyLink:"نسخ الرابط",copyLinkTo:"نسخ الرابط إلى {name}",copyToClipboard:"نسخ الرابط إلى الحافظة",copyEndpointUrl:"نسخ رابط endpoint",showMore:"عرض المزيد"},agent:{askAi:"اسأل الذكاء الاصطناعي",askAiAgent:"اسأل وكيل الذكاء الاصطناعي",close:"إغلاق العميل"},mcp:{generate:"إنشاء MCP",connect:"ربط MCP"},developerTools:{title:"أدوات المطورين",configure:"الإعداد",share:"مشاركة",deploy:"نشر",scalarConfiguration:"إعدادات Scalar",theme:"السمة",layout:"التخطيط",layoutOptions:"خيارات التخطيط",intro:"تتيح لك أدوات المطورين تخصيص مظهر الوثائق وسلوكها. يمكنك أيضًا مشاركة وثائقك باستخدام Scalar Registry.",disableToolbarBefore:"لتعطيل شريط الأدوات، عيّن",disableToolbarAfter:"في الإعدادات.",localhostOnly:"لن تظهر أدوات المطورين إلا عند التشغيل على localhost.",layoutModern:"حديث",layoutClassic:"كلاسيكي",showSidebar:"إظهار الشريط الجانبي",defaultOpenFirstTag:"فتح أول وسم افتراضيًا",defaultOpenAllTags:"فتح كل الوسوم افتراضيًا",expandAll:"توسيع كل {label}",expandAllResponses:"توسيع كل الاستجابات",hideClientButton:"إخفاء زر العميل",hideDarkModeToggle:"إخفاء مفتاح الوضع الداكن",hideModels:"إخفاء {label}",hideSearch:"إخفاء البحث",showOperationId:"إظهار معرّف العملية",hideTestRequestButton:"إخفاء زر طلب الاختبار",scalarDocs:"Scalar Docs",deployDescription:"انشر وثائقك على Scalar، منصة الوثائق الحديثة لواجهة API الخاصة بك وكل شيء آخر.",shareTitle:"مشاركة API Reference",shareDescription:"حمّل مستند OpenAPI لمشاركة API Reference مع الآخرين. الأمر بسيط كضغط زر.",uploadDocument:"تحميل المستند",temporaryLinkExpiration:"سيتم حذف المستند تلقائيًا بعد 7 أيام.",deployOnScalar:"النشر على Scalar",deployFree:"انشر وثائقك مجانًا.",additionalFeaturesMightRequire:"قد تتطلب الميزات الإضافية",generate:"إنشاء",passwordProtection:"الحماية بكلمة مرور",customDomains:"نطاقات مخصصة",freeFormContent:"محتوى حر",cdnInfrastructure:"بنية CDN التحتية",pullFromGitHub:"السحب من GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"فحص Spectral",jsonSchemaHosting:"استضافة JSON Schema",askAi:"اسأل الذكاء الاصطناعي",mcpServers:"خوادم MCP",unableToExportDocument:"تعذر تصدير المستند النشط",unknownError:"حدث خطأ غير معروف"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"مرحبًا بك في Scalar API References + Swagger Editor، أداة مجانية ومفتوحة المصدر تأخذ ملف Swagger/OAS الخاص بك وتنشئ API References جميلة.",showExample:"إظهار مثال",uploadFile:"تحميل ملف",integrations:"التكاملات",theming:"السمات",features:"الميزات",customize:"التخصيص",customizeDescription:"استخدم الخطوط ولوحات الألوان الخاصة بك، أو استخدم سماتنا!",testing:"الاختبار",testingDescription:"REST API Client مدمج بعمق (مجاني ومفتوح المصدر أيضًا)",search:"البحث",searchDescription:"بحث مدمج بالكامل (باستخدام fuse.js)",hosting:"الاستضافة",hostingDescription:"استضافة مجانية لنطاق فرعي على https://apidocumentation.com",openApiSwagger:"OpenAPI و Swagger",openApiSwaggerDescription:"دعم OpenAPI 3.1 و OpenAPI 3.0 و Swagger 2.0",codeSamples:"أمثلة التعليمات البرمجية",codeSamplesDescription:"أمثلة تعليمات برمجية لعرض API الخاص بك بأشهر اللغات"},footer:{poweredByScalar:"مدعوم من Scalar"},authentication:{title:"المصادقة",accepts:"يقبل",allOf:"كل ما يلي:",authentication:"المصادقة",optional:"المصادقة اختيارية",oneOf:"واحد من:",required:"المصادقة مطلوبة",requires:"يتطلب",scopes:"نطاقات OAuth"}},pt:{common:{additionalProperties:"propriedades adicionais",const:"const",deprecated:"obsoleto",description:"Descri\xe7\xe3o",discriminator:"Discriminador",enum:"enum",format:"Formato",greaterThan:"maior que",httpMethod:"M\xe9todo HTTP",keys:"chaves",lessThan:"menor que",max:"m\xe1x",min:"m\xedn",maxLength:"tamanho m\xe1ximo",minLength:"tamanho m\xednimo",multipleOf:"m\xfaltiplo de",nullable:"aceita nulo",path:"Caminho",propertyNames:"nomes de propriedades",pattern:"Padr\xe3o",copyPattern:"Copiar padr\xe3o",readOnly:"somente leitura",required:"obrigat\xf3rio",hideValues:"Ocultar valores",showAllValues:"Mostrar todos os valores",type:"Tipo",unique:"\xfanico",values:"valores",writeOnly:"somente escrita"},search:{label:"Buscar",inputLabel:"Digite o termo de busca",open:"Abrir Busca",placeholder:"Buscar...",clear:"Limpar Busca",keyboardShortcut:"Atalho de Teclado:",command:"Command",control:"Control",results:"Resultados da Busca de Refer\xeancia",navigate:"Navegar",select:"Selecionar",instructions:"Pressione seta para cima / seta para baixo para navegar, enter para selecionar, digite para filtrar resultados",entryHeading:"T\xedtulo",entryOperation:"Opera\xe7\xe3o",entryTag:"Tag",entryTagGroup:"Grupo de Tags",entryWebhook:"Webhook"},navigation:{introduction:"Introdu\xe7\xe3o",closeGroup:"Fechar Grupo",closeMenu:"Fechar Menu",openGroup:"Abrir Grupo",openMenu:"Abrir Menu",operations:"Opera\xe7\xf5es",endpoints:"Endpoints de {name}",showAllEndpoints:"Mostrar todos os endpoints de {name}",sidebarFor:"Barra lateral de {name}",mainContent:"Documenta\xe7\xe3o da API para {name}",collapsed:"Recolhido",webhooks:"Webhooks",channels:"Canais"},server:{label:"Servidor",select:"Selecione um servidor"},info:{termsOfService:"Termos de Servi\xe7o"},asyncapi:{servers:"Servidores",protocols:"Protocolos"},clientLibraries:{heading:"Bibliotecas Cliente",more:"Mais",selectAll:"Selecionar de todos os clientes"},operation:{body:"Corpo",cookies:"Cookies",headers:"Cabe\xe7alhos",pathParameters:"Par\xe2metros de Caminho",queryParameters:"Par\xe2metros de Consulta",requestBody:"Corpo da Requisi\xe7\xe3o",responses:"Respostas",testRequest:"Testar Requisi\xe7\xe3o",webhook:"Webhook",selectedContentType:"Tipo de Conte\xfado Selecionado",hideHeaders:"Ocultar Cabe\xe7alhos",showHeaders:"Mostrar Cabe\xe7alhos",callbacks:"Callbacks"},response:{exampleResponses:"Exemplos de Respostas",noBody:"Sem Corpo",showSchema:"Mostrar Schema",status:"Status"},schema:{example:"Exemplo",examples:"Exemplos",default:"Padr\xe3o",schema:"Schema",emptyObject:"Objeto vazio",showAdditionalProperties:"Mostrar propriedades adicionais",childAttributes:"Atributos Filhos",hideChildAttributes:"Ocultar {name}",showChildAttributes:"Mostrar {name}",forName:"para {name}
200",showSchemaDetails:"Mostrar Detalhes do Schema",oneOf:"Um de",anyOf:"Qualquer um de",allOf:"Todos de",not:"N\xe3o",unknownType:"tipo desconhecido"},download:{openapi:"Baixar Documento OpenAPI",asyncapi:"Baixar Documento AsyncAPI"},models:{label:"Modelos"},actions:{copyLink:"Copiar link",copyLinkTo:"Copiar link para {name}",copyToClipboard:"Copiar link para a \xe1rea de transfer\xeancia",copyEndpointUrl:"Copiar URL do endpoint",showMore:"Mostrar Mais"},agent:{askAi:"Perguntar \xe0 IA",askAiAgent:"Perguntar ao Agente de IA",close:"Fechar Cliente"},mcp:{generate:"Gerar MCP",connect:"Conectar MCP"},developerTools:{title:"Ferramentas de Desenvolvedor",configure:"Configurar",share:"Compartilhar",deploy:"Implantar",scalarConfiguration:"Configura\xe7\xe3o do Scalar",theme:"Tema",layout:"Layout",layoutOptions:"Op\xe7\xf5es de Layout",intro:"As ferramentas de desenvolvedor permitem personalizar a apar\xeancia e o comportamento da sua documenta\xe7\xe3o. Voc\xea tamb\xe9m pode compartilhar sua documenta\xe7\xe3o usando o Scalar Registry.",disableToolbarBefore:"Para desativar a barra de ferramentas, defina",disableToolbarAfter:"na sua configura\xe7\xe3o.",localhostOnly:"As ferramentas de desenvolvedor s\xf3 aparecer\xe3o ao rodar em localhost.",layoutModern:"Moderno",layoutClassic:"Cl\xe1ssico",showSidebar:"Mostrar Barra Lateral",defaultOpenFirstTag:"Abrir Primeira Tag por Padr\xe3o",defaultOpenAllTags:"Abrir Todas as Tags por Padr\xe3o",expandAll:"Expandir Todos {label}",expandAllResponses:"Expandir Todas as Respostas",hideClientButton:"Ocultar Bot\xe3o do Cliente",hideDarkModeToggle:"Ocultar Alternador de Modo Escuro",hideModels:"Ocultar {label}",hideSearch:"Ocultar Busca",showOperationId:"Mostrar ID da Opera\xe7\xe3o",hideTestRequestButton:"Ocultar Bot\xe3o de Testar Requisi\xe7\xe3o",scalarDocs:"Documenta\xe7\xe3o do Scalar",deployDescription:"Implante sua documenta\xe7\xe3o no Scalar, a plataforma de documenta\xe7\xe3o moderna para sua API e tudo mais.",shareTitle:"Compartilhe sua Refer\xeancia de API",shareDescription:"Envie seu documento OpenAPI para compartilhar sua Refer\xeancia de API com outras pessoas. T\xe3o f\xe1cil quanto apertar um bot\xe3o.",uploadDocument:"Enviar Documento",temporaryLinkExpiration:"Seu documento ser\xe1 exclu\xeddo automaticamente ap\xf3s 7 dias.",deployOnScalar:"Implantar no Scalar",deployFree:"Implante sua documenta\xe7\xe3o gratuitamente.",additionalFeaturesMightRequire:"Recursos adicionais podem exigir",generate:"Gerar",passwordProtection:"Prote\xe7\xe3o por Senha",customDomains:"Dom\xednios Personalizados",freeFormContent:"Conte\xfado de formato livre",cdnInfrastructure:"Infraestrutura de CDN",pullFromGitHub:"Importar do GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Linting com Spectral",jsonSchemaHosting:"Hospedagem de JSON Schema",askAi:"Perguntar \xe0 IA",mcpServers:"Servidores MCP",unableToExportDocument:"N\xe3o foi poss\xedvel exportar o documento ativo",unknownError:"Ocorreu um erro desconhecido"},gettingStarted:{swaggerEditor:"Editor Swagger",description:"Bem-vindo \xe0s Refer\xeancias de API Scalar + Editor Swagger, uma ferramenta gratuita e de c\xf3digo aberto que transforma seu arquivo Swagger/OAS em belas refer\xeancias de API.",showExample:"Mostrar Exemplo",uploadFile:"Enviar Arquivo",integrations:"INTEGRA\xc7\xd5ES",theming:"TEMAS",features:"Recursos",customize:"Personalizar",customizeDescription:"Traga sua tipografia e paletas de cores, ou use nossos temas!",testing:"Testes",testingDescription:"Um Cliente de API REST profundamente integrado (Tamb\xe9m gratuito e de c\xf3digo aberto)",search:"Busca",searchDescription:"Busca totalmente integrada (usando fuse.js)",hosting:"Hospedagem",hostingDescription:"Hospedagem gratuita de subdom\xednio em https://apidocumentation.com",openApiSwagger:"OpenAPI e Swagger",openApiSwaggerDescription:"Suporte para OpenAPI 3.1, OpenAPI 3.0 e Swagger 2.0",codeSamples:"Exemplos de C\xf3digo",codeSamplesDescription:"Exemplos de c\xf3digo para mostrar sua API nas linguagens mais populares"},footer:{poweredByScalar:"Desenvolvido com Scalar"},authentication:{title:"Autentica\xe7\xe3o",accepts:"Aceita",allOf:"todos de:",authentication:"autentica\xe7\xe3o",optional:"Autentica\xe7\xe3o Opcional",oneOf:"um de:",required:"Autentica\xe7\xe3o Obrigat\xf3ria",requires:"Requer",scopes:"Escopos OAuth"}}},c=new Set(["ar","fa","he","ur"]),u=a(38547),d=a(10779),p=a(60652);let m=(e,t)=>
200{if(!t||!(0,p.G)(t))return{...e};let a={...e};for(let[e,r]of Object.entries(t)){if(void 0===r)continue;let t=a[e];a[e]=(0,p.G)(t)&&(0,p.G)(r)?m(t,r):r}return a};var h=Symbol("LOCALIZATION"),f=e=>{let t=e?.locale??"en",a=(e=>{if(!e)return"en";if(e in i)return e;let t=e.replace("_","-").toLowerCase();if(t.startsWith("zh"))return"zh-CN";let a=t.split("-")[0];return Object.keys(i).find(e=>e.toLowerCase()===a)??"en"})(t),r=m(m(i.en,i[a]),e?.translations);return{locale:t,direction:(e=>{if(e?.direction&&"auto"!==e.direction)return e.direction;let t=(e?.locale??"en").replace("_","-").split("-")[0]?.toLowerCase();return t&&c.has(t)?"rtl":"ltr"})(e),translations:r}},g=e=>{let t=(0,u.EW)(()=>f((0,d.BA)(e)));return{locale:(0,u.EW)(()=>t.value.locale),direction:(0,u.EW)(()=>t.value.direction),translations:(0,u.EW)(()=>t.value.translations),translate:(e,a)=>{var r;let n,o;return r=t.value.translations,o="string"==typeof(n=e.split(".").reduce((e,t)=>{if((0,p.G)(e))return e[t]},r))?n:e,a?Object.entries(a).reduce((e,[t,a])=>e.replaceAll(`{${t}}`,String(a)),o):o}}},v=()=>(0,u.WQ)(h,g(void 0)),y=a(76696),b=a(51316),O=e=>{if(void 0===e)return;let t=(0,b.A)(e),a=(0,p.G)(t)&&"schemaFormat"in t?(0,b.A)(t.schema):t;return(0,p.G)(a)?a:void 0},k=(e,t)=>{if(e.components)return O((0,b.A)(e.components,b.F).schemas?.[t])},x=e=>"text"===e.type&&"string"==typeof e.id&&e.id.endsWith("/description/introduction"),w=a(76412);function S(e){if("object"==typeof e&&null!==e&&"$ref"in e){let t;return"object"==typeof(t=e["$ref-value"])&&null!==t?e["$ref-value"]:void 0}return e}function C(e,t){t&&(e.includes(t)||e.push(t))}function $(e,t,a=0){!(!e||t.visited.has(e))&&(t.visited.add(e),[...e.oneOf??[],...e.anyOf??[],...e.allOf??[]].forEach(e=>{$(S(e),t,a)}),(0,w.Tl)(e)&&e.properties&&Object.entries(e.properties).forEach(([e,r])=>{let n=S(r);t.visit(e,n),a+1<t.maxPropertyDepth&&$(n,t,a+1)}))}function A(e,t){let a=(0,b.A)(e?.requestBody)?.content;if(!a)return;let r=new Set;Object.values(a).forEach(e=>{$((0,b.A)((0,b.A)(e)?.schema),{visit:t,visited:r,maxPropertyDepth:2})})}var R=a(10518),E=a(23373),P=a(95589),T=a(78432);function _(e){if("string"==typeof e)return e;try{return JSON.stringify(e)}catch(e){return""}}var j={heading:"Heading",tagGroup:"Tag Group",webhook:"Webhook",webhooks:"Webhooks",introduction:"Introduction"},Q=a(61930),L=a(27491),M=a(94361),Z={key:0},U={key:1},X={key:2},I={key:3},B={key:4},q={key:5},W=(0,u.pM)({name:"ScalarIconTextAlignLeft",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",Z,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M28,64A12,12,0,0,1,40,52H216a12,12,0,0,1,0,24H40A12,12,0,0,1,28,64Zm12,52H168a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24Zm176,16H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Zm-48,40H40a12,12,0,0,0,0,24H168a12,12,0,0,0,0-24Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",U,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M216,64V168a16,16,0,0,1-16,16H40V64Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",X,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM160,184H64a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Zm32-32H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16ZM56,112a8,8,0,0,1,8-8h96a8,8,0,0,1,0,16H64A8,8,0,0,1,56,112ZM192,88H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",I,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M34,64a6,6,0,0,1,6-6H216a6,6,0,0,1,0,12H40A6,6,0,0,1,34,64Zm6,46H168a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12Zm176,28H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Zm-48,40H40a6,6,0,0,0,0,12H168a6,6,0,0,0,0-12Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",B,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",q,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M36,64a4,4,0,0,1,4-4H216a4,4,0,0,1,0,8H40A4,4,0,0,1,36,64Zm4,44H168a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8Zm176,32H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Zm-48,40H40a4,4,0,0,0,0,8H168a4,4,0,0,0,0-8Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),D={key:0},N={key:1},V={key:2},F={key:3},z={key:4},H={key:5},Y=(0,u.pM)({name:"ScalarIconBracketsCurly",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",D,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M54.8,119.49A35.06,35.06,0,0,1,49.05,128a35.06,35.06,0,0,1,5.75,8.51C60,147.24,60,159.83,60,172c0,25.94,1.84,32,20,32a12,12,0,0,1,0,24c-19.14,0-32.2-6.9-38.8-20.51C36,196.76,36,184.17,36,172c0-25.94-1.84-32-20-32a12,12,0,0,1,0-24c18.16,0,20-6.06,20-32,0-12.17,0-24.76,5.2-35.49C47.8,34.9,60.86,28,80,28a12,12,0,0,1,0,24c-18.16,0-20,6.06-20,32C60,96.17,60,108.76,54.8,119.49ZM240,116c-18.16,0-20-6.06-20-32,0-12.17,0-24.76-5.2-35.49C208.2,34.9,195.14,28,176,28a12,12,0,0,0,0,24c18.16,0,20,6.06,20,32,0,12.17,0,24.76,5.2,35.49A35.06,35.06,0,0,0,207,128a35.06,35.06,0,0,0-5.75,8.51C196,147.24,196,159.83,196,172c0,25.94-1.84,32-20,32a12,12,0,0,0,0,24c19.14,0,32.2-6.9,38.8-20.51C220,196.76,220,184.17,220,172c0-25.94,1.84-32,20-32a12,12,0,0,0,0-24Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",N,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M240,128c-64,0,0,88-64,88H80c-64,0,0-88-64-88,64,0,0-88,64-88h96C240,40,176,128,240,128Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M43.18,128a29.78,29.78,0,0,1,8,10.26c4.8,9.9,4.8,22,4.8,33.74,0,24.31,1,36,24,36a8,8,0,0,1,0,16c-17.48,0-29.32-6.14-35.2-18.26-4.8-9.9-4.8-22-4.8-33.74,0-24.31-1-36-24-36a8,8,0,0,1,0-16c23,0,24-11.69,24-36,0-11.72,0-23.84,4.8-33.74C50.68,38.14,62.52,32,80,32a8,8,0,0,1,0,16C57,48,56,59.69,56,84c0,11.72,0,23.84-4.8,33.74A29.78,29.78,0,0,1,43.18,128ZM240,120c-23,0-24-11.69-24-36,0-11.72,0-23.84-4.8-33.74C205.32,38.14,193.48,32,176,32a8,8,0,0,0,0,16c23,0,24,11.69,24,36,0,11.72,0,23.84,4.8,33.74a29.78,29.78,0,0,0,8,10.26,29.78,29.78,0,0,0-8,10.26c-4.8,9.9-4.8,22-4.8,33.74,0,24.31-1,36-24,36a8,8,0,0,0,0,16c17.48,0,29.32-6.14,35.2-18.26,4.8-9.9,4.8-22,4.8-33.74,0-24.31,1-36,24-36a8,8,0,0,0,0-16Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",V,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM88,155.84c.29,14.26.41,20.16,16,20.16a8,8,0,0,1,0,16c-31.27,0-31.72-22.43-32-35.84C71.71,141.9,71.59,136,56,136a8,8,0,0,1,0-16c15.59,0,15.71-5.9,16-20.16C72.28,86.43,72.73,64,104,64a8,8,0,0,1,0,16c-15.59,0-15.71,5.9-16,20.16-.
20017,8.31-.41,20.09-8,27.84C87.59,135.75,87.83,147.53,88,155.84ZM200,136c-15.59,0-15.71,5.9-16,20.16-.28,13.41-.73,35.84-32,35.84a8,8,0,0,1,0-16c15.59,0,15.71-5.9,16-20.16.17-8.31.41-20.09,8-27.84-7.6-7.75-7.84-19.53-8-27.84C167.71,85.9,167.59,80,152,80a8,8,0,0,1,0-16c31.27,0,31.72,22.43,32,35.84.29,14.26.41,20.16,16,20.16a8,8,0,0,1,0,16Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",F,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M39.91,128a27.68,27.68,0,0,1,9.49,11.13C54,148.62,54,160.51,54,172c0,24.27,1.21,38,26,38a6,6,0,0,1,0,12c-16.88,0-27.81-5.6-33.4-17.13C42,195.38,42,183.49,42,172c0-24.27-1.21-38-26-38a6,6,0,0,1,0-12c24.79,0,26-13.73,26-38,0-11.49,0-23.38,4.6-32.87C52.19,39.6,63.12,34,80,34a6,6,0,0,1,0,12C55.21,46,54,59.73,54,84c0,11.49,0,23.38-4.6,32.87A27.68,27.68,0,0,1,39.91,128ZM240,122c-24.79,0-26-13.73-26-38,0-11.49,0-23.38-4.6-32.87C203.81,39.6,192.88,34,176,34a6,6,0,0,0,0,12c24.79,0,26,13.73,26,38,0,11.49,0,23.38,4.6,32.87A27.68,27.68,0,0,0,216.09,128a27.68,27.68,0,0,0-9.49,11.13C202,148.62,202,160.51,202,172c0,24.27-1.21,38-26,38a6,6,0,0,0,0,12c16.88,0,27.81-5.6,33.4-17.13,4.6-9.49,4.6-21.38,4.6-32.87,0-24.27,1.21-38,26-38a6,6,0,0,0,0-12Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",z,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M43.18,128a29.78,29.78,0,0,1,8,10.26c4.8,9.9,4.8,22,4.8,33.74,0,24.31,1,36,24,36a8,8,0,0,1,0,16c-17.48,0-29.32-6.14-35.2-18.26-4.8-9.9-4.8-22-4.8-33.74,0-24.31-1-36-24-36a8,8,0,0,1,0-16c23,0,24-11.69,24-36,0-11.72,0-23.84,4.8-33.74C50.68,38.14,62.52,32,80,32a8,8,0,0,1,0,16C57,48,56,59.69,56,84c0,11.72,0,23.84-4.8,33.74A29.78,29.78,0,0,1,43.18,128ZM240,120c-23,0-24-11.69-24-36,0-11.72,0-23.84-4.8-33.74C205.32,38.14,193.48,32,176,32a8,8,0,0,0,0,16c23,0,24,11.69,24,36,0,11.72,0,23.84,4.8,33.74a29.78,29.78,0,0,0,8,10.26,29.78,29.78,0,0,0-8,10.26c-4.8,9.9-4.8,22-4.8,33.74,0,24.31-1,36-24,36a8,8,0,0,0,0,16c17.48,0,29.32-6.14,35.2-18.26,4.8-9.9,4.8-22,4.8-33.74,0-24.31,1-36,24-36a8,8,0,0,0,0-16Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",H,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M35.89,128C52,136.23,52,155.64,52,172c0,24.8,1.35,40,28,40a4,4,0,0,1,0,8c-36,0-36-26.61-36-48,0-24.8-1.35-40-28-40a4,4,0,0,1,0-8c26.65,0,28-15.2,28-40,0-21.39,0-48,36-48a4,4,0,0,1,0,8C53.35,44,52,59.2,52,84,52,100.36,52,119.77,35.89,128ZM240,124c-26.65,0-28-15.2-28-40,0-21.39,0-48-36-48a4,4,0,0,0,0,8c26.65,0,28,15.2,28,40,0,16.36,0,35.77,16.11,44C204,136.23,204,155.64,204,172c0,24.8-1.35,40-28,40a4,4,0,0,0,0,8c36,0,36-26.61,36-48,0-24.8,1.35-40,28-40a4,4,0,0,0,0-8Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),G={key:0},K={key:1},J={key:2},ee={key:3},et={key:4},ea={key:5},er=(0,u.pM)({name:"ScalarIconTerminalWindow",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",G,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M72.5,150.63,100.79,128,72.5,105.37a12,12,0,1,1,15-18.74l40,32a12,12,0,0,1,0,18.74l-40,32a12,12,0,0,1-15-18.74ZM144,172h32a12,12,0,0,0,0-24H144a12,12,0,0,0,0,24ZM236,56V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V196H212Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",K,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M224,56V200a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",J,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-91,94.25-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32a8,8,0,0,1,0,12.5ZM176,168H136a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",ee,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M126,128a6,6,0,0,1-2.25,4.69l-40,32a6,6,0,0,1-7.5-9.38L110.4,128,76.25,100.69a6,6,0,1,1,7.5-9.38l40,32A6,6,0,0,1,126,128Zm50,26H136a6,
2006,0,0,0,0,12h40a6,6,0,0,0,0-12Zm54-98V200a14,14,0,0,1-14,14H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V200a2,2,0,0,0,2,2H216a2,2,0,0,0,2-2Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",et,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",ea,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M122.5,124.88a4,4,0,0,1,0,6.24l-40,32a4,4,0,0,1-5-6.24L113.6,128,77.5,99.12a4,4,0,0,1,5-6.24ZM176,156H136a4,4,0,0,0,0,8h40a4,4,0,0,0,0-8ZM228,56V200a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H216a4,4,0,0,0,4-4Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),en={key:0},eo={key:1},el={key:2},es={key:3},ei={key:4},ec={key:5},eu=(0,u.pM)({name:"ScalarIconTag",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",en,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M246.15,133.18,146.83,33.86A19.85,19.85,0,0,0,132.69,28H40A12,12,0,0,0,28,40v92.69a19.85,19.85,0,0,0,5.86,14.14l99.32,99.32a20,20,0,0,0,28.28,0l84.69-84.69A20,20,0,0,0,246.15,133.18Zm-98.83,93.17L52,131V52h79l95.32,95.32ZM104,88A16,16,0,1,1,88,72,16,16,0,0,1,104,88Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",eo,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M237.66,153,153,237.66a8,8,0,0,1-11.31,0L42.34,138.34A8,8,0,0,1,40,132.69V40h92.69a8,8,0,0,1,5.65,2.34l99.32,99.32A8,8,0,0,1,237.66,153Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",el,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",es,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M241.91,137.42,142.59,38.1a13.94,13.94,0,0,0-9.9-4.1H40a6,6,0,0,0-6,6v92.69a13.94,13.94,0,0,0,4.1,9.9l99.32,99.32a14,14,0,0,0,19.8,0l84.69-84.69A14,14,0,0,0,241.91,137.42Zm-8.49,11.31-84.69,84.69a2,2,0,0,1-2.83,0L46.59,134.1a2,2,0,0,1-.59-1.41V46h86.69a2,2,0,0,1,1.41.59l99.32,99.31A2,2,0,0,1,233.42,148.73ZM94,84A10,10,0,1,1,84,74,10,10,0,0,1,94,84Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",ei,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",ec,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M240.49,138.83,141.17,39.51A11.93,11.93,0,0,0,132.69,36H40a4,4,0,0,0-4,4v92.69a11.93,11.93,0,0,0,3.51,8.48l99.32,99.32a12,12,0,0,0,17,0l84.69-84.69a12,12,0,0,0,0-17Zm-5.66,11.31-84.69,84.69a4,4,0,0,1-5.65,0L45.17,135.51A4,4,0,0,1,44,132.69V44h88.69a4,4,0,0,1,2.82,1.17l99.32,99.32A4,4,0,0,1,234.83,150.14ZM92,84a8,8,0,1,1-8-8A8,8,0,0,1,92,84Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),ed=a(72312),ep=a(84044),em=a(8873),eh=["aria-selected"],ef={key:0,class:"flex h-fit items-center text-sm font-medium text-c-3 group-hover:text-c-1"},eg={class:"flex min-w-0 flex-1 flex-col gap-0.5"},ev={class:"flex items-center gap-1"},ey={class:"flex-1 truncate zoomed:whitespace-normal! wrap-break-word font-medium"},eb={key:0,class:"text-base text-c-2"},eO={key:0,class:"truncate zoomed:whitespace-normal! wrap-break-word text-c-2"},ek=(0,u.pM)({inheritAttrs:!1,__name:"ScalarSearchResultItem",props:{icon:{type:[Object,Function]},selected:{type:Boolean}},setup(e){let{cx:t}=(0,em.AX)();return(a,r)=>((0,u.uX)(),(0,u.CE)("a",(0,u.v6)({"aria-selected":e.selected,role:"option",tabindex:"-1"},(0,d.R1)(t)("group flex cursor-pointer gap-2 rounded px-2 py-1.5 no-underline hover:bg-b-2 text-base/5",{"bg-b-2":e.selected})),[e.icon?((0,u.uX)(),(0,u.CE)("div",ef,[(0,u.RG)(a.$slots,"icon",{},()=>[e.icon?((0,u.uX)(),(0,u.Wv)((0,d.R1)(ep.A),{key:0,class:"size-4",icon:e.icon},null,8,["icon"])):(0,u.Q3)("",!0)]),r[0]||(r[0]=(0,u.Lk)("span",null," ",-1))])):(0,u.Q3)("",!0),(0,u.Lk)("div",eg,[(0,u.Lk)("div",ev,[(0,u.Lk)("div",ey,[(0,u.RG)(a.$slots,"default")]),a.$slots.addon?((0,u.uX)(),(0,u.CE)("div",eb,[(0,u.RG)(a.$slots,"addon")])):(0,u.Q3)("",!0)]),a.$slots.description?((0,u.uX)(),(0,u.CE)("div",eO,[(0,u.RG)(a.$slots,"description")])):(0,u.Q3)("",!0)])],16,eh))}}),ex=(0,u.pM)({inheritAttrs:!1,__name:"ScalarSearchResultList",props:{noResults:{type:Boolean}},setup(e){let{cx:t}=(0,em.AX)();return(a,r)=>((0,u.uX)(),(0,u.CE)("div",(0,u.v6)({role:"listbox"},(0,d.R1)(t)("flex flex-col")),[e.noResults?(0,u.RG)(a.$slots,"noResults",{},()=>[r[0]||(r[0]=(0,u.Lk)("div",{class:"flex flex-col items-center gap-2 px-3 py-4"},[(0,u.Lk)("div",{class:"text-base font-medium text-c-2",role:"alert"}," No results found ")],-1))],void 0,0):(0,u.Q3)("",!0),(0,u.RG)(a.$slots,"default")],16))}}),ew={class:"sr-only"},eS={class:"inline-flex items-center gap-1"},eC={class:"sr-only"},e$={class:"sr-only"},eA={class:"sr-only"},eR=(0,u.pM)({__name:"SearchResult",props:{id:{},isSelected:{type:Boolean},result:{},modelsSectionLabel:{default:()=>R.W}},setup(e){let{translate:t}=v(),a={heading:W,model:Y,operation:er,tag:eu,webhook:ed.A},r=(0,u.EW)(()=>({heading:t("search.entryHeading"),operation:t("search.entryOperation"),tag:t
200("search.entryTag"),model:e.modelsSectionLabel,webhook:t("search.entryWebhook")}));return(n,o)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(ek),{id:e.id,icon:a[e.result.item.type],selected:e.isSelected},(0,u.eX)({default:(0,u.k6)(()=>[(0,u.Lk)("span",{class:(0,Q.C4)({"text-decoration-line":"operation"===e.result.item.entry.type&&e.result.item.entry.isDeprecated})},[(0,u.Lk)("span",ew,[(0,u.eW)((0,Q.v_)(r.value[e.result.item.type])+":\xa0 ",1),"operation"===e.result.item.entry.type&&e.result.item.entry.isDeprecated?((0,u.uX)(),(0,u.CE)(u.FK,{key:0},[(0,u.eW)(" ("+(0,Q.v_)((0,d.R1)(t)("common.deprecated"))+")\xa0 ",1)],64)):(0,u.Q3)("",!0)]),(0,u.eW)(" "+(0,Q.v_)(e.result.item.title)+" ",1),o[0]||(o[0]=(0,u.Lk)("span",{class:"sr-only"},",",-1))],2)]),_:2},["webhook"!==e.result.item.type&&(e.result.item.method||e.result.item.path)&&e.result.item.path!==e.result.item.title?{name:"description",fn:(0,u.k6)(()=>[(0,u.Lk)("span",eS,["operation"===e.result.item.type?((0,u.uX)(),(0,u.CE)(u.FK,{key:0},[(0,u.bF)((0,d.R1)(L.ym),{"aria-hidden":"true",method:e.result.item.method??"get"},null,8,["method"]),(0,u.Lk)("span",eC,(0,Q.v_)((0,d.R1)(t)("common.httpMethod"))+": "+(0,Q.v_)(e.result.item.method??"get"),1)],64)):(0,u.Q3)("",!0),(0,u.Lk)("span",e$,(0,Q.v_)((0,d.R1)(t)("common.path"))+":\xa0",1),(0,u.eW)(" "+(0,Q.v_)(e.result.item.path),1)])]),key:"0"}:e.result.item.description?{name:"description",fn:(0,u.k6)(()=>[(0,u.Lk)("span",eA,(0,Q.v_)((0,d.R1)(t)("common.description"))+":\xa0",1),(0,u.eW)(" "+(0,Q.v_)(e.result.item.description),1)]),key:"1"}:void 0]),1032,["id","icon","selected"]))}}),eE=a(56942),eP=a(91562),eT=a(92359),e_={class:"mb-0 flex flex-col",role:"search"},ej={"aria-hidden":"true",class:"contents"},eQ={class:"sr-only"},eL=s((0,u.pM)({__name:"SearchModal",props:{modalState:{},document:{},eventBus:{},modelsSectionLabel:{}},setup(e){let{translate:t}=v(),a=(0,u.Bi)(),r=`${a}-search-result`,n=`${a}-search-instructions`,{query:o,results:l}=function(e,t=R.W,a={heading:"Heading",tagGroup:"Tag Group",webhook:"Webhook",webhooks:"Webhooks",introduction:"Introduction"}){let r=(0,u.EW)(()=>{var r,n;let o,l,s;return r=(0,d.BA)(e),n={labels:(0,d.BA)(a),modelsSectionLabel:(0,d.BA)(t)??R.W},o=[],l=n?.modelsSectionLabel??R.W,s=n?.labels??j,!function e(t){t.forEach(t=>{(function(e,t,a,r,n){var o,l,s,i;let c=(0,P.yF)(a)?a:void 0;if("operation"===e.type){let a,r,n,i,u=(0,T.Nv)(c?.paths?.[e.path]),d=(0,b.A)((0,T.Cu)(c?.paths?.[e.path],e.method))??{},p={...d,parameters:(0,E.U$)(u?.parameters,d.parameters)},m=(o=p.parameters??[],a=[],o.forEach(e=>{let t=(0,b.A)(e);C(a,t?.name)}),a),h=(l=p.parameters??[],r=[],l.forEach(e=>{let t=(0,b.A)(e);C(r,t?.description)}),r),f=(n=[],A(p,e=>{C(n,e)}),n),g=(i=[],A(p,(e,t)=>{t&&"description"in t&&"string"==typeof t.description&&C(i,t.description)}),i),v=(s=p.responses)?Object.values(s).flatMap(e=>{let t=(0,b.A)(e);return t?.content?Object.values(t.content).flatMap(e=>{let t,a,r=(0,b.A)(e);return r?(t=Object.values(r.examples??{}).flatMap(e=>{let t=(0,b.A)(e);return t&&"value"in t?_(t.value):[]}).filter(e=>e.length>0),(a="example"in r&&void 0!==r.example?_(r.example):"")?[a,...t]:t):[]}):[]}).filter(e=>e.length>0):[];t.push({type:"operation",title:e.title,id:e.id,description:p.description||"",method:e.method,path:e.path,body:f,bodyDescriptions:g,parameters:m,parameterDescriptions:h,responseExamples:v,operationId:p.operationId,entry:e});return}if("webhook"===e.type){let a=(0,b.A)((0,T.Cu)(c?.webhooks?.[e.name],e.method))??{},r=a.description||"";t.push({id:e.id,type:"webhook",title:e.title,description:"Webhook",method:e.method,body:"",bodyDescriptions:r?[r]:[],operationId:a.operationId,entry:e});return}if("model"===e.type){let n,o,l=(i=e.name,(0,P.yF)(a)?(0,b.A)(a.components?.schemas?.[i]):(0,P.KK)(a)?k(a,i):void 0),s=l?.description??"",c=(n=[],$(l,{visit:e=>C(n,e),visited:new Set,maxPropertyDepth:2}),n),u=(o=[],$(l,{visit:(e,t)=>{t&&"description"in t&&"string"==typeof t.description&&C(o,t.description)},visited:new Set,maxPropertyDepth:2}),o);t.push({type:"model",title:e.title,description:r,id:e.id,body:c,bodyDescriptions:s?[s,...u]:u,entry:e});return}
200"models"===e.type?t.push({id:e.id,type:"heading",title:r,description:n.heading,body:"",entry:e}):"tag"===e.type&&!0===e.isWebhooks?t.push({id:e.id,type:"heading",title:n.webhooks,description:n.heading,body:"",entry:e}):"tag"===e.type&&!0!==e.isTagGroup?t.push({id:e.id,title:e.title,description:e.description||"",type:"tag",body:"",entry:e}):"tag"===e.type&&!0===e.isTagGroup?t.push({id:e.id,title:e.title,description:n.tagGroup,type:"tag",body:"",entry:e}):"text"===e.type&&t.push({id:e.id,type:"heading",title:x(e)?n.introduction:e.title??"",description:n.heading,body:"",entry:e})})(t,o,r,l,s),"children"in t&&t.children&&e(t.children)})}(r?.["x-scalar-navigation"]?.children??[]),o}),n=(0,u.EW)(()=>{let e=new y.A([],{keys:[{name:"title",weight:.7},{name:"operationId",weight:.6},{name:"parameters",weight:.55},{name:"body",weight:.55},{name:"path",weight:.5},{name:"tag",weight:.4},{name:"description",weight:.3},{name:"method",weight:.3},{name:"responseExamples",weight:.25},{name:"parameterDescriptions",weight:.2},{name:"bodyDescriptions",weight:.2}],threshold:.3,distance:100,includeScore:!0,includeMatches:!0,ignoreLocation:!0,useExtendedSearch:!0,findAllMatches:!0});return e.setCollection(r.value),e}),o=(0,d.KR)("");return{results:(0,u.EW)(()=>0!==o.value.length?n.value.search(o.value,{limit:25}):r.value.slice(0,25).map((e,t)=>({item:e,refIndex:t}))),query:o}}(()=>e.document,()=>e.modelsSectionLabel,()=>({heading:t("search.entryHeading"),tagGroup:t("search.entryTagGroup"),webhook:t("search.entryWebhook"),webhooks:t("navigation.webhooks"),introduction:t("navigation.introduction")})),s=(0,d.KR)(void 0);(0,u.wB)(()=>e.modalState.open,e=>{e&&(o.value="")});let i=e=>{let t="up"===e?-1:1,a=l.value.length;"number"==typeof s.value?s.value=(s.value+t+a)%a:s.value=-1===t?a-1:0};function c(t){if("number"!=typeof t||!l.value[t])return;let a=l.value[t];e.modalState.hide(),e.eventBus.emit("scroll-to:nav-item",{id:a.item.id})}let p=(0,u.EW)(()=>{let e=l.value[s.value??-1];return e?`search-result-${e.item.id}`:void 0});return(a,m)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(eP.u),{"aria-label":(0,d.R1)(t)("search.label"),state:e.modalState,variant:"search"},{default:(0,u.k6)(()=>[(0,u.Lk)("div",e_,[(0,u.bF)((0,d.R1)(eT.v),{modelValue:(0,d.R1)(o),"onUpdate:modelValue":m[0]||(m[0]=e=>(0,d.i9)(o)?o.value=e:null),"aria-activedescendant":p.value,"aria-autocomplete":"list","aria-controls":r,"aria-describedby":n,clearLabel:(0,d.R1)(t)("search.clear"),label:(0,d.R1)(t)("search.inputLabel"),placeholder:(0,d.R1)(t)("search.placeholder"),role:"combobox",onBlur:m[1]||(m[1]=e=>s.value=void 0),onKeydown:[m[2]||(m[2]=(0,eE.jR)((0,eE.D$)(e=>i("down"),["stop","prevent"]),["down"])),m[3]||(m[3]=(0,eE.jR)((0,eE.D$)(()=>c(s.value),["stop","prevent"]),["enter"])),m[4]||(m[4]=(0,eE.jR)((0,eE.D$)(e=>i("up"),["stop","prevent"]),["up"]))]},null,8,["modelValue","aria-activedescendant","clearLabel","label","placeholder"])]),(0,u.bF)((0,d.R1)(ex),{id:r,"aria-label":(0,d.R1)(t)("search.results"),class:"custom-scroll px-1 pb-1",noResults:!(0,d.R1)(l).length},{query:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(o)),1)]),default:(0,u.k6)(()=>[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)((0,d.R1)(l),(t,a)=>((0,u.uX)(),(0,u.Wv)(eR,{id:`search-result-${t.item.id}`,key:t.refIndex,isSelected:s.value===a,modelsSectionLabel:e.modelsSectionLabel,result:t,onClick:(0,eE.D$)(()=>c(a),["prevent"])},null,8,["id","isSelected","modelsSectionLabel","result","onClick"]))),128))]),_:1},8,["aria-label","noResults"]),(0,u.Lk)("div",{id:n,class:"ref-search-meta"},[(0,u.Lk)("span",ej,[(0,u.Lk)("span",null,"↑↓ "+(0,Q.v_)((0,d.R1)(t)("search.navigate")),1),(0,u.Lk)("span",null,"⏎ "+(0,Q.v_)((0,d.R1)(t)("search.select")),1)]),(0,u.Lk)("span",eQ,(0,Q.v_)((0,d.R1)(t)("search.instructions")),1)])]),_:1},8,["aria-label","state"]))}}),[["__scopeId","data-v-ae9b4ecb"]]),eM=a(76610),eZ=a(44419),eU=a(55934),eX=a(32392),eI={class:"sr-only"},eB={"aria-hidden":"true",class:"sidebar-search-placeholder"},eq={class:"sr-only"},eW={class:"sr-only"},eD=(0,u.pM)({__name:"SearchButton",props:{forceIcon:{type:Boolean},searchHotKey:{default:"k"},hideModels:{type:Boolean},modelsSectionLabel:{default:()=>R.W},document:{},eventBus:{}},setup(e){let t=(0,d.KR)(),a=(0,eP.h)(),{translate:r}=v(),n=(0,d.KR)(!1);(0,u.sV)(()=>{n.value=(0,eX.U)()});let o=t=>{((0,eX.U)()?t.metaKey:t.ctrlKey)&&t.key===e.searchHotKey&&(t.preventDefault(),t.stopPropagation(),a.open?a.hide():a.show())};function l(){a.show()}return(0,u.wB)(()=>a.open,async(e,a)=>{!e&&a&&(await (0,u.dY)(),t.value?.$el.focus())}),(0,u.sV)(()=>window.addEventListener("keydown",o)),(0,u.xo)(()=>window.removeEventListener("keydown",o)),(o,s)=>((0,u.uX)(),(0,u.CE)(u.FK,null,[e.forceIcon?((0,u.uX)(),(0,u.Wv)((0,d.R1)(eU.E),{key:0,icon:(0,d.R1)(eZ.A),label:(0,d.R1)(r)("search.label"),onClick:l},null,8,["icon","label"])):((0,u.uX)(),(0,u.Wv)((0,d.R1)(eM.P_),{key:1,ref_key:"button",ref:t,class:(0,Q.C4)(["w-full",o.$attrs.class]),shortcutLabel:(0,d.R1)(r)("search.keyboardShortcut"),onClick:l},{shortcut:(0,u.k6)(()=>[n.value?((0,u.uX)(),(0,u.CE)(u.FK,{key:0},[(0,u.Lk)("span",eq,(0,Q.v_)((0,d.R1)(r)("search.command")),1),s[0]||(s[0]=(0,u.Lk)("span",{"aria-hidden":"true"},"⌘",-1))],64)):((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.Lk)("span",eW,(0,Q.v_)((0,d.R1)(r)("search.control")),1),s[1]||(s[1]=(0,u.Lk)("span",{"aria-hidden":"true"},"⌃",-1))],64)),(0,u.eW)(" "+(0,Q.v_)(e.searchHotKey),1)]),default:(0,u.k6)(()=>[(0,u.Lk)("span",eI,(0,Q.v_)((0,d.R1)(r)("search.open")),1),(0,u.Lk)("span",eB,(0,Q.v_)((0,d.R1)(r)("search.label")),1)]),_:1},8,["class","shortcutLabel"])),(0,u.bF)(eL,{document:e.document,eventBus:e.eventBus,modalState:(0,d.R1)(a),modelsSectionLabel:e.modelsSectionLabel},null,8,["document","eventBus","modalState","modelsSectionLabel"])],64))}}),eN=a(40978),eV={key:0},eF={key:1},ez={key:2},eH={key:3},eY={key:4},eG={key:5},eK=(0,u.pM)({name:"ScalarIconCaretUpDown",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",eV,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M184.49,167.51a12,12,0,0,1,0,17l-48,48a12,12,0,0,1-17,0l-48-48a12,12,0,0,1,17-17L128,207l39.51-39.52A12,12,0,0,1,184.49,167.51Zm-96-79L128,49l39.51,39.52a12,12,0,0,0,17-17l-48-48a12,12,0,0,0-17,0l-48,48a12,12,0,0,0,17,17Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",eF,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M80,176h96l-48,48ZM128,32,80,80h96Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M176,168H80a8,8,0,0,0-5.66,13.66l48,48a8,8,0,0,0,11.32,0l48-48A8,8,0,0,0,176,168Zm-48,44.69L99.31,184h57.38ZM80,88h96a8,8,0,0,0,5.66-13.66l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,80,88Zm48-44.69L156.69,72H99.31Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",ez,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M72.61,83.06a8,8,0,0,1,1.73-8.72l48-48a8,8,0,0,1,11.32,0l48,48A8,8,0,0,1,176,88H80A8,8,0,0,1,72.61,83.06ZM176,168H80a8,8,0,0,0-5.66,13.66l48,48a8,8,0,0,0,11.32,0l48-48A8,8,0,0,0,176,168Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",eH,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M180.24,171.76a6,6,0,0,1,0,8.48l-48,48a6,6,0,0,1-8.48,0l-48-48a6,6,0,0,1,8.48-8.48L128,215.51l43.76-43.75A6,6,0,0,1,180.24,171.76Zm-96-87.52L128,40.49l43.76,43.75a6,6,0,0,0,8.48-8.48l-48-48a6,6,0,0,0-8.48,0l-48,48a6,6,0,0,0,8.48,8.48Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",eY,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M181.66,170.34a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-48-48a8,8,0,0,1,11.32-11.32L128,212.69l42.34-42.35A8,8,0,0,1,181.66,170.34Zm-96-84.68L128,43.31l42.34,42.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,85.66Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",eG,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M178.83,173.17a4,4,0,0,1,0,5.66l-48,48a4,4,0,0,1-5.66,0l-48-48a4,4,0,0,1,5.66-5.66L128,218.34l45.17-45.17A4,4,0,0,1,178.83,173.17Zm-96-90.34L128,37.66l45.17,45.17a4,4,0,1,0,5.66-5.66l-48-48a4,4,0,0,0-5.66,0l-48,48a4,4,0,0,0,5.66,5.66Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),eJ={class:"asyncapi-sidebar-filter min-w-0"},e0={class:"text-c-1 truncate"},e1=(0,u.pM)({__name:"SidebarFilter",props:{label:{},options:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){let a=(0,u.EW)(()=>e.options.find(t=>
200t.id===e.modelValue)??e.options[0]);return(r,n)=>((0,u.uX)(),(0,u.CE)("li",eJ,[(0,u.bF)((0,d.R1)(eN.cy),{label:e.label,modelValue:a.value,options:e.options,resize:"",teleport:"","onUpdate:modelValue":n[0]||(n[0]=e=>t("update:modelValue",e.id))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(eM.dp),{is:"button",class:"w-full items-center text-left"},{aside:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(eK),{class:"text-c-1 ml-1 size-3 shrink-0 self-center",weight:"bold"})]),default:(0,u.k6)(()=>[(0,u.Lk)("span",e0,(0,Q.v_)(a.value?.label),1)]),_:1})]),_:1},8,["label","modelValue","options"])]))}}),e2=a(80986),e4=a(21502),e8=a(86888),e3=a(98956);let e6=["ws","wss"],e5=e=>e?.variables?(0,e2.W)(e.variables).reduce((e,[t,a])=>{let r=(0,b.A)(a);return null!=r.default&&(e[String(t)]=String(r.default)),e},{}):{},e7=(e,t)=>{let a=e;return t.serverVariables&&(a=(0,e8.xG)(a,t.serverVariables)),t.environmentVariables&&(a=(0,e8.Rf)(a,t.environmentVariables)),t.pathParameters&&(a=(0,e8.xG)(a,t.pathParameters)),a},e9=e=>e?.trim().toLowerCase()||void 0,te=(e,t)=>{let a=e5(e),r=e.protocol.trim().toLowerCase(),n=e7(e.host,{serverVariables:a,environmentVariables:t}),o=`${r}://${n}`;if(!e.pathname)return o;let l=e7(e.pathname,{serverVariables:a,environmentVariables:t});return(0,e3.Dk)(o,l)},tt=e=>{if(e)return(0,b.A)(e).ws},ta=(e,t)=>{let a=tt(e.bindings),r=t?tt(t.bindings):void 0;if(a||r)return{...a,...r,query:tn(a?.query,r?.query)}},tr=e=>{if(!e)return;let t=(0,b.A)(e);if(!0!==t&&!1!==t&&(0,p.G)(t))return t},tn=(e,t)=>{let a=tr(e),r=tr(t);if(!a&&!r)return;if(!a)return t;if(!r)return e;let n="properties"in a?a.properties:void 0,o="properties"in r?r.properties:void 0;return Object.assign({},a,r,{properties:{...n,...o}})},to=e=>{if(!0!==e&&!1!==e&&(0,p.G)(e)){if("default"in e&&void 0!==e.default)return e.default;if("example"in e&&void 0!==e.example)return e.example;if("enum"in e&&Array.isArray(e.enum)&&void 0!==e.enum[0])return e.enum[0]}},tl=(e,t,a)=>{if(null!=a){if(Array.isArray(a))return void a.forEach(a=>tl(e,t,a));if("object"==typeof a)return void e.append(t,JSON.stringify(a));e.append(t,String(a))}},ts=(e,t)=>{let a=new URLSearchParams,r=tr(e?.query),n=r&&"properties"in r?r.properties:void 0;if((0,p.G)(n))for(let[e,t]of Object.entries(n))tl(a,e,to(t));if(t)for(let[e,r]of(0,e2.W)(t))a.delete(e),tl(a,e,r);return a},ti=e=>e.replace(/~/g,"~0").replace(/\//g,"~1");var tc=a(21961),tu=a(67935);let td=(e,t)=>{let a=`#/${t.map(ti).join("/")}/`;if(!e.startsWith(a))return;let r=(0,tu.F)(()=>(0,tc.L)(e.slice(1)));if(!r.ok)return;let n=r.data;if(n.length!==t.length+1)return;for(let e=0;e<t.length;e++)if(n[e]!==t[e])return;let o=n[t.length];return o&&o.length>0?o:void 0},tp=e=>td(e,["servers"]),tm=(e,t)=>{if(!t?.servers)return;let a=new Set;for(let r of t.servers){let t=tp(r.$ref);t&&e.servers?.[t]&&a.add(t)}return a},th=(e,t={})=>{let{channel:a=null,operation:r=null,pathParameters:n={},queryParameters:o={},environmentVariables:l,webSocketOnly:s=!0}=t,i=e.servers??{},c=tm(e,a);return(0,e2.W)(i).filter(([e])=>c?.has(e)??!0).map(([e,t])=>{let s=(0,b.A)(t),i=s.protocol.trim().toLowerCase(),c=e6.includes(i.trim().toLowerCase()),u=te(s,l),d={name:e,server:s,host:s.host,protocol:i,description:s.description,title:s.title,url:u,isWebSocket:c};return a&&(d.connectionUrl=(({server:e,channel:t,operation:a=null,pathParameters:r={},queryParameters:n={},environmentVariables:o})=>{let l=e5(e),s=te(e,o),i=t.address;if(null==i||""===i){let e=ts(ta(t,a),n);return(0,e3.Hh)(s,"",e,!0)}let c=e7(i,{serverVariables:l,environmentVariables:o,pathParameters:r}),u=ts(ta(t,a),n);return(0,e3.Hh)(s,c,u,!0)})({server:s,channel:a,operation:r,pathParameters:n,queryParameters:o,environmentVariables:l})),d}).filter(e=>!s||e.isWebSocket)},tf=e=>{let t=new Map;for(let[a,r]of(0,e2.W)(e.servers??{})){let e=e9((0,b.A)(r).protocol);e&&t.set(a,e)}return t},tg=e=>({serverProtocols:tf(e),allServerNames:new Set((0,e4.u)(e.servers??{}))}),tv=(e,t)=>{if(Object.is(e,t))return!0;if(!(0,p.Z)(e)||!(0,p.Z)(t))return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let a=0;a<e.length;a+=1)if(!tv(e[a],t[a]))return!1;return!0}if(Array.isArray(t))return!1;let a=0;for(let r in e)if(Object.hasOwn(e,r)&&(a+=1,!Object.hasOwn(t,r)||!tv(e[r],t[r])))return!1;let r=0;for(let e in t)Object.hasOwn(t,e)&&(r+=1);return a===r},ty=e=>{let t=new Set;return e.filter(e=>{let a=JSON.stringify(e);return!t.has(a)&&(t.add(a),!0)})},tb=(e,t)=>t?.length?t.map(t=>((e,t)=>{let a=((e,t)=>{if("$ref"in t){let e=td(t.$ref,["components","securitySchemes"]);if(e)return e}let a=(e=>{let t=(0,b.A)(e);if(null==t)return;if(!("scopes"in t))return t;let{scopes:a,...r}=t;return r})(t);if(null==a)return;let r=e.components?(0,b.A)(e.components):void 0;if(r?.securitySchemes)for(let[e,t]of Object.entries(r.securitySchemes)){let r=(0,b.A)(t);
200if(r===a||tv(r,a))return e}})(e,t);if(!a)return;let r=(0,b.A)(t);return{[a]:null!=r&&"scopes"in r&&Array.isArray(r.scopes)?[...r.scopes]:[]}})(e,t)).filter(e=>null!=e):[],tO=(e,t,a)=>{let r=tb(e,t?.security),n=tb(e,a?.security);return ty(0===r.length?n:0===n.length?r:[...r,...n])};a(53659),a(37560);var tk=(0,u.pM)({__name:"AsyncApiSidebarFilters",props:(0,u.zz)({document:{},is:{default:"li"}},{protocol:{default:""},protocolModifiers:{},server:{default:""},serverModifiers:{}}),emits:["update:protocol","update:server"],setup(e){let t=(0,u.fn)(e,"protocol"),a=(0,u.fn)(e,"server"),r=(0,u.EW)(()=>e.document?[{id:"all",label:"All protocols"},...[...new Set(tf(e.document).values())].sort((e,t)=>e.localeCompare(t)).map(e=>({id:e,label:e.toUpperCase()}))]:[]),n=(0,u.EW)(()=>{var t;return e.document?(t=e.document,[{id:"all",label:"All servers"},...(0,e2.W)(t.servers??{}).map(([e,t])=>{let a=e9((0,b.A)(t).protocol);return{id:e,label:a?`${e} (${a})`:e}})]):[]}),o=(0,u.EW)(()=>r.value.length>2),l=(0,u.EW)(()=>n.value.length>2);return(s,i)=>o.value||l.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(eM.Kx),{key:0,is:e.is,class:"asyncapi-sidebar-filters"},{items:(0,u.k6)(()=>[o.value?((0,u.uX)(),(0,u.Wv)(e1,{key:0,modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=e=>t.value=e),label:"Protocol",options:r.value},null,8,["modelValue","options"])):(0,u.Q3)("",!0),l.value?((0,u.uX)(),(0,u.Wv)(e1,{key:1,modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=e=>a.value=e),label:"Server",options:n.value},null,8,["modelValue","options"])):(0,u.Q3)("",!0)]),default:(0,u.k6)(()=>[i[2]||(i[2]=(0,u.eW)(" Filters ",-1))]),_:1},8,["is"])):(0,u.Q3)("",!0)}}),tx=(e,t)=>!t||"all"===t||e.has(t),tw=(e,t,a,r)=>{if("asyncapi-operation"===e.type){let n=t.operations?.[e.operationName];if(!n)return e;let{protocols:o,serverNames:l}=((e,t,a=tg(e))=>{let r=((e,t)=>{let a=t.channel;if(!a)return;let r="$ref"in a?td(a.$ref,["channels"]):void 0;if(r&&e.channels?.[r]){let t=(0,b.A)(e.channels[r]),a="string"==typeof t.address&&t.address.length>0?t.address:r;return{channelName:r,channel:t,channelAddress:a}}let n=(0,b.A)(a),o=r??((e,t)=>{if(e.channels){for(let[a,r]of Object.entries(e.channels))if((0,b.A)(r)===t)return a}})(e,n)??("string"==typeof n.address&&n.address.length>0?n.address:void 0);if(!o)return;let l="string"==typeof n.address&&n.address.length>0?n.address:o;return{channelName:o,channel:n,channelAddress:l}})(e,t)?.channel??null,n=tm(e,r),o=new Set(n?[...n].filter(e=>a.allServerNames.has(e)):a.allServerNames),l=new Set;for(let[e,t]of a.serverProtocols)o.has(e)&&l.add(t);return{serverNames:o,protocols:l}})(t,(0,b.A)(n,b.F),r);return tx(o,a.protocol)&&tx(l,a.server)?e:null}if("asyncapi-channel"===e.type||"tag"===e.type){let n=e.children??[],o=n.flatMap(e=>{let n=tw(e,t,a,r);return n?[n]:[]});return n.length>0&&0===o.length?null:{...e,children:o}}return e},tS=a(5356),tC=Symbol(),t$=(0,d.KR)(null);function tA(){let e=(0,u.WQ)(tC,void 0);return(0,u.EW)(()=>e??t$.value??void 0)}var tR={key:0},tE={key:1},tP={key:2},tT={key:3},t_={key:4},tj={key:5},tQ=(0,u.pM)({name:"ScalarIconSparkle",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",tR,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M199,125.31l-49.88-18.39L130.69,57a19.92,19.92,0,0,0-37.38,0L74.92,106.92,25,125.31a19.92,19.92,0,0,0,0,37.38l49.88,18.39L93.31,231a19.92,19.92,0,0,0,37.38,0l18.39-49.88L199,162.69a19.92,19.92,0,0,0,0-37.38Zm-63.38,35.16a12,12,0,0,0-7.11,7.11L112,212.28l-16.47-44.7a12,12,0,0,0-7.11-7.11L43.72,144l44.7-16.47a12,12,0,0,0,7.11-7.11L112,75.72l16.47,44.7a12,12,0,0,0,7.11,7.11L180.28,144ZM140,40a12,12,0,0,1,12-12h12V16a12,12,0,0,1,24,0V28h12a12,12,0,0,1,0,24H188V64a12,12,0,0,1-24,0V52H152A12,12,0,0,1,140,40ZM252,88a12,12,0,0,1-12,12h-4v4a12,12,0,0,1-24,0v-4h-4a12,12,0,0,1,0-24h4V72a12,12,0,0,1,24,0v4h4A12,12,0,0,1,252,88Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",tE,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M194.82,151.43l-55.09,20.3-20.3,55.09a7.92,7.92,0,0,1-14.86,0l-2
2000.3-55.09-55.09-20.3a7.92,7.92,0,0,1,0-14.86l55.09-20.3,20.3-55.09a7.92,7.92,0,0,1,14.86,0l20.3,55.09,55.09,20.3A7.92,7.92,0,0,1,194.82,151.43Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",tP,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M208,144a15.78,15.78,0,0,1-10.42,14.94L146,178l-19,51.62a15.92,15.92,0,0,1-29.88,0L78,178l-51.62-19a15.92,15.92,0,0,1,0-29.88L78,110l19-51.62a15.92,15.92,0,0,1,29.88,0L146,110l51.62,19A15.78,15.78,0,0,1,208,144ZM152,48h16V64a8,8,0,0,0,16,0V48h16a8,8,0,0,0,0-16H184V16a8,8,0,0,0-16,0V32H152a8,8,0,0,0,0,16Zm88,32h-8V72a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0V96h8a8,8,0,0,0,0-16Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",tT,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M196.89,130.94,144.4,111.6,125.06,59.11a13.92,13.92,0,0,0-26.12,0L79.6,111.6,27.11,130.94a13.92,13.92,0,0,0,0,26.12L79.6,176.4l19.34,52.49a13.92,13.92,0,0,0,26.12,0L144.4,176.4l52.49-19.34a13.92,13.92,0,0,0,0-26.12Zm-4.15,14.86-55.08,20.3a6,6,0,0,0-3.56,3.56l-20.3,55.08a1.92,1.92,0,0,1-3.6,0L89.9,169.66a6,6,0,0,0-3.56-3.56L31.26,145.8a1.92,1.92,0,0,1,0-3.6l55.08-20.3a6,6,0,0,0,3.56-3.56l20.3-55.08a1.92,1.92,0,0,1,3.6,0l20.3,55.08a6,6,0,0,0,3.56,3.56l55.08,20.3a1.92,1.92,0,0,1,0,3.6ZM146,40a6,6,0,0,1,6-6h18V16a6,6,0,0,1,12,0V34h18a6,6,0,0,1,0,12H182V64a6,6,0,0,1-12,0V46H152A6,6,0,0,1,146,40ZM246,88a6,6,0,0,1-6,6H230v10a6,6,0,0,1-12,0V94H208a6,6,0,0,1,0-12h10V72a6,6,0,0,1,12,0V82h10A6,6,0,0,1,246,88Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",t_,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",tj,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M196.2,132.81l-53.36-19.65L123.19,59.8a11.93,11.93,0,0,0-22.38,0L81.16,113.16,27.8,132.81a11.93,11.93,0,0,0,0,22.38l53.36,19.65,19.65,53.36a11.93,11.93,0,0,0,22.38,0l19.65-53.36,53.36-19.65a11.93,11.93,0,0,0,0-22.38Zm-2.77,14.87L138.35,168a4,4,0,0,0-2.37,2.37l-20.3,55.08a3.92,3.92,0,0,1-7.36,0L88,170.35A4,4,0,0,0,85.65,168l-55.08-20.3a3.92,3.92,0,0,1,0-7.36L85.65,120A4,4,0,0,0,88,117.65l20.3-55.08a3.92,3.92,0,0,1,7.36,0L136,117.65a4,4,0,0,0,2.37,2.37l55.08,20.3a3.92,3.92,0,0,1,0,7.36ZM148,40a4,4,0,0,1,4-4h20V16a4,4,0,0,1,8,0V36h20a4,4,0,0,1,0,8H180V64a4,4,0,0,1-8,0V44H152A4,4,0,0,1,148,40Zm96,48a4,4,0,0,1-4,4H228v12a4,4,0,0,1-8,0V92H208a4,4,0,0,1,0-8h12V72a4,4,0,0,1,8,0V84h12A4,4,0,0,1,244,88Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),tL=(0,u.pM)({__name:"AgentScalarButton",setup(e){let t=tA(),{translate:a}=v();return(e,r)=>((0,u.uX)(),(0,u.CE)("button",{class:"bg-sidebar-b-search text-sidebar-c-2 hover:text-sidebar-c-1 flex items-center gap-1.5 rounded border px-2 text-base whitespace-nowrap",type:"button",onClick:r[0]||(r[0]=e=>(0,d.R1)(t)?.toggleAgent())},[(0,u.bF)((0,d.R1)(tQ)),(0,u.eW)(" "+(0,Q.v_)((0,d.R1)(a)("agent.askAi")),1)]))}}),tM=a(8544),tZ={class:"agent-scalar-container custom-scroll custom-scroll-self-contain-overflow overflow-auto px-6"},tU=s((0,u.pM)({__name:"AgentScalarDrawer",props:{agentScalarConfiguration:{},externalUrls:{},workspaceStore:{}},setup(e){let t=tA(),{translate:r}=v(),n=(0,u.$V)(async()=>Promise.all([a.e(9242),a.e(6153),a.e(1891),a.e(9087)]).then(a.bind(a,69417)));return(a,o)=>((0,u.uX)(),(0,u.CE)(u.FK,null,[(0,u.bF)(eE.eB,{enterActiveClass:"transition-opacity duration-500",enterFromClass:"opacity-0",enterToClass:"opacity-100",leaveActiveClass:"transition-opacity duration-200",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},{default:(0,u.k6)(()=>[(0,u.bo)((0,u.Lk)("div",{class:"agent-scalar-overlay bg-backdrop fixed inset-0 z-10 ease-[
200cubic-bezier(0.77,0,0.175,1)]",onClick:o[0]||(o[0]=e=>(0,d.R1)(t)?.closeAgent())},null,512),[[eE.aG,(0,d.R1)(t)?.showAgent.value]])]),_:1}),(0,u.bF)(eE.eB,{enterActiveClass:"transition-transform duration-300",enterFromClass:"-translate-x-full",enterToClass:"translate-x-0",leaveActiveClass:"transition-transform duration-200",leaveFromClass:"translate-x-0",leaveToClass:"-translate-x-full"},{default:(0,u.k6)(()=>[(0,u.bo)((0,u.Lk)("div",{class:"agent-scalar left-refs-w-sidebar bg-b-1 fixed inset-y-0 right-12 z-10 grid border-r shadow-lg",onKeydown:o[2]||(o[2]=(0,eE.jR)(e=>(0,d.R1)(t)?.closeAgent(),["escape"]))},[(0,u.Lk)("div",tZ,[(0,u.bF)((0,d.R1)(n),{agentScalarConfiguration:e.agentScalarConfiguration,externalUrls:e.externalUrls,prefilledMessage:(0,d.R1)(t)?.prefilledMessage,workspaceStore:e.workspaceStore},null,8,["agentScalarConfiguration","externalUrls","prefilledMessage","workspaceStore"])]),(0,u.bF)((0,d.R1)(eU.E),{class:"agent-scalar-exit-button absolute top-2 right-2",icon:(0,d.R1)(tM.A),label:(0,d.R1)(r)("agent.close"),weight:"bold",onClick:o[1]||(o[1]=e=>(0,d.R1)(t)?.closeAgent())},null,8,["icon","label"])],544),[[eE.aG,(0,d.R1)(t)?.showAgent.value]])]),_:1})],64))}}),[["__scopeId","data-v-3496197b"]]),tX=a(11125);async function tI(e,t){let a=JSON.stringify({document:e}),r=`${t.apiBaseUrl}/core/share/upload/apis`,n=await fetch((0,tX.m)(t.proxyUrl,r),{method:"POST",headers:{"Content-Type":"application/json"},body:a});if(!n.ok)throw Error(` Failed to generate temporary link, server responded with ${n.status}`);let o=await n.json();if(!(o&&"object"==typeof o&&"url"in o&&"string"==typeof o.url))throw Error("Failed to generate temporary link, invalid response from server");return o.url}var tB=a(71961),tq=a(82553),tW=a(85939),tD=a(18486),tN={class:"scalar-mcp-layer"},tV=s((0,u.pM)({__name:"OpenMCPButton",props:(0,u.zz)({config:{},externalUrls:{},url:{},workspace:{}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){let{copyToClipboard:t}=(0,tB.i)(),{translate:a}=v(),{toast:r}=(0,tq.Yf)(),n=(0,tD.R)(),o=e.config?.name||e.config?.url,l=btoa(JSON.stringify(e.config??{})),s=`cursor://anysphere.cursor-deeplink/mcp/install?name=${encodeURIComponent(e.config?.name??"")}&config=${l}`,i=`vscode:mcp/install?${encodeURIComponent(JSON.stringify(e.config??{}))}`,c=(0,u.fn)(e,"url");async function p(){if(n.isLoading||!e.workspace)return;if(c.value&&function(e){try{return new URL(e),!0}catch{return!1}}(c.value))return void m(c.value);n.start();let t=e.workspace.exportActiveDocument("json");if(!t){r(a("developerTools.unableToExportDocument"),"error"),await n.invalidate();return}try{c.value=await tI(t,e.externalUrls),await n.validate(),m(c.value),await (0,u.dY)(),await n.clear()}catch(e){r(e instanceof Error?e.message:a("developerTools.unknownError"),"error"),await n.invalidate()}}function m(t){let a=new URL(`${e.externalUrls.dashboardUrl}/register`);a.searchParams.set("url",t),a.searchParams.set("createMcp","true"),window.open(a.toString(),"_blank")}return(r,n)=>((0,u.uX)(),(0,u.CE)("div",tN,[((0,u.uX)(),(0,u.Wv)((0,u.$y)((0,d.R1)(o)?"a":"button"),{class:"scalar-mcp-layer-link",href:(0,d.R1)(o)?i:void 0,target:(0,d.R1)(o)?"_blank":void 0,type:(0,d.R1)(o)?void 0:"button",onClick:n[0]||(n[0]=e=>{(0,d.R1)(o)||(e.preventDefault(),p())})},{default:(0,u.k6)(()=>[n[3]||(n[3]=(0,u.Lk)("svg",{class:"mcp-logo",fill:"currentColor",height:"800",viewBox:"0 0 32 32",width:"800",xmlns:"http://www.w3.org/2000/svg"},[(0,u.Lk)("path",{d:"M30.865 3.448 24.282.281a1.99 1.99 0 0 0-2.276.385L9.397 12.171 3.902 8.004a1.33 1.33 0 0 0-1.703.073L.439 9.681a1.33 1.33 0 0 0-.005 1.969L5.2 15.999.434 20.348a1.33 1.33 0 0 0 .005 1.969l1.76 1.604a1.33 1.33 0 0 0 1.703.073l5.495-4.172 12.615 11.51a1.98 1.98 0 0 0 2.271.385l6.589-3.172a1.99 1.99 0 0 0 1.13-1.802V5.248c0-.766-.443-1.469-1.135-1.802zm-6.86 19.818L14.432 16l9.573-7.266z"})],-1)),n[4]||(n[4]=(0,u.eW)(" VS Code ",-1)),(0,u.bF)((0,d.R1)(tW.A),{class:"mcp-nav ml-auto size-4"})]),_:1},8,["href","target","type"])),((0,u.uX)(),(0,u.Wv)((0,u.$y)((0,d.R1)(o)?"a":"button"),{class:"scalar-mcp-layer-link",href:(0,d.R1)(o)?s:void 0,target:(0,d.R1)(o)?"_blank":void 0,type:(0,d.R1)(o)?void 0:"button",onClick:n[1]||(n[1]=e=>{(0,d.R1)(o)||(e.preventDefault(),p())})},{default:(0,u.k6)(()=>[n[5]||(n[5]=(0,u.Lk)("svg",{class:"mcp-logo",viewBox:"0 0 466.73 532.09",xmlns:"http://www.w3.org/2000/svg"},[(0,u.Lk)("path",{d:"M457.43 125.94 244.42 2.96a22.13 22.13 0 0 0-22.12 0L9.3 125.94C3.55 129.26 0 135.4 0 142.05v247.99c0 6.65 3.55 12.79 9.3 16.11l213.01 122.98a22.13 22.13 0 0 0 22.12 0l213.01-122.98c5.75-3.32 9.3-9.46 9.3-16.11V142.05c0-6.65-3.55-12.79-9.3-16.11zm-13.38 26.05L238.42 508.15c-1.39 2.4-5.06 1.42-5.06-1.36V273.58c0-4.66-2.49-8.97-6.53-11.31L24.87 145.67c-2.4-1.39-1.42-5.06 1.36-5.06h411.26c5.84 0 9.49 6.33 6.57 11.39h-.01Z",style:{fill:"currentColor"}})],-1)),n[6]||(n[6]=(0,u.eW)(" Cursor ",-1)),(0,u.bF)((0,d.R1)(tW.A),{class:"mcp-nav ml-auto size-4"})]),_:1},8,["href","target","type"])),(0,d.R1)(o)?((0,u.uX)(),(0,u.CE)("div",{key:1,class:"scalar-mcp-layer-link",onClick:n[2]||(n[2]=a=>(0,d.R1)(t)(e.config?.url??""))},[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("mcp.connect"))+" ",1),n[8]||(n[8]=(0,u.Lk)("svg",{class:"mcp-logo ml-auto",fill:"none",height:"173",viewBox:"0 0 156 173",width:"156",xmlns:"http://www.w3.org/2000/svg"},[(0,u.Lk)("path",{d:"m6 80.912 67.882-67.883c9.373-9.372 24.569-9.372 33.941 0s9.373 24.569 0 33.942L56.558 98.236",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),(0,u.Lk)("path",{d:"m57.265 97.529 50.558-50.558c9.373-9.373 24.569-9.373 33.942 0l.353.353c9.373 9.373 9.373 24.569 0 33.941L80.725 142.66a8 8 0 0 0 0 11.313l
20012.606 12.607",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),(0,u.Lk)("path",{d:"M90.853 30 40.648 80.205c-9.372 9.372-9.372 24.568 0 33.941 9.373 9.372 24.569 9.372 33.941 0l50.205-50.205",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"})],-1))])):((0,u.uX)(),(0,u.CE)("div",{key:0,class:"scalar-mcp-layer-link",onClick:p},[n[7]||(n[7]=(0,u.Lk)("svg",{class:"mcp-logo",fill:"none",height:"173",viewBox:"0 0 156 173",width:"156",xmlns:"http://www.w3.org/2000/svg"},[(0,u.Lk)("path",{d:"m6 80.912 67.882-67.883c9.373-9.372 24.569-9.372 33.941 0s9.373 24.569 0 33.942L56.558 98.236",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),(0,u.Lk)("path",{d:"m57.265 97.529 50.558-50.558c9.373-9.373 24.569-9.373 33.942 0l.353.353c9.373 9.373 9.373 24.569 0 33.941L80.725 142.66a8 8 0 0 0 0 11.313l12.606 12.607",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),(0,u.Lk)("path",{d:"M90.853 30 40.648 80.205c-9.372 9.372-9.372 24.568 0 33.941 9.373 9.372 24.569 9.372 33.941 0l50.205-50.205",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"})],-1)),(0,u.eW)(" "+(0,Q.v_)((0,d.R1)(a)("mcp.generate"))+" ",1),(0,u.bF)((0,d.R1)(tW.A),{class:"mcp-nav ml-auto size-4"})]))]))}}),[["__scopeId","data-v-24b70070"]]),tF={class:"references-classic-header-container"},tz={class:"references-classic-header"},tH={class:"references-classic-header-content"},tY=s({},[["render",function(e,t){return(0,u.uX)(),(0,u.CE)("div",tF,[(0,u.Lk)("div",tz,[(0,u.Lk)("div",tH,[(0,u.RG)(e.$slots,"default",{},void 0,!0)]),(0,u.RG)(e.$slots,"dark-mode-toggle",{},void 0,!0)])])}],["__scopeId","data-v-8a3822ca"]]),tG=a(13919),tK=(e,t,a)=>{(0,u.sV)(()=>{let r={rootMargin:a?.immediate?"0px 0px 0px 0px":"-49% 0px -49% 0px",threshold:0};e.value&&(0,tG.BLq)(e,([e])=>{e?.isIntersecting?t():a?.onExit?.()},r)})},tJ=["content.start","content.end"],t0=(e,t,a,r)=>`${e}/plugin-view/${t}/${a}/${r}`,t1=({plugins:e=[],auth:t})=>{let a=new Map,r=t??{export:()=>({}),getAuthSecrets:()=>void 0,getAuthSelectedSchemas:()=>void 0};return e.forEach(e=>{let t=e();a.set(t.name,t)}),{getSpecificationExtensions:e=>{let t=[];for(let r of a.values())for(let a of r.extensions)a.name===e&&t.push(a);return t},getViewComponents:(e,t)=>{let r=[];for(let n of a.values()){let a=n.views?.[e];a&&a.forEach((a,o)=>{r.push({...a,id:t0(t,n.name,e,o)})})}return r},notifyInit:e=>{for(let t of a.values())t.hooks?.onInit?.({config:e,auth:r})},notifyConfigChange:e=>{for(let t of a.values())t.hooks?.onConfigChange?.({config:e,auth:r})},getAuthState:()=>r,notifyDestroy:()=>{for(let e of a.values())e.hooks?.onDestroy?.()},getApiClientPlugins:()=>{let e=[];for(let t of a.values())t.apiClientPlugins&&e.push(...t.apiClientPlugins);return e},getSidebarEntries:e=>{let t=[];for(let r of a.values())for(let a of tJ)r.views?.[a]?.forEach((n,o)=>{n.sidebar?.show&&n.sidebar.label&&t.push({id:t0(e,r.name,a,o),label:n.sidebar.label,viewName:a})});return t}}},t2=Symbol(),t4=()=>{let e=(0,u.WQ)(t2);return e||t1({})},t8=a(60739),t3=a(28041),t6=a(70470),t5=(0,t8.Ar)(),t7=()=>{let e=t8.n_.SELECTED_CLIENT;return{get:()=>t5.getItem(e),set:t=>{t5.setItem(e,t)}}},t9=()=>{let e=e=>`${t8.n_.AUTH}-${e}`;return{getAuth:t=>(0,t6.v)(t3.wF,JSON.parse(t5.getItem(e(t))??"{}")),setAuth:(t,a)=>{t5.setItem(e(t),JSON.stringify(a))}}},ae=a(82138),at=a(67741),aa=e=>{let t=e.length;for(;t>0&&"/"===e[t-1];)t-=1;return e.slice(0,t)},ar=e=>aa((e=>{let t=0;for(;t<e.length&&"/"===e[t];)t+=1;return e.slice(t)})(e)),an=e=>aa(e.replace(/^#+/,"")),ao=(e,t)=>t?`${t}${e?"/":""}${e}`:e,al=(e,t)=>e===t?"":e.startsWith(`${t}/`)?e.slice(t.length+1):null,as=e=>e?`/${e.split("/").map(e=>encodeURIComponent(e)).join("/")}`:"",ai=(e,t,a)=>{let r;return"string"!=typeof t?ao(decodeURIComponent(("string"==typeof e?new URL(e):e).hash.slice(1)),a):t.startsWith("#")?null!==(r=al(decodeURIComponent(("string"==typeof e?new URL(e):e).hash.slice(1)),an(t)))?ao(r,a):a??"":((e,t,a)=>{let r="string"==typeof e?new URL(e):e,n=as(ar(t));if(r.pathname.startsWith(n)){let e=r.pathname.slice(n.length);return ao(decodeURIComponent(e.startsWith("/")?e.slice(1):e),a)}return a??""})(e,t,a)},ac=e=>
200{let t=e.endsWith("/"),a=e.split("/").filter(Boolean).slice(1).join("/");return t&&a?`${a}/`:a},au=(e,t,a)=>{if("u"<typeof window)return;let r=a?e:ac(e),n=new URL(window.location.href);return"string"==typeof t?t.startsWith("#")?n.hash=[an(t),r].filter(Boolean).join("/"):n.pathname=`${ar(t)}/${r}`:n.hash=r,n},ad=(e,t,a)=>{let r=a?e:ac(e),n=new URL("http://scratch");return"string"==typeof t?t.startsWith("#")?(n.hash=[an(t),r].filter(Boolean).join("/"),n.hash||"#"):(n.pathname=`${ar(t)}/${r}`,n.pathname.replace(/^\/+/,"/")):(n.hash=r,n.hash||"#")},ap=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),am=e=>({value:decodeURIComponent(e.hash.slice(1)),write:t=>{e.hash=t}}),ah=(e,t)=>{for(let{match:a,replace:r}of t){let t=e.replace(a,r);if(t!==e)return t}return e},af="(?:(?:tag-group/[^/]+/)?tag/[^/]+/)?",ag=[".body.",".path.",".query.",".header.",".responses."],av=(e,t,a,r,n,o=[])=>{if(!a)return null;let l=new URL("string"==typeof e?e:e.toString()),s=[...(({modelsSectionSlug:e,documentSlug:t,isMultiDocument:a})=>{let r=ap(t),n=a?`${r}/${af}`:`(?:${r}/${af})?`,o=t=>({match:RegExp(`^(${n})${ap(t)}/`),replace:(t,a)=>`${a}${e}/`}),l=[o("model")];return"models"!==e&&l.push(o("models")),l})({modelsSectionSlug:t,documentSlug:a,isMultiDocument:r}),...(e=>{let t=(e,t)=>`${e.toUpperCase()}/${t}`,a=new Set,r=new Map;for(let{name:n,method:o,id:l}of e){a.add(t(o,l.slice(l.lastIndexOf("/")+1)));let e=(0,at.Y)(n);if(e){let a=t(o,e);r.set(a,(r.get(a)??0)+1)}}let n=`(?=$|/|${ag.map(ap).join("|")})`,o=[];for(let{name:l,method:s,id:i}of e){let e=s.toUpperCase(),c=i.slice(i.lastIndexOf("/")+1),u=(0,at.Y)(l),d=t(s,u);!u||u===c||a.has(d)||(r.get(d)??0)>1||o.push({match:RegExp(`(^|/)webhook/${ap(e)}/${ap(u)}${n}`),replace:(t,a)=>`${a}webhook/${e}/${c}`})}return o})(o)],i=!1;for(let e of((e,t)=>{if("string"!=typeof t)return[am(e)];if(t.startsWith("#")){let a=an(t);return[{value:al(decodeURIComponent(e.hash.slice(1)),a)??"",write:t=>{e.hash=[a,t].filter(Boolean).join("/")}},am(e)]}let a=ar(t),r=al(e.pathname,as(a));return[{value:null===r?"":decodeURIComponent(r),write:t=>{e.pathname=a?`/${a}/${t}`:`/${t}`}},am(e)]})(l,n)){let t=ah(e.value,s);t!==e.value&&(e.write(t),i=!0)}return i?l:null},ay=a(17855),ab=a(78451),aO=(0,d.Kh)(new Set),ak=(0,d.Kh)(new Set),ax=(0,d.Kh)(new Set),aw=(0,d.KR)(!1),aS=(0,d.KR)(!1),aC=(0,d.KR)(""),a$=e=>{aC.value===e&&(aC.value="")},aA=(0,d.Kh)(new Set),aR=new Set,aE=(0,d.Kh)(new Map),aP=(e,t)=>
200{Number.isFinite(t)&&!(t<=0)&&aE.set(e,Math.round(t))},aT=()=>{let e=(0,ab.Ak)();return aA.add(e),()=>setTimeout(()=>aA.delete(e),100)},a_=(0,u.EW)(()=>0===aA.size),aj=()=>{if("u"<typeof window||aw.value)return;aw.value=!0;let e=async()=>{let e=[...aO],t=[...ak];if(0===e.length&&0===t.length){aR.forEach(e=>e()),aR.clear(),aw.value=!1,aS.value=!0;return}for(let t of e)ax.add(t),aO.delete(t);for(let e of t)ax.add(e),ak.delete(e);await (0,u.dY)(),aR.forEach(e=>e()),aR.clear(),aw.value=!1,aS.value=!0};window.requestIdleCallback?window.requestIdleCallback(e,{timeout:1500}):(0,u.dY)(e)};(0,ay.Th)([()=>ak.size,()=>aO.size,()=>aw.value],()=>{(ak.size>0||aO.size>0)&&!aw.value&&aj()},{debounce:300,maxWait:1500});var aQ=e=>{e&&!aO.has(e)&&aO.add(e)},aL=(e,t=!1)=>{if(!(!e||ax.has(e))){if(t)aQ(e);else!e||ax.has(e)||aO.has(e)||ak.add(e);aw.value||aj()}},aM=(e,t,a,r)=>{let n=document.getElementById(e);n?(n.scrollIntoView({block:"start"}),a$(e),a()):Date.now()<t?requestAnimationFrame(()=>aM(e,t,a,r)):(a$(e),a(),r?.())},aZ=a(95876),aU=a(28900),aX={class:"sr-only"},aI={class:"overflow-x-auto"},aB={key:1,class:"text-c-1 flex h-auto w-full items-center gap-0.75 !rounded-b-xl px-3 py-1.5 text-base leading-[20px] whitespace-nowrap"},aq={class:"sr-only"},aW={class:"overflow-x-auto"},aD=(0,u.pM)({__name:"Selector",props:{selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:a}){let{translate:r}=v(),n=(0,u.EW)(()=>e.servers.map(e=>({id:e.name,label:e.url}))),o=(0,u.EW)(()=>e.selectedServer?.url?.replace(/\/$/,"")||""),l=(0,u.EW)(()=>n.value.find(t=>t.id===e.selectedServer?.name));return t({servers:e.servers,serverUrlWithoutTrailingSlash:o,serverOptions:n,selectedServer:e.selectedServer}),(t,s)=>n.value.length>1?((0,u.uX)(),(0,u.Wv)((0,d.R1)(eN.cy),{key:0,ref:"elem",class:"group",modelValue:l.value,options:n.value,placement:"bottom-start",resize:"",target:e.target,"onUpdate:modelValue":s[0]||(s[0]=e=>a("update:modelValue",e.id))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(aU.R),{class:"bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none !rounded-b-xl px-3 py-1.5 text-base/5.25 font-normal whitespace-nowrap -outline-offset-1",variant:"ghost"},{default:(0,u.k6)(()=>[(0,u.Lk)("span",aX,(0,Q.v_)((0,d.R1)(r)("server.label"))+":",1),(0,u.Lk)("span",aI,(0,Q.v_)(o.value||(0,d.R1)(r)("server.select")),1),(0,u.bF)((0,d.R1)(aZ.A),{class:"text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]),_:1})]),_:1},8,["modelValue","options","target"])):((0,u.uX)(),(0,u.CE)("div",aB,[(0,u.Lk)("span",aq,(0,Q.v_)((0,d.R1)(r)("server.label"))+":",1),(0,u.Lk)("span",aW,(0,Q.v_)(o.value),1)]))}}),aN=a(33139),aV=a(17074),aF={class:"bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium"},az=["id"],aH=(0,u.pM)({__name:"AsyncApiServerSelector",props:{eventBus:{},selectedServer:{},servers:{}},setup(e){let t=(0,u.Bi)(),{translate:a}=v(),r=(0,u.EW)(()=>{let t=e.selectedServer?.server.variables;if(t)return Object.fromEntries(Object.entries(t).map(([e,t])=>{let a=(0,b.A)(t);return[e,{default:a.default??"",enum:a.enum,description:a.description}]}))}),n=t=>{e.eventBus.emit("asyncapi-server:update:selected",{name:t})},o=(t,a)=>{e.selectedServer&&e.eventBus.emit("asyncapi-server:update:variables",{name:e.selectedServer.name,key:t,value:a})};return(l,s)=>((0,u.uX)(),(0,u.CE)(u.FK,null,[(0,u.Lk)("label",aF,(0,Q.v_)((0,d.R1)(a)("server.label")),1),(0,u.Lk)("div",{id:(0,d.R1)(t),class:(0,Q.C4)(["border",{"rounded-b-xl":!e.selectedServer?.description&&!r.value}])},[e.servers.length?((0,u.uX)(),(0,u.Wv)(aD,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:(0,d.R1)(t),"onUpdate:modelValue":n},null,8,["selectedServer","servers","target"])):(0,u.Q3)("",!0)],10,az),(0,u.bF)((0,d.R1)(aN.f),{layout:"reference",variables:r.value,"onUpdate:variable":o},null,8,["variables"]),e.selectedServer?.description?((0,u.uX)(),(0,u.Wv)((0,d.R1)(aV.m),{key:0,class:"text-c-3 rounded-b-xl border-x border-b px-3 py-1.5",value:e.selectedServer.description},null,8,["value"])):(0,u.Q3)("",!0)],64))}}),aY=["shell/curl","ruby/native","node/undici","php/guzzle","python/python3"],aG=(e,t=aY)=>!!(e&&t.includes(e)),aK=a(57052),aJ=a(37862),a0=a(54860),a1=a(59259),a2={"aria-hidden":"true",class:"client-libraries-icon__more"},a4={key:1,class:"client-libraries-icon",height:"50",role:"presentation",viewBox:"0 0 50 50",width:"50",xmlns:"http://www.w3.org/2000/svg"},a8={key:0,class:"client-libraries-text client-libraries-text-more"},a3={class:"sr-only"},a6=s((0,u.pM)({__name:"ClientDropdown",props:{clientOptions:{},selectedClient:{},eventBus:{}},setup(e){let t=(0,d.KR)(),{translate:a}=v(),r=(0,u.EW)(()=>e.selectedClient?.split("/")[0]);return(n,o)=>((0,u.uX)(),(0,u.CE)("div",{ref_key:"containerRef",ref:t,class:"client-libraries-more"},[(0,u.bF)((0,d.R1)(a0.ev),{filterFn:(0,d.R1)(aK.uK),modelValue:(0,d.R1)(aK.$r)(e.clientOptions,e.selectedClient),options:e.clientOptions,placement:"bottom-end",teleport:"","onUpdate:modelValue":o[0]||(o[0]=a=>(a=>{if(!t.value)return;let r=(0,a1.Y)(t.value);setTimeout(()=>{r()},300),"custom"!==a.clientKey&&e.eventBus.emit("workspace:update:selected-client",a.id)})(a))},{default:(0,u.k6)(()=>{let t;return[(0,u.Lk)("button",{class:(0,Q.C4)(["client-libraries client-libraries__select",{"client-libraries__active":e.selectedClient&&!(0,d.R1)(aG)(e.selectedClient)}]),type:"button"},[(0,u.Lk)("div",a2,[e.selectedClient&&!(0,d.R1)(aG)(e.selectedClient)?((0,u.uX)(),(0,u.CE)("div",{key:0,class:(0,Q.C4)(`client-libraries-icon__${r.value}`)},[r.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(aJ.k),{key:0,class:"client-libraries-icon",icon:(t=r.value,`programming-language-${"js"===t?"javascript":t}`)},null,8,["icon"])):(0,u.Q3)("",!0)],2)):((0,u.uX)(),(0,u.CE)("svg",a4,[...o[1]||(o[1]=[(0,u.Lk)("g",{fill:"currentColor","fill-rule":"nonzero"},[(0,u.Lk)("path",{d:"M10.71 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M21.13 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M31.55 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0"})],-1)])]))]),e.clientOptions.length?((0,u.uX)(),(0,u.CE)("span",a8,(0,Q.v_)((0,d.R1)(a)("clientLibraries.more")),1)):(0,u.Q3)("",!0),(0,u.Lk)("span",a3,(0,Q.v_)((0,d.R1)(a)("clientLibraries.selectAll")),1)],2)]}),_:1},8,["filterFn","modelValue","options"])],512))}}
200),[["__scopeId","data-v-da3e3bd2"]]),a5=a(56261),a7=a(70386),a9=a(98211);let re=(0,u.pM)({props:{onFocus:{type:Function,required:!0}},setup(e){let t=(0,d.KR)(!0);return()=>t.value?(0,u.h)(a9.j,{as:"button",type:"button",features:a9.O.Focusable,onFocus(a){a.preventDefault();let r,n=50;r=requestAnimationFrame(function a(){var o;if(n--<=0){r&&cancelAnimationFrame(r);return}if(null!=(o=e.onFocus)&&o.call(e)){t.value=!1,cancelAnimationFrame(r);return}r=requestAnimationFrame(a)})}}):null}});var rt=a(83886),ra=a(96691),rr=a(53261),rn=a(6974),ro=a(23867),rl=a(9e3),rs=a(78465),ri=((r=ri||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r),rc=((n=rc||{})[n.Less=-1]="Less",n[n.Equal=0]="Equal",n[n.Greater=1]="Greater",n);let ru=Symbol("TabsContext");function rd(e){let t=(0,u.WQ)(ru,null);if(null===t){let t=Error(`<${e} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,rd),t}return t}let rp=Symbol("TabsSSRContext"),rm=(0,u.pM)({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:a,emit:r}){var n;let o=(0,d.KR)(null!=(n=e.selectedIndex)?n:e.defaultIndex),l=(0,d.KR)([]),s=(0,d.KR)([]),i=(0,u.EW)(()=>null!==e.selectedIndex),c=(0,u.EW)(()=>i.value?e.selectedIndex:o.value);function p(e){var t;let a=(0,rr.wl)(m.tabs.value,ra.t),r=(0,rr.wl)(m.panels.value,ra.t),n=a.filter(e=>{var t;return!(null!=(t=(0,ra.t)(e))&&t.hasAttribute("disabled"))});if(e<0||e>a.length-1){let t=(0,rn.Y)(null===o.value?0:Math.sign(e-o.value),{[-1]:()=>1,0:()=>(0,rn.Y)(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),l=(0,rn.Y)(t,{0:()=>a.indexOf(n[0]),1:()=>a.indexOf(n[n.length-1])});-1!==l&&(o.value=l),m.tabs.value=a,m.panels.value=r}else{let l=a.slice(0,e),s=[...a.slice(e),...l].find(e=>n.includes(e));if(!s)return;let i=null!=(t=a.indexOf(s))?t:m.selectedIndex.value;-1===i&&(i=m.selectedIndex.value),o.value=i,m.tabs.value=a,m.panels.value=r}}let m={selectedIndex:(0,u.EW)(()=>{var t,a;return null!=(a=null!=(t=o.value)?t:e.defaultIndex)?a:null}),orientation:(0,u.EW)(()=>e.vertical?"vertical":"horizontal"),activation:(0,u.EW)(()=>e.manual?"manual":"auto"),tabs:l,panels:s,setSelectedIndex(e){c.value!==e&&r("change",e),i.value||p(e)},registerTab(e){var t;if(l.value.includes(e))return;let a=l.value[o.value];if(l.value.push(e),l.value=(0,rr.wl)(l.value,ra.t),!i.value){let e=null!=(t=l.value.indexOf(a))?t:o.value;-1!==e&&(o.value=e)}},unregisterTab(e){let t=l.value.indexOf(e);-1!==t&&l.value.splice(t,1)},registerPanel(e){s.value.includes(e)||(s.value.push(e),s.value=(0,rr.wl)(s.value,ra.t))},unregisterPanel(e){let t=s.value.indexOf(e);-1!==t&&s.value.splice(t,1)}};(0,u.Gt)(ru,m);let h=(0,d.KR)({tabs:[],panels:[]}),f=(0,d.KR)(!1);(0,u.sV)(()=>{f.value=!0}),(0,u.Gt)(rp,(0,u.EW)(()=>f.value?null:h.value));let g=(0,u.EW)(()=>e.selectedIndex);return(0,u.sV)(()=>{(0,u.wB)([g],()=>{var t;return p(null!=(t=e.selectedIndex)?t:e.defaultIndex)},{immediate:!0})}),(0,u.nT)(()=>{if(!i.value||null==c.value||m.tabs.value.length<=0)return;let e=(0,rr.wl)(m.tabs.value,ra.t);e.some((e,t)=>(0,ra.t)(m.tabs.value[t])!==(0,ra.t)(e))&&m.setSelectedIndex(e.findIndex(e=>(0,ra.t)(e)===(0,ra.t)(m.tabs.value[c.value])))}),()=>{let r={selectedIndex:o.value};return(0,u.h)(u.FK,[l.value.length<=0&&(0,u.h)(re,{onFocus:()=>{for(let e of l.value){let t=(0,ra.t)(e);if((null==t?void 0:t.tabIndex)===0)return t.focus(),!0}return!1}}),(0,rs.XX)({theirProps:{...a,...(0,rs.cJ)(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:r,slots:t,attrs:a,name:"TabGroup"})])}}}),rh=(0,u.pM)({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:a}){let r=rd("TabList");return()=>{let n={selectedIndex:r.selectedIndex.value},o={role:"tablist","aria-orientation":r.orientation.value};return(0,rs.XX)({ourProps:o,theirProps:e,slot:n,attrs:t,slots:a,name:"TabList"})}}}),rf=(0,u.pM)({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){var n;let o=null!=(n=e.id)?n:`headlessui-tabs-tab-${(0,a5.B)()}`,l=rd("Tab"),s=(0,d.KR)(null);r({el:s,$el:s}),(0,u.sV)(()=>l.registerTab(s)),(0,u.hi)(()=>l.unregisterTab(s));let i=(0,u.WQ)(rp),c=(0,u.EW)(()=>
200{if(i.value){let e=i.value.tabs.indexOf(o);return -1===e?i.value.tabs.push(o)-1:e}return -1}),p=(0,u.EW)(()=>{let e=l.tabs.value.indexOf(s);return -1===e?c.value:e}),m=(0,u.EW)(()=>p.value===l.selectedIndex.value);function h(e){var t;let a=e();if(a===rr.Me.Success&&"auto"===l.activation.value){let e=null==(t=(0,rl.T)(s))?void 0:t.activeElement,a=l.tabs.value.findIndex(t=>(0,ra.t)(t)===e);-1!==a&&l.setSelectedIndex(a)}return a}function f(e){let t=l.tabs.value.map(e=>(0,ra.t)(e)).filter(Boolean);if(e.key===rt.D.Space||e.key===rt.D.Enter){e.preventDefault(),e.stopPropagation(),l.setSelectedIndex(p.value);return}switch(e.key){case rt.D.Home:case rt.D.PageUp:return e.preventDefault(),e.stopPropagation(),h(()=>(0,rr.CU)(t,rr.BD.First));case rt.D.End:case rt.D.PageDown:return e.preventDefault(),e.stopPropagation(),h(()=>(0,rr.CU)(t,rr.BD.Last))}if(h(()=>(0,rn.Y)(l.orientation.value,{vertical:()=>e.key===rt.D.ArrowUp?(0,rr.CU)(t,rr.BD.Previous|rr.BD.WrapAround):e.key===rt.D.ArrowDown?(0,rr.CU)(t,rr.BD.Next|rr.BD.WrapAround):rr.Me.Error,horizontal:()=>e.key===rt.D.ArrowLeft?(0,rr.CU)(t,rr.BD.Previous|rr.BD.WrapAround):e.key===rt.D.ArrowRight?(0,rr.CU)(t,rr.BD.Next|rr.BD.WrapAround):rr.Me.Error}))===rr.Me.Success)return e.preventDefault()}let g=(0,d.KR)(!1);function v(){var t;g.value||(g.value=!0,e.disabled||(null==(t=(0,ra.t)(s))||t.focus({preventScroll:!0}),l.setSelectedIndex(p.value),(0,ro._)(()=>{g.value=!1})))}function y(e){e.preventDefault()}let b=(0,a7.c)((0,u.EW)(()=>({as:e.as,type:t.type})),s);return()=>{var r,n;let i={selected:m.value,disabled:null!=(r=e.disabled)&&r},{...c}=e,u={ref:s,onKeydown:f,onMousedown:y,onClick:v,id:o,role:"tab",type:b.value,"aria-controls":null==(n=(0,ra.t)(l.panels.value[p.value]))?void 0:n.id,"aria-selected":m.value,tabIndex:m.value?0:-1,disabled:!!e.disabled||void 0};return(0,rs.XX)({ourProps:u,theirProps:c,slot:i,attrs:t,slots:a,name:"Tab"})}}}),rg=(0,u.pM)({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:a}){let r=rd("TabPanels");return()=>{let n={selectedIndex:r.selectedIndex.value};return(0,rs.XX)({theirProps:e,ourProps:{},slot:n,attrs:a,slots:t,name:"TabPanels"})}}}),rv=(0,u.pM)({name:"TabPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null},tabIndex:{type:Number,default:0}},setup(e,{attrs:t,slots:a,expose:r}){var n;let o=null!=(n=e.id)?n:`headlessui-tabs-panel-${(0,a5.B)()}`,l=rd("TabPanel"),s=(0,d.KR)(null);r({el:s,$el:s}),(0,u.sV)(()=>l.registerPanel(s)),(0,u.hi)(()=>l.unregisterPanel(s));let i=(0,u.WQ)(rp),c=(0,u.EW)(()=>{if(i.value){let e=i.value.panels.indexOf(o);return -1===e?i.value.panels.push(o)-1:e}return -1}),p=(0,u.EW)(()=>{let e=l.panels.value.indexOf(s);return -1===e?c.value:e}),m=(0,u.EW)(()=>p.value===l.selectedIndex.value);return()=>{var r;let n={selected:m.value},{tabIndex:i,...c}=e,d={ref:s,id:o,role:"tabpanel","aria-labelledby":null==(r=(0,ra.t)(l.tabs.value[p.value]))?void 0:r.id,tabIndex:m.value?i:-1};return m.value||!e.unmount||e.static?(0,rs.XX)({ourProps:d,theirProps:c,slot:n,attrs:t,slots:a,features:rs.O5.Static|rs.O5.RenderStrategy,visible:m.value,name:"TabPanel"}):(0,u.h)(a9.j,{as:"span","aria-hidden":!0,...d})}}});var ry={key:0,ref:"wrapper-ref"},rb=["id"],rO={class:"client-libraries-list"},rk={class:"client-libraries-text"},rx=["id"],rw=s((0,u.pM)({__name:"ClientSelector",props:{clientOptions:{},selectedClient:{default:()=>aK._S},eventBus:{}},setup(e,{expose:t}){let a=(0,u.Bi)(),r=(0,u.Bi)(),{translate:n}=v(),o=e=>!!e?.startsWith("custom/"),l=(0,d.KR)(o(e.selectedClient)?aK._S:e.selectedClient);(0,u.wB)(()=>e.selectedClient,e=>{o(e)||(l.value=e)});let s=(0,u.EW)(()=>e.clientOptions.flatMap(e=>e.options.find(e=>e.id===l.value)??[])[0]),i=(0,u.EW)(()=>((e,t=aY)=>{let a=new Map;for(let t of e)for(let e of t.options)a.set(e.id,e);return t.flatMap(e=>a.get(e)??[])})(e.clientOptions)),c=(0,u.EW)(()=>i.value.findIndex(e=>e.id===l.value)),p=(0,u.rk)("wrapper-ref"),m=t=>{let a=i.value[t];a&&p.value&&e.eventBus.emit("workspace:update:selected-client",a.id)};return t({selectedClientOption:s}),(t,o)=>e.clientOptions.length?((0,u.uX)(),(0,u.CE)("div",ry,[(0,u.bF)((0,d.R1)(rm),{manual:"",selectedIndex:c.value,onChange:m},{default:(0,u.k6)(()=>[(0,u.Lk)("div",{id:(0,d.R1)(a),class:"client-libraries-heading"},(0,Q.v_)((0,d.R1)(n)("clientLibraries.heading")),9,rb),(0,u.Lk)("div",rO,[(0,u.bF)((0,d.R1)(rh),{"aria-labelledby":(0,d.R1)(a),class:"client-libraries-tabs",style:(0,Q.Tr)({flexGrow:i.value.length})},{default:(0,u.k6)(()=>[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(i.value,e=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(rf),{key:e.clientKey,class:(0,Q.C4)(["client-libraries rendered-code-sdks",{"client-libraries__active":e.id===l.value}])},{default:(0,u.k6)(()=>{let t;return[(0,u.Lk)("div",{class:(0,Q.C4)(`client-libraries-icon__${e.targetKey}`)},[(0,u.bF)((0,d.R1)(aJ.k),{class:"client-libraries-icon",icon:(t=e.targetKey,`programming-language-${"js"===t?"javascript":t}`)},null,8,["icon"])],2),(0,u.Lk)("span",rk,(0,Q.v_)(e.targetTitle),1)]}),_:2},1032,["class"]))),128))]),_:1},8,["aria-labelledby","style"]),(0,u.bF)(a6,{clientOptions:e.clientOptions,eventBus:e.eventBus,selectedClient:l.value},null,8,["clientOptions","eventBus","selectedClient"])]),(0,u.bF)((0,d.R1)(rg),null,{default:(0,u.k6)(()=>[(0,d.R1)(aG)(l.value)?((0,u.uX)(!0),(0,u.CE)(u.FK,{key:0},(0,u.pI)(i.value,e=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(rv),{key:e.id,class:"selected-client card-footer -outline-offset-2"},{default:(0,u.k6)(()=>
200[(0,u.eW)((0,Q.v_)(e.title),1)]),_:2},1024))),128)):((0,u.uX)(),(0,u.CE)("div",{key:1,id:(0,d.R1)(r),class:"selected-client card-footer -outline-offset-2",role:"tabpanel",tabindex:"0"},(0,Q.v_)(s.value?.title),9,rx))]),_:1})]),_:1},8,["selectedIndex"])],512)):(0,u.Q3)("",!0)}}),[["__scopeId","data-v-34beffcc"]]),rS={document:1,tag:2,channel:2,modelGroup:2,operation:3,model:3,message:4},rC=Symbol("DOCUMENT_OUTLINE_ROOT"),r$=e=>{let t=(0,u.WQ)(rC,null);t||(0,u.Gt)(rC,e);let a=t??e;return{level:Math.min(6,Math.max(1,rS[e]-rS[a]+1))}},rA=e=>e?Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith("x-"))):{},rR=s((0,u.pM)({inheritAttrs:!1,__name:"Badge",props:{color:{}},setup(e){let{cx:t}=(0,em.AX)(),a=(0,u.EW)(()=>e.color?{backgroundColor:e.color,color:`color-mix(in srgb, ${e.color}, black 40%)`}:void 0);return(e,r)=>((0,u.uX)(),(0,u.CE)("div",(0,u.v6)((0,d.R1)(t)("badge inline-block rounded-2xl border bg-b-2 px-1.5 py-0.5 text-c-2 text-sm"),{style:a.value}),[(0,u.RG)(e.$slots,"default",{},void 0,!0)],16))}}),[["__scopeId","data-v-3f3e4ac3"]]);let rE=new Set(["http:","https:","mailto:","tel:","ftp:","ftps:","sms:"]),rP=/^([a-z][a-z0-9+.-]*):/i,rT=/[\u0000-\u0020\u007f-\u009f]/g,r_=e=>(e=>{if(!e)return!1;let t=e.replace(rT,"");if(!t)return!1;let a=rP.exec(t)?.[1];return!a||rE.has(`${a.toLowerCase()}:`)})(e)?e:void 0;var rj=["href"],rQ=s((0,u.pM)({__name:"DownloadLink",props:{documentDownloadType:{},eventBus:{},documentUrl:{},documentType:{default:"openapi"}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>"asyncapi"===e.documentType?t("download.asyncapi"):t("download.openapi")),r=(0,u.EW)(()=>r_(e.documentUrl)),n=t=>{e.eventBus.emit("ui:download:document",{format:t})};return(t,o)=>["yaml","json","both"].includes(e.documentDownloadType)||"direct"===e.documentDownloadType&&r.value?((0,u.uX)(),(0,u.CE)("div",{key:0,class:(0,Q.C4)(["download-container group",{"download-both":"both"===e.documentDownloadType}])},["direct"===e.documentDownloadType&&r.value?((0,u.uX)(),(0,u.CE)("a",{key:0,class:"download-link download-button",href:r.value},[(0,u.Lk)("span",null,(0,Q.v_)(a.value),1)],8,rj)):(0,u.Q3)("",!0),"json"===e.documentDownloadType||"both"===e.documentDownloadType?((0,u.uX)(),(0,u.CE)("button",{key:1,class:"download-button",type:"button",onClick:o[0]||(o[0]=(0,eE.D$)(()=>n("json"),["prevent"]))},[(0,u.Lk)("span",null,(0,Q.v_)(a.value),1),(0,u.bF)(rR,{class:"extension hidden group-hover:flex"},{default:(0,u.k6)(()=>[...o[2]||(o[2]=[(0,u.eW)("json",-1)])]),_:1})])):(0,u.Q3)("",!0),"yaml"===e.documentDownloadType||"both"===e.documentDownloadType?((0,u.uX)(),(0,u.CE)("button",{key:2,class:"download-button",type:"button",onClick:o[1]||(o[1]=(0,eE.D$)(()=>n("yaml"),["prevent"]))},[(0,u.Lk)("span",null,(0,Q.v_)(a.value),1),(0,u.bF)(rR,{class:"extension hidden group-hover:flex"},{default:(0,u.k6)(()=>[...o[3]||(o[3]=[(0,u.eW)("yaml",-1)])]),_:1})])):(0,u.Q3)("",!0)],2)):(0,u.Q3)("",!0)}}),[["__scopeId","data-v-0aba6db2"]]),rL=s((0,u.pM)({__name:"IntroductionCard",props:{row:{type:Boolean}},setup:e=>(t,a)=>((0,u.uX)(),(0,u.CE)("div",{class:(0,Q.C4)(["introduction-card",{"introduction-card-row":e.row}])},[(0,u.RG)(t.$slots,"default",{},void 0,!0)],2))}),[["__scopeId","data-v-e60166e1"]]),rM=s((0,u.pM)({__name:"Section",emits:["intersecting"],setup(e,{emit:t}){let a=(0,u.rk)("section");return tK(a,()=>t("intersecting")),(e,t)=>((0,u.uX)(),(0,u.CE)("section",{ref_key:"section",ref:a,class:"section"},[(0,u.RG)(e.$slots,"default",{},void 0,!0)],512))}}),[["__scopeId","data-v-be4443e9"]]),rZ={class:"section-column"},rU=s({},[["render",function(e,t){return(0,u.uX)(),(0,u.CE)("div",rZ,[(0,u.RG)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-699c28e3"]]),rX={class:"section-columns"},rI=s({},[["render",function(e,t){return(0,u.uX)(),(0,u.CE)("div",rX,[(0,u.RG)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-8b9602bf"]]),rB={key:1,class:"section-container"},rq=s((0,u.pM)({__name:"SectionContainer",props:{omit:{type:Boolean}},setup:e=>(t,a)=>e.omit?(0,u.RG)(t.$slots,"default",{},void 0,!0,0):((0,u.uX)(),(0,u.CE)("div",rB,[(0,u.RG)(t.$slots,"default",{},void 0,!0)]))}),[["__scopeId","data-v-20a1472a"]]),rW={class:"section-content"},rD=s({},[["render",function(e,t){return(0,u.uX)(),(0,u.CE)("div",rW,[(0,u.RG)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-6101128d"]]),rN={class:"section-header-wrapper narrow:grid-cols-1 narrow:gap-0 grid grid-cols-2 gap-12"},rV=s((0,u.pM)({__name:"SectionHeader",props:{tight:{type:Boolean},removeMargin:{type:Boolean,default:!1}},setup:e=>(t,a)=>((0,u.uX)(),(0,u.CE)("div",rN,[(0,u.Lk)("div",{class:(0,Q.C4)(["section-header",{tight:e.tight,"mb-3":!e.removeMargin}])},[(0,u.RG)(t.$slots,"default",{},void 0,!0)],2),t.$slots.links?(0,u.RG)(t.$slots,"links",{},void 0,!0,0):(0,u.Q3)("",!0)]))}),[["__scopeId","data-v-7607c44e"]]),rF=s((0,u.pM)({__name:"SectionHeaderTag",props:{level:{default:1}},setup:e=>(t,a)=>((0,u.uX)(),(0,u.Wv)((0,u.$y)(`h${e.level}`),{class:"section-header-label"},{default:(0,u.k6)(()=>[(0,u.RG)(t.$slots,"default",{},void 0,!0)]),_:3}))}),[["__scopeId","data-v-f1ac6c38"]]),rz=a(25917),rH={key:0,class:"text-base"},rY=(0,u.pM)({__name:"SpecificationExtension",props:{value:{}},setup(e){let{getSpecificationExtensions:t}=t4(),a=(0,u.EW)(()=>Object.keys(e.value??{}).filter(e=>e.startsWith("x-"))),r=(0,u.EW)(()=>a.value.flatMap(e=>t(e)).filter(e=>e.component));return(t,a)=>"object"==typeof e.value&&r.value.length?((0,u.uX)(),(0,u.CE)("div",rH,[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(r.value,t=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(rz.X),null,{default:(0,u.k6)(()=>[t.renderer?((0,u.uX)(),(0,u.Wv)((0,u.$y)(t.renderer),(0,u.v6)({ke
200y:0,ref_for:!0},{[t.name]:e.value?.[t.name],component:t.component}),null,16)):((0,u.uX)(),(0,u.Wv)((0,u.$y)(t.component),(0,u.v6)({key:1,ref_for:!0},{[t.name]:e.value?.[t.name]}),null,16))]),_:2},1024))),256))])):(0,u.Q3)("",!0)}}),rG=["id"],rK=(0,u.pM)({__name:"InfoMarkdownSection",props:{id:{},content:{},transformHeading:{type:Function},eventBus:{}},setup(e){let t=(0,u.rk)("element");return tK(t,()=>e.id?e.eventBus?.emit("intersecting:nav-item",{id:e.id}):void 0),(a,r)=>((0,u.uX)(),(0,u.CE)("div",{id:e.id,ref_key:"element",ref:t,class:"introduction-description-heading scroll-mt-16"},[(0,u.bF)((0,d.R1)(aV.m),{transform:e.transformHeading,transformType:"heading",value:e.content,withImages:""},null,8,["transform","value"])],8,rG))}}),rJ=a(70790),r0=a(28205),r1={key:0,class:"introduction-description mt-6 flex flex-col"},r2=s((0,u.pM)({__name:"InfoDescription",props:{eventBus:{},headingSlugGenerator:{type:Function},description:{}},setup(e){let t=(0,u.EW)(()=>{if(!e.description)return[];let{slug:t}=(0,r0.K)();return(0,rJ.i)(e.description).map(a=>{let r=(0,rJ.t)(a)[0];return{id:r?e.headingSlugGenerator({...r,slug:t(r.value)}):void 0,content:a}})}),a=t=>{if(!(0,rJ.r)(t))return t;let{slug:a}=(0,r0.K)(),r=(0,rJ.a)(t);return t.data={hProperties:{id:e.headingSlugGenerator({depth:t.depth,value:r,slug:a(r)})}},t};return(r,n)=>e.description?((0,u.uX)(),(0,u.CE)("div",r1,[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(t.value,t=>((0,u.uX)(),(0,u.Wv)(rK,{id:t.id,key:t.id,content:t.content,eventBus:e.eventBus,transformHeading:a},null,8,["id","content","eventBus"]))),128))])):(0,u.Q3)("",!0)}}),[["__scopeId","data-v-0370764f"]]),r4=s((0,u.pM)({__name:"LinkList",setup(e){let t=(0,d.KR)(),a=(0,d.KR)(!1),r=()=>{if(!t.value)return;let{scrollWidth:e,clientWidth:r}=t.value;a.value=e>r},n=null;return(0,u.sV)(()=>{r(),window.addEventListener("resize",r),t.value&&(n=new MutationObserver(()=>{r()})).observe(t.value,{childList:!0,subtree:!0})}),(0,u.hi)(()=>{window.removeEventListener("resize",r),n&&(n.disconnect(),n=null)}),(e,r)=>((0,u.uX)(),(0,u.CE)("div",{ref_key:"containerRef",ref:t,class:(0,Q.C4)(["custom-scroll narrow:mb-3 mb-1.5 flex h-auto min-h-8 max-w-full items-center gap-2 overflow-x-auto text-base whitespace-nowrap",{"icons-only":a.value}])},[(0,u.RG)(e.$slots,"default",{},void 0,!0)],2))}}),[["__scopeId","data-v-dc833d99"]]),r8=a(88454),r3={key:0,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},r6={key:0,class:"ml-1 empty:hidden"},r5={key:1,class:"ml-1 empty:hidden"},r7=(0,u.pM)({__name:"ExternalDocs",props:{value:{}},setup(e){let t=(0,u.EW)(()=>r_(e.value?.url));return(a,r)=>e.value?((0,u.uX)(),(0,u.CE)("div",r3,[((0,u.uX)(),(0,u.Wv)((0,u.$y)(t.value?"a":"span"),{class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:t.value,rel:t.value?"noopener noreferrer":void 0,target:t.value?"_blank":void 0},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(r8.A),{class:"size-3 text-current",weight:"bold"}),e.value.description?((0,u.uX)(),(0,u.CE)("span",r6,(0,Q.v_)(e.value.description),1)):((0,u.uX)(),(0,u.CE)("span",r5,(0,Q.v_)(e.value.url),1))]),_:1},8,["href","rel","target"]))])):(0,u.Q3)("",!0)}}),r9=a(55223),ne={key:0},nt={key:1},na={key:2},nr={key:3},nn={key:4},no={key:5},nl=(0,u.pM)({name:"ScalarIconLink",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",ne,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M117.18,188.74a12,12,0,0,1,0,17l-5.12,5.12A58.26,58.26,0,0,1,70.6,228h0A58.62,58.62,0,0,1,29.14,127.92L63.89,93.17a58.64,58.64,0,0,1,98.56,28.11,12,12,0,1,1-23.37,5.44,34.65,34.65,0,0,0-58.22-16.58L46.11,144.89A34.62,34.62,0,0,0,70.57,204h0a34.41,34.41,0,0,0,24.49-10.14l5.11-5.12A12,12,0,0,1,117.18,188.74ZM226.83,45.17a58.65,58.65,0,0,0-82.93,0l-5.11,5.11a12,12,0,0,0,17,17l5.12-5.12a34.63,34.63,0,1,1,49,49L175.1,145.86A34.39,34.39,0,0,1,150.61,156h0a34.63,34.63,0,0,1-33.69-26.72,12,12,0,0,0-23.38,5.44A58.64,58.64,0,0,0,150.56,180h.05a58.28,58.28,0,0,0,41.47-17.17l34.75-34.75a58.62,58.62,0,0,0,0-82.91Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",nt,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M218.34,119.6,183.6,154.34a46.58,46.58,0,0,1-44.31,12.26c-.31.34-.62.67-.95,1L103.6,202.34A46.63,46.63,0,1,1,37.66,136.4L72.4,101.66A46.6,46.6,0,0,1,116.71,89.4c.31-.34.62-.67,1-1L1
20052.4,53.66a46.63,46.63,0,0,1,65.94,65.94Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,7.78,8.22H152a8,8,0,0,0,8-7.78A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",na,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM115.7,192.49a43.31,43.31,0,0,1-55-66.43l25.37-25.37a43.35,43.35,0,0,1,61.25,0,42.9,42.9,0,0,1,9.95,15.43,8,8,0,1,1-15,5.6A27.33,27.33,0,0,0,97.37,112L72,137.37a27.32,27.32,0,0,0,34.68,41.91,8,8,0,1,1,9,13.21Zm79.61-62.55-25.37,25.37A43,43,0,0,1,139.32,168h0a43.35,43.35,0,0,1-40.53-28.12,8,8,0,1,1,15-5.6A27.35,27.35,0,0,0,139.28,152h0a27.14,27.14,0,0,0,19.32-8L184,118.63a27.32,27.32,0,0,0-34.68-41.91,8,8,0,1,1-9-13.21,43.32,43.32,0,0,1,55,66.43Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",nr,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M238,88.18a52.42,52.42,0,0,1-15.4,35.66l-34.75,34.75A52.28,52.28,0,0,1,150.62,174h-.05A52.63,52.63,0,0,1,98,119.9a6,6,0,0,1,6-5.84h.17a6,6,0,0,1,5.83,6.16A40.62,40.62,0,0,0,150.58,162h0a40.4,40.4,0,0,0,28.73-11.9l34.75-34.74A40.63,40.63,0,0,0,156.63,57.9l-11,11a6,6,0,0,1-8.49-8.49l11-11a52.62,52.62,0,0,1,74.43,0A52.83,52.83,0,0,1,238,88.18Zm-127.62,98.9-11,11A40.36,40.36,0,0,1,70.6,210h0a40.63,40.63,0,0,1-28.7-69.36L76.62,105.9A40.63,40.63,0,0,1,146,135.77a6,6,0,0,0,5.83,6.16H152a6,6,0,0,0,6-5.84A52.63,52.63,0,0,0,68.14,97.42L33.38,132.16A52.63,52.63,0,0,0,70.56,222h0a52.26,52.26,0,0,0,37.22-15.42l11-11a6,6,0,1,0-8.49-8.48Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",nn,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,16,.45A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",no,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M236,88.12a50.44,50.44,0,0,1-14.81,34.31l-34.75,34.74A50.33,50.33,0,0,1,150.62,172h-.05A50.63,50.63,0,0,1,100,120a4,4,0,0,1,4-3.89h.11a4,4,0,0,1,3.89,4.11A42.64,42.64,0,0,0,150.58,164h0a42.32,42.32,0,0,0,30.14-12.49l34.75-34.74a42.63,42.63,0,1,0-60.29-60.28l-11,11a4,4,0,0,1-5.66-5.65l11-11A50.64,50.64,0,0,1,236,88.12ZM111.78,188.49l-11,11A42.33,42.33,0,0,1,70.6,212h0a42.63,42.63,0,0,1-30.11-72.77l34.75-34.74A42.63,42.63,0,0,1,148,135.82a4,4,0,0,0,8,.23A50.64,50.64,0,0,0,69.55,98.83L34.8,133.57A50.63,50.63,0,0,0,70.56,220h0a50.33,50.33,0,0,0,35.81-14.83l11-11a4,4,0,1,0-5.65-5.66Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),ns={key:0,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},ni=["href"],nc={class:"ml-1 empty:hidden"},nu={key:1,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},nd=["href"],np={class:"ml-1 empty:hidden"},nm={key:2,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},nh=(0,u.pM)({__name:"Contact",props:{value:{}},setup(e){let t=(0,u.EW)(()=>r_(e.value?.url)),a=(0,em.Fj)({base:"text-c-1 mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 group-last:mr-0 narrow:border",variants:{link:{true:"no-underline hover:bg-b-2"}}});return(r,n)=>e.value?((0,u.uX)(),(0,u.CE)(u.FK,{key:0},[e.value.email?((0,u.uX)(),(0,u.CE)("div",ns,[(0,u.Lk)("a",{class:(0,Q.C4)((0,d.R1)(a)({link:!0})),href:`mailto:${e.value.email}`},[(0,u.bF)((0,d.R1)(r9.A),{class:"size-3 text-current",weight:"bold"}),(0,u.Lk)("span",nc,(0,Q.v_)(e.value.name),1)],10,ni)])):(0,u.Q3)("",!0),t.value?((0,u.uX)(),(0,u.CE)("div",nu,[(0,u.Lk)("a",{class:(0,Q.C4)((0,d.R1)(a)({link:!0})),href:t.value,rel:"noopener noreferrer",target:"_blank"},[(0,u.bF)((0,d.R1)(nl),{class:"size-3 text-current",weight:"bold"}),(0,u.Lk)("span",np,(0,Q.v_)(e.value.email?"":e.value.name),1)],10,nd)])):!e.value.email&&e.value.name?((0,u.uX)(),(0,u.CE)("div",nm,[(0,u.Lk)("span",{class:(0,Q.C4)((0,d.R1)(a)({link:!1}))},(0,Q.v_)(e.value.name),3)])):(0,u.Q3)("",!0)],64)):(0,u.Q3)("",!0)}}),nf={class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},ng=["href"],nv={class:"ml-1 empty:hidden"},ny={class:"ml-1 empty:hidden"},nb=(0,u.pM)({__name:"InfoLink",props:{name:{},url:{}},setup(e){let t=(0,u.EW)(()=>r_(e.url));return(a,r)=>((0,u.uX)(),(0,u.CE)("div",nf,[t.value?((0,u.uX)(),(0,u.CE)("a",{key:0,class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:t.value,rel:"noopener noreferrer",target:"_blank"},[(0,u.bF)((0,d.R1)(nl),{class:"size-3 text-current",weight:"bold"}
200),(0,u.Lk)("span",nv,(0,Q.v_)(e.name),1)],8,ng)):((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.bF)((0,d.R1)(nl),{class:"size-3 text-current",weight:"bold"}),(0,u.Lk)("span",ny,(0,Q.v_)(e.name),1)],64))]))}}),nO={key:0},nk={key:1},nx={key:2},nw={key:3},nS={key:4},nC={key:5},n$=(0,u.pM)({name:"ScalarIconGavel",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",nO,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M246.14,113.86l-16-16a20,20,0,0,0-23.06-3.75l-45.2-45.2a20,20,0,0,0-3.74-23.06l-16-16a20,20,0,0,0-28.28,0l-64,64a20,20,0,0,0,0,28.28l16,16a20,20,0,0,0,23,3.79L29.36,181.38a32,32,0,0,0,45.26,45.26L134,167.21a20,20,0,0,0,3.81,22.94l16,16a20,20,0,0,0,28.29,0l64-64a20,20,0,0,0,0-28.29ZM80,98.34,69.64,88,128,29.65,138.34,40ZM57.64,209.67a8,8,0,0,1-11.31-11.32l59.52-59.52,11.31,11.32Zm92.7-60.29-43.72-43.72,39-39,43.72,43.72Zm17.65,37L157.65,176,216,117.66,226.34,128Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",nk,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M149.66,45.66l-64,64a8,8,0,0,1-11.32,0l-16-16a8,8,0,0,1,0-11.32l64-64a8,8,0,0,1,11.32,0l16,16A8,8,0,0,1,149.66,45.66Zm88,76.68-16-16a8,8,0,0,0-11.32,0l-64,64a8,8,0,0,0,0,11.32l16,16a8,8,0,0,0,11.32,0l64-64A8,8,0,0,0,237.66,122.34Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M243.32,116.69l-16-16a16,16,0,0,0-20.84-1.53L156.84,49.52a16,16,0,0,0-1.52-20.84l-16-16a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63l16,16a16,16,0,0,0,20.83,1.52L96.69,124,31.31,189.38A25,25,0,0,0,66.63,224.7L132,159.32l7.17,7.16a16,16,0,0,0,1.52,20.84l16,16a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.69ZM80,104,64,88l64-64,16,16ZM55.32,213.38a9,9,0,0,1-12.69,0,9,9,0,0,1,0-12.68L108,135.32,120.69,148ZM101,105.66,145.66,61,195,110.34,150.35,155ZM168,192l-16-16,4-4h0l56-56h0l4-4,16,16Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",nx,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M52.69,99.31a16,16,0,0,1,0-22.63l64-64a16,16,0,0,1,22.63,22.63l-64,64a16,16,0,0,1-22.63,0Zm190.63,17.37a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63h0a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.68Zm-35.11-15.8L155.12,47.79a4,4,0,0,0-5.66,0L87.8,109.45a4,4,0,0,0,0,5.66L103,130.34,28.69,204.69a16,16,0,0,0,22.62,22.62L125.66,153l15.23,15.23a4,4,0,0,0,5.66,0l61.66-61.66A4,4,0,0,0,208.21,100.88Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",nw,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M241.91,118.1l-16-16a14,14,0,0,0-19.55-.23L154.13,49.64a14,14,0,0,0-.23-19.55l-16-16a14,14,0,0,0-19.8,0l-64,64a14,14,0,0,0,0,19.8l16,16a14,14,0,0,0,19.55.23L99.52,124,32.73,190.79a23,23,0,0,0,32.48,32.49L132,156.49l9.87,9.87a14,14,0,0,0,.23,19.55l16,16a14,14,0,0,0,19.8,0l64-64A14,14,0,0,0,241.91,118.1Zm-91.56,39.76-52.21-52.2,47.52-47.52,52.2,52.2ZM78.59,105.41l-16-16a2,2,0,0,1,0-2.83l64-64a2,2,0,0,1,2.83,0l16,16a2,2,0,0,1,0,2.83l-64,64A2,2,0,0,1,78.59,105.41ZM56.73,214.8a11,11,0,0,1-15.52-15.52L108,132.49,123.52,148Zm176.69-85.38-64,64a2,2,0,0,1-2.83,0l-16-16a2,2,0,0,1,0-2.83l64-64a2,2,0,0,1,2.83,0l16,16A2,2,0,0,1,233.42,129.42Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",nS,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M243.32,116.69l-16-16a16,16,0,0,0-20.84-1.53L156.84,49.52a16,16,0,0,0-1.52-20.84l-16-16a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63l16,16a16,16,0,0,0,20.83,1.52L96.69,124,31.31,189.38A25,25,0,0,0,66.63,224.7L132,159.32l7.17,7.16a16,16,0,0,0,1.52,20.84l16,16a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.69ZM80,104,64,88l64-64,16,16ZM55.32,213.38a9,9,0,0,1-12.69,0,9,9,0,0,1,0-12.68L108,135.32,120.69,148ZM101,105.66,145.66,61,195,110.34,150.35,155ZM168,192l-16-16,4-4h0l56-56h0l4-4,16,16Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",nC,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M240.49,119.52l-16-16a12,12,0,0,0-17,0l-1.17,1.17-55-55,1.18-1.17a12,12,0,0,0,0-17l-16-16a12,12,0,0,0-17,0l-64,64a12,12,0,0,0,0,17l16,16a12,12,0,0,0,17,0l1.17-1.18L102.34,124l-68.2,68.21A21,21,0,0,0,63.8,221.87L132,153.66l12.69,12.69-1.18,1.17a12,12,0,0,0,0,17l16,16a12,12,0,0,0,17,0l64-64a12,12,0,0,0,0-17ZM77.17,106.83l-16-16a4,4,0,0,1,0-5.66l64-64a4,4,0,0,1,5.66,0l16,16a4,4,0,0,1,0,5.65l-64,64A4,4,0,0,1,77.17,106.83Zm-19,109.38A13,13,0,1,1,39.8,197.87L108,129.66,126.34,148ZM95.31,105.66l50.35-50.35,55,55-50.35,50.35Zm139.52,25.17-64,64a4,4,0,0,1-5.66,0l-16-16a4,4,0,0,1,0-5.65l64-64a4,4,0,0,1,5.66,0l16,16a4,4,0,0,1,0,5.66Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),nA={class:"group narrow:border-r-0 narrow:first:ml-0 flex h-fit items-center border-r first:ml-auto last:border-r-0"},nR=["href"],nE={class:"ml-1 empty:hidden"},nP={class:"ml-1 empty:hidden"},nT=(0,u.pM)({__name:"License",props:{value:{}},setup(e){let t=(0,u.EW)(()=>r_(e.value?.url));return(a,r)=>((0,u.uX)(),(0,u.CE)("div",nA,[t.value?((0,u.uX)(),(0,u.CE)("a",{key:0,class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:t.value,rel:"noopener noreferrer",target:"_blank"},[(0,u.bF)((0,d.R1)(n$),{class:"size-3 text-current",weight:"bold"}),(0,u.Lk)("span",nE,(0,Q.v_)(e.value?.name||e.value&&"identifier"in e.value&&e.value.identifier||t.value),1)],8,
200nR)):((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.bF)((0,d.R1)(n$),{class:"size-3 text-current",weight:"bold"}),(0,u.Lk)("span",nP,(0,Q.v_)(e.value?.name),1)],64))]))}}),n_={key:0},nj={key:1},nQ={key:2},nL={key:3},nM={key:4},nZ={key:5},nU=(0,u.pM)({name:"ScalarIconScroll",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",n_,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M92,92a12,12,0,0,1,12-12h60a12,12,0,0,1,0,24H104A12,12,0,0,1,92,92Zm12,52h60a12,12,0,0,0,0-24H104a12,12,0,0,0,0,24Zm132,48a36,36,0,0,1-36,36H88a36,36,0,0,1-36-36V64a12,12,0,0,0-24,0c0,3.73,3.35,6.51,3.38,6.54l-.18-.14h0A12,12,0,1,1,16.81,89.59h0C15.49,88.62,4,79.55,4,64A36,36,0,0,1,40,28H176a36,36,0,0,1,36,36V164h4a12,12,0,0,1,7.2,2.4C224.51,167.38,236,176.45,236,192ZM92.62,172.2A12,12,0,0,1,104,164h84V64a12,12,0,0,0-12-12H73.94A35.88,35.88,0,0,1,76,64V192a12,12,0,0,0,24,0c0-3.58-3.17-6.38-3.2-6.4A12,12,0,0,1,92.62,172.2ZM212,192a7.69,7.69,0,0,0-1.24-4h-87a30.32,30.32,0,0,1,.26,4,35.84,35.84,0,0,1-2.06,12H200A12,12,0,0,0,212,192Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",nj,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M200,176H104s8,6,8,16a24,24,0,0,1-48,0V64A24,24,0,0,0,40,40H176a24,24,0,0,1,24,24Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",nQ,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M220.8,169.6A8,8,0,0,0,216,168h-8V64a32,32,0,0,0-32-32H40A32,32,0,0,0,8,64C8,77.61,18.05,85.54,19.2,86.4h0A7.89,7.89,0,0,0,24,88a8,8,0,0,0,4.87-14.33h0C28.83,73.62,24,69.74,24,64a16,16,0,0,1,32,0V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32C232,178.39,222,170.46,220.8,169.6ZM104,96h64a8,8,0,0,1,0,16H104a8,8,0,0,1,0-16Zm-8,40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Zm104,72H107.71A31.82,31.82,0,0,0,112,192a26.92,26.92,0,0,0-1.21-8h102a12.58,12.58,0,0,1,3.23,8A16,16,0,0,1,200,208Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",nL,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M98,136a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H104A6,6,0,0,1,98,136Zm6-26h64a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12Zm126,82a30,30,0,0,1-30,30H88a30,30,0,0,1-30-30V64a18,18,0,0,0-36,0c0,6.76,5.58,11.19,5.64,11.23A6,6,0,1,1,20.4,84.8C20,84.48,10,76.85,10,64A30,30,0,0,1,40,34H176a30,30,0,0,1,30,30V170h10a6,6,0,0,1,3.6,1.2C220,171.52,230,179.15,230,192Zm-124,0c0-6.76-5.59-11.19-5.64-11.23A6,6,0,0,1,104,170h90V64a18,18,0,0,0-18-18H64a29.82,29.82,0,0,1,6,18V192a18,18,0,0,0,36,0Zm112,0a14.94,14.94,0,0,0-4.34-10H115.88A24.83,24.83,0,0,1,118,192a29.87,29.87,0,0,1-6,18h88A18,18,0,0,0,218,192Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",nM,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",nZ,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M100,104a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H104A4,4,0,0,1,100,104Zm4,36h64a4,4,0,0,0,0-8H104a4,4,0,0,0,0,8Zm124,52a28,28,0,0,1-28,28H88a28,28,0,0,1-28-28V64a20,20,0,0,0-40,0c0,7.78,6.34,12.75,6.4,12.8a4,4,0,1,1-4.8,6.4C21.21,82.91,12,75.86,12,64A28,28,0,0,1,40,36H176a28,28,0,0,1,28,28V172h12a4,4,0,0,1,2.4.8C218.79,173.09,228,180.14,228,192Zm-120,0c0-7.78-6.34-12.75-6.4-12.8A4,4,0,0,1,104,172h92V64a20,20,0,0,0-20-20H59.57A27.9,27.9,0,0,1,68,64V192a20,20,0,0,0,40,0Zm112,0c0-6-3.74-10.3-5.5-12H112.61A23.31,23.31,0,0,1,116,192a27.94,27.94,0,0,1-8.42,20H200A20,20,0,0,0,220,192Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),nX={key:0,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},nI=["href"],nB={class:"ml-1 empty:hidden"},nq=(0,u.pM)({__name:"TermsOfService",props:{value:{}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>r_(e.value));return(e,r)=>a.value?((0,u.uX)(),(0,u.CE)("div",nX,[(0,u.Lk)("a",{class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:a.value,rel:"noopener noreferrer",target:"_blank"},[(0,u.bF)((0,d.R1)(nU),{class:"size-3 text-current",weight:"bold"}),(0,u.Lk)("span",nB,(0,Q.v_)((0,d.R1)(t)("info.termsOfService")),1)],8,nI)])):(0,u.Q3)("",!0)}}),nW=(0,u.pM)({__name:"InfoLinks",props:{info:{},externalDocs:{}},setup(e){let t=(0,u.EW)(()=>{let t=e.info["x-scalar-links"];return Array.isArray(t)?t.filter(e=>"string"==typeof e?.name&&"string"==typeof e?.url):[]}),a=(0,u.EW)(()=>!!(e.externalDocs||e.info.contact||e.info.license||e.info.termsOfService||t.value.length));return(r,n)=>a.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(r4),{key:0},{default:(0,u.k6)(()=>[e.externalDocs?((0,u.uX)(),(0,u.Wv)((0,d.R1)(r7),{key:0,value:e.externalDocs},null,8,["value"])):(0,u.Q3)("",!0),e.info.contact?((0,u.uX)(),(0,u.Wv)((0,d.R1)(nh),{key:1,value:e.info.contact},null,8,["value"])):(0,u.Q3)("",!0),e.info.license?((0,u.uX)(),(0,u.Wv)((0,d.R1)(nT),{key:2,value:(0,d.R1)(b.A)(e.info.license)},null,8,["value"])):(0,u.Q3)("",!0),e.info.termsOfService?((0,u.uX)(),(0,u.Wv)((0,d.R1)(nq),{key:3,value:e.info.termsOfService},null,8,["value"])):(0,u.Q3)("",!0),((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(t.value,e=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(nb),{key:e.url,name:e.name,url:e.url},null,8,["name","url"]))),128))]),_:1})):(0,u.Q3)("",!0)}}),nD=(0,u.pM)({__name:"InfoVersion",props:{version:{}},setup(e){let t=(0,u.EW)(()=>
200{if(null==e.version)return e.version;let t=String(e.version);return/^\d/.test(t)?`v${t}`:t});return(e,a)=>t.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(rR),{key:0},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(t.value),1)]),_:1})):(0,u.Q3)("",!0)}}),nN={"aria-hidden":"true",class:"introduction-loading flex flex-col gap-5"},nV={key:0,class:"narrow:flex-col narrow:gap-3 flex gap-6"},nF=s((0,u.pM)({__name:"IntroductionLoading",props:{hasAside:{type:Boolean,default:!0}},setup:e=>(t,a)=>((0,u.uX)(),(0,u.CE)("div",nN,[a[3]||(a[3]=(0,u.Fv)('<div class="flex gap-1.5" data-v-41a61989><div class="introduction-skeleton h-6 w-14 rounded-full" data-v-41a61989></div><div class="introduction-skeleton h-6 w-24 rounded-full" data-v-41a61989></div></div><div class="narrow:grid-cols-1 narrow:gap-3 grid grid-cols-2 gap-12" data-v-41a61989><div class="introduction-skeleton h-9 w-3/5 rounded-lg" data-v-41a61989></div><div class="narrow:justify-start flex flex-wrap items-center justify-end gap-2" data-v-41a61989><div class="introduction-skeleton h-5 w-28 rounded" data-v-41a61989></div><div class="introduction-skeleton h-5 w-28 rounded" data-v-41a61989></div><div class="introduction-skeleton h-5 w-12 rounded" data-v-41a61989></div></div></div>',2)),(0,u.bF)((0,d.R1)(rI),null,{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rU),null,{default:(0,u.k6)(()=>[...a[0]||(a[0]=[(0,u.Lk)("div",{class:"flex flex-col gap-3"},[(0,u.Lk)("div",{class:"introduction-skeleton mb-2 h-5 w-56 rounded"}),(0,u.Lk)("div",{class:"introduction-skeleton h-4 w-full rounded"}),(0,u.Lk)("div",{class:"introduction-skeleton h-4 w-11/12 rounded"}),(0,u.Lk)("div",{class:"introduction-skeleton h-4 w-4/5 rounded"}),(0,u.Lk)("div",{class:"introduction-skeleton mt-4 h-6 w-40 rounded"}),(0,u.Lk)("div",{class:"introduction-skeleton h-4 w-3/4 rounded"}),(0,u.Lk)("div",{class:"introduction-skeleton h-4 w-2/3 rounded"}
200),(0,u.Lk)("div",{class:"introduction-skeleton h-4 w-1/2 rounded"})],-1)])]),_:1}),e.hasAside?((0,u.uX)(),(0,u.Wv)((0,d.R1)(rU),{key:0},{default:(0,u.k6)(()=>[...a[1]||(a[1]=[(0,u.Lk)("div",{class:"sticky-cards gap-3"},[(0,u.Lk)("div",{class:"introduction-skeleton h-20 w-full rounded-lg"}),(0,u.Lk)("div",{class:"introduction-skeleton h-28 w-full rounded-lg"}),(0,u.Lk)("div",{class:"introduction-skeleton h-28 w-full rounded-lg"})],-1)])]),_:1})):(0,u.Q3)("",!0)]),_:1}),e.hasAside?(0,u.Q3)("",!0):((0,u.uX)(),(0,u.CE)("div",nV,[...a[2]||(a[2]=[(0,u.Lk)("div",{class:"introduction-skeleton h-28 w-full flex-1 rounded-lg"},null,-1),(0,u.Lk)("div",{class:"introduction-skeleton h-28 w-full flex-1 rounded-lg"},null,-1),(0,u.Lk)("div",{class:"introduction-skeleton h-28 w-full flex-1 rounded-lg"},null,-1)])]))]))}),[["__scopeId","data-v-41a61989"]]),nz=(0,u.pM)({__name:"SpecificationVersion",props:{documentType:{default:"openapi"},version:{}},setup(e){let t=(0,u.EW)(()=>(0,P.EN)(e.documentType));return(a,r)=>e.version?((0,u.uX)(),(0,u.Wv)((0,d.R1)(rR),{key:0},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(t.value)+" "+(0,Q.v_)(e.version),1)]),_:1})):(0,u.Q3)("",!0)}}),nH={class:"flex gap-1.5"},nY={class:"sticky-cards"},nG=s((0,u.pM)({__name:"IntroductionLayout",props:{id:{},documentType:{},specificationVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},headingSlugGenerator:{type:Function},eventBus:{}},setup(e){let{translate:t}=v(),{level:a}=r$("document");return(r,n)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(rq),null,{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rM),{id:e.id,"aria-label":(0,d.R1)(t)("navigation.introduction"),class:"introduction-section z-1 gap-12",onIntersecting:n[0]||(n[0]=()=>e.id&&e.eventBus?.emit("intersecting:nav-item",{id:e.id}))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rD),null,{default:(0,u.k6)(()=>[e.info?((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.Lk)("div",nH,[(0,u.bF)(nD,{version:e.info?.version},null,8,["version"]),(0,u.bF)(nz,{documentType:e.documentType,version:e.specificationVersion},null,8,["documentType","version"])]),(0,u.bF)((0,d.R1)(rV),{tight:""},{links:(0,u.k6)(()=>[(0,u.bF)(nW,{externalDocs:e.externalDocs,info:e.info},null,8,["externalDocs","info"])]),default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rF),{level:(0,d.R1)(a)},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(e.info?.title),1)]),_:1},8,["level"])]),_:1}),(0,u.bF)((0,d.R1)(rI),null,{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rU),null,{default:(0,u.k6)(()=>[(0,u.RG)(r.$slots,"download-link",{},void 0,!0),(0,u.bF)(r2,{description:e.info?.description,eventBus:e.eventBus,headingSlugGenerator:e.headingSlugGenerator},null,8,["description","eventBus","headingSlugGenerator"])]),_:3}),r.$slots.aside?((0,u.uX)(),(0,u.Wv)((0,d.R1)(rU),{key:0},{default:(0,u.k6)(()=>[(0,u.Lk)("div",nY,[(0,u.RG)(r.$slots,"aside",{},void 0,!0)])]),_:3})):(0,u.Q3)("",!0)]),_:3}),(0,u.bF)((0,d.R1)(rY),{value:e.documentExtensions},null,8,["value"]),(0,u.bF)((0,d.R1)(rY),{value:e.infoExtensions},null,8,["value"])],64)):((0,u.uX)(),(0,u.Wv)(nF,{key:0,hasAside:!!r.$slots.aside},null,8,["hasAside"]))]),_:3}),(0,u.RG)(r.$slots,"after",{},void 0,!0)]),_:3},8,["id","aria-label"])]),_:3}))}}),[["__scopeId","data-v-8b2934cb"]]),nK=(0,u.pM)({__name:"InfoBlock",props:{id:{},specificationVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},eventBus:{},headingSlugGenerator:{type:Function},layout:{},documentDownloadType:{default:"both"},documentUrl:{},documentType:{}},setup(e){let t=(0,u.EW)(()=>"classic"===e.layout?"after":"aside");return(a,r)=>((0,u.uX)(),(0,u.Wv)(nG,{id:e.id,documentExtensions:e.documentExtensions,documentType:e.documentType,eventBus:e.eventBus,externalDocs:e.externalDocs,headingSlugGenerator:e.headingSlugGenerator,info:e.info,infoExtensions:e.infoExtensions,specificationVersion:e.specificationVersion},{[t.value]:(0,u.k6)(()=>[(0,u.bF)(rL,{row:"classic"===e.layout},{default:(0,u.k6)(()=>[(0,u.RG)(a.$slots,"selectors")]),_:3},8,["row"])]),"download-link":(0,u.k6)(()=>[(0,u.bF)(rQ,{documentDownloadType:e.documentDownloadType,documentType:e.documentType,documentUrl:e.documentUrl,eventBus:e.eventBus},null,8,["documentDownloadType","documentType","documentUrl","eventBus"])]),_:2},1032,["id","documentExtensions","documentType","eventBus","externalDocs","headingSlugGenerator","info","infoExtensions","specificationVersion"]))}}),nJ={class:"introduction-card-item"},n0=s({},[["render",function(e,t){return(0,u.uX)(),(0,u.CE)("div",nJ,[(0,u.RG)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-dfab866f"]]),n1=e=>Array.isArray(e)?e.flatMap(e=>{let t,a;if("string"!=typeof e?.lang)return[];let r="string"==typeof e.description&&e.description.trim()?e.description:"",n="string"==typeof e.source?e.source.trim():"";if(!r&&!n)return[];let o=[r,n&&(t=Math.max(0,...[...n.matchAll(/`+/g)].map(e=>e[0].length)),a="`".repeat(Math.max(3,t+1)),`${a}
201${n}
202${a}
202`)].filter(Boolean).join("\n\n");return[{lang:e.lang,description:o}]}):[],n2={c:"programming-language-c",clojure:"programming-language-clojure",csharp:"programming-language-csharp","c#":"programming-language-csharp",cs:"programming-language-csharp",css:"programming-language-css3",css3:"programming-language-css3",dart:"programming-language-dart",fsharp:"programming-language-fsharp","f#":"programming-language-fsharp",go:"programming-language-go",golang:"programming-language-go",html:"programming-language-html5",html5:"programming-language-html5",http:"programming-language-http",java:"programming-language-java",javascript:"programming-language-javascript",js:"programming-language-javascript",json:"programming-language-json",julia:"programming-language-julia",jl:"programming-language-julia",kotlin:"programming-language-kotlin",node:"programming-language-node","node.js":"programming-language-node",nodejs:"programming-language-node",objc:"programming-language-objc","objective-c":"programming-language-objc",ocaml:"programming-language-ocaml",php:"programming-language-php",powershell:"programming-language-powershell",python:"programming-language-python",py:"programming-language-python",r:"programming-language-r",ruby:"programming-language-ruby",rb:"programming-language-ruby",rust:"programming-language-rust",rs:"programming-language-rust",scala:"programming-language-scala",shell:"programming-language-shell",bash:"programming-language-shell",sh:"programming-language-shell",curl:"programming-language-shell",swift:"programming-language-swift",typescript:"programming-language-typescript",ts:"programming-language-typescript"},n4={key:0},n8=["id"],n3={class:"client-libraries-content"},n6=["aria-labelledby"],n5=["id","aria-selected","tabindex","onClick","onKeydown"],n7={class:"client-libraries-text"},n9={class:"client-libraries-text"},oe={"aria-hidden":"true",class:"client-libraries-measure-clip"},ot={class:"client-libraries-text"},oa={class:"client-libraries"},or={class:"client-libraries-text"},on=["aria-labelledby"],oo=s((0,u.pM)({__name:"SdkInstallationInstructions",props:{xScalarSdkInstallation:{},selectedClient:{},eventBus:{}},setup(e){let t,a=(0,u.Bi)(),r=(0,u.Bi)(),n=`${r}-panel`,{translate:o}=v(),l=(0,u.EW)(()=>n1(e.xScalarSdkInstallation).map(e=>({...e,icon:n2[e.lang.trim().toLowerCase()]}))),s=(0,d.KR)(0),i=(0,u.EW)(()=>l.value[s.value]),c=(0,u.EW)(()=>(0,aK.PA)(l.value.map(e=>({lang:e.lang,source:""})))),p=t=>{s.value=t;let a=c.value[t];a&&e.eventBus?.emit("workspace:update:selected-client",a)};(0,u.wB)([()=>e.selectedClient,c],([e,t])=>{let a=e?t.findIndex(t=>t===e):-1;a>=0?s.value=a:s.value>t.length-1&&(s.value=0)},{immediate:!0}),(0,u.wB)(()=>l.value.map(e=>e.lang).join("\n"),()=>void(0,u.dY)(O));let m=(0,d.KR)(),h=(0,d.KR)(),f=(0,d.KR)(),g=(0,d.KR)(0),y=(0,d.KR)([]),b=(0,d.KR)(0),O=()=>{let e=f.value,t=m.value;if(!e||!t)return;let a=Array.from(e.children).map(e=>e.offsetWidth);y.value=a.slice(0,l.value.length),b.value=a[l.value.length]??0,g.value=t.clientWidth},k=(0,u.EW)(()=>!y.value.length||g.value<=0?l.value.length:((e,t,a)=>{let r=e.length;if(t<=0)return r;let n=a=>{let r=0,n=0;for(let o of e){if(r+o>t-a)break;r+=o,n++}return n};return n(0)>=r?r:Math.max(1,n(a))})(y.value,g.value,b.value)),x=(0,u.EW)(()=>l.value.slice(0,k.value)),w=(0,u.EW)(()=>s.value>=k.value),S=(0,u.EW)(()=>l.value.slice(k.value).map((e,t)=>({id:String(k.value+t),label:e.lang}
202))),C=(0,u.EW)(()=>S.value.find(e=>e.id===String(s.value))),$=e=>{e&&p(Number(e.id))},A=(0,u.EW)(()=>w.value?a:`${r}-tab-${s.value}`),R=(0,u.EW)(()=>w.value?-1:s.value),E=0,P=()=>{"u"<typeof requestAnimationFrame?O():(cancelAnimationFrame(E),E=requestAnimationFrame(O))};return(0,u.sV)(()=>{"u">typeof ResizeObserver&&(t=new ResizeObserver(P),m.value&&t.observe(m.value),f.value&&t.observe(f.value)),O()}),(0,u.xo)(()=>{t?.disconnect(),"u">typeof cancelAnimationFrame&&cancelAnimationFrame(E)}),(e,t)=>l.value.length?((0,u.uX)(),(0,u.CE)("div",n4,[(0,u.Lk)("div",{id:(0,d.R1)(a),class:"client-libraries-heading"},(0,Q.v_)((0,d.R1)(o)("clientLibraries.heading")),9,n8),(0,u.Lk)("div",n3,[(0,u.Lk)("div",{ref_key:"rowRef",ref:m,class:"client-libraries-row"},[(0,u.Lk)("div",{ref_key:"tabsRef",ref:h,"aria-labelledby":(0,d.R1)(a),class:"client-libraries-tabs",role:"tablist"},[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(x.value,(e,t)=>((0,u.uX)(),(0,u.CE)("button",{id:`${(0,d.R1)(r)}-tab-${t}`,key:t,"aria-controls":n,"aria-selected":t===s.value,class:(0,Q.C4)(["client-libraries",{"client-libraries__active":t===s.value}]),role:"tab",tabindex:t===R.value?0:-1,type:"button",onClick:e=>p(t),onKeydown:e=>((e,t)=>{var a;let r=k.value-1,n=t;switch(e.key){case"ArrowRight":case"ArrowDown":n=t>=r?0:t+1;break;case"ArrowLeft":case"ArrowUp":n=t<=0?r:t-1;break;case"Home":n=0;break;case"End":n=r;break;default:return}e.preventDefault(),p(n),a=n,(0,u.dY)(()=>{h.value?.querySelectorAll('[role="tab"]')[a]?.focus()})})(e,t)},[e.icon?((0,u.uX)(),(0,u.Wv)((0,d.R1)(aJ.k),{key:0,class:"client-libraries-icon",icon:e.icon},null,8,["icon"])):(0,u.Q3)("",!0),(0,u.Lk)("span",n7,(0,Q.v_)(e.lang),1)],42,n5))),128))],8,n6),k.value<l.value.length?((0,u.uX)(),(0,u.Wv)((0,d.R1)(a0.ev),{key:0,modelValue:C.value,options:S.value,placement:"bottom-end",teleport:"","onUpdate:modelValue":$},{default:(0,u.k6)(()=>[(0,u.Lk)("button",{class:(0,Q.C4)(["client-libraries client-libraries-more",{"client-libraries__active":w.value}]),type:"button"},[(0,u.bF)((0,d.R1)(aJ.k),{class:"client-libraries-icon",icon:w.value&&i.value?.icon?i.value.icon:"Ellipses"},null,8,["icon"]),(0,u.Lk)("span",n9,(0,Q.v_)((0,d.R1)(o)("clientLibraries.more")),1)],2)]),_:1},8,["modelValue","options"])):(0,u.Q3)("",!0)],512),(0,u.Lk)("div",oe,[(0,u.Lk)("div",{ref_key:"measureRef",ref:f,class:"client-libraries-row client-libraries-row--measure"},[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(l.value,(e,t)=>((0,u.uX)(),(0,u.CE)("span",{key:t,class:"client-libraries"},[e.icon?((0,u.uX)(),(0,u.Wv)((0,d.R1)(aJ.k),{key:0,class:"client-libraries-icon",icon:e.icon},null,8,["icon"])):(0,u.Q3)("",!0),(0,u.Lk)("span",ot,(0,Q.v_)(e.lang),1)]))),128)),(0,u.Lk)("span",oa,[(0,u.bF)((0,d.R1)(aJ.k),{class:"client-libraries-icon",icon:"Ellipses"}),(0,u.Lk)("span",or,(0,Q.v_)((0,d.R1)(o)("clientLibraries.more")),1)])],512)])]),i.value?.description?((0,u.uX)(),(0,u.CE)("div",{key:0,id:n,"aria-labelledby":A.value,class:"selected-client",role:"tabpanel",tabindex:"0"},[(0,u.bF)((0,d.R1)(aV.m),{value:i.value.description},null,8,["value"])],8,on)):(0,u.Q3)("",!0)])):(0,u.Q3)("",!0)}}),[["__scopeId","data-v-76e5ff4d"]]),ol={class:"sr-only"},os={class:"overflow-x-auto"},oi={key:1,class:"text-c-1 flex h-auto w-full items-center gap-0.75 !rounded-b-xl px-3 py-1.5 text-base leading-[20px] whitespace-nowrap"},oc={class:"sr-only"},ou={class:"overflow-x-auto"},od=(0,u.pM)({__name:"Selector",props:{selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:a}){let{translate:r}=v(),n=(0,u.EW)(()=>e.servers.map(e=>({id:e.url,label:e.url}))),o=(0,u.EW)(()=>e.selectedServer?.url?.replace(/\/$/,"")||""),l=(0,u.EW)(()=>n.value.find(t=>t.id===e.selectedServer?.url));return t({servers:e.servers,serverUrlWithoutTrailingSlash:o,serverOptions:n,selectedServer:e.selectedServer}),(t,s)=>n.value.length>1?((0,u.uX)(),(0,u.Wv)((0,d.R1)(eN.cy),{key:0,ref:"elem",class:"group",modelValue:l.value,options:n.value,placement:"bottom-start",resize:"",target:e.target,"onUpdate:modelValue":s[0]||(s[0]=e=>a("update:modelValue",e.id))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(aU.R),{class:"bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none !rounded-b-xl px-3 py-1.5 text-base/5.25 font-normal whitespace-nowrap -outline-offset-1",variant:"ghost"},{default:(0,u.k6)(()=>[(0,u.Lk)("span",ol,(0,Q.v_)((0,d.R1)(r)("server.label"))+":",1),(0,u.Lk)("span",os,(0,Q.v_)(o.value||(0,d.R1)(r)("server.select")),1),(0,u.bF)((0,d.R1)(aZ.A),{class:"text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]),_:1})]),_:1},8,["modelValue","options","target"])):((0,u.uX)(),(0,u.CE)("div",oi,[(0,u.Lk)("span",oc,(0,Q.v_)((0,d.R1)(r)("server.label"))+":",1),(0,u.Lk)("span",ou,(0,Q.v_)(o.value),1)]))}}),op={class:"bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium"},om=["id"],oh=(0,u.pM)({__name:"ServerSelector",props:{eventBus:{},selectedServer:{},servers:{}},setup(e){let t=(0,u.Bi)(),{translate:a}=v(),r=t=>{e.eventBus.emit("server:update:selected",{url:e.selectedServer?.url===t?"":t,meta:{type:"document"}})},n=(t,a)=>{let r=e.servers.findIndex(t=>t.url===e.selectedServer?.url);-1!==r&&e.eventBus.emit("server:update:variables",{index:r,key:t,value:a,meta:{type:"document"}})};return(o,l)=>((0,u.uX)(),(0,u.CE)(u.FK,null,[(0,u.Lk)("label",op,(0,Q.v_)((0,d.R1)(a)("server.label")),1),(0,u.Lk)("div",{id:(0,d.R1)(t),class:(0,Q.C4)(["border",{"rounded-b-xl":!e.selectedServer?.description&&!e.selectedServer?.variables}])},[e.servers.length?((0,u.uX)(),(0,u.Wv)(od,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:(0,d.R1)(t),"onUpdate:modelValue":r},null,8,["selectedServer","servers","target"])):(0,u.Q3)("",!0)],10,om),(0,u.bF)((0,d.R1)(aN.f),{layout:"reference",variables:e.selectedServer?.variables,"onUpdate:variable":n},null,8,["variables"]),e.selectedServer?.description?((0,u.uX)(),(0,u.Wv)((0,d.R1)(aV.m),{key:0,class:"text-c-3 rounded-b-xl border-x border-b px-3 py-1.5",value:e.selectedServer.description},null,8,["value"])):(0,u.Q3)("",!0)],64))}}),of=a(41283),og=a(61067),ov={class:"section-accordion-button-content"}
202,oy={key:0,class:"section-accordion-button-actions"},ob={key:0,class:"section-accordion-description"},oO={class:"section-accordion-content-card"},ok=s((0,u.pM)({__name:"SectionAccordion",props:{transparent:{type:Boolean},modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){let a=(0,d.KR)(),r=(0,tG.GF$)(a);return(n,o)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(of.EN),{as:"section",class:(0,Q.C4)(["section-accordion",{"section-accordion-transparent":e.transparent}])},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(of._q),{ref_key:"button",ref:a,class:"section-accordion-button",onClick:o[0]||(o[0]=()=>t("update:modelValue",!e.modelValue))},{default:(0,u.k6)(()=>[(0,u.Lk)("div",ov,[(0,u.RG)(n.$slots,"title",{},void 0,!0)]),n.$slots.actions?((0,u.uX)(),(0,u.CE)("div",oy,[(0,u.RG)(n.$slots,"actions",{active:(0,d.R1)(r)||e.modelValue},void 0,!0)])):(0,u.Q3)("",!0),(0,u.bF)((0,d.R1)(og.A),{class:(0,Q.C4)(["section-accordion-chevron size-4.5 transition-transform",{"rotate-90":e.modelValue}])},null,8,["class"])]),_:3},512),e.modelValue?((0,u.uX)(),(0,u.Wv)((0,d.R1)(of.kS),{key:0,class:"section-accordion-content",static:""},{default:(0,u.k6)(()=>[n.$slots.description?((0,u.uX)(),(0,u.CE)("div",ob,[(0,u.RG)(n.$slots,"description",{},void 0,!0)])):(0,u.Q3)("",!0),(0,u.Lk)("div",oO,[(0,u.RG)(n.$slots,"default",{},void 0,!0)])]),_:3})):(0,u.Q3)("",!0)]),_:3},8,["class"]))}}),[["__scopeId","data-v-ff689b94"]]),ox={key:0,class:"screenreader-only"},ow=s((0,u.pM)({__name:"ScreenReader",props:{if:{type:Boolean,default:!0}},setup:e=>(e,t)=>e.$props.if?((0,u.uX)(),(0,u.CE)("span",ox,[(0,u.RG)(e.$slots,"default",{},void 0,!0)])):(0,u.RG)(e.$slots,"default",{},void 0,!0,1)}),[["__scopeId","data-v-df2e1026"]]),oS={key:0},oC={key:1},o$={key:2},oA={key:3},oR={key:4},oE={key:5},oP=(0,u.pM)({name:"ScalarIconHash",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",oS,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M224,84H180.2l7.61-41.85a12,12,0,0,0-23.62-4.3L155.8,84H116.2l7.61-41.85a12,12,0,1,0-23.62-4.3L91.8,84H48a12,12,0,0,0,0,24H87.44l-7.27,40H32a12,12,0,0,0,0,24H75.8l-7.61,41.85a12,12,0,0,0,9.66,14A11.43,11.43,0,0,0,80,228a12,12,0,0,0,11.8-9.86L100.2,172h39.6l-7.61,41.85a12,12,0,0,0,9.66,14,11.43,11.43,0,0,0,2.16.2,12,12,0,0,0,11.8-9.86L164.2,172H208a12,12,0,0,0,0-24H168.56l7.27-40H224a12,12,0,0,0,0-24Zm-79.83,64H104.56l7.27-40h39.61Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",oC,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M165.82,96l-11.64,64h-64l11.64-64Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",o$,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M116.25,112h31.5l-8,32h-31.5ZM224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Zm-16,56a8,8,0,0,0-8-8H168.25l7.51-30.06a8,8,0,0,0-15.52-3.88L151.75,96h-31.5l7.51-30.06a8,8,0,0,0-15.52-3.88L103.75,96H64a8,8,0,0,0,0,16H99.75l-8,32H56a8,8,0,0,0,0,16H87.75l-7.51,30.06a8,8,0,0,0,5.82,9.7,8.13,8.13,0,0,0,2,.24,8,8,0,0,0,7.75-6.06L104.25,160h31.5l-7.51,30.06a8,8,0,0,0,5.82,9.7A8.13,8.13,0,0,0,136,200a8,8,0,0,0,7.75-6.06L152.25,160H192a8,8,0,0,0,0-16H156.25l8-32H200A8,8,0,0,0,208,104Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",oA,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M224,90H173l8.89-48.93a6,6,0,1,0-11.8-2.14L160.81,90H109l8.89-48.93a6,6,0,0,0-11.8-2.14L96.81,90H48a6,6,0,0,0,0,12H94.63l-9.46,52H32a6,6,0,0,0,0,12H83L74.1,214.93a6,6,0,0,0,4.83,7A5.64,5.64,0,0,0,80,222a6,6,0,0,0,5.89-4.93L95.19,166H147l-8.89,48.93a6,6,0,0,0,4.83,7,5.64,5.64,0,0,0,1.08.1,6,6,0,0,0,5.89-4.93L159.19,166H208a6,6,0,0,0,0-12H161.37l9.46-52H224a6,6,0,0,0,0-12Zm-74.83,64H97.37l9.46-52h51.8Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",oR,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",oE,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M224,92H170.61l9.33-51.28a4,4,0,1,0-7.88-1.44L162.48,92H106.61l9.33-51.28a4,4,0,1,0-7.88-1.44L98.48,92H48a4,4,0,0,0,0,8H97L86.84,156H32a4,4,0,0,0,0,8H85.39l-9.33,51.28a4,4,0,0,0,3.22,4.65A3.65,3.65,0,0,0,80,220a4,4,0,0,0,3.94-3.29L93.52,164h55.87l-9.33,51.28a4,4,0,0,0,3.22,4.65,3.65,3.65,0,0,0,.72.07,4,4,0,0,0,3.94-3.29L157.52,164H208a4,4,0,0,0,0-8H159l10.19-56H224a4,4,0,0,0,0-8Zm-73.16,64H95l10.19-56H161Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),oT=["id"],o_={class:"relative"},oj=(0,u.pM)({__name:"Anchor",emits:["copyAnchorUrl"],setup(e,{emit:t}){let a=(0,u.Bi)(),{translate:r}=v(),{cx:n}=(0,em.AX)();return(e,o)=>((0,u.uX)(),(0,u.CE)("span",(0,Q._B)((0,u.Ng)((0,d.R1)(n)("group/heading wrap-break-word relative"))),[(0,u.Lk)("span",{id:(0,d.R1)(a),class:"contents"},[(0,u.RG)(e.$slots,"default")],8,oT),(0,u.Lk)("span",o_,[o[1]||(o[1]=(0,u.Lk)("span",null,"​",-1)),(0,u.bF)((0,d.R1)(aU.R),{"aria-describedby":(0,d.R1)(a),class:"absolute top-1/2 left-0 inline-block h-fit -translate-y-1/2 px-1.5 py-1 opacity-0 group-hover/heading:opacity-100 group-has-focus-visible/heading:opacity-100",variant:"ghost",onClick:o[0]||(o[0]=(0,eE.D$)(()=>t("copyAnchorUrl"),["stop"]))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(oP),{"aria-hidden":"true",class:"size-4.5"}),(0,u.bF)(ow,null,{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(r)("actions.copyLink")),1)]),_:1})]),_:1},8,["aria-describedby"])])],16))}}),oQ=e=>{if(null===e||"object"!=typeof e||Array.isArray(e)||"oneOf"in e||"anyOf"in e||"allOf"in e||"not"in e)return!1;let t="type"in e;if(t&&Array.isArray(e.type))return e.type.includes("object");let a=t&&"object"===e.type;if(a)return!0;
202if(t&&!a)return!1;let r="properties"in e,n="additionalProperties"in e,o="patternProperties"in e;return r||n||o},oL=a(42187),oM={key:0,class:"schema-type"},oZ=["title"],oU=s((0,u.pM)({__name:"SchemaHeading",props:{value:{},name:{}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>"type"in e.value?e.value.type:e.value.enum?"enum":(0,w.R8)(e.value)&&e.value.items?"array":oQ(e.value)&&(e.value.properties||e.value.additionalProperties)?"object":"unknown");return(r,n)=>"object"==typeof e.value?((0,u.uX)(),(0,u.CE)("span",oM,[(0,u.Lk)("span",{class:"schema-type-icon",title:"type"in e.value&&"string"==typeof e.value.type?e.value.type:"type"in e.value&&Array.isArray(e.value.type)?e.value.type.join(" | "):(0,d.R1)(t)("schema.unknownType")},[(0,d.R1)(oQ)(e.value)?((0,u.uX)(),(0,u.CE)(u.FK,{key:0},[(0,u.eW)(" {} ")],64)):(0,u.Q3)("",!0),(0,d.R1)(w.R8)(e.value)?((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.eW)(" [] ")],64)):(0,u.Q3)("",!0),e.value.enum?((0,u.uX)(),(0,u.CE)(u.FK,{key:2},[(0,u.eW)(" enum ")],64)):(0,u.Q3)("",!0)],8,oZ),e.name?((0,u.uX)(),(0,u.Wv)((0,d.R1)(oL.A),{key:0,preset:"property",text:e.name},null,8,["text"])):((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.eW)((0,Q.v_)(a.value),1)],64))])):(0,u.Q3)("",!0)}}),[["__scopeId","data-v-e2018ca6"]]),oX=["id"],oI={class:"sr-only"},oB=(0,u.pM)({__name:"WithBreadcrumb",props:{breadcrumb:{},eventBus:{}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>t("actions.copyLinkTo",{name:e.breadcrumb?.[e.breadcrumb.length-1]??""}));return(t,r)=>e.breadcrumb&&e.breadcrumb.length>0?((0,u.uX)(),(0,u.CE)("div",{key:0,id:e.breadcrumb.join("."),class:"relative scroll-mt-24"},[(0,u.RG)(t.$slots,"default"),(0,u.Lk)("button",{class:"text-c-3 hover:text-c-1 absolute -top-2 -left-4.5 flex h-[calc(100%+16px)] w-4.5 cursor-pointer items-center justify-center pr-1.5 opacity-0 group-hover:opacity-100 focus-visible:opacity-100",type:"button",onClick:r[0]||(r[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.breadcrumb.join(".")}))},[(0,u.bF)((0,d.R1)(nl),{class:"size-3",weight:"bold"}),(0,u.Lk)("span",oI,[(0,u.RG)(t.$slots,"sr-label",{},()=>[(0,u.eW)((0,Q.v_)(a.value),1)])])])],8,oX)):(0,u.RG)(t.$slots,"default",{},void 0,void 0,1)}}),oq=a(56356),oW=Symbol("schema-dynamic-scope"),oD=[],oN=()=>(0,u.WQ)(oW,oD),oV=(e,t)=>(0,oq.zU)(e)?(0,oq.xS)(e.$dynamicRef,t)??e:e,oF=["allOf","oneOf","anyOf"],oz=e=>"type"in e&&e.type?Array.isArray(e.type)?e.type.includes("object"):"object"===e.type:"properties"in e,oH=e=>"$ref"in e||"discriminator"in e||oF.some(t=>t in e),oY=e=>{if(!e||!(0,w.R8)(e)||"object"!=typeof e.items)return!1;if("$ref"in e.items)return!0;let t=(0,b.A)(e.items);if(!t)return!1;if(oH(t)||oz(t))return!0;if(!(0,w.R8)(t)||"object"!=typeof t.items)return!1;if("$ref"in t.items)return!0;let a=(0,b.A)(t.items);return!!a&&(oz(a)||oH(a)||(0,w.R8)(a))},oG=a(5131),oK=e=>{if(!e)return null;
202let t=e.match(oG.Q.REF_NAME);return t?t[1]:null},oJ=/^#\/components\/schemas\/([^/]+)$/,o0=["oneOf","anyOf","allOf","not"],o1=a(27231),o2=a(602),o4=(e,t)=>{if(e.oneOf||e.anyOf||!t?.components?.schemas)return null;let a=Object.values(e.discriminator?.mapping??{}).filter(e=>"string"==typeof e).map(e=>{let a=e.startsWith("#/")||e.includes("/")?e:`#/components/schemas/${e}`,r=oK(a),n=r?o1.h.schema(t.components?.schemas?.[r]):void 0;if(n)return{$ref:a,"$ref-value":n}}).filter(o2.O);return 0===a.length?null:{...o1.h.schema(e),oneOf:a}},o8=Symbol("schema-ancestors"),o3=e=>{if(e&&"object"==typeof e)return"$ref"in e&&"string"==typeof e.$ref?e.$ref:e},o6=Symbol(),o5=(e,t=!1)=>{var a;if(!e.items)return"array";let r=(a=o7(o1.h.schema(e.items)))?`array ${a.includes(" | ")?`(${a})`:a}[]`:"array";return t?r:e.nullable?`${r} | null`:r},o7=e=>{if(!e)return"";let t=o1.h.schema(e);if(void 0!==t.const)return"const";if("type"in t&&Array.isArray(t.type)){if(t.type.includes("array")&&t.items){let e=o5(t,!0),a=t.type.filter(e=>"array"!==e);return a.length>0?`${e} | ${a.join(" | ")}`:e}return t.type.join(" | ")}return(0,w.R8)(t)?o5(t,!1):"type"in t&&t.type&&t.contentEncoding?`${t.type} • ${t.contentEncoding}`:"type"in t?t.type:""},o9=new Set(["description","title"]),le=(e,t,a=new Set)=>{if(!e?.allOf?.length||!Array.isArray(e.allOf))return t||{};let r={},{allOf:n,...o}=e;for(let t of e.allOf){if(!t||"object"!=typeof t)continue;let e=o1.h.schema(t);if(e.allOf){lt(r,le(e,void 0,a),!1,a);continue}lt(r,e,!1,a)}return Object.keys(o).length>0&&lt(r,o,!0,a),t&&"object"==typeof t&&(t.allOf?lt(r,le(t,void 0,a),!0,a):lt(r,t,!0,a)),r},lt=(e,t,a=!1,r=new Set)=>{let n=(0,e4.u)(t);if(0!==n.length)for(let o of n){let n=(0,b.A)(t[o]);if(void 0!==n)if("required"===o)Array.isArray(n)&&n.length>0&&(e.required?.length?e.required=[...new Set([...e.required,...n])]:e.required=n.slice());else if("properties"===o)n&&"object"==typeof n&&(e.properties||(e.properties={}),la(e.properties,n,r));else if("items"===o){let a=o1.h.schema(n);if(a)if((0,w.R8)(t))if(e.items||(e.items={}),a.allOf){let t=le(a,void 0,r);Object.assign(e.items,t)}else lr((0,b.A)(e.items),a,r);else if(a.allOf){let t=le(a,void 0,r);"properties"in t&&("properties"in e||(e.properties={}),"properties"in e&&la(e.properties,t.properties,r))}else"items"in e||(e.items=a)}else if("enum"===o)Array.isArray(n)&&n.length>0&&(e.enum=[...new Set([...e.enum||[],...n])]);else if("oneOf"===o||"anyOf"===o)Array.isArray(n)&&n.length>0&&(a||void 0===e[o])&&(e[o]=n);else{if("allOf"===o)continue;(a||o9.has(o)||void 0===e[o])&&(e[o]=n)}}},la=(e,t,a=new Set)=>{let r=Object.keys(t??{});if(t&&e&&0!==r.length)for(let n of r){let r=o1.h.schema(t[n]);if(!r){delete e[n];continue}if("object"!=typeof r){e[n]=r;continue}if(!e[n]){let o=t[n],l=o?.$ref;if(o&&"string"==typeof l&&a.has(l)){e[n]=o;continue}let s="string"==typeof l?new Set(a).add(l):a;r.allOf?e[n]=le(r,void 0,s):(0,w.R8)(r)&&o1.h.schema(r.items)?.allOf?e[n]={...r,items:le(o1.h.schema(r.items),void 0,a)}:t[n]&&(e[n]=t[n]);continue}let o=o1.h.schema(e[n]),l=r.$ref;if("string"==typeof l&&a.has(l)){e[n]=o;continue}let s="string"==typeof l?new Set(a).add(l):a;if(r.allOf)e[n]=le({allOf:[o,...r.allOf]},void 0,s);else if((0,w.R8)(r)&&(0,w.R8)(o)&&r.items){let t=o1.h.schema(o.items);e[n]={...o,type:"array",items:t?ln(t,o1.h.schema(r.items),s):o1.h.schema(r.items)}}else if("properties"in o&&"properties"in r){let t={...o,...r};t.properties={...o.properties},la(t.properties,r.properties,s),e[n]=t}else e[n]={...r,...o}}},lr=(e,t,a=new Set)=>{if(t.allOf||e.allOf){let r=[];if(e.allOf)for(let t of e.allOf)r.push(o1.h.schema(t));else r.push(e);if(t.allOf)for(let e of t.allOf)r.push(o1.h.schema(e));else r.push(t);Object.assign(e,le({allOf:r},void 0,a));return}Object.assign(e,t),"properties"in e&&"properties"in t&&la(e.properties,t.properties,a)},ln=(e,t,a=new Set)=>{let r=t.$ref;
202return"string"==typeof r?a.has(r)?e:lo(e,t,new Set(a).add(r)):lo(e,t,a)},lo=(e,t,a=new Set)=>{if(e.allOf||t.allOf){let r=[];if(e.allOf)for(let t of e.allOf)r.push(o1.h.schema(t));else r.push(e);if(t.allOf)for(let e of t.allOf)r.push(o1.h.schema(e));else r.push(t);return le({allOf:r},void 0,a)}let r={...e,...t};return"properties"in e&&"properties"in t&&(r.properties={...e.properties},la(r.properties,t.properties,a)),r},ll=["oneOf","anyOf"],ls=(e,t,a)=>{let{allOf:r,oneOf:n,anyOf:o,not:l,if:s,then:i,else:c,...u}=e;for(let e of(Object.keys(u).length>0&&t.push({kind:"object",schema:u}),ll)){let a="oneOf"===e?n:o;Array.isArray(a)&&a.length>0&&t.push({kind:"choice",composition:e,value:{[e]:a}})}if(Array.isArray(r)){for(let e of r)if(e&&"object"==typeof e){let r=o1.h.schema(e),n=r.$ref;if("string"==typeof n){if(a.has(n))continue;ls(r,t,new Set(a).add(n))}else ls(r,t,a)}}},li=e=>{if(!e)return null;let t=o1.h.schema(e),a="$ref"in e?(e=>{if(!e)return null;let t=e.match(oJ);return t?.[1]?decodeURIComponent(t[1]):null})(e.$ref):null;if(t.title)return{schemaKey:a,label:t.title};if(t.name)return{schemaKey:a,label:t.name};if("$ref"in e){let t=oK(e.$ref);if(t)return{schemaKey:a,label:t}}return null},lc=e=>{if(!oQ(e))return!1;let t=0===Object.keys(e.properties??{}).length,a=void 0===e.additionalProperties||!1===e.additionalProperties,r=0===Object.keys(e.patternProperties??{}).length;return t&&a&&r},lu=(e,t)=>e.reduce((e,a)=>{let r=t?.[a];return r&&(e[a]=r),e},{}),ld=(e,t,{hideReadOnly:a=!1,hideWriteOnly:r=!1,orderSchemaPropertiesBy:n="alpha",orderRequiredPropertiesFirst:o=!0}={})=>{if(!oQ(e)||!e.properties)return[];let l=Object.keys(e.properties),s=new Set(e.required||[]);return l.sort((a,r)=>{let l=a===t?.propertyName,i=r===t?.propertyName,c=s.has(a),u=s.has(r);if(l&&!i)return -1;if(!l&&i)return 1;let d=e.properties?.[a],p=e.properties?.[r],m=d&&"object"==typeof d&&"x-order"in d?d["x-order"]:void 0,h=p&&"object"==typeof p&&"x-order"in p?p["x-order"]:void 0;if(void 0!==m&&void 0!==h)return Number(m)-Number(h);if(void 0!==m&&void 0===h)return -1;if(void 0===m&&void 0!==h)return 1;if(o){if(c&&!u)return -1;if(!c&&u)return 1}return"alpha"===n?a.localeCompare(r):0}).filter(t=>{let n=e.properties&&o1.h.schema(e.properties[t]);return(!a||n?.readOnly!==!0)&&(!r||n?.writeOnly!==!0)})},lp=(0,u.pM)({__name:"SchemaObjectProperties",props:{schema:{},discriminator:{},compact:{type:Boolean},hideHeading:{type:Boolean},level:{},hideModelNames:{type:Boolean},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{}},setup(e){let t=(0,u.EW)(()=>ld(e.schema,e.discriminator,e.options)),a=(e,t)=>{let a="boolean"==typeof e?e:o1.h.schema(e);if("object"==typeof a&&"string"==typeof a["x-additionalPropertiesName"]&&a["x-additionalPropertiesName"].trim().length>0)return`${a["x-additionalPropertiesName"].trim()}`;if(t){let e=o1.h.schema(t);if(e?.title)return e.title}return"propertyName"},r=(0,u.EW)(()=>{if(oQ(e.schema)&&e.schema.additionalProperties){var t=e.schema.propertyNames;if(!t)return;let a=o1.h.schema(t);return a&&"enum"in a&&Array.isArray(a.enum)&&a.enum.length>0?a.enum:void 0}}),n=(0,u.EW)(()=>{if(oQ(e.schema)&&e.schema.additionalProperties)return e.schema.propertyNames?o1.h.schema(e.schema.propertyNames):void 0}),o=e=>{if(e)return o1.h.schema(e)},l=e=>{if(e)return"string"==typeof e.description?e.description:void 0};return(s,i)=>{var c;let p;return(0,u.uX)(),(0,u.CE)(u.FK,null,[(0,d.R1)(oQ)(e.schema)&&e.schema.properties?((0,u.uX)(!0),(0,u.CE)(u.FK,{key:0},(0,u.pI)(t.value,t=>((0,u.uX)(),(0,u.Wv)(sm,{key:t,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:t,cycleKey:(0,d.R1)(o3)(e.schema.properties[t]),description:l(e.schema.properties[t]),discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:t,options:e.options,required:e.schema.required?.includes(t),schema:o(e.schema.properties[t]),schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","cycleKey","description","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","required","schema","schemaContext"]))),128)):(0,u.Q3)("",!0),(0,d.R1)(oQ)(e.schema)&&e.schema.patternProperties?((0,u.uX)(!0),(0,u.CE)(u.FK,{key:1},(0,u.pI)(Object.entries(e.schema.patternProperties),([t,a])=>((0,u.uX)(),(0,u.Wv)(sm,{key:t,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:t,cycleKey:(0,d.R1)(o3)(a),description:l(a),discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:t,options:e.options,schema:o(a),schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","cycleKey","description","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"]))),128)):(0,u.Q3)("",!0),(0,d.R1)(oQ)(e.schema)&&e.schema.additionalProperties?((0,u.uX)(),(0,u.Wv)(sm,{key:2,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:a(e.schema.additionalProperties,e.schema.propertyNames),cycleKey:(0,d.R1)(o3)(e.sc
202hema.additionalProperties),discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:a(e.schema.additionalProperties,e.schema.propertyNames),noncollapsible:"",options:e.options,propertyNamesEnum:r.value,propertyNamesSchema:n.value,schema:!0!==(p="boolean"==typeof(c=e.schema.additionalProperties)?c:o1.h.schema(c))&&("object"!=typeof p||0!==Object.keys(p).length)&&"object"==typeof p&&"type"in p?p:{type:"anything",..."object"==typeof p?p:{}},schemaContext:e.schemaContext,variant:"additionalProperties"},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","cycleKey","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","propertyNamesEnum","propertyNamesSchema","schema","schemaContext"])):(0,u.Q3)("",!0)],64)}}}),lm={key:0,class:"schema-card-description"},lh={key:1,class:"pt-2"},lf={key:0,class:"schema-properties"},lg=s((0,u.pM)({__name:"Schema",props:{schema:{},level:{default:0},name:{},compact:{type:Boolean},noncollapsible:{type:Boolean,default:!1},hideHeading:{type:Boolean},hideDescription:{type:Boolean,default:!1},additionalProperties:{type:Boolean},hideModelNames:{type:Boolean,default:!1},discriminator:{},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{},cycleKey:{}},setup(e){let{translate:t}=v(),a=oN(),r=(0,u.EW)(()=>{if(!e.schema||"object"!=typeof e.schema)return e.schema;let t=oV(e.schema,a);return"$ref"in t?o1.h.schema(t):t}),n=e.schema?oV(e.schema,a):void 0;(0,u.Gt)(oW,n?(0,oq.oK)(a,n):a);let o=(0,u.WQ)(o8,void 0),l=(0,u.EW)(()=>null!=e.cycleKey&&!!o?.has(e.cycleKey)),s=new Set(o??[]);null!=e.cycleKey&&s.add(e.cycleKey),(0,u.Gt)(o8,s);let i=(0,u.EW)(()=>!!e.options.expandAllSchemaProperties&&!l.value),c=(0,u.EW)(()=>!e.noncollapsible&&e.level>0),p=(0,u.EW)(()=>{if(!e.breadcrumb?.length)return!1;let t=e.breadcrumb.join("."),a=aC.value;return a===t||a.startsWith(`${t}.`)}),m=(0,u.EW)(()=>e.noncollapsible||i.value||p.value),h=(0,u.EW)(()=>e.schema?.title??t("schema.childAttributes")),f=(0,u.EW)(()=>{let t=r.value;return e.hideDescription?null:e.schema?.allOf&&e.schema.allOf.length>0&&"Request Body"===e.name?le(e.schema)?.description||null:t?.description&&"string"==typeof t.description&&!t.enum&&("properties"in t||"patternProperties"in t||"additionalProperties"in t||"allOf"in t)?t.description:null}),g=(0,u.EW)(()=>e.schema&&!e.discriminator&&oQ(e.schema)?o4(e.schema,e.options.document):null),y=t=>{e.noncollapsible&&t.stopPropagation()};return(a,n)=>r.value&&Object.keys(r.value).length?((0,u.uX)(),(0,u.Wv)((0,d.R1)(of.EN),{key:0,defaultOpen:m.value},{default:(0,u.k6)(({open:a})=>[(0,u.Lk)("div",{class:(0,Q.C4)(["schema-card",[`schema-card--level-${e.level}`,{"schema-card--compact":e.compact,"schema-card--open":a},{"border-t":e.additionalProperties&&a}]])},[f.value?((0,u.uX)(),(0,u.CE)("div",lm,[(0,u.bF)((0,d.R1)(aV.m),{value:f.value},null,8,["value"])])):(0,u.Q3)("",!0),(0,d.R1)(lc)(r.value)?((0,u.uX)(),(0,u.CE)("div",lh,(0,Q.v_)((0,d.R1)(t)("schema.emptyObject")),1)):(0,u.Q3)("",!0),(0,u.Lk)("div",{class:(0,Q.C4)(["schema-properties",{"schema-properties-open":a}])},[e.additionalProperties?(0,u.bo)(((0,u.uX)(),(0,u.CE)("div",lf,[(0,u.bF)((0,d.R1)(of._q),{as:"button",class:"schema-card-title schema-card-title--compact",onClickCapture:y},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(aJ.k),{class:"schema-card-title-icon",icon:"Add",size:"sm"}),(0,u.eW)(" "+(0,Q.v_)((0,d.R1)(t)("schema.showAdditionalProperties"))+" ",1),e.name?((0,u.uX)(),(0,u.Wv)(ow,{key:0},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("schema.forName",{name:e.name})),1)]),_:1})):(0,u.Q3)("",!0)]),_:1})],512)),[[eE.aG,!a]]):c.value?(0,u.bo)(((0,u.uX)(),(0,u.Wv)((0,d.R1)(of._q),{key:1,as:e.noncollapsible?"div":"button",class:(0,Q.C4)(["schema-card-title",{"schema-card-title--compact":e.compact}]),style:(0,Q.Tr)({top:`calc(var(--refs-viewport-offset) +  calc(var(--schema-title-height) * ${e.level}))`}),onClickCapture:y},{default:(0,u.k6)(()=>[e.compact?((0,u.uX)(),(0,u.CE)(u.FK,{key:0},[(0,u.bF)((0,d.R1)(aJ.k),{class:(0,Q.C4)(["schema-card-title-icon",{"schema-card-title-icon--open":a}]),icon:"Add",size:"sm"},null,8,["class"]),a?((0,u.uX)(),(0,u.CE)(u.FK,{key:0},[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("schema.hideChildAttributes",{name:h.value})),1)],64)):((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("schema.showChildAttributes",{name:h.value})),1)],64)),e.name?((0,u.uX)(),(0,u.Wv)(ow,{key:2},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("schema.forName",{name:e.name})),1)]),_:1})):(0,u.Q3)("",!0)],64)):((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.bF)((0,d.R1)(aJ.k),{class:(0,Q.C4)(["schema-card-title-icon",{"schema-card-title-icon--open":a}]),icon:"Add",size:"sm"},null,8,["class"]),(0,u.bF)(oU,{name:r.value?.title??e.name,value:r.value},null,8,["name","value"])],64))]),_:2},1032,["as","class","style"])),[[eE.aG,!e.hideHeading&&!(e.noncollapsible&&e.compact)]]):(0,u.Q3)("",!0),!e.additionalProperties||a?((0,u.uX)(),(0,u.Wv)((0,d.R1)(of.kS),{key:2,as:"ul",static:!c.value},{default:(0,u.k6)(()=>[g.value?((0,u.uX)(),(0,u.Wv)(lx,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,composition:"oneOf",compositionPath:e.compositionPath,discriminator:e.schema?.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:e.name,options:e.options,schema:g.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"])):(0,d.R1)(oQ)(r.value)?((0,u.uX)(),(0,u.Wv)(lp,{key:1,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level+1,options:e.options,schema:r.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","options","schema","schemaContext"])):((0,u.uX)(),(0,u.CE)(u.FK,{key:2},[r.value?((0,u.uX)(),(0,u.Wv)(sm,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,options:e.options,schema:r.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","options","schema","schemaContext"])):(0,u.Q3)("",!0)],64))]),_:1}
202,8,["static"])):(0,u.Q3)("",!0)],2)],2)]),_:1},8,["defaultOpen"])):(0,u.Q3)("",!0)}}),[["__scopeId","data-v-77b16bb4"]]),lv={class:"property-rule"},ly={class:"composition-selector bg-b-1.5 hover:bg-b-2 flex w-full cursor-pointer items-center gap-1 rounded-t-lg border px-2.5 py-2.5 pr-3 text-left",type:"button"},lb={class:"text-c-2"},lO={key:0,class:"text-red"},lk={class:"composition-panel"},lx=(0,u.pM)({__name:"SchemaComposition",props:{composition:{},discriminator:{},name:{},schema:{},level:{},compact:{type:Boolean,default:!1},hideHeading:{type:Boolean,default:!1},hideModelNames:{type:Boolean},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>"allOf"===e.composition?(e=>{if(!e)return{segments:[]};let{allOf:t,oneOf:a,anyOf:r,not:n,if:o,then:l,else:s,...i}=e;if(!Array.isArray(t))return{segments:[{kind:"object",schema:e}]};let c=[];Object.keys(i).length>0&&c.push({kind:"object",schema:i});let u=new Set;for(let e of t)if(e&&"object"==typeof e){let t=o1.h.schema(e),a=t.$ref;ls(t,c,"string"==typeof a?new Set(u).add(a):u)}let d=[],p=[],m=0,h=()=>{if(0===p.length)return;let e=1===p.length?p[0]:le({allOf:p});d.push({kind:"object",schema:e}),p=[]};for(let e of c)"object"===e.kind?p.push(e.schema):(h(),d.push({kind:"choice",composition:e.composition,value:e.value,choiceIndex:m++}));return h(),{segments:d}})(e.schema).segments:[]),r=(0,u.EW)(()=>[e.schema[e.composition]].flat().map(e=>({value:o1.h.schema(e),original:e})).filter(e=>(0,o2.O)(e.value))),n=(0,u.EW)(()=>r.value.map((e,a)=>{let r=o1.h.schema(e.original),n=(li(r)?.label??o7(r))||t("schema.schema");return{id:String(a),label:n}})),o=(0,u.EW)(()=>e.compositionPath?.length?[...e.compositionPath,e.composition].join("."):""),l=(0,u.WQ)(o6,void 0),s=(0,u.EW)(()=>{if("requestBody"!==e.schemaContext||!l?.value||!o.value)return 0;let t=l.value[o.value];return"number"!=typeof t||Number.isNaN(t)?0:Math.max(0,Math.min(t,n.value.length-1))}),i=(0,d.KR)();(0,u.wB)([n,s],([e,t])=>{i.value&&e.some(e=>e.id===i.value?.id)||(i.value=e[t]??e[0])},{immediate:!0});let c=(0,u.EW)(()=>r.value[Number(i.value?.id??"0")]?.value),p=(0,u.EW)(()=>"requestBody"===e.schemaContext&&e.compositionPath?.length===1),m=(0,u.EW)(()=>o3(r.value[Number(i.value?.id??"0")]?.original)),h=(0,d.KR)(!!e.options.expandAllSchemaProperties);return l&&"requestBody"===e.schemaContext&&o.value&&(0,u.wB)(i,e=>{let t=e?Number(e.id):0;Number.isNaN(t)||(l.value={...l.value,[o.value]:t})},{immediate:!0}),(r,o)=>{let l=(0,u.g2)("SchemaComposition",!0);return(0,u.uX)(),(0,u.CE)("div",lv,["allOf"===e.composition?((0,u.uX)(!0),(0,u.CE)(u.FK,{key:0},(0,u.pI)(a.value,(t,a)=>((0,u.uX)(),(0,u.CE)(u.FK,{key:a},["object"===t.kind?((0,u.uX)(),(0,u.Wv)(lg,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideDescription:p.value,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:!0,options:e.options,schema:t.schema,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideDescription","hideHeading","hideModelNames","level","name","options","schema","schemaContext"])):((0,u.uX)(),(0,u.Wv)(l,{key:1,breadcrumb:e.breadcrumb,compact:e.compact,composition:t.composition,compositionPath:[...e.compositionPath??[],String(t.choiceIndex)],eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,options:e.options,schema:t.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","composition","compositionPath","eventBus","hideHeading","hideModelNames","level","options","schema","schemaContext"]))],64))),128)):((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.bF)((0,d.R1)(eN.cy),{modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=e=>i.value=e),options:n.value,resize:""},{default:(0,u.k6)(()=>{let a;return[(0,u.Lk)("button",ly,[(0,u.Lk)("span",lb,(0,Q.v_)((a=e.composition,t(`schema.${a}`))),1),(0,u.Lk)("span",{class:(0,Q.C4)(["composition-selector-label text-c-1",{"line-through":c.value?.deprecated}])},(0,Q.v_)(i.value?.label||(0,d.R1)(t)("schema.schema")),3),c.value?.deprecated?((0,u.uX)(),(0,u.CE)("div",lO,(0,Q.v_)((0,d.R1)(t)("common.deprecated")),1)):(0,u.Q3)("",!0),(0,u.bF)((0,d.R1)(aZ.A))])]}),_:1},8,["modelValue","options"]),(0,u.Lk)("div",lk,[!h.value&&e.level>2?((0,u.uX)(),(0,u.CE)("button",{key:0,class:"bg-b-1 hover:bg-b-2 text-c-1 flex w-full items-center justify-center gap-2 rounded-b-lg border border-t-0 px-2 py-2 text-sm font-medium transition-colors",type:"button",onClick:o[1]||(o[1]=e=>h.value=!0)}
202,[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("schema.showSchemaDetails"))+" ",1),(0,u.bF)((0,d.R1)(aZ.A),{class:"h-3 w-3"})])):((0,u.uX)(),(0,u.Wv)(lg,{key:i.value?.id??"0",breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,cycleKey:m.value,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:!0,options:e.options,schema:c.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","cycleKey","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"]))])],64))])}}}),lw={integer:{_default:"Integer numbers.",int32:"Signed 32-bit integers (commonly used integer type).",int64:"Signed 64-bit integers (long type)."},string:{date:"full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21","date-time":"the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z",password:"a hint to UIs to mask the input",base64:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",byte:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",binary:"binary data, used to describe files"}};function lS(...e){let t={},a={},r=new Set,n=!1,o=!1;for(let l of e)if(l)for(let[e,s]of Object.entries(l)){if("properties"===e&&s&&"object"==typeof s){Object.assign(a,s),n=!0;continue}if("required"===e&&Array.isArray(s)){for(let e of s)r.add(e);o=!0;continue}t[e]=s}return n&&(t.properties=a),o&&(t.required=[...r]),t}function lC(e){if(!e||"object"!=typeof e)return e;let t=o0.find(t=>t in e&&"not"!==t);if(!t)return{...e};let a=e[t];if(!Array.isArray(a))return{...e};let{[t]:r,nullable:n,...o}=e,l=Object.keys(o).length>0,{filteredSchemas:s,hasNullSchema:i}=a.reduce((e,t)=>{let a=o1.h.schema(t);return"type"in a&&"null"===a.type?e.hasNullSchema=!0:e.filteredSchemas.push(a),e},{filteredSchemas:[],hasNullSchema:!1}),c=i||!0===n;if(1===s.length){let e=lS(s[0],o);return c&&(e.nullable=!0),e}if(("oneOf"===t||"anyOf"===t)&&(l||s.some(e=>e.allOf))){let a={[t]:s.map(e=>{let t=o1.h.schema(e);if(t.allOf?.length===1){let{allOf:e,...a}=t,r=o1.h.schema(e[0]);if("properties"in a||"required"in a||"$ref"in a){let{$ref:e,title:t,name:n,...l}=r;return lS(o,a,l)}return lS(o,a,r)}return lS(o,t)})};return"string"==typeof e.description&&(a.description=e.description),c&&(a.nullable=!0),a}if(s.length!==a.length){let a={...e,[t]:s};return c&&(a.nullable=!0),a}return{...e}}var l$={class:"property-enum-value"},lA={class:"property-enum-value-content"},lR={class:"property-enum-value-label"},lE={key:0,class:"property-enum-value-description"},lP=s((0,u.pM)({__name:"SchemaEnumPropertyItem",props:{label:{},description:{}},setup:e=>(t,a)=>((0,u.uX)(),(0,u.CE)("li",l$,[(0,u.Lk)("div",lA,[(0,u.Lk)("span",lR,[(0,u.bF)((0,d.R1)(oL.A),{text:e.label,preset:"property"},null,8,["text"])]),e.description?((0,u.uX)(),(0,u.CE)("span",lE,[(0,u.bF)((0,d.R1)(aV.m),{value:e.description},null,8,["value"])])):(0,u.Q3)("",!0)])]))}),[["__scopeId","data-v-4375ecfd"]]),lT=a(5412),l_={key:0,class:"property-enum"},lj={key:0,class:"property-enum-property-names"},lQ={key:1,class:"property-enum-property-names"},lL={class:"property-enum-values"},lM={key:1},lZ=s((0,u.pM)({__name:"SchemaEnums",props:{value:{},propertyNames:{type:Boolean}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>{if(e.value)return e.value.enum?e.value:(0,w.R8)(e.value)?o1.h.schema(e.value.items):void 0}),r=(0,u.EW)(()=>a.value?.enum??[]),n=(0,u.EW)(()=>r.value.length>9),o=(0,u.EW)(()=>n.value?5:r.value.length),l=(0,u.EW)(()=>r.value.slice(0,o.value)),s=(0,u.EW)(()=>r.value.slice(o.value)),i=(e,t)=>{let r=a.value,n=r?.["x-enumDescriptions"]??r?.["x-enum-descriptions"];if(n){if(Array.isArray(n))return n[t];if("object"==typeof n&&null!==n)return n[String(e)]}},c=(e,t)=>{let r=a.value?.["x-enum-varnames"]??a.value?.["x-enumNames"],n=Array.isArray(r)?r[t]:void 0;return n?`${e} = ${n}`:String(e)},p=(0,d.KR)(!1),m=()=>{p.value=!p.value};return(a,h)=>r.value.length>0?((0,u.uX)(),(0,u.CE)("div",l_,[e.propertyNames?((0,u.uX)(),(0,u.CE)("div",lj,(0,Q.v_)((0,d.R1)(t)("common.propertyNames")),1)):((0,u.uX)(),(0,u.CE)("div",lQ,(0,Q.v_)((0,d.R1)(t)("common.values")),1)),(0,u.Lk)("ul",lL,[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(l.value,(e,t)=>((0,u.uX)(),(0,u.Wv)(lP,{key:String(e),description:i(e,t),label:c(e,t)},null,8,["description","label"]))),128)),n.value&&p.value?((0,u.uX)(!0),(0,u.CE)(u.FK,{key:0},(0,u.pI)(s.value,(e,t)=>((0,u.uX)(),(0,u.Wv)(lP,{key:String(e),description:i(e,o.value+t),label:c(e,o.value+t)},null,8,["description","label"]))),128)):(0,u.Q3)("",!0),n.value?((0,u.uX)(),(0,u.CE)("li",lM,[(0,u.bF)((0,d.R1)(aU.R),{class:"enum-toggle-button my-2 flex h-fit gap-1 rounded-full border py-1.5 pr-2.5 pl-2 leading-none",variant:"ghost",onClick:m},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(lT.A),{class:(0,Q.C4)({"rotate-45":p.value}),weight:"bold"},null,8,["class"]),(0,u.eW)(" "+(0,Q.v_)(p.value?(0,d.R1)(t)("common.hideValues"):(0,d.R1)(t)("common.showAllValues")),1)]),_:1})])):(0,u.Q3)("",!0)])])):(0,u.Q3)("",!0)}}),[["__scopeId","data-v-602e2e26"]]),lU={class:"text-c-3 hover:text-c-1 underline",type:"button"},lX=s({},[["render",function(e,t){return(0,u.uX)(),(0,u.CE)("button",lU,[(0,u.RG)(e.$slots,"default")])}]]),lI=a(8922),lB=(e,{hideModels:t,document:a})=>{if(!e||t)return!1;let r=a?.components?.schemas?.[e];return!(0,lI.d)((0,b.A)(r,b.F))},lq=(0,u.pM)({__name:"RenderString",props:{value:{}},setup(e){let t=(0,u.EW)(()=>""===e.value?"''":null===e.value?"null":void 0===e.value?"undefined":e.value);return(e,a)=>(0,Q.v_)(t.value)}});function lW(e){return Array.isArray(e)?`[${e.map(e=>"string"==typeof e?`"${e.toString().trim()}"`:"object"==typeof e?JSON.stringify(e):void 0===e?"undefined":null===e?"null":e).join(", ")}]`:null===e?"null":"object"==typeof e?JSON.stringify(e):void 0===e?"undefined":"string"==typeof e?e.trim():e.toString().trim()}var lD={key:0,class:"property-default"},lN={class:"property-default-label",type:"button"},lV={class:"property-default-value-list"},lF=s((0,u.pM)({__name:"SchemaPropertyDefault",props:{value:{}}
202,setup(e){let{copyToClipboard:t}=(0,tB.i)(),{translate:a}=v();return(r,n)=>void 0!==e.value?((0,u.uX)(),(0,u.CE)("div",lD,[(0,u.Lk)("button",lN,[(0,u.Lk)("span",null,(0,Q.v_)((0,d.R1)(a)("schema.default")),1)]),(0,u.Lk)("div",lV,[(0,u.Lk)("button",{class:"property-default-value group",type:"button",onClick:n[0]||(n[0]=a=>(0,d.R1)(t)((0,d.R1)(lW)(e.value)))},[(0,u.Lk)("span",null,(0,Q.v_)((0,d.R1)(lW)(e.value)),1),(0,u.bF)((0,d.R1)(aJ.k),{class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})])])])):(0,u.Q3)("",!0)}}),[["__scopeId","data-v-cc878a44"]]),lz={key:0,class:"property-detail-prefix"},lH={key:1,class:"property-detail-value"},lY={key:2,class:"property-detail-value"},lG=s((0,u.pM)({__name:"SchemaPropertyDetail",props:{truncate:{type:Boolean},code:{type:Boolean}},setup:e=>(t,a)=>((0,u.uX)(),(0,u.CE)("span",{class:(0,Q.C4)(["property-detail",{"property-detail-truncate":e.truncate}])},[t.$slots.prefix?((0,u.uX)(),(0,u.CE)("div",lz,[(0,u.RG)(t.$slots,"prefix",{},void 0,!0),a[0]||(a[0]=(0,u.eW)("\xa0 ",-1))])):(0,u.Q3)("",!0),e.code?((0,u.uX)(),(0,u.CE)("code",lH,[(0,u.RG)(t.$slots,"default",{},void 0,!0)])):((0,u.uX)(),(0,u.CE)("span",lY,[(0,u.RG)(t.$slots,"default",{},void 0,!0)]))],2))}),[["__scopeId","data-v-1295f965"]]);function lK(e){let t=e.trim();return""===t?e:t}function lJ(e){return Array.isArray(e)?`[${e.map(e=>"string"==typeof e?`"${lK(e)}"`:"object"==typeof e?JSON.stringify(e):void 0===e?"undefined":null===e?"null":e).join(", ")}]`:null===e?"null":"object"==typeof e?JSON.stringify(e):void 0===e?"undefined":"string"==typeof e?lK(e):lK(e.toString())}var l0={key:0,class:"property-example"},l1={class:"property-example-value-list"},l2={key:1,class:"property-example"},l4={class:"property-example-value-list"},l8=["onClick"],l3=s((0,u.pM)({__name:"SchemaPropertyExamples",props:{examples:{},example:{}},setup(e){let{copyToClipboard:t}=(0,tB.i)(),{translate:a}=v(),r=(0,u.EW)(()=>void 0!==e.example),n=(0,u.EW)(()=>e.examples&&"object"==typeof e.examples?e.examples:{}),o=(0,u.EW)(()=>Object.keys(n.value).length>0),l=(0,u.EW)(()=>1===Object.keys(n.value).length?a("schema.example"):a("schema.examples"));function s(e){if((0,p.G)(e)){if("value"in e)return e.value;if("externalValue"in e)return e.externalValue}return e}return(i,c)=>((0,u.uX)(),(0,u.CE)(u.FK,null,[r.value?((0,u.uX)(),(0,u.CE)("div",l0,[(0,u.bF)(lX,{class:"decoration-dotted"},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("schema.example")),1)]),_:1}),(0,u.Lk)("div",l1,[(0,u.Lk)("button",{class:"property-example-value group",type:"button",onClick:c[0]||(c[0]=a=>(0,d.R1)(t)((0,d.R1)(lJ)(e.example)))},[(0,u.Lk)("span",null,(0,Q.v_)((0,d.R1)(lJ)(e.example)),1),(0,u.bF)((0,d.R1)(aJ.k),{class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})])])])):(0,u.Q3)("",!0),o.value?((0,u.uX)(),(0,u.CE)("div",l2,[(0,u.bF)(lX,{class:"decoration-dotted"},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(l.value),1)]),_:1}),(0,u.Lk)("div",l4,[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(n.value,(e,a)=>((0,u.uX)(),(0,u.CE)("button",{key:a,class:"property-example-value group",type:"button",onClick:a=>(0,d.R1)(t)((0,d.R1)(lJ)(s(e)))},[(0,u.Lk)("span",null,(0,Q.v_)((0,d.R1)(lJ)(s(e))),1),(0,u.bF)((0,d.R1)(aJ.k),{class:"text-c-3 group-hover:text-c-1 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})],8,l8))),128))])])):(0,u.Q3)("",!0)],64))}}),[["__scopeId","data-v-370db0bd"]]),l6={class:"property-pattern-popup"},l5=["aria-label"],l7=s((0,u.pM)({__name:"SchemaPropertyPattern",props:{pattern:{}},setup(e){let{copyToClipboard:t}=(0,tB.i)(),{translate:a}=v(),r=(0,d.KR)(null),n=(0,d.KR)(!1),o=()=>{n.value=!n.value},l=()=>{n.value=!1};return(0,tG.X2F)(r,l),(0,tG.Ta5)("Escape",()=>{n.value&&l()}),(l,s)=>((0,u.uX)(),(0,u.CE)("div",{ref_key:"rootRef",ref:r,class:(0,Q.C4)(["property-pattern",{"is-open":n.value}])},[(0,u.bF)(lX,{class:"decoration-dotted",onClick:o},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("common.pattern")),1)]),_:1}),(0,u.Lk)("div",l6,[(0,u.Lk)("button",{class:"property-pattern-value group",type:"button","aria-label":`${(0,d.R1)(a)("common.copyPattern")}: ${e.pattern}`,onClick:s[0]||(s[0]=a=>(0,d.R1)(t)(e.pattern))},[(0,u.Lk)("code",null,(0,Q.v_)(e.pattern),1),(0,u.bF)((0,d.R1)(aJ.k),{"aria-hidden":"true",class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})],8,l5)])],2))}}),[["__scopeId","data-v-2034a630"]]),l9={class:"property-heading"},se={key:1,class:"property-discriminator"},st={key:3,class:"property-additional"},sa={key:4,class:"property-deprecated"},sr={key:5,class:"property-const"},sn={key:7,class:"property-write-only"},so={key:8,class:"property-read-only"},sl={key:9,class:"property-required"},ss=s((0,u.pM)({__name:"SchemaPropertyHeading",props:{value:{},enum:{type:Boolean},isDiscriminator:{type:Boolean,default:!1},required:{type:Boolean,default:!1},additional:{type:Boolean},withExamples:{type:Boolean,default:!0},hideModelNames:{type:Boolean,default:!1},modelLinkOptions:{},modelName:{},propertyNames:{},eventBus:{default:null}},setup(e){let{translate:t}=v(),a=(0,d.lW)(e,"value"),r=(0,u.EW)(()=>
202{if(!a.value)return;let e=a.value;if(void 0!==e.const)return e.const;if(e.enum?.length===1)return e.enum[0];if((0,w.R8)(e)&&e.items){let t=o1.h.schema(e.items);if((0,o2.O)(t.const))return t.const;if(t.enum?.length===1)return t.enum[0]}}),n=e=>{let a=[];return(0,w.z4)(e)&&(e.minLength&&a.push({key:"min-length",prefix:`${t("common.minLength")}: `,value:e.minLength}),e.maxLength&&a.push({key:"max-length",prefix:`${t("common.maxLength")}: `,value:e.maxLength})),((0,w.z4)(e)||(0,w.TU)(e))&&e.format&&a.push({key:"format",value:e.format,truncate:!0}),(0,w.TU)(e)&&((0,o2.O)(e.exclusiveMinimum)&&a.push({key:"exclusive-minimum",prefix:`${t("common.greaterThan")}: `,value:e.exclusiveMinimum}),(0,o2.O)(e.minimum)&&a.push({key:"minimum",prefix:`${t("common.min")}: `,value:e.minimum}),(0,o2.O)(e.exclusiveMaximum)&&a.push({key:"exclusive-maximum",prefix:`${t("common.lessThan")}: `,value:e.exclusiveMaximum}),(0,o2.O)(e.maximum)&&a.push({key:"maximum",prefix:`${t("common.max")}: `,value:e.maximum}),(0,o2.O)(e.multipleOf)&&a.push({key:"multiple-of",prefix:`${t("common.multipleOf")}: `,value:e.multipleOf})),a},o=(0,u.EW)(()=>{if(!a.value)return[];let e=a.value,r=[];return(0,w.R8)(e)&&((e.minItems||e.maxItems)&&r.push({key:"array-range",value:`${e.minItems||""}…${e.maxItems||""}`}),e.uniqueItems&&r.push({key:"unique-items",value:`${t("common.unique")}!`})),r.push(...n(e)),(0,w.R8)(e)&&e.items&&r.push(...n(o1.h.schema(e.items))),r}),l=(0,u.EW)(()=>{if(!e.value||e.hideModelNames)return null;if(e.modelName)return{schemaKey:e.modelName,label:e.modelName};let t=li(e.value);if(t)return{schemaKey:t.schemaKey,label:t.label};if((0,w.R8)(e.value)&&e.value.items){let t=li(e.value.items);return t?{schemaKey:t.schemaKey,label:`${t.label}[]`}:null}return null}),s=(0,u.EW)(()=>lB(l.value?.schemaKey,e.modelLinkOptions??{})),i=(0,u.EW)(()=>!!e.value&&"type"in e.value&&("array"===e.value.type||!r.value)),c=(0,u.EW)(()=>e.value?o7(e.value):""),p=(0,u.EW)(()=>{let t=e.propertyNames;if(!t)return;let a=[o7(t)];"format"in t&&"string"==typeof t.format&&a.push(t.format);let r=a.filter(Boolean).join(" \xb7 ");return r.length>0?r:void 0}),m=(0,u.EW)(()=>{if(e.value&&"example"in e.value&&void 0!==e.value.example)return e.value.example;if(e.value&&(0,w.R8)(e.value)){let t=o1.h.schema(e.value.items);if(t&&"example"in t&&void 0!==t.example)return t.example}}),h=(0,u.EW)(()=>{let e=a.value;if(e){if((0,w.z4)(e)&&e.pattern)return e.pattern;if((0,w.R8)(e)&&e.items){let t=o1.h.schema(e.items);if((0,w.z4)(t)&&t.pattern)return t.pattern}}});return(a,n)=>((0,u.uX)(),(0,u.CE)("div",l9,[a.$slots.name?((0,u.uX)(),(0,u.CE)("div",{key:0,class:(0,Q.C4)(["property-name",{deprecated:e.value?.deprecated}])},[(0,u.RG)(a.$slots,"name",{},void 0,!0)],2)):(0,u.Q3)("",!0),e.isDiscriminator?((0,u.uX)(),(0,u.CE)("div",se,(0,Q.v_)((0,d.R1)(t)("common.discriminator")),1)):(0,u.Q3)("",!0),e.value?((0,u.uX)(),(0,u.CE)(u.FK,{key:2},[i.value?((0,u.uX)(),(0,u.Wv)(lG,{key:0,truncate:""},{default:(0,u.k6)(()=>[(0,u.bF)(ow,null,{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("common.type"))+":",1)]),_:1}),(0,u.eW)(" "+(0,Q.v_)(c.value)+" ",1),l.value?((0,u.uX)(),(0,u.CE)(u.FK,{key:0},[n[1]||(n[1]=(0,u.eW)(" \xb7 ",-1)),e.eventBus&&l.value.schemaKey&&s.value?((0,u.uX)(),(0,u.Wv)(lX,{key:0,onClick:n[0]||(n[0]=t=>e.eventBus.emit("scroll-to:model-by-name",{name:l.value.schemaKey}))},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(l.value.label),1)]),_:1})):((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.eW)((0,Q.v_)(l.value.label),1)],64))],64)):(0,u.Q3)("",!0)]),_:1})):(0,u.Q3)("",!0),p.value?((0,u.uX)(),(0,u.Wv)(lG,{key:1,truncate:""},{prefix:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("common.keys"))+":",1)]),default:(0,u.k6)(()=>[(0,u.eW)(" "+(0,Q.v_)(p.value),1)]),_:1})):(0,u.Q3)("",!0),((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(o.value,e=>((0,u.uX)(),(0,u.Wv)(lG,{key:e.key,code:e.code,truncate:e.truncate},(0,u.eX)({default:(0,u.k6)(()=>["format"===e.key?((0,u.uX)(),(0,u.Wv)(ow,{key:0},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("common.format"))+": ",1)]),_:1})):(0,u.Q3)("",!0),(0,u.eW)(" "+(0,Q.v_)(e.value),1)]),_:2},[e.prefix?{name:"prefix",fn:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(e.prefix),1)]),key:"0"}:void 0]),1032,["code","truncate"]))),128)),e.enum?((0,u.uX)(),(0,u.Wv)(lG,{key:2},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("common.enum")),1)]),_:1})):(0,u.Q3)("",!0)],64)):(0,u.Q3)("",!0),e.additional?((0,u.uX)(),(0,u.CE)("div",st,[e.value?.["x-additionalPropertiesName"]?((0,u.uX)(),(0,u.CE)(u.FK,{key:0},[(0,u.eW)((0,Q.v_)(e.value["x-additionalPropertiesName"]),1)],64)):((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("common.additionalProperties")),1)],64))])):(0,u.Q3)("",!0),e.value?.deprecated?((0,u.uX)(),(0,u.CE)("div",sa,[(0,u.bF)((0,d.R1)(rR),null,{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("common.deprecated")),1)]),_:1})])):(0,u.Q3)("",!0),void 0!==r.value?((0,u.uX)(),(0,u.CE)("div",sr,[(0,u.bF)(lG,{truncate:""},{prefix:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("common.const"))+": ",1)]),default:(0,u.k6)(()=>[(0,u.bF)(lq,{value:r.value},null,8,["value"])]),_:1})])):((0,u.uX)(),(0,u.CE)(u.FK,{key:6},[e.value?.nullable===!0?((0,u.uX)(),(0,u.Wv)(lG,{key:0},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("common.nullable")),1)]),_:1})):(0,u.Q3)("",!0)],64)),e.value?.writeOnly?((0,u.uX)(),(0,u.CE)("div",sn,(0,Q.v_)((0,d.R1)(t)("common.writeOnly")),1)):e.value?.readOnly?((0,u.uX)(),(0,u.CE)("div",so,(0,Q.v_)((0,d.R1)(t)("common.readOnly")),1)):(0,u.Q3)("",!0),e.required?((0,u.uX)(),(0,u.CE)("div",sl,(0,Q.v_)((0,d.R1)(t)("common.required")),1)):(0,u.Q3)("",!0),(0,u.bF)(lF,{value:e.value?.default},null,8,["value"]),h.value?((0,u.uX)(),(0,u.Wv)(l7,{key:10,pattern:h.value},null,8,["pattern"])):(0,u.Q3)("",!0),e.withExamples?((0,u.uX)(),(0,u.Wv)(l3,{key:11,example:m.value,examples:e.value?.examples},null,8,["example","examples"])):(0,u.Q3)("",!0)]))}}),[["__scopeId","data-v-6556c3e9"]]),si={key:0,class:"property-name-pattern-properties"},sc={key:1,class:"property-name-additional-properties"},su={key:1,class:"property-description"},sd={key:4,class:"children"},sp={key:5,class:"children"},sm=s((0,u.pM)({__name:"SchemaProperty",props:{is:{},schema:{},noncollapsible:{type:Boolean},level:{default:0},name:{},required:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},discriminator:{},description:{},hideModelNames:{type:Boolean,default:!1},hideHeading:{type:Boolean},modelName:{},variant:{},breadcrumb:{},eventBus:{},options:{},propertyNamesEnum:{},propertyNamesSchema:{},schemaContext:{},compositionPath:{},compositionPathSegment:{},cycleKey:{}},setup(e){let t=["oneOf","anyOf","allOf"],a=oN(),r=(0,u.EW)(()=>
202lC(oV(e.schema,a))),n=(0,u.EW)(()=>e.breadcrumb?e.name?[...e.breadcrumb,e.name]:e.breadcrumb:void 0),o=(0,u.EW)(()=>e.compositionPathSegment?[...e.compositionPath??[],e.compositionPathSegment]:e.compositionPath??[]),l=(0,u.EW)(()=>[...o.value,"items"]),s=(0,u.EW)(()=>e.level<=2),i=(0,u.EW)(()=>{let e=r.value;if(!e||!(0,w.R8)(e)||!(0,oq.zU)(e.items))return e;let t=(0,oq.xS)(e.items.$dynamicRef,a);return t?{...e,items:t}:e}),c=(0,u.EW)(()=>oY(i.value)),p=(0,u.EW)(()=>f.value.length>0),m=(0,u.EW)(()=>{let e=r.value;if(!e||!("properties"in e||"additionalProperties"in e)||"allOf"in e)return!1;let t=e.type;return oQ(e)||"string"!=typeof t||"object"===t}),h=(0,u.EW)(()=>{let e=r.value;return!!e&&!!(0,w.R8)(e)&&"object"==typeof e.items&&c.value}),f=(0,u.EW)(()=>(e=>{if(!e)return[];if(e.enum)return e.enum;if((0,w.R8)(e)&&"object"==typeof e.items){let t=o1.h.schema(e.items);if(t&&"enum"in t&&t.enum)return t.enum}return[]})(r.value)),g=(0,u.EW)(()=>(e=>{if(!(0,w.Wl)(e))return null;let t=Array.isArray(e.type)?e.type[0]:e.type;if(!t)return null;let a=lw[t];return a?a["format"in e&&e.format||"contentEncoding"in e&&e.contentEncoding||"_default"]??null:null})(r.value)),v=(0,u.EW)(()=>{var t,a;return t=r.value,a=e.description,!t||t.allOf?null:a&&t.description?a===t.description?a:`${a}
203
204${t.description}`:a||t.description||null}),y=(0,u.EW)(()=>{let e=r.value;if(!e)return e;let{oneOf:t,anyOf:a,allOf:n,not:o,discriminator:l,...s}=e;if(v.value&&"description"in s){let{description:e,...t}=s;return t}return s}),b=(0,u.EW)(()=>((e,t,a=!1)=>!!t||!!a||!!e&&(!0===e.deprecated||void 0!==e.const||e.enum?.length===1||"type"in e&&void 0!==e.type||"nullable"in e&&!0===e.nullable||!0===e.writeOnly||!0===e.readOnly))(r.value,e.name,e.required)),O=(0,u.EW)(()=>((e,t)=>{if(!e)return[];let a=o4(e,t);return o0.map(t=>"oneOf"===t&&a?{composition:t,value:a}:((e,t)=>{if(!e||!(0,w.R8)(e))return!1;let a=e.items;return!!a&&"object"==typeof a&&t in a&&!oY(e)})(e,t)&&(0,w.R8)(e)&&e.items?{composition:t,value:o1.h.schema(e.items)}:e[t]&&!((0,w.R8)(e)&&e.items&&"object"==typeof e.items&&t in e.items)?{composition:t,value:o1.h.schema(e)}:null).filter(o2.O)})(r.value,e.options.document)),k=(0,u.EW)(()=>{let e=i.value;if(!e||!(0,w.R8)(e)||"object"!=typeof e.items)return;let a=o1.h.schema(e.items);return t.some(e=>Array.isArray(a?.[e])&&a[e]?.length===1)?lC(a):a}),x=(0,u.EW)(()=>{let e=r.value;if(e&&(0,w.R8)(e))return o3(e.items)}),S=(0,u.EW)(()=>!!(e.name&&e.discriminator?.propertyName===e.name));return(t,a)=>((0,u.uX)(),(0,u.Wv)((0,u.$y)(e.is??"li"),{class:(0,Q.C4)(["property",[`property--level-${e.level}`,{"property--compact":e.compact,"property--deprecated":r.value?.deprecated}]])},{default:(0,u.k6)(()=>[b.value?((0,u.uX)(),(0,u.Wv)(ss,{key:0,class:"group",enum:p.value,eventBus:e.eventBus,hideModelNames:e.hideModelNames,isDiscriminator:S.value,modelLinkOptions:{hideModels:e.options.hideModels,document:e.options.document},modelName:e.modelName,propertyNames:e.propertyNamesSchema,required:e.required,value:r.value},(0,u.eX)({_:2},[e.name?{name:"name",fn:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(oB),{breadcrumb:s.value?n.value:void 0,eventBus:e.eventBus},{default:(0,u.k6)(()=>["patternProperties"===e.variant?((0,u.uX)(),(0,u.CE)("span",si,[(0,u.bF)((0,d.R1)(oL.A),{preset:"property",text:e.name},null,8,["text"])])):"additionalProperties"===e.variant?((0,u.uX)(),(0,u.CE)("span",sc,[(0,u.bF)((0,d.R1)(oL.A),{preset:"property",text:e.name},null,8,["text"])])):((0,u.uX)(),(0,u.Wv)((0,d.R1)(oL.A),{key:2,preset:"property",text:e.name},null,8,["text"]))]),_:1},8,["breadcrumb","eventBus"])]),key:"0"}:void 0,r.value?.example!==void 0?{name:"example",fn:(0,u.k6)(()=>[(0,u.eW)(" Example: "+(0,Q.v_)(r.value.example),1)]),key:"1"}:void 0]),1032,["enum","eventBus","hideModelNames","isDiscriminator","modelLinkOptions","modelName","propertyNames","required","value"])):(0,u.Q3)("",!0),v.value||g.value?((0,u.uX)(),(0,u.CE)("div",su,[(0,u.bF)((0,d.R1)(aV.m),{value:v.value||g.value||""},null,8,["value"])])):(0,u.Q3)("",!0),e.propertyNamesEnum&&e.propertyNamesEnum.length>0?((0,u.uX)(),(0,u.Wv)(lZ,{key:2,propertyNames:"",value:{enum:e.propertyNamesEnum}},null,8,["value"])):(0,u.Q3)("",!0),f.value.length>0&&!h.value?((0,u.uX)(),(0,u.Wv)(lZ,{key:3,value:r.value},null,8,["value"])):(0,u.Q3)("",!0),m.value?((0,u.uX)(),(0,u.CE)("div",sd,[(0,u.bF)(lg,{breadcrumb:n.value,compact:e.compact,compositionPath:o.value,cycleKey:e.cycleKey,eventBus:e.eventBus,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:y.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","cycleKey","eventBus","hideModelNames","level","name","noncollapsible","options","schema","schemaContext"])])):(0,u.Q3)("",!0),h.value&&k.value?((0,u.uX)(),(0,u.CE)("div",sp,[(0,u.bF)(lg,{compact:e.compact,compositionPath:l.value,cycleKey:x.value,eventBus:e.eventBus,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:(0,d.R1)(o1.h).schema(k.value),schemaContext:e.schemaContext},null,8,["compact","compositionPath","cycleKey","eventBus","hideModelNames","level","name","noncollapsible","options","schema","schemaContext"])])):(0,u.Q3)("",!0),((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(O.value,t=>((0,u.uX)(),(0,u.Wv)(lx,{key:t.composition,breadcrumb:e.breadcrumb,compact:e.compact,composition:t.composition,compositionPath:o.value,discriminator:"allOf"===t.composition?e.schema?.discriminator??e.discriminator:e.schema?.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:t.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","composition","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","name","noncollapsible","options","schema","schemaContext"]))),128)),(0,u.bF)((0,d.R1)(rY),{value:r.value},null,8,["value"])]),_:1},8,["class"]))}}),[["__scopeId","data-v-933ce0d5"]]),sh={key:0,class:"properties"},sf={key:1},sg=s((0,u.pM)({__name:"ClassicLayout",props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{},options:{}},setup(e){let{level:t}=r$("model");return(a,r)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(ok),{"aria-label":e.schema.title??e.name,modelValue:!e.isCollapsed,"onUpdate:modelValue":r[1]||(r[1]=t=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:t}))},{title:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(oj),{class:"reference-models-anchor",eventBus:e.eventBus,onCopyAnchorUrl:r[0]||(r[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id}))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rF),{level:(0,d.R1)(t)},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(oU),{class:"reference-models-label",name:e.schema.title??e.name,value:e.schema},null,8,["name","value"])]),_:1},8,["level"])]),_:1},8,["eventBus"])]),default:(0,u.k6)(()=>["properties"in e.schema?((0,u.uX)(),(0,u.CE)("div",sh,[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(Object.entries(e.schema.properties??{}),([t,a])=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(sm),{key:t,eventBus:e.eventBus,hideModelNames:e.options.hideModels,name:t,options:{...e.options,document:e.document},required:e.schema.required?.includes(t),schema:(0,d.R1)(o1.h).schema(a)},null,8,["eventBus","hideModelNames","name","options","required","schema"]))),128))])):((0,u.uX)(),(0,u.CE)("div",sf,[(0,u.bF)((0,d.R1)(sm),{eventBus:e.eventBus,hideModelNames:e.options.hideModels,options:{...e.options,document:e.document},schema:e.schema},null,8,["eventBus","hideModelNames","options","schema"])]))]),_:1},8,["aria-label","modelValue"]))}}),[["__scopeId","data-v-df54aefe"]]),sv=["aria-label"],sy=["id","aria-controls","aria-expanded","aria-labelledby"],sb=["id"],sO=s((0,u.pM)({__name:"CompactSection",props:{id:{},label:{},modelValue:{type:Boolean}},emits:["update:modelValue","copyAnchorUrl"],setup(e,{emit:t}){let a=(0,u.EW)(()=>`${e.id}-content`),r=(0,u.Bi)();return(n,o)=>((0,u.uX)(),(0,u.CE)("section",{"aria-label":e.label,class:"collapsible-section"},[(0,u.Lk)("button",{id:e.id,"aria-controls":e.modelValue?a.value:void 0,"aria-expanded":e.modelValue,"aria-labelledby":(0,d.R1)(r),class:(0,Q.C4)(["collapsible-section-trigger",{"collapsible-section-trigger-open":e.modelValue}]),type:"button",onClick:o[1]||(o[1]=a=>t("update:modelValue",!e.modelValue))},[(0,u.bF)((0,d.R1)(og.A),{class:(0,Q.C4)(["size-3 transition-transform duration-100",{"rotate-90":e.modelValue}]),weight:"bold"},null,8,["class"]),(0,u.bF)((0,d.R1)(oj),{class:"collapsible-section-header",onCopyAnchorUrl:o[0]||(o[0]=()=>t("copyAnchorUrl"))},{default:(0,u.k6)(()=>[(0,u.Lk)("span",{id:(0,d.R1)(r),class:"contents"},[(0,u.RG)(n.$slots,"heading",{},void 0,!0)],8,sb)]),_:3})],10,sy),e.modelValue?((0,u.uX)(),(0,u.Wv)(rM,{key:0,id:a.value,class:"collapsible-section-content",label:e.label},{default:(0,u.k6)(()=>[(0,u.RG)(n.$slots,"default",{},void 0,!0)]),_:3},8,["id","label"])):(0,u.Q3)("",!0)],8,sv))}}),[["__scopeId","data-v-ea5f870d"]]),sk=(0,u.pM)({__name:"ModernLayout",props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{},options:{}},setup(e){let{level:t}=r$("model");return(a,r)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(sO),{id:e.id,key:e.name,label:e.name,modelValue:!e.isCollapsed,onCopyAnchorUrl:r[0]||(r[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id})),"onUpdate:modelValue":r[1]||(r[1]=t=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:t}))},{heading:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rF),{level:(0,d.R1)(t)},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(oU),{name:e.schema.title??e.name,value:e.schema},null,8,["name","value"])]),_:1},8,["level"])]),default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rz.X),null,{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(lg),{eventBus:e.eventBus,hideModelNames:e.options.hideModels,hideHeading:"",level:1,noncollapsible:"",options:{...e.options,document:e.document},schema:e.schema},null,8,["eventBus","hideModelNames","options","schema"])]),_:1})]),_:1},8,["id","label","modelValue"]))}}),sx=(0,u.pM)({__name:"Model",props:{id:{},name:{},options:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{}},setup(e){let t=(0,u.rk)("section");return tK(t,()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id})),(a,r)=>e.schema?((0,u.uX)(),(0,u.CE)("div",{key:0,ref_key:"section",ref:t},["classic"===e.options.layout?((0,u.uX)(),(0,u.Wv)(sg,{key:0,id:e.id,document:e.document,eventBus:e.eventBus,isCollapsed:e.isCollapsed,name:e.name,options:e.options,schema:e.schema},null,8,["id","document","eventBus","isCollapsed","name","options","schema"])):((0,u.uX)(),(0,u.Wv)(sk,{key:1,id:e.id,document:e.document,eventBus:e.eventBus,isCollapsed:e.isCollapsed,name:e.name,options:e.options,schema:e.schema},null,8,["id","document","eventBus","isCollapsed","name","options","schema"]))],512)):(0,u.Q3)("",!0)}}),sw={class:"section-accordion-wrapper"},sS={class:"section-accordion-title"},sC=s((0,u.pM)({__name:"SectionContainerAccordion",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup:(e,{emit:t})=>(a,r)=>((0,u.uX)(),(0,u.CE)("section",sw,[(0,u.bF)((0,d.R1)(of.EN),{as:"div",class:"section-accordion"},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(of._q),{class:"section-accordion-button",onClick:r[0]||(r[0]=a=>t("update:modelValue",!e.modelValue))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(og.A),{class:(0,Q.C4)(["section-accordion-chevron size-5 transition-transform",{"rotate-90":e.modelValue}])},null,8,["class"]),(0,u.Lk)("div",sS,[(0,u.RG)(a.$slots,"title",{},void 0,!0)])]),_:3}),e.modelValue?((0,u.uX)(),(0,u.Wv)((0,d.R1)(of.kS),{key:0,class:"section-accordion-content",static:""},{default:(0,u.k6)(()=>[(0,u.RG)(a.$slots,"default",{},void 0,!0)]),_:3})):(0,u.Q3)("",!0)]),_:3})]))}),[["__scopeId","data-v-9419dd23"]]),s$={class:"show-more",type:"button"},sA=s((0,u.pM)({__name:"ShowMoreButton",setup(e){let{translate:t}=v();return(e,a)=>((0,u.uX)(),(0,u.CE)("button",s$,[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("actions.showMore"))+" ",1),(0,u.bF)((0,d.R1)(aZ.A),{class:"text-c-2 mt-0.25 size-3",weight:"bold"})]))}}),[["__scopeId","data-v-bb0811ed"]]),sR=(0,u.pM)({__name:"ModelTag",props:{id:{},isCollapsed:{type:Boolean},eventBus:{},layout:{},modelsSectionLabel:{default:()=>R.W}},setup(e){let{level:t}=r$("modelGroup");return(a,r)=>"modern"===e.layout?((0,u.uX)(),(0,u.Wv)(rq,{key:0},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rM),{id:e.id,"aria-label":e.modelsSectionLabel,onIntersecting:r[1]||(r[1]=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id}))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rV),null,{default:(0,u.k6)(()=>[(0,u.bF)(rF,{level:(0,d.R1)(t)},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(e.modelsSectionLabel),1)]),_:1},8,["level"])]),_:1}),e.isCollapsed?((0,u.uX)(),(0,u.Wv)(sA,{key:1,id:e.id,class:"top-0",onClick:r[0]||(r[0]=()=>e.eventBus.emit("toggle:nav-item",{id:e.id,open:!0}))},null,8,["id"])):(0,u.RG)(a.$slots,"default",{},void 0,void 0,0)]),_:3},8,["id","aria-label"])]),_:3})):((0,u.uX)(),(0,u.Wv)(sC,{key:1,"aria-label":e.modelsSectionLabel,class:"pb-12",modelValue:!e.isCollapsed,"onUpdate:modelValue":r[2]||(r[2]=()=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:e.isCollapsed}))},{title:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rV),null,{default:(0,u.k6)(()=>[(0,u.bF)(rF,{level:(0,d.R1)(t)},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(e.modelsSectionLabel),1)]),_:1},8,["level"])]),_:1})]),default:(0,u.k6)(()=>[(0,u.RG)(a.$slots,"default")]),_:3},8,["aria-label","modelValue"]))}}),sE=s((0,u.pM)({__name:"ClassicLayout",props:{tag:{},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean}},setup(e){let{level:t}=r$("tag");return(a,r)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(sC),{"aria-label":e.tag.title,class:(0,Q.C4)(["tag-section",{"tag-section-group":e.tag.isGroup,"tag-section-nested":e.nested}]),modelValue:!e.isCollapsed,"onUpdate:modelValue":r[1]||(r[1]=t=>e.eventBus?.emit("toggle:nav-item",{id:e.tag.id,open:t}))},{title:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rV),{class:(0,Q.C4)(["tag-name",{"tag-group-name":e.tag.isGroup}])},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(oj),{onCopyAnchorUrl:r[0]||(r[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.tag.id}))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rF),{level:(0,d.R1)(t)},{default:(0,u.k6)(()=>
204[(0,u.eW)((0,Q.v_)(e.tag.title),1)]),_:1},8,["level"])]),_:1})]),_:1},8,["class"]),(0,u.bF)((0,d.R1)(aV.m),{class:"tag-description",value:e.tag?.description,withImages:""},null,8,["value"])]),default:(0,u.k6)(()=>[(0,u.RG)(a.$slots,"default",{},void 0,!0)]),_:3},8,["aria-label","class","modelValue"]))}}),[["__scopeId","data-v-fafcaa8a"]]),sP=a(11787),sT=["aria-label"],s_=["onClick"],sj=s((0,u.pM)({__name:"ChannelsList",props:{tag:{},eventBus:{}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>e.tag.children?.filter(e=>"asyncapi-channel"===e.type)??[]);return(r,n)=>a.value.length?((0,u.uX)(),(0,u.Wv)((0,d.R1)(sP.Zl),{key:0,class:"channels-card"},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(sP.M2),{muted:""},{default:(0,u.k6)(()=>[(0,u.bF)(ow,null,{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(e.tag.title),1)]),_:1}),(0,u.eW)(" "+(0,Q.v_)((0,d.R1)(t)("navigation.channels")),1)]),_:1}),(0,u.bF)((0,d.R1)(sP.gW),{class:"custom-scroll max-h-[60vh]"},{default:(0,u.k6)(()=>[(0,u.Lk)("ul",{"aria-label":(0,d.R1)(t)("navigation.channels"),class:"channels"},[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(a.value,t=>((0,u.uX)(),(0,u.CE)("li",{key:t.id,class:"contents"},[(0,u.Lk)("a",{class:"channel",onClick:(0,eE.D$)(()=>e.eventBus?.emit("scroll-to:nav-item",{id:t.id}),["prevent"])},(0,Q.v_)(t.title||t.channelAddress),9,s_)]))),128))],8,sT)]),_:1})]),_:1})):(0,u.Q3)("",!0)}}),[["__scopeId","data-v-817abeb3"]]),sQ=a(4356),sL=a(83031),sM=(0,u.pM)({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=(0,u.EW)(()=>(0,sQ.g)(String(e.method||""))),a=(0,u.EW)(()=>(0,sL.F)(e.method));return(r,n)=>((0,u.uX)(),(0,u.Wv)((0,u.$y)(e.as??"span"),{class:"uppercase",style:(0,Q.Tr)({[e.property||"color"]:t.value.colorVar})},{default:(0,u.k6)(()=>[(0,u.RG)(r.$slots,"default"),(0,u.eW)(" "+(0,Q.v_)(e.short?t.value.short:a.value),1)]),_:3},8,["style"]))}}),sZ=s((0,u.pM)({__name:"OperationsListItem",props:{operation:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let t=(0,u.EW)(()=>"path"in e.operation?e.operation.path:e.operation.title),{level:a}=r$("operation");return(r,n)=>((0,u.uX)(),(0,u.CE)("li",{key:e.operation.id,class:"contents"},[e.isCollapsed?((0,u.uX)(),(0,u.Wv)((0,d.R1)(rF),{key:0,class:"sr-only",level:(0,d.R1)(a)},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(e.operation.title)+" (Hidden) ",1)]),_:1},8,["level"])):(0,u.Q3)("",!0),(0,u.Lk)("a",{class:"endpoint",onClick:n[0]||(n[0]=(0,eE.D$)(()=>e.eventBus?.emit("scroll-to:nav-item",{id:e.operation.id}),["prevent"]))},[(0,u.bF)((0,d.R1)(sM),{class:"endpoint-method items-center justify-end gap-2",method:e.operation.method},{default:(0,u.k6)(()=>["webhook"===e.operation.type?((0,u.uX)(),(0,u.Wv)((0,d.R1)(ed.A),{key:0,class:"size-3.5",style:(0,Q.Tr)({color:(0,d.R1)(sQ.g)(e.operation.method).colorVar})},null,8,["style"])):(0,u.Q3)("",!0)]),_:1},8,["method"]),(0,u.Lk)("span",{class:(0,Q.C4)(["endpoint-path",{deprecated:e.operation.isDeprecated}])},(0,Q.v_)(t.value),3)])]))}}),[["__scopeId","data-v-d54500d7"]]),sU=["aria-label"],sX=s((0,u.pM)({__name:"OperationsList",props:{tag:{},eventBus:{}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>e.tag.children?.filter(e=>"operation"===e.type||"webhook"===e.type)??[]);return(r,n)=>e.tag.children&&e.tag.children?.length>0?((0,u.uX)(),(0,u.Wv)((0,d.R1)(sP.Zl),{key:0,class:"endpoints-card"},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(sP.M2),{muted:""},{default:(0,u.k6)(()=>[(0,u.bF)(ow,null,{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(e.tag.title),1)]),_:1}),(0,u.eW)(" "+(0,Q.v_)(e.tag.isWebhooks?(0,d.R1)(t)("navigation.webhooks"):(0,d.R1)(t)("navigation.operations")),1)]),_:1}),(0,u.bF)((0,d.R1)(sP.gW),{class:"custom-scroll max-h-[60vh]"},{default:(0,u.k6)(()=>[(0,u.Lk)("ul",{"aria-label":(0,d.R1)(t)("navigation.endpoints",{name:e.tag.title}),class:"endpoints"},[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(a.value,t=>((0,u.uX)(),(0,u.Wv)(sZ,{key:t.id,eventBus:e.eventBus,operation:t},null,8,["eventBus","operation"]))),128))],8,sU)]),_:1})]),_:1})):(0,u.Q3)("",!0)}}),[["__scopeId","data-v-0315c99b"]]),sI=(0,u.pM)({__name:"TagSection",props:{tag:{},headingLevel:{default:1},headerId:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>e.tag.children?.some(e=>"asyncapi-channel"===e.type)??!1);return(r,n)=>e.tag?((0,u.uX)(),(0,u.Wv)((0,d.R1)(rM),{key:0,id:e.tag.id,role:"none",onIntersecting:n[1]||(n[1]=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.tag.id}))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rV),null,{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(oj),{onCopyAnchorUrl:n[0]||(n[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.tag.id}))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rF),{id:e.headerId,level:e.headingLevel},{default:(0,u.k6)(()=>
204[(0,u.eW)((0,Q.v_)(e.tag.title)+" ",1),e.isCollapsed?((0,u.uX)(),(0,u.Wv)(ow,{key:0},{default:(0,u.k6)(()=>[(0,u.eW)(" ("+(0,Q.v_)((0,d.R1)(t)("navigation.collapsed"))+") ",1)]),_:1})):(0,u.Q3)("",!0)]),_:1},8,["id","level"])]),_:1})]),_:1}),(0,u.bF)((0,d.R1)(rD),null,{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rI),null,{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rU),null,{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(aV.m),{clamp:e.isCollapsed?7:void 0,value:e.tag?.description??"",withImages:""},null,8,["clamp","value"])]),_:1}),(0,u.bF)((0,d.R1)(rU),null,{default:(0,u.k6)(()=>[a.value?((0,u.uX)(),(0,u.Wv)(sj,{key:0,eventBus:e.eventBus,tag:e.tag},null,8,["eventBus","tag"])):((0,u.uX)(),(0,u.Wv)((0,d.R1)(sX),{key:1,eventBus:e.eventBus,tag:e.tag},null,8,["eventBus","tag"]))]),_:1})]),_:1})]),_:1}),(0,u.bF)((0,d.R1)(rY),{value:e.tag.xKeys},null,8,["value"])]),_:1},8,["id"])):(0,u.Q3)("",!0)}}),sB={key:2,class:"contents divide-y"},sq=s((0,u.pM)({__name:"ModernLayout",props:{tag:{},moreThanOneTag:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean,default:!1}},setup(e){let{translate:t}=v(),a=(0,u.Bi)(),r=(0,u.EW)(()=>e.moreThanOneTag||e.tag?.title!=="default"||e.tag?.description!==""),n=(0,u.EW)(()=>(e.tag?.children?.length??0)>0),o=(0,u.EW)(()=>e.moreThanOneTag||e.nested),l=(0,u.EW)(()=>e.isCollapsed&&o.value),s=(0,u.EW)(()=>l.value&&n.value),i=(0,u.EW)(()=>s.value&&!e.nested),{level:c}=r$("tag");return(n,o)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(rq),{"aria-labelledby":(0,d.R1)(a),class:(0,Q.C4)(["tag-section-container",{"tag-section-collapsed":i.value,"tag-section-nested":e.nested}]),role:"region"},{default:(0,u.k6)(()=>[r.value?((0,u.uX)(),(0,u.Wv)(sI,{key:0,headingLevel:(0,d.R1)(c),eventBus:e.eventBus,headerId:(0,d.R1)(a),isCollapsed:e.isCollapsed,tag:e.tag},null,8,["headingLevel","eventBus","headerId","isCollapsed","tag"])):(0,u.Q3)("",!0),s.value?((0,u.uX)(),(0,u.Wv)(sA,{key:1,id:e.tag.id,"aria-label":(0,d.R1)(t)("navigation.showAllEndpoints",{name:e.tag.title}),onClick:o[0]||(o[0]=()=>e.eventBus?.emit("toggle:nav-item",{id:e.tag.id,open:!0}))},null,8,["id","aria-label"])):(0,u.Q3)("",!0),l.value?(0,u.Q3)("",!0):((0,u.uX)(),(0,u.CE)("div",sB,[(0,u.RG)(n.$slots,"default",{},void 0,!0)]))]),_:3},8,["aria-labelledby","class"]))}}),[["__scopeId","data-v-b6a490f4"]]),sW=(0,u.pM)({__name:"Tag",props:{tag:{},layout:{},moreThanOneTag:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean}},setup:e=>(t,a)=>"classic"===e.layout?((0,u.uX)(),(0,u.Wv)(sE,{key:0,eventBus:e.eventBus,isCollapsed:e.isCollapsed,layout:e.layout,nested:e.nested,tag:e.tag},{default:(0,u.k6)(()=>[(0,u.RG)(t.$slots,"default")]),_:3},8,["eventBus","isCollapsed","layout","nested","tag"])):((0,u.uX)(),(0,u.Wv)(sq,{key:1,eventBus:e.eventBus,isCollapsed:e.isCollapsed,layout:e.layout,moreThanOneTag:e.moreThanOneTag,nested:e.nested,tag:e.tag},{default:(0,u.k6)(()=>[(0,u.RG)(t.$slots,"default")]),_:3},8,["eventBus","isCollapsed","layout","moreThanOneTag","nested","tag"]))}),sD=["id","data-placeholder"],sN=(0,u.pM)({__name:"Lazy",props:{id:{},expanded:{type:Boolean,default:!1}},setup(e){var t;let a,{isReady:r}=(t=e.id,(0,u.xo)(()=>{aO.delete(t),ak.delete(t),ax.delete(t),aE.delete(t)}),{isReady:(0,u.EW)(()=>"u"<typeof window||aO.has(t)||ax.has(t))}),n=(0,d.KR)(null),o=(0,d.KR)((a=e.id,aE.get(a)??760)),l=null,s=(0,u.EW)(()=>r.value||e.expanded);return(0,u.sV)(()=>{if("u">typeof window){if(!("IntersectionObserver"in window))return void aL(e.id,!0);(0,tG.BLq)(n,([t])=>{t?.isIntersecting&&!r.value&&aL(e.id,!0)},{rootMargin:"1200px 0px"})}}),(0,u.wB)(()=>s.value,(t,a)=>{if(a&&!t&&n.value){let t=n.value.offsetHeight;Number.isFinite(t)&&t>0&&(o.value=t,aP(e.id,t))}},{flush:"pre"}),(0,u.wB)(()=>s.value,t=>{if(!t){l?.disconnect(),l=null;return}(0,u.dY)(()=>{if(!n.value||"u"<typeof ResizeObserver)return;l||(l=new ResizeObserver(()=>{if(!n.value)return;let t=n.value.offsetHeight;Number.isFinite(t)&&t>0&&(o.value=t,aP(e.id,t))})),l.observe(n.value);let t=n.value.offsetHeight;Number.isFinite(t)&&t>0&&(o.value=t,aP(e.id,t))})},{immediate:!0}),(0,u.xo)(()=>{l?.disconnect()}),(t,a)=>((0,u.uX)(),(0,u.CE)("div",{id:s.value?void 0:e.id,ref_key:"lazyContainerRef",ref:n,"data-placeholder":!s.value,"data-testid":"lazy-container",style:(0,Q.Tr)({height:s.value?void 0:`${o.value}px`})},[s.value?(0,u.RG)(t.$slots,"default",{},void 0,void 0,0):(0,u.Q3)("",!0)],12,sD))}}),sV=(0,u.pM)({inheritAttrs:!1,__name:"ContentTypeSelect",props:(0,u.zz)({content:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let{translate:t}=v(),a=(0,u.fn)(e,"modelValue"),r=(0,u.EW)(()=>Object.keys(e.content??{})),n=(0,u.EW)({get:()=>o.value.find(e=>e.id===a.value),set:e=>{e&&(a.value=e.id)}}),o=(0,u.EW)(()=>r.value.map(e=>({id:e,label:e}))),l=(0,em.Fj)({base:"font-normal text-c-2 bg-b-1 py-1 flex items-center gap-1 rounded-full text-xs leading-none border",variants:{dropdown:{true:"hover:text-c-1 pl-2 pr-1.5 font-medium cursor-pointer",false:"px-2"}}});
204return(e,s)=>r.value.length>1?((0,u.uX)(),(0,u.Wv)((0,d.R1)(eN.cy),{key:0,modelValue:n.value,"onUpdate:modelValue":s[1]||(s[1]=e=>n.value=e),options:o.value,placement:"bottom-end",teleport:"",onClick:s[2]||(s[2]=(0,eE.D$)(()=>{},["stop"]))},{default:(0,u.k6)(({open:r})=>[(0,u.bF)((0,d.R1)(aU.R),(0,u.v6)({class:["h-fit",(0,d.R1)(l)({dropdown:!0})],variant:"ghost"},e.$attrs,{onClick:s[0]||(s[0]=(0,eE.D$)(()=>{},["stop"]))}),{default:(0,u.k6)(()=>[(0,u.bF)(ow,null,{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("operation.selectedContentType"))+": ",1)]),_:1}),(0,u.Lk)("span",null,(0,Q.v_)(a.value),1),(0,u.bF)((0,d.R1)(aZ.A),{class:(0,Q.C4)(["size-2.75 transition-transform duration-100",{"rotate-180":r}]),weight:"bold"},null,8,["class"])]),_:2},1040,["class"])]),_:1},8,["modelValue","options"])):((0,u.uX)(),(0,u.CE)("div",(0,u.v6)({key:1,class:["selected-content-type",(0,d.R1)(l)({dropdown:!1})]},e.$attrs,{tabindex:"0"}),[(0,u.Lk)("span",null,(0,Q.v_)(a.value),1)],16))}}),sF=(0,u.pM)({__name:"Header",props:{header:{},name:{},breadcrumb:{},eventBus:{},document:{},orderSchemaPropertiesBy:{},orderRequiredPropertiesFirst:{type:Boolean},expandAllSchemaProperties:{type:Boolean},hideModels:{type:Boolean}},setup:e=>(t,a)=>"schema"in e.header&&e.header.schema?((0,u.uX)(),(0,u.Wv)(sm,{key:0,breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,description:e.header.description,eventBus:e.eventBus,name:e.name,options:{orderRequiredPropertiesFirst:e.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.orderSchemaPropertiesBy,expandAllSchemaProperties:e.expandAllSchemaProperties,hideModels:e.hideModels,document:e.document},schema:(0,d.R1)(b.A)(e.header.schema)},null,8,["breadcrumb","description","eventBus","name","options","schema"])):(0,u.Q3)("",!0)}),sz=s((0,u.pM)({__name:"Headers",props:{headers:{},breadcrumb:{},eventBus:{},document:{},orderRequiredPropertiesFirst:{type:Boolean},orderSchemaPropertiesBy:{},expandAllSchemaProperties:{type:Boolean},hideModels:{type:Boolean}},setup(e){let{translate:t}=v();return(a,r)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(of.EN),null,{default:(0,u.k6)(({open:a})=>[(0,u.Lk)("div",{class:(0,Q.C4)(["headers-card headers-card--compact",[{"headers-card--open":a}]])},[(0,u.Lk)("div",{class:(0,Q.C4)(["headers-properties",{"headers-properties-open":a}])},[(0,u.bF)((0,d.R1)(of._q),{class:"headers-card-title headers-card-title--compact",style:{top:"calc(var(--refs-viewport-offset)))"}},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(aJ.k),{class:(0,Q.C4)(["headers-card-title-icon",{"headers-card-title-icon--open":a}]),icon:"Add",size:"sm"},null,8,["class"]),a?((0,u.uX)(),(0,u.CE)(u.FK,{key:0},[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("operation.hideHeaders")),1)],64)):((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("operation.showHeaders")),1)],64))]),_:2},1024),(0,u.bF)((0,d.R1)(of.kS),null,{default:(0,u.k6)(()=>[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(e.headers,(t,a)=>((0,u.uX)(),(0,u.Wv)(sF,{key:a,breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,document:e.document,eventBus:e.eventBus,expandAllSchemaProperties:e.expandAllSchemaProperties,header:(0,d.R1)(b.A)(t),hideModels:e.hideModels,name:a,orderRequiredPropertiesFirst:e.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.orderSchemaPropertiesBy},null,8,["breadcrumb","document","eventBus","expandAllSchemaProperties","header","hideModels","name","orderRequiredPropertiesFirst","orderSchemaPropertiesBy"]))),128))]),_:1})],2)],2)]),_:1}))}}),[["__scopeId","data-v-9ba640f2"]]),sH=e=>void 0!==e,sY={class:"parameter-item group/parameter-item"},sG={class:"parameter-item-name min-w-0"},sK={key:1,class:"flex-1"},sJ=s((0,u.pM)({__name:"ParameterListItem",props:{parameter:{},name:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},document:{},options:{}},emits:["update:selectedContentType"],setup(e,{emit:t}){let a=(0,d.KR)(!1),r=(0,u.EW)(()=>"schema"in e.parameter&&e.parameter.schema?(0,b.A)(e.parameter.schema):null),n=(0,u.EW)(()=>"content"in e.parameter&&e.parameter.content&&0!==Object.keys(e.parameter.content).length?e.parameter.content:null),o=(0,d.KR)(Object.keys(n.value||{})[0]??"");(0,u.wB)(o,e=>{t("update:selectedContentType",e)});let l=(0,u.EW)(()=>"headers"in e.parameter&&e.parameter.headers?e.parameter.headers:null),s=(0,u.EW)(()=>n.value?n.value?.[o.value]?.schema:"schema"in e.parameter&&e.parameter.schema?e.parameter.schema:null),i=(0,u.EW)(()=>{let e=s.value;return e&&"$ref"in e?oK(e.$ref):null}),c=(0,u.EW)(()=>{let t=s.value,a=n.value?(0,b.A)(t):r.value,l="deprecated"in e.parameter?e.parameter.deprecated:r.value?.deprecated,i=(({parameter:e,schemaExamples:t,contentExamples:a})=>{let r=Object.values({..."examples"in e&&(0,p.Z)(e.examples)?e.examples:{},...(0,p.Z)(a)?a:{}}).filter(sH),n=0===r.length&&"example"in e&&void 0!==e.example?[e.example]:[];return[...r,...(t??n).filter(sH)]})({parameter:e.parameter,schemaExamples:r.value?.examples,contentExamples:n.value?.[o.value]?.examples});return{...a,deprecated:l,examples:i}}),m=(0,u.EW)(()=>!!(n.value||l.value||r.value||a.value)),h=(0,u.EW)(()=>e.collapsableItems&&e.breadcrumb&&e.name?[...e.breadcrumb,e.name]:e.breadcrumb),f=(0,u.EW)(()=>{let e=h.value?.join(".");if(!e)return!1;let t=aC.value;return t===e||t.startsWith(`${e}.`)});return(t,r)=>((0,u.uX)(),(0,u.CE)("li",sY,[(0,u.bF)((0,d.R1)(of.EN),{defaultOpen:f.value},{default:(0,u.k6)(({open:t})=>[e.collapsableItems?((0,u.uX)(),(0,u.Wv)((0,u.$y)(m.value?(0,d.R1)(of._q):"div"),{key:0,class:(0,Q.C4)(["parameter-item-trigger",{"parameter-item-trigger-open":t}])},{default:(0,u.k6)(()=>[(0,u.Lk)("div",sG,[m.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(og.A),{key:0,class:(0,Q.C4)(["parameter-item-icon size-3 transition-transform duration-100",{"rotate-90":t}]),weight:"bold"},null,8,["class"])):(0,u.Q3)("",!0),(0,u.Lk)("div",null,[(0,u.bF)((0,d.R1)(oL.A),{preset
204:"property",text:e.name},null,8,["text"])])]),!t&&e.parameter.description?((0,u.uX)(),(0,u.Wv)((0,d.R1)(aV.I),{key:0,truncated:a.value,"onUpdate:truncated":r[0]||(r[0]=e=>a.value=e),class:"parameter-item-description-summary min-w-0 flex-1",controlled:"",value:e.parameter.description},null,8,["truncated","value"])):((0,u.uX)(),(0,u.CE)("div",sK))]),_:2},1032,["class"])):(0,u.Q3)("",!0),(0,u.bF)((0,d.R1)(of.kS),{class:"parameter-item-container parameter-item-container-markdown",static:!e.collapsableItems},{default:(0,u.k6)(()=>[e.collapsableItems&&e.parameter.description?((0,u.uX)(),(0,u.Wv)((0,d.R1)(aV.m),{key:0,class:"parameter-item-description",value:e.parameter.description},null,8,["value"])):(0,u.Q3)("",!0),l.value?((0,u.uX)(),(0,u.Wv)(sz,{key:1,breadcrumb:e.breadcrumb,document:e.document,eventBus:e.eventBus,expandAllSchemaProperties:e.options.expandAllSchemaProperties,headers:l.value,hideModels:e.options.hideModels,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},null,8,["breadcrumb","document","eventBus","expandAllSchemaProperties","headers","hideModels","orderRequiredPropertiesFirst","orderSchemaPropertiesBy"])):(0,u.Q3)("",!0),(0,u.bF)(sm,{is:"div",breadcrumb:h.value,compact:"",description:e.collapsableItems?"":e.parameter.description,eventBus:e.eventBus,hideWriteOnly:!0,modelName:i.value,name:e.collapsableItems?"":e.name,noncollapsible:!0,options:{hideWriteOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,hideModels:e.options.hideModels,document:e.document},required:"required"in e.parameter&&e.parameter.required,schema:c.value},null,8,["breadcrumb","description","eventBus","modelName","name","options","required","schema"])]),_:1},8,["static"]),m.value&&n.value?((0,u.uX)(),(0,u.CE)("div",{key:1,class:(0,Q.C4)(["absolute top-[calc(10px+0.5lh)] right-0 z-0 flex -translate-y-1/2 items-center text-base",{"opacity-0 group-focus-within/parameter-item:opacity-100 group-hover/parameter-item:opacity-100":!t}])},[r[2]||(r[2]=(0,u.Lk)("div",{class:"from-b-1 absolute inset-y-0 -left-6 -z-1 w-8 bg-linear-to-l from-40% to-transparent"},null,-1)),(0,u.bF)(sV,{modelValue:o.value,"onUpdate:modelValue":r[1]||(r[1]=e=>o.value=e),content:n.value},null,8,["modelValue","content"])],2)):(0,u.Q3)("",!0)]),_:1},8,["defaultOpen"])]))}}),[["__scopeId","data-v-ce052837"]]),s0={key:0,class:"mt-6"},s1=["id"],s2=["aria-labelledby"],s4=(0,u.pM)({__name:"ParameterList",props:{parameters:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},document:{},options:{}},setup(e){let t=(0,u.Bi)();return(a,r)=>e.parameters?.length?((0,u.uX)(),(0,u.CE)("div",s0,[(0,u.Lk)("div",{id:(0,d.R1)(t),class:"text-c-1 mt-3 mb-3 text-lg leading-[1.45] font-medium"},[(0,u.RG)(a.$slots,"title")],8,s1),(0,u.Lk)("ul",{"aria-labelledby":(0,d.R1)(t),class:"mb-3 list-none p-0 text-sm"},[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(e.parameters,t=>((0,u.uX)(),(0,u.Wv)(sJ,{key:t.name,breadcrumb:e.breadcrumb,collapsableItems:e.collapsableItems,document:e.document,eventBus:e.eventBus,name:t.name,options:e.options,parameter:t},null,8,["breadcrumb","collapsableItems","document","eventBus","name","options","parameter"]))),128))],8,s2)])):(0,u.Q3)("",!0)}}),s8={key:0,class:"async-api-labels"},s3={class:"sr-only"},s6={class:"sr-only"},s5=s((0,u.pM)({__name:"AsyncApiLabels",props:{servers:{default:()=>[]},protocols:{default:()=>[]}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>e.servers.length>0||e.protocols.length>0);return(r,n)=>a.value?((0,u.uX)(),(0,u.CE)("div",s8,[e.servers.length?((0,u.uX)(),(0,u.CE)(u.FK,{key:0},[(0,u.Lk)("span",s3,(0,Q.v_)((0,d.R1)(t)("asyncapi.servers"))+":",1),((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(e.servers,e=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(rR),{key:`server-${e}`,class:"async-api-label--server",title:e},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(e),1)]),_:2},1032,["title"]))),128))],64)):(0,u.Q3)("",!0),e.protocols.length?((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.Lk)("span",s6,(0,Q.v_)((0,d.R1)(t)("asyncapi.protocols"))+":",1),((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(e.protocols,e=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(rR),{key:`protocol-${e}`,class:"async-api-label--protocol",title:e},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(e),1)]),_:2},1032,["title"]))),128))],64)):(0,u.Q3)("",!0)])):(0,u.Q3)("",!0)}}),[["__scopeId","data-v-6f21951e"]]),s7=e=>({orderRequiredPropertiesFirst:e?.orderRequiredPropertiesFirst??!1,orderSchemaPropertiesBy:e?.orderSchemaPropertiesBy??"preserve",expandAllSchemaProperties:e?.expandAllSchemaProperties??!1}),s9=(e,t)=>(e??[]).filter(e=>e.type===t),ie=(e,t)=>{let a=th(e,{channel:t??null,webSocketOnly:!1});return{servers:a.map(e=>e.name),protocols:[...new Set(a.map(e=>
204e.protocol).filter(Boolean))]}},it=(...e)=>{for(let t of e){let e=t?.trim();if(e)return e}return""},ia=(e,t)=>{let a=e.channels?.[t];return a?(0,b.A)(a,b.F):void 0},ir=a(9611),io=(e,t)=>{let a=e?.security??t.security??[],r=t.components?.securitySchemes??{},n=!1,o=[];for(let e of a){if(!(0,ir.p)(e)){n=!0;continue}let t=Object.entries(e).map(([e,t])=>({name:e,scheme:(0,b.A)(r[e]),scopes:t.filter(e=>e.length>0)}));t.length>0&&o.push({schemes:t})}return 0===o.length?{state:n?"optional":"none",requirements:[]}:{state:n?"optional":"required",requirements:o}},il=e=>e.scheme&&"oauth2"!==e.scheme.type&&"openIdConnect"!==e.scheme.type?[]:e.scopes,is=e=>{let t=[];for(let a of e.requirements){let e=new Set;for(let t of a.schemes)for(let a of il(t))e.add(a);e.size>0&&t.push([...e])}return t},ii={key:0,class:"mt-6"},ic={class:"text-c-1 mt-3 mb-3 text-lg leading-[1.45] font-medium"},iu={key:0,class:"text-c-2 mb-2 text-sm"},id=(0,u.pM)({__name:"OperationScopes",props:{requiredSecurity:{}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>is(e.requiredSecurity)),r=(0,u.EW)(()=>e.requiredSecurity.requirements.some(e=>e.schemes.every(e=>0===il(e).length))),n=(0,u.EW)(()=>a.value.length>1||a.value.length>0&&r.value);return(e,r)=>a.value.length?((0,u.uX)(),(0,u.CE)("div",ii,[(0,u.Lk)("div",ic,(0,Q.v_)((0,d.R1)(t)("authentication.scopes")),1),n.value?((0,u.uX)(),(0,u.CE)("div",iu,(0,Q.v_)((0,d.R1)(t)("authentication.oneOf")),1)):(0,u.Q3)("",!0),((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(a.value,(e,t)=>((0,u.uX)(),(0,u.CE)("ul",{key:t,class:(0,Q.C4)(["mb-3 list-none p-0 text-sm",{"mt-3 border-t pt-3":a.value.length>1&&t>0}])},[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(e,e=>((0,u.uX)(),(0,u.CE)("li",{key:e,class:"font-code text-c-2"},(0,Q.v_)(e),1))),128))],2))),128))])):(0,u.Q3)("",!0)}}),ip=["id"],im={class:"message-heading"},ih={key:1,class:"message-schema"},ig={key:2,class:"message-schema"},iv=s((0,u.pM)({__name:"Message",props:{message:{},document:{},eventBus:{},options:{},expandedItems:{default:()=>({})}},setup(e){let t=(0,u.Bi)(),a=(0,u.rk)("section");tK(a,()=>e.eventBus?.emit("intersecting:nav-item",{id:e.message.id}));let r=(0,u.EW)(()=>{var t,a,r;let n;return t=e.document,a=e.message.channelName,r=e.message.messageName,(n=ia(t,a)?.messages?.[r])?(0,b.A)(n,b.F):void 0}),n=(0,u.EW)(()=>it(r.value?.title,e.message.title,e.message.messageName)),o=(0,u.EW)(()=>r.value?.description||r.value?.summary||""),l=(0,u.EW)(()=>{let e=r.value?.bindings;return e?Object.entries((0,b.A)(e)).filter(([,e])=>null!=e).map(([e])=>e.toLowerCase()):[]}),s=(0,u.EW)(()=>{let t=ia(e.document,e.message.channelName),{protocols:a}=ie(e.document,t);return[...new Set([...a,...l.value])]}),i=(0,u.EW)(()=>r.value?O(r.value.payload):void 0),c=(0,u.EW)(()=>r.value?O(r.value.headers):void 0),p=(0,u.EW)(()=>({hideReadOnly:!1,...s7(e.options)})),m=(0,d.KR)(e.expandedItems[e.message.id]??!1);(0,u.wB)(()=>e.expandedItems[e.message.id],e=>{void 0!==e&&(m.value=e)});let h=t=>{m.value=t,e.eventBus?.emit("toggle:nav-item",{id:e.message.id,open:t})},{level:f}=r$("message");return(r,l)=>((0,u.uX)(),(0,u.CE)("div",{id:e.message.id,ref_key:"section",ref:a,class:"message"},[(0,u.bF)((0,d.R1)(ok),{class:"message-accordion",modelValue:m.value,"onUpdate:modelValue":h},{title:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(oj),{onCopyAnchorUrl:l[0]||(l[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.message.id}))},{default:(0,u.k6)(()=>[(0,u.Lk)("span",im,[(0,u.bF)((0,d.R1)(rF),{id:(0,d.R1)(t),class:"message-title",level:(0,d.R1)(f)},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(n.value),1)]),_:1},8,["id","level"]),(0,u.bF)(s5,{protocols:s.value},null,8,["protocols"])])]),_:1})]),default:(0,u.k6)(()=>[o.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(aV.m),{key:0,class:"message-description",value:o.value,withImages:""},null,8,["value"])):(0,u.Q3)("",!0),c.value?((0,u.uX)(),(0,u.CE)("div",ih,[l[1]||(l[1]=(0,u.Lk)("div",{class:"message-schema-title"},"Headers",-1)),(0,u.bF)((0,d.R1)(lg),{compact:"",eventBus:e.eventBus,name:"Headers",noncollapsible:"",options:p.value,schema:c.value},null,8,["eventBus","options","schema"])])):(0,u.Q3)("",!0),i.value?((0,u.uX)(),(0,u.CE)("div",ig,[l[2]||(l[2]=(0,u.Lk)("div",{class:"message-schema-title"},"Payload",-1)),(0,u.bF)((0,d.R1)(lg),{compact:"",eventBus:e.eventBus,name:"Payload",noncollapsible:"",options:p.value,schema:i.value},null,8,["eventBus","options","schema"])])):(0,u.Q3)("",!0)]),_:1},8,["modelValue"])],8,ip))}}),[["__scopeId","data-v-08f2cf5d"]]),iy=["id"],ib={class:"operation-header"},iO=s((0,u.pM)({__name:"Operation",props:{operation:{},document:{},eventBus:{},options:{},expandedItems:{default:()=>({})}},setup(e){let t=(0,u.Bi)(),a=(0,u.rk)("section");tK(a,()=>e.eventBus?.emit("intersecting:nav-item",{id:e.operation.id}));let r=(0,u.EW)(()=>{var t,a;let r;return t=e.document,a=e.operation.operationName,(r=t.operations?.[a])?(e=>{let t=e.traits??[];if(0===t.length)return e;let a=t.reduce((e,t)=>
204{let a=(0,b.A)(t);return void 0!==a.security?a.security:e},void 0),r=t.reduce((e,t)=>{let a=(0,b.A)(t);if(!a.bindings)return e;let r=(0,b.A)(a.bindings);return e?{...(0,b.A)(e),...r}:r},void 0),n=void 0!==e.security,o=e.security??a,l=r&&e.bindings?{...(0,b.A)(r),...(0,b.A)(e.bindings)}:e.bindings??r;return{...e,...void 0!==o||n?{security:o}:{},...l!==e.bindings?{bindings:l}:{}}})((0,b.A)(r,b.F)):void 0}),n=(0,u.EW)(()=>it(r.value?.title,e.operation.title,e.operation.operationName)),o=(0,u.EW)(()=>r.value?.description||r.value?.summary||""),l=(0,u.EW)(()=>s9(e.operation.children,"asyncapi-message")),s=(0,u.EW)(()=>io({security:tO(e.document,r.value,null)},{components:void 0})),{level:i}=r$("operation");return(r,c)=>((0,u.uX)(),(0,u.CE)("div",{id:e.operation.id,ref_key:"section",ref:a,class:(0,Q.C4)(["operation",`operation--${e.operation.action}`])},[(0,u.Lk)("div",ib,[(0,u.Lk)("span",{class:(0,Q.C4)(["operation-action",`operation-action--${e.operation.action}`])},(0,Q.v_)(e.operation.action),3),(0,u.bF)((0,d.R1)(oj),{onCopyAnchorUrl:c[0]||(c[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.operation.id}))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rF),{id:(0,d.R1)(t),class:"operation-title",level:(0,d.R1)(i)},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(n.value),1)]),_:1},8,["id","level"])]),_:1})]),o.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(aV.m),{key:0,class:"operation-description",value:o.value,withImages:""},null,8,["value"])):(0,u.Q3)("",!0),(0,u.bF)(id,{requiredSecurity:s.value},null,8,["requiredSecurity"]),((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(l.value,t=>((0,u.uX)(),(0,u.Wv)(iv,{key:t.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,message:t,options:e.options},null,8,["document","eventBus","expandedItems","message","options"]))),128))],10,iy))}}),[["__scopeId","data-v-a929e624"]]),ik=s((0,u.pM)({__name:"Channel",props:{channel:{},document:{},layout:{},isCollapsed:{type:Boolean},eventBus:{},options:{},expandedItems:{default:()=>({})},level:{default:0}},setup(e){let t=(0,u.Bi)(),a=(0,u.EW)(()=>ia(e.document,e.channel.channelName)),r=(0,u.EW)(()=>a.value?.description??""),n=(0,u.EW)(()=>it(a.value?.title,e.channel.channelAddress)),o=(0,u.EW)(()=>{var e;return(e=a.value?.parameters)?Object.entries(e).map(([e,t])=>{let a=(0,b.A)(t)??{},r={type:"string"};a.enum&&(r.enum=a.enum),void 0!==a.default&&(r.default=a.default),a.examples&&(r.examples=a.examples);let n={name:e,in:"path",required:!0,schema:r};return a.description&&(n.description=a.description),n}):[]}),l=(0,u.EW)(()=>({hideModels:e.options?.hideModels??!1,...s7(e.options)})),s=(0,u.EW)(()=>ie(e.document,a.value)),i=(0,u.EW)(()=>s9(e.channel.children,"asyncapi-operation")),{level:c}=r$("channel");return(a,p)=>"classic"===e.layout?((0,u.uX)(),(0,u.Wv)((0,d.R1)(sC),{key:0,"aria-label":n.value,class:"channel-section",modelValue:!e.isCollapsed,"onUpdate:modelValue":p[1]||(p[1]=t=>
204e.eventBus?.emit("toggle:nav-item",{id:e.channel.id,open:t}))},{title:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rV),{class:"channel-name"},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(oj),{onCopyAnchorUrl:p[0]||(p[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.channel.id}))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rF),{level:(0,d.R1)(c)},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(n.value),1)]),_:1},8,["level"])]),_:1})]),_:1}),(0,u.bF)(s5,{class:"channel-labels",protocols:s.value.protocols,servers:s.value.servers},null,8,["protocols","servers"]),(0,u.bF)((0,d.R1)(aV.m),{class:"channel-description",value:r.value,withImages:""},null,8,["value"])]),default:(0,u.k6)(()=>[o.value.length?((0,u.uX)(),(0,u.Wv)(s4,{key:0,eventBus:e.eventBus,options:l.value,parameters:o.value},{title:(0,u.k6)(()=>[...p[4]||(p[4]=[(0,u.eW)("Parameters",-1)])]),_:1},8,["eventBus","options","parameters"])):(0,u.Q3)("",!0),((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(i.value,t=>((0,u.uX)(),(0,u.Wv)(iO,{key:t.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,operation:t,options:e.options},null,8,["document","eventBus","expandedItems","operation","options"]))),128))]),_:1},8,["aria-label","modelValue"])):((0,u.uX)(),(0,u.Wv)((0,d.R1)(rq),{key:1,"aria-labelledby":(0,d.R1)(t),omit:0!==e.level,role:"region"},{default:(0,u.k6)(()=>
204[(0,u.bF)((0,d.R1)(rM),{id:e.channel.id,role:"none",onIntersecting:p[3]||(p[3]=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.channel.id}))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rV),null,{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(oj),{onCopyAnchorUrl:p[2]||(p[2]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.channel.id}))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rF),{id:(0,d.R1)(t),level:(0,d.R1)(c)},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(n.value),1)]),_:1},8,["id","level"])]),_:1})]),_:1}),(0,u.bF)((0,d.R1)(rD),null,{default:(0,u.k6)(()=>[(0,u.bF)(s5,{class:"channel-labels",protocols:s.value.protocols,servers:s.value.servers},null,8,["protocols","servers"]),(0,u.bF)((0,d.R1)(aV.m),{value:r.value,withImages:""},null,8,["value"]),o.value.length?((0,u.uX)(),(0,u.Wv)(s4,{key:0,eventBus:e.eventBus,options:l.value,parameters:o.value},{title:(0,u.k6)(()=>[...p[5]||(p[5]=[(0,u.eW)("Parameters",-1)])]),_:1},8,["eventBus","options","parameters"])):(0,u.Q3)("",!0),((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(i.value,t=>((0,u.uX)(),(0,u.Wv)(iO,{key:t.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,operation:t,options:e.options},null,8,["document","eventBus","expandedItems","operation","options"]))),128))]),_:1})]),_:1},8,["id"])]),_:1},8,["aria-labelledby","omit"]))}}),[["__scopeId","data-v-c60febe5"]]),ix=(0,u.pM)({__name:"AsyncApiTraversedEntry",props:{entries:{},document:{},expandedItems:{},options:{},eventBus:{},level:{default:0}},setup(e){let t=e=>"tag"===e.type&&!0===e.isGroup,a=e=>"tag"===e.type&&!t(e),r=(0,u.EW)(()=>e.document.components?(0,b.A)(e.document.components,b.F).schemas:void 0);return(n,o)=>{let l=(0,u.g2)("AsyncApiTraversedEntry",!0);return(0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(e.entries,n=>((0,u.uX)(),(0,u.Wv)(sN,{id:n.id,key:`${n.id}-${e.options.layout}`,expanded:!!e.expandedItems[n.id]},{default:(0,u.k6)(()=>{let o,s;return["asyncapi-channel"===n.type?((0,u.uX)(),(0,u.Wv)(ik,{key:0,channel:n,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,isCollapsed:!e.expandedItems[n.id],layout:e.options.layout,level:e.level,options:e.options},null,8,["channel","document","eventBus","expandedItems","isCollapsed","layout","level","options"])):a(n)||t(n)&&"classic"===e.options.layout?((0,u.uX)(),(0,u.Wv)((0,d.R1)(sW),{key:1,eventBus:e.eventBus,isCollapsed:!e.expandedItems[n.id],layout:e.options.layout,moreThanOneTag:e.entries.filter(a).length>1,tag:n},{default:(0,u.k6)(()=>[n.children?.length?((0,u.uX)(),(0,u.Wv)(l,{key:0,document:e.document,entries:n.children,eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options},null,8,["document","entries","eventBus","expandedItems","level","options"])):(0,u.Q3)("",!0)]),_:2},1032,["eventBus","isCollapsed","layout","moreThanOneTag","tag"])):t(n)?((0,u.uX)(),(0,u.Wv)(l,{key:2,document:e.document,entries:n.children??[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options},null,8,["document","entries","eventBus","expandedItems","level","options"])):"models"===n.type&&r.value?((0,u.uX)(),(0,u.Wv)(sR,{key:3,id:n.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[n.id],layout:e.options.layout,modelsSectionLabel:e.options.modelsSectionLabel},{default:(0,u.k6)(()=>[(0,u.bF)(l,{document:e.document,entries:n.children??[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options},null,8,["document","entries","eventBus","expandedItems","level","options"])]),_:2},1032,["id","eventBus","isCollapsed","layout","modelsSectionLabel"])):"model"===n.type&&(o=n.name,k(e.document,o))?((0,u.uX)(),(0,u.Wv)(sx,{key:4,id:n.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[n.id],name:n.name,options:e.options,schema:(s=n.name,k(e.document,s))},null,8,["id","eventBus","isCollapsed","name","options","schema"])):(0,u.Q3)("",!0)]}),_:2},1032,["id","expanded"]))),128)}}}),iw=a(11980),iS=(0,u.pM)({__name:"Auth",props:{options:{},authStore:{},document:{},eventBus:{},securitySchemes:{},selectedServer:{},environment:{}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>(0,P.yF)(e.document)||(0,P.KK)(e.document)?e.document["x-scalar-navigation"]?.name??"":""),r=(0,u.EW)(()=>
204(0,P.K7)(e.document)),n=(0,u.EW)(()=>(0,P.KK)(e.document)?(e=>{let t=e.servers?(0,b.A)(e.servers):void 0;if(!t)return[];let a=Object.values(t).map(e=>(0,b.A)(e)),r=a.map(t=>tO(e,null,t)),n=r.flat(),o=r.some(e=>e.length>0),l=a.some(e=>!e?.security?.length);return o&&l&&n.push({}),ty(n)})(e.document):(0,E.Pb)((0,P.yF)(e.document)?e.document.security:void 0)),o=(0,u.EW)(()=>e.authStore.getAuthSelectedSchemas({type:"document",documentName:a.value})),l=(0,u.EW)(()=>(0,E.Yr)(o.value,void 0,n.value,e.securitySchemes,e.options.authentication?.preferredSecurityScheme));return(a,o)=>Object.keys(e.securitySchemes).length?((0,u.uX)(),(0,u.Wv)((0,d.R1)(iw.a),{key:0,canDeleteSchemes:!1,createAnySecurityScheme:e.options.authentication?.createAnySecurityScheme??!1,documentType:r.value,environment:e.environment,eventBus:e.eventBus,isStatic:"",layout:"reference",meta:{type:"document"},options:{oauth2RedirectUri:e.options.oauth2RedirectUri},persistAuth:e.options.persistAuth,proxyUrl:e.options.proxyUrl??"",securityRequirements:n.value,securitySchemes:e.securitySchemes,selectedSecurity:l.value,server:e.selectedServer,title:(0,d.R1)(t)("authentication.title")},null,8,["createAnySecurityScheme","documentType","environment","eventBus","options","persistAuth","proxyUrl","securityRequirements","securitySchemes","selectedSecurity","server","title"])):(0,u.Q3)("",!0)}}),iC=e=>"ellipsis"in e,i$=(e,t)=>{let a=(e,r)=>{for(let n of e){let e="tag"===n.type&&(!0!==n.isTagGroup||"classic"===t)?[...r,{id:n.id,title:n.title}]:r;if(e.length>=2)return e;if("children"in n&&void 0!==n.children){let t=a(n.children,e);if(t.length>=2)return t}}return[]};return a(e,[])},iA=["aria-hidden","aria-label","data-stuck"],iR=["title"],iE={key:2,"aria-current":"page",class:"text-c-1 shrink-0 font-medium whitespace-nowrap"},iP=["onClick"],iT=s((0,u.pM)({__name:"ContextBar",props:{chain:{}},emits:["navigate"],setup(e,{emit:t}){let a=(0,d.KR)(null),r=(0,d.KR)(!1),n=(0,d.KR)(!1),o=(0,u.EW)(()=>e.chain.length>=2),l=(0,u.EW)(()=>o.value?r.value?(e=>{if(e.length<4)return e;let[t]=e,a=e.slice(-2);return[...t?[t]:[],{ellipsis:!0,hiddenTitles:e.slice(1,-2).map(e=>e.title)},...a]})(e.chain):e.chain:[]),s=()=>{let e=a.value;if(!e)return;let t=getComputedStyle(e),n=Number.parseFloat(t.columnGap)||0,o=e.clientWidth-Number.parseFloat(t.paddingLeft)-Number.parseFloat(t.paddingRight),l=Array.from(e.children);r.value=l.reduce((e,t)=>e+t.getBoundingClientRect().width,0)+n*Math.max(0,l.length-1)>o+1},i=null,c=null,p=null,m=()=>{if(r.value=!1,null===c){if("u"<typeof requestAnimationFrame)return void(0,u.dY)(s);c=requestAnimationFrame(()=>{c=null,(0,u.dY)(s)})}},h=()=>{let e=a.value;if(!e)return;let t=Number.parseFloat(getComputedStyle(e).top)||0;n.value=e.getBoundingClientRect().top<=t},f=()=>{if(null===p){if("u"<typeof requestAnimationFrame)return void h();p=requestAnimationFrame(()=>{p=null,h()})}};return(0,u.wB)(a,e=>{i?.disconnect(),e&&"u">typeof ResizeObserver&&((i=new ResizeObserver(()=>{m(),f()})).observe(e),m(),f())},{immediate:!0}),(0,u.wB)(()=>e.chain,m,{flush:"post"}),(0,u.sV)(()=>{window.addEventListener("scroll",f,{capture:!0,passive:!0}),window.addEventListener("resize",f,{passive:!0}),f()}),(0,u.xo)(()=>{i?.disconnect(),window.removeEventListener("scroll",f,!0),window.removeEventListener("resize",f),null!==c&&"u">typeof cancelAnimationFrame&&cancelAnimationFrame(c),null!==p&&"u">typeof cancelAnimationFrame&&cancelAnimationFrame(p)}),(e,r)=>((0,u.uX)(),(0,u.CE)("nav",{ref_key:"navRef",ref:a,"aria-hidden":!o.value,"aria-label":o.value?"Breadcrumb":void 0,class:"context-bar bg-b-1.5 text-c-2 sticky top-(--refs-header-height) z-10 flex items-center gap-1.5 text-sm","data-stuck":n.value||void 0},[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(l.value,(e,a)=>((0,u.uX)(),(0,u.CE)(u.FK,{key:(0,d.R1)(iC)(e)?`ellipsis-${a}`:e.id},[a>0?((0,u.uX)(),(0,u.Wv)((0,d.R1)(og.A),{key:0,class:"text-c-3 size-2.5 shrink-0",weight:"bold"})):(0,u.Q3)("",!0),(0,d.R1)(iC)(e)?((0,u.uX)(),(0,u.CE)("span",{key:1,class:"text-c-3 shrink-0",title:e.hiddenTitles.join(" › ")}," … ",8,iR)):a===l.value.length-1?((0,u.uX)(),(0,u.CE)("span",iE,(0,Q.v_)(e.title),
2041)):((0,u.uX)(),(0,u.CE)("button",{key:3,class:"hover:text-c-1 shrink-0 cursor-pointer whitespace-nowrap transition-colors",type:"button",onClick:a=>t("navigate",e.id)},(0,Q.v_)(e.title),9,iP))],64))),128))],8,iA))}}),[["__scopeId","data-v-5f62f72b"]]),i_=e=>Object.keys(e).sort().join(","),ij={key:0},iQ=s((0,u.pM)({__name:"OperationPath",props:{path:{},deprecated:{type:Boolean}},setup(e){let t=(0,u.EW)(()=>e.path.split(/({[^}]+})/));return(a,r)=>((0,u.uX)(),(0,u.CE)("span",{class:(0,Q.C4)(["operation-path",{deprecated:e.deprecated}])},[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(t.value,(e,t)=>((0,u.uX)(),(0,u.CE)(u.FK,{key:t},[e.startsWith("{")&&e.endsWith("}")?((0,u.uX)(),(0,u.CE)("em",ij,(0,Q.v_)(e),1)):((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.eW)((0,Q.v_)(e),1)],64))],64))),128))],2))}}),[["__scopeId","data-v-ec6c8861"]]),iL=a(26996),iM=a(57319),iZ=a(96677),iU=a(83691),iX=(0,u.pM)({inheritAttrs:!1,__name:"ScalarVirtualCodeBlock",props:{content:{},lang:{default:"plaintext"},copy:{type:[String,Boolean],default:"hover"},lineHeight:{default:20}},setup(e){let{cx:t}=(0,em.AX)();return(a,r)=>((0,u.uX)(),(0,u.CE)("div",(0,Q._B)((0,u.Ng)((0,d.R1)(t)("scalar-code-block group/code-block flex flex-col","relative bg-b-1 min-h-0 min-w-0"))),[(0,u.bF)(iU.A,{containerClass:"custom-scroll overflow-auto flex flex-1 max-h-screen",contentClass:"language-plaintext whitespace-pre font-code text-base p-2",lineHeight:e.lineHeight,text:e.content},null,8,["lineHeight","text"]),e.copy?((0,u.uX)(),(0,u.Wv)(iZ.A,{key:0,class:(0,Q.C4)(["scalar-code-copy absolute top-2.5 right-2.5",[{"opacity-100":"always"===e.copy}]]),content:e.content,showLang:!0,lang:e.lang},{backdrop:(0,u.k6)(()=>[(0,u.bF)(iM.A,{class:"scalar-code-copy-backdrop -right-1.5 -top-1"})]),_:1},8,["class","content","lang"])):(0,u.Q3)("",!0)],16))}}),iI=a(15106),iB=(0,u.pM)({__name:"ExampleSchema",props:{id:{},schema:{}},setup(e){let t=(0,u.EW)(()=>
204{if(e.schema)return(0,iI.q)((0,aK.cm)(e.schema))}),a=(0,u.EW)(()=>(t.value?.length??0)>2e4);return(r,n)=>a.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(iX),{key:1,id:e.id,class:"bg-b-2",content:t.value??"",lang:"json"},null,8,["id","content"])):((0,u.uX)(),(0,u.Wv)((0,d.R1)(iL.z),{key:0,id:e.id,class:"bg-b-2",lang:"json",prettyPrintedContent:t.value??""},null,8,["id","prettyPrintedContent"]))}}),iq={key:2,class:"empty-state"},iW=s((0,u.pM)({__name:"ExampleResponse",props:{response:{},example:{}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>{let t=void 0!==e.example?(0,aK.cm)(e.example)?.value??"":e.response?.schema?(0,E.MH)((0,aK.cm)(e.response.schema),{emptyString:"string",mode:"read"}):void 0;if(void 0!==t)return(0,iI.q)(t)}),r=(0,u.EW)(()=>void 0!==a.value&&a.value.length>2e4);return(e,n)=>void 0===a.value||r.value?void 0!==a.value&&r.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(iX),{key:1,class:"bg-b-2",content:a.value,lang:"json"},null,8,["content"])):((0,u.uX)(),(0,u.CE)("div",iq,(0,Q.v_)((0,d.R1)(t)("response.noBody")),1)):((0,u.uX)(),(0,u.Wv)((0,d.R1)(iL.z),{key:0,class:"bg-b-2",lang:"json",prettyPrintedContent:a.value},null,8,["prettyPrintedContent"]))}}),[["__scopeId","data-v-ce6cfefc"]]),iD=s((0,u.pM)({__name:"ExampleResponseTab",setup:e=>(e,t)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(rf),{as:"template"},{default:(0,u.k6)(({selected:t})=>[(0,u.Lk)("button",{class:(0,Q.C4)(["tab",{"tab-selected":t}]),type:"button"},[(0,u.Lk)("span",null,[(0,u.RG)(e.$slots,"default",{},void 0,!0)])],2)]),_:3}))}),[["__scopeId","data-v-804dba49"]]),iN=s((0,u.pM)({__name:"ExampleResponseTabList",emits:["change"],setup(e,{emit:t}){let a=e=>{t("change",e)};return(e,t)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(sP.M2),{class:"scalar-card-header scalar-card-header-tabs"},{actions:(0,u.k6)(()=>[(0,u.RG)(e.$slots,"actions",{},void 0,!0)]),default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rm),{onChange:a},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rh),{class:"tab-list custom-scroll"},{default:(0,u.k6)(()=>[(0,u.RG)(e.$slots,"default",{},void 0,!0)]),_:3})]),_:3})]),_:3}))}}),[["__scopeId","data-v-49a8c0af"]]);function iV(e){if(!e)return e;let t={...e};return Object.entries(t).forEach(([e,a])=>{let r=function(e){if("string"==typeof e)return e.replace(/;.*$/,"").replace(/\/(?!.*vnd\.|fhir\+).*\+/,"/").trim()}(e);r&&(t[r]=a)}),t}var iF={key:1,class:"scalar-card-checkbox"},iz=["aria-controls"],iH={class:"response-description"},iY=s((0,u.pM)({__name:"ExampleResponses",props:{responses:{},selectedExample:{},eventBus:{},selectedContentTypes:{}},setup(e){let{translate:t}=v(),a=(0,u.Bi)(),{copyToClipboard:r}=(0,tB.i)(),n=(0,u.EW)(()=>Object.keys(e.responses??{}).sort()),o=(0,u.EW)(()=>n.value.filter(t=>(function(e,t){if(void 0!==t)return!!("default"===t||/^[1-5][0-9]{2}$/.test(t)||/^[1-5]XX$/.test(t))&&!!e;let a=iV(e?.content),r=(0,e4.u)(a??{});return function(e){if(!e)return!1;let t=!!e.schema,a="example"in e&&null!==e.example,r=!!e.examples;return t||a||r}(a?.["application/json"]??a?.["application/xml"]??a?.["text/plain"]??a?.["text/html"]??a?.["*/*"]??a?.[r[0]??""])})((0,b.A)(e.responses?.[t]),t))),l=(0,d.KR)(0);(0,u.wB)(o,t=>{if(0===t.length)l.value=0;else{if(!(l.value>=t.length))return;l.value=t.length-1}m.value=h(e.selectedExample)});let s=(0,u.EW)(()=>{let t=(0,d.BA)(o)[(0,d.BA)(l)]??"";return(0,b.A)(e.responses?.[t])}),i=(0,u.EW)(()=>iV(s.value?.content)),c=(0,u.EW)(()=>{let t=i.value;if(!t)return;let a=(0,d.BA)(o)[(0,d.BA)(l)]??"",r=e.selectedContentTypes?.[a],n=(0,e4.u)(t);return t[r&&n.includes(r)?r:n[0]??""]}),p=(0,u.EW)(()=>!!c.value?.examples&&Object.keys(c.value?.examples??{}).length>1),m=(0,d.KR)(""),h=e=>{let t=Object.keys(c.value?.examples??{});return e&&t.includes(e)?e:m.value&&t.includes(m.value)?m.value:t[0]??""};m.value=h(e.selectedExample),(0,u.wB)(()=>e.selectedExample,e=>{m.value=h(e)});let f=t=>{m.value=t,e.eventBus?.emit("workspace:update:selected-example",t)},g=(0,u.EW)(()=>{if(c.value)return p.value&&m.value?c.value.examples?.[m.value]:(0,E.rI)(c.value,void 0,void 0)}),y=t=>{l.value=t,m.value=h(e.selectedExample)},O=(0,d.KR)(!1);return(e,n)=>o.value.length?((0,u.uX)(),(0,u.Wv)((0,d.R1)(sP.Zl),{key:0,"aria-label":(0,d.R1)(t)("response.exampleResponses"),class:"response-card",role:"region"},{default:(0,u.k6)(()=>[(0,u.bF)(iN,{onChange:y},{actions:(0,u.k6)(()=>[c.value?.example?((0,u.uX)(),(0,u.CE)("button",{key:0,class:"code-copy",type:"button",onClick:n[0]||(n[0]=()=>(0,d.R1)(r)(c.value?.example))},[(0,u.bF)((0,d.R1)(aJ.k),{icon:"Clipboard",width:"12px"})])):(0,u.Q3)("",!0),c.value?.schema?((0,u.uX)(),(0,u.CE)("label",iF,[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("response.showSchema"))+" ",1),(0,u.bo)((0,u.Lk)("input",{"onUpdate:modelValue":n[1]||(n[1]=e=>O.value=e),"aria-controls":(0,d.R1)(a),class:"scalar-card-checkbox-input",type:"checkbox"},null,8,iz),[[eE.lH,O.value]]),n[2]||(n[2]=(0,u.Lk)("span",{class:"scalar-card-checkbox-checkmark"},null,-1))])):(0,u.Q3)("",!0)]),default:(0,u.k6)(()=>[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(o.value,e=>((0,u.uX)(),(0,u.Wv)(iD,{key:e,"aria-controls":(0,d.R1)(a)},{default:(0,u.k6)(()=>[(0,u.bF)(ow,null,{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("response.status"))+":",1)]),_:1}),(0,u.eW)(" "+(0,Q.v_)(e),1)]),_:2},1032,["aria-controls"]))),128))]),_:1}),(0,u.bF)((0,d.R1)(sP.gW),{class:"grid flex-1"},{default:(0,u.k6)(()=>[c.value?.schema&&O.value?((0,u.uX)(),(0,u.Wv)(iB,{key:0,id:(0,d.R1)(a),schema:c.value?.schema},null,8,["id","schema"])):((0,u.uX)(),(0,u.Wv)(iW,{key:1,id:(0,d.R1)(a),example:g.value,response:c.value},null,8,["id","example","response"]))]),_:1}),s.value?.description||p.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(sP.yE),{key:0,class:"response-card-footer"},{default:(0,u.k6)(()=>[p.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(aK.bK),{key:0,class:"response-example-selector px-0",examples:c.value?.examples,modelValue:m.value,"onUpdate:modelValue":f},null,8,["examples","modelValue"])):(0,u.Q3)("",!0),(0,u.Lk)("div",iH,[s.value?.description?((0,u.uX)(),(0,u.Wv)((0,d.R1)(aV.m),{key:0,class:"response-description-markdown",value:s.value.description},null,8,["value"])):(0,u.Q3)("",!0)])]),_:1})):(0,u.Q3)("",!0)]),_:1},8,["aria-label"])):(0,u.Q3)("",!0)}}
204),[["__scopeId","data-v-c999f4a2"]]),iG=e=>(0,b.A)(e),iK=(e,t,a)=>{if(!t.properties)return[e];let r=new Set(t.required??[]),n=Object.entries(t.properties).flatMap(([t,n])=>{let o=iG(n);if(!o)return[];let l=`${a}[${t}]`,s=((e,t,a,r,n)=>{let{example:o,examples:l,...s}=e;return{...s,name:t,description:a,required:r,schema:n}})(e,l,o.description??e.description,r.has(t),o);return(0,w.Tl)(o)&&o.properties?iK(s,o,l):[s]});return n.length>0?n:[e]},iJ=["aria-label"],i0={class:"request-body-header"},i1={class:"request-body-title"},i2={key:0,class:"text-c-2 text-xs leading-none font-normal","data-testid":"request-body-schema-name"},i4={class:"flex items-center gap-2"},i8={key:0,class:"request-body-required"},i3={key:0,class:"request-body-description"},i6={key:0,class:"request-body-schema"},i5={key:1,class:"request-body-schema"},i7=s((0,u.pM)({__name:"RequestBody",props:(0,u.zz)({breadcrumb:{},requestBody:{},eventBus:{},document:{},options:{}},{selectedContentType:{default:"application/json"},selectedContentTypeModifiers:{}}),emits:["update:selectedContentType"],setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>Object.keys(e.requestBody?.content??{})),r=(0,u.fn)(e,"selectedContentType");e.requestBody?.content&&a.value[0]&&(r.value=a.value[0]);let n=(0,u.EW)(()=>e.requestBody?.content?.[r.value]?.schema),o=(0,u.EW)(()=>(0,b.A)(n.value)),l=(0,u.EW)(()=>(n.value&&li(n.value))??null),s=(0,u.EW)(()=>lB(l.value?.schemaKey,{hideModels:e.options.hideModels,document:e.document})),i=(0,u.EW)(()=>{if(!o.value||!oQ(o.value)||o4(o.value,e.document))return null;let t=ld(o.value,o.value.discriminator,{hideReadOnly:!0,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst});if(t.length<=12)return null;let{properties:a,...r}=o.value;return a?{visibleProperties:{...r,properties:lu(t.slice(0,12),a)},collapsedProperties:{...r,properties:lu(t.slice(12),a)}}:null}),c=(0,u.EW)(()=>Object.keys(e.requestBody?.content??{}).length>0||e.requestBody?.description||e.requestBody?.required);return(a,n)=>e.requestBody&&c.value?((0,u.uX)(),(0,u.CE)("div",{key:0,"aria-label":(0,d.R1)(t)("operation.requestBody"),class:"request-body",role:"group"},[(0,u.Lk)("div",i0,[(0,u.Lk)("div",i1,[(0,u.RG)(a.$slots,"title",{},void 0,!0),l.value?((0,u.uX)(),(0,u.CE)("span",i2,[n[2]||(n[2]=(0,u.Lk)("span",{class:"text-c-3 mx-1.5"},"\xb7",-1)),e.eventBus&&l.value.schemaKey&&s.value?((0,u.uX)(),(0,u.Wv)(lX,{key:0,onClick:n[0]||(n[0]=t=>e.eventBus.emit("scroll-to:model-by-name",{name:l.value.schemaKey}))},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(l.value.label),1)]),_:1})):((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.eW)((0,Q.v_)(l.value.label),1)],64))])):(0,u.Q3)("",!0)]),(0,u.Lk)("div",i4,[e.requestBody.required?((0,u.uX)(),(0,u.CE)("div",i8,(0,Q.v_)((0,d.R1)(t)("common.required")),1)):(0,u.Q3)("",!0),(0,u.bF)(sV,{modelValue:r.value,"onUpdate:modelValue":n[1]||(n[1]=e=>r.value=e),content:e.requestBody.content},null,8,["modelValue","content"])]),e.requestBody.description?((0,u.uX)(),(0,u.CE)("div",i3,[(0,u.bF)((0,d.R1)(aV.m),{value:e.requestBody.description},null,8,["value"])])):(0,u.Q3)("",!0)]),i.value?((0,u.uX)(),(0,u.CE)("div",i6,[(0,u.bF)((0,d.R1)(lg),{breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,name:(0,d.R1)(t)("operation.requestBody"),noncollapsible:"",options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,hideModels:e.options.hideModels,document:e.document},schema:i.value.visibleProperties,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","name","options","schema"]),(0,u.bF)((0,d.R1)(lg),{additionalProperties:"",breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,hideDescription:"",name:(0,d.R1)(t)("operation.requestBody"),options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,hideModels:e.options.hideModels,document:e.document},schema:i.value.collapsedProperties,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","name","options","schema"])])):o.value?((0,u.uX)(),(0,u.CE)("div",i5,[(0,u.bF)((0,d.R1)(lg),{breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,hideReadOnly:!0,name:(0,d.R1)(t)("operation.requestBody"),noncollapsible:"",options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,hideModels:e.options.hideModels,document:e.document},schema:o.value,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","name","options","schema"])])):(0,u.Q3)("",!0)],8,iJ)):(0,u.Q3)("",!0)}}),[["__scopeId","data-v-75896209"]]),i9=(0,u.pM)({__name:"OperationParameters",props:(0,u.zz)({breadcrumb:{},parameters:{default:()=>[]},requestBody:{},eventBus:{},document:{},options:{}},{selectedContentType:{},selectedContentTypeModifiers:{}}),emits:["update:selectedContentType"],setup(e){let{translate:t}=v(),a=(0,u.fn)(e,"selectedContentType"),r=(0,u.EW)(()=>(e.parameters??[]).reduce((e,t)=>
204{let a=(0,b.A)(t);return(0,lI.d)(a)||(e=>{if("query"!==e.in||!("schema"in e&&void 0!==e.schema)||"deepObject"!==e.style)return[e];let t=iG(e.schema);return t&&(0,w.Tl)(t)?iK(e,t,e.name):[e]})(a).forEach(t=>{e[t.in].push(t)}),e},{cookie:[],header:[],path:[],query:[]}));return(n,o)=>((0,u.uX)(),(0,u.CE)(u.FK,null,[(0,u.bF)(s4,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"path"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.path},{title:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("operation.pathParameters")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),(0,u.bF)(s4,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"query"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.query},{title:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("operation.queryParameters")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),(0,u.bF)(s4,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.header},{title:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("operation.headers")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),(0,u.bF)(s4,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"cookies"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.cookie},{title:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("operation.cookies")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),e.requestBody?((0,u.uX)(),(0,u.Wv)(i7,{key:0,selectedContentType:a.value,"onUpdate:selectedContentType":o[0]||(o[0]=e=>a.value=e),breadcrumb:e.breadcrumb?[...e.breadcrumb,"body"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,requestBody:e.requestBody},{title:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("operation.body")),1)]),_:1},8,["selectedContentType","breadcrumb","document","eventBus","options","requestBody"])):(0,u.Q3)("",!0)],64))}}),ce={key:0,class:"mt-6"},ct={class:"text-c-1 mt-3 mb-3 leading-[1.45] font-medium"},ca=["aria-label"],cr=(0,u.pM)({__name:"OperationResponses",props:{responses:{},breadcrumb:{},collapsableItems:{type:Boolean},eventBus:{},document:{},selectedContentTypes:{default:()=>({})},options:{}},emits:["update:selectedContentTypes"],setup(e,{emit:t}){let{translate:a}=v();return(r,n)=>Object.keys(e.responses??{}).length?((0,u.uX)(),(0,u.CE)("div",ce,[(0,u.Lk)("div",ct,(0,Q.v_)((0,d.R1)(a)("operation.responses")),1),(0,u.Lk)("ul",{"aria-label":(0,d.R1)(a)("operation.responses"),class:"mb-3 list-none p-0 text-sm"},[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(e.responses,(a,r)=>((0,u.uX)(),(0,u.Wv)(sJ,{key:r,breadcrumb:e.breadcrumb?[...e.breadcrumb,"responses"]:void 0,collapsableItems:e.collapsableItems,document:e.document,eventBus:e.eventBus,name:r,options:e.options,parameter:(0,d.R1)(b.A)(a),"onUpdate:selectedContentType":a=>t("update:selectedContentTypes",{...e.selectedContentTypes,[r]:a})},null,8,["breadcrumb","collapsableItems","document","eventBus","name","options","parameter","onUpdate:selectedContentType"]))),128))],8,ca)])):(0,u.Q3)("",!0)}}),cn={class:"group callback-list-item"},co={class:"font-code bg-b-1 callback-sticky-offset callback-list-item-title sticky flex cursor-pointer flex-row items-start gap-2 border-t py-2.5 text-sm group-open:flex-wrap"},cl={class:"text-c-1 min-w-0 flex-1 truncate text-sm leading-5 font-bold group-open:whitespace-normal"},cs={class:"text-c-2 font-normal"},ci={class:"callback-operation-container flex flex-col gap-2"},cc=s((0,u.pM)({__name:"Callback",props:{callback:{},method:{},name:{},url:{},eventBus:{},document:{},options:{}},setup:e=>(t,a)=>((0,u.uX)(),(0,u.CE)("details",cn,[(0,u.Lk)("summary",co,[(0,u.bF)((0,d.R1)(og.A),{class:"callback-list-item-icon text-c-3 group-hover:text-c-1 absolute top-3.5 -left-5 size-3 transition-transform duration-100 group-open:rotate-90",weight:"bold"}),(0,u.bF)((0,d.R1)(sM),{as:"span",class:"request-method py-0.75 font-bold",method:e.method},null,8,["method"]),(0,u.Lk)("div",cl,[(0,u.eW)((0,Q.v_)(e.name)+" ",1),(0,u.Lk)("span",cs,(0,Q.v_)(e.url),1)])]),(0,u.Lk)("div",ci,[(0,u.bF)(i9,{document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.callback.parameters?.map(e=>(0,d.R1)(b.A)(e))??[],requestBody:(0,d.R1)(b.A)(e.callback.requestBody)},null,8,["document","eventBus","options","parameters","requestBody"]),(0,u.bF)(cr,{collapsableItems:!1,document:e.document,eventBus:e.eventBus,options:e.options,responses:e.callback.responses},null,8,["document","eventBus","options","responses"])])]))}),[["__scopeId","data-v-474e6fa6"]]),cu=a(99822),cd=["aria-label"],cp={class:"callbacks-title text-c-1 my-3 text-lg font-medium"},cm=(0,u.pM)({__name:"Callbacks",props:{path:{},callbacks:{},eventBus:{},document:{},options:{}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>{let t=[];
204return(0,e2.W)(e.callbacks).forEach(([e,a])=>{(0,e2.W)((0,b.A)(a)).forEach(([a,r])=>{"object"==typeof r&&r&&(0,e2.W)(r).forEach(([r,n])=>{(0,cu.a)(r)&&t.push({name:e,url:a,method:r,callback:n})})})}),t});return(r,n)=>((0,u.uX)(),(0,u.CE)("div",{"aria-label":(0,d.R1)(t)("operation.callbacks"),class:"callbacks-list gap-3",role:"group"},[(0,u.Lk)("div",cp,(0,Q.v_)((0,d.R1)(t)("operation.callbacks")),1),((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(a.value,({callback:t,method:a,name:r,url:n})=>((0,u.uX)(),(0,u.Wv)(cc,{key:`${r}-${n}-${a}`,callback:t,document:e.document,eventBus:e.eventBus,method:a,name:r,options:e.options,path:e.path,url:n},null,8,["callback","document","eventBus","method","name","options","path","url"]))),128))],8,cd))}}),ch={key:0},cf={key:1},cg=(0,u.pM)({__name:"SecurityRequirementBadgeScheme",props:{is:{default:"li"},scheme:{}},setup:e=>(t,a)=>((0,u.uX)(),(0,u.Wv)((0,u.$y)(e.is),{class:"markdown"},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(e.scheme.name)+" ",1),e.scheme.scheme?.type?((0,u.uX)(),(0,u.CE)("code",ch,(0,Q.v_)(e.scheme.scheme.type),1)):(0,u.Q3)("",!0),e.scheme.scopes.length?((0,u.uX)(),(0,u.CE)("ul",cf,[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(e.scheme.scopes,e=>((0,u.uX)(),(0,u.CE)("li",{key:e,class:"font-code text-c-2"},(0,Q.v_)(e),1))),128))])):(0,u.Q3)("",!0)]),_:1}))}),cv=a(23107),cy={key:0},cb={key:1},cO={key:2},ck={key:3},cx={key:4},cw={key:5},cS=(0,u.pM)({name:"ScalarIconLockSimpleOpen",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",cy,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M208,76H100V56a28,28,0,0,1,28-28c13.51,0,25.65,9.62,28.24,22.39a12,12,0,1,0,23.52-4.78C174.87,21.5,153.1,4,128,4A52.06,52.06,0,0,0,76,56V76H48A20,20,0,0,0,28,96V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V96A20,20,0,0,0,208,76Zm-4,128H52V100H204Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",cb,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M216,96V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H208A8,8,0,0,1,216,96Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M208,80H96V56a32,32,0,0,1,32-32c15.37,0,29.2,11,32.16,25.59a8,8,0,0,0,15.68-3.18C171.32,24.15,151.2,8,128,8A48.05,48.05,0,0,0,80,56V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80Zm0,128H48V96H208V208Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",cO,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M224,96V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V96A16,16,0,0,1,48,80H80V56A48.05,48.05,0,0,1,128,8c23.2,0,43.32,16.15,47.84,38.41a8,8,0,0,1-15.68,3.18C157.2,35,143.37,24,128,24A32,32,0,0,0,96,56V80H208A16,16,0,0,1,224,96Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",ck,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M208,82H94V56a34,34,0,0,1,34-34c16.3,0,31,11.69,34.12,27.19a6,6,0,0,0,11.76-2.38C169.55,25.48,150.26,10,128,10A46.06,46.06,0,0,0,82,56V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82Zm2,126a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",cx,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M208,80H96V56a32,32,0,0,1,32-32c15.37,0,29.2,11,32.16,25.59a8,8,0,0,0,15.68-3.18C171.32,24.15,151.2,8,128,8A48.05,48.05,0,0,0,80,56V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80Zm0,128H48V96H208V208Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",cw,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M208,84H92V56a36,36,0,0,1,36-36c17.24,0,32.75,12.38,36.08,28.8a4,4,0,1,0,7.84-1.6C167.78,26.81,149.31,12,128,12A44.05,44.05,0,0,0,84,56V84H48A12,12,0,0,0,36,96V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V96A12,12,0,0,0,208,84Zm4,124a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),cC=a(47197),c$=["aria-expanded"],cA={key:2},cR={class:"flex max-w-xs min-w-48 flex-col gap-1.5 p-2 text-sm"},cE={class:"font-medium"},cP={key:0,class:"contents"},cT={key:1,class:"contents"},c_={key:1,class:"contents"},cj=(0,u.pM)({__name:"SecurityRequirementBadge",props:{requiredSecurity:{},hideLabel:{type:Boolean,default:!1}},setup(e){let t,{translate:a}=v(),r=(0,d.KR)(null),n=(0,d.KR)(null),o=(0,d.KR)(!1),l=(0,d.KR)(!1),s=()=>{l.value||(clearTimeout(t),t=setTimeout(()=>{o.value=!1},120))},i=()=>clearTimeout(t),c=()=>{i(),o.value=!0},p=()=>{i(),o.value=!1,l.value=!1},m=()=>{l.value?p():(i(),o.value=!0,l.value=!0)};(0,tG.X2F)(r,p,{ignore:[n]}),(0,tG.Ta5)("Escape",()=>{o.value&&p()}),(0,u.xo)(()=>clearTimeout(t));let h=(0,u.EW)(()=>"required"===e.requiredSecurity.state?a("authentication.required"):a("authentication.optional")),f=(0,u.EW)(()=>"required"===e.requiredSecurity.state?a("authentication.requires"):a("authentication.accepts")),g=(0,u.EW)(()=>1===e.requiredSecurity.requirements.length&&e.requiredSecurity.requirements[0]?.schemes.length===1),y=(0,u.EW)(()=>1===e.requiredSecurity.requirements.length&&(e.requiredSecurity.requirements[0]?.schemes.length??0)>1),b=(0,u.EW)(()=>e.requiredSecurity.requirements.length>1);return(t,l)=>"none"!==e.requiredSecurity.state?((0,u.uX)(),(0,u.Wv)((0,d.R1)(cC.Z),{key:0,placement:"bottom-end"},{floating:(0,u.k6)(()=>[o.value?((0,u.uX)(),(0,u.CE)("div",{key:0,ref_key:"panelRef",ref:n,class:"relative flex flex-col p-0.75",onClick:l[0]||(l[0]=(0,eE.D$)(()=>{},["stop"])),onMouseenter:i,onMouseleave:s},[(0,u.Lk)("div",cR,[(0,u.Lk)("div",cE,[(0,u.eW)((0,Q.v_)(f.value)+" ",1),g.value?((0,u.uX)(),(0,u.Wv)(cg,{key:0,is:"span",class:"contents",scheme:e.requiredSecurity.requirements[0].schemes[0]},null,8,["scheme"])):b.value?((0,u.uX)(),(0,u.CE)(u.FK,{key:1},[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("authentication.oneOf")),1)],64)):y.value?((0,u.uX)(),(0,u.CE)(u.FK,{key:2},[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("authentication.allOf")),1)],64)):((0,u.uX)(),(0,u.CE)(u.FK,{key:3},[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("authentication.authentication")),1)],64))]),b.value?((0,u.uX)(),(0,u.CE)("ul",cP,[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(e.requiredSecurity.requirements,(e,t)=>((0,u.uX)(),(0,u.CE)("li",{key:t,class:"markdown"},[1===e.schemes.length?((0,u.uX)(),(0,u.Wv)(cg,{key:0,is:"span",class:"contents",scheme:e.schemes[0]},null,8,["scheme"])):((0,u.uX)(),(0,u.CE)("ul",cT,[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(e.schemes,(e,t)=>((0,u.uX)(),(0,u.Wv)(cg,{key:t,scheme:e},null,8,["scheme"]))),128))]))]))),128))])):y.value?((0,u.uX)(),(0,u.CE)("ul",c_,[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(e.requiredSecurity.requirements[0].schemes,(e,t)=>((0,u.uX)(),(0,u.Wv)(cg,{key:t,scheme:e},null,8,["scheme"]))),128))])):(0,u.Q3)("",!0)]),(0,u.bF)((0,d.R1)(cC.F))],544)):(0,u.Q3)("",!0)]),default:(0,u.k6)(()=>[(0,u.Lk)("button",{ref_key:"triggerRef",ref:r,class:(0,Q.C4)(["security-requirement-badge inline-flex w-fit shrink-0 items-center justify-center gap-1 text-sm","optional"===e.requiredSecurity.state?"text-c-2":"text-c-1 font-medium"]),type:"button","aria-expanded":o.value,"aria-haspopup":"dialog",onClick:(0,eE.D$)(m,["stop"]),onMouseenter:c,onMouseleave:s},["required"===e.requiredSecurity.state?((0,u.uX)(),(0,u.Wv)((0,d.R1)(cv.A),{key:0,class:"size-3",weight:"bold"})):((0,u.uX)(),(0,u.Wv)((0,d.R1)(cS),{key:1,class:"size-3",weight:"bold"})),e.hideLabel?(0,u.Q3)("",!0):((0,u.uX)(),(0,u.CE)("span",cA,(0,Q.v_)(h.value),1))],42,c$)]),_:1})):(0,u.Q3)("",!0)}});(o=l||(l={})).Deprecated="deprecated",o.Experimental="experimental",o.Stable="stable";var cQ=e=>e.deprecated||e["x-scalar-stability"]===l.Deprecated,cL=e=>e.deprecated?l.Deprecated:e["x-scalar-stability"],cM=e=>{switch(cL(e)){case l.Deprecated:return"text-red";case l.Experimental:return"text-orange";case l.Stable:return"text-green";default:return""}},cZ={key:0},cU={key:1},cX={key:2},cI={key:3},cB={key:4},cq={key:5},cW=(0,u.pM)({name:"ScalarIconPlay",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",cZ,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M234.49,111.07,90.41,22.94A20,20,0,0,0,60,39.87V216.13a20,20,0,0,0,30.41,16.93l144.08-88.13a19.82,19.82,0,0,0,0-33.86ZM84,208.85V47.15L216.16,128Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",cU,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M228.23,134.69,84.15,222.81A8,8,0,0,1,72,216.12V39.88a8,8,0,0,1,12.15-6.69l144.08,88.12A7.82,7.82,0,0,1,228.23,134.69Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27
204ZM80,215.94V40l143.83,88Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",cX,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",cI,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M231.36,116.19,87.28,28.06a14,14,0,0,0-14.18-.27A13.69,13.69,0,0,0,66,39.87V216.13a13.69,13.69,0,0,0,7.1,12.08,14,14,0,0,0,14.18-.27l144.08-88.13a13.82,13.82,0,0,0,0-23.62Zm-6.26,13.38L81,217.7a2,2,0,0,1-2.06,0,1.78,1.78,0,0,1-1-1.61V39.87a1.78,1.78,0,0,1,1-1.61A2.06,2.06,0,0,1,80,38a2,2,0,0,1,1,.31L225.1,126.43a1.82,1.82,0,0,1,0,3.14Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",cB,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",cq,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M230.32,117.9,86.24,29.79a11.91,11.91,0,0,0-12.17-.23A11.71,11.71,0,0,0,68,39.89V216.11a11.71,11.71,0,0,0,6.07,10.33,11.91,11.91,0,0,0,12.17-.23L230.32,138.1a11.82,11.82,0,0,0,0-20.2Zm-4.18,13.37L82.06,219.39a4,4,0,0,1-4.07.07,3.77,3.77,0,0,1-2-3.35V39.89a3.77,3.77,0,0,1,2-3.35,4,4,0,0,1,4.07.07l144.08,88.12a3.8,3.8,0,0,1,0,6.54Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),cD=["method"],cN=s((0,u.pM)({__name:"TestRequestButton",props:{id:{},method:{},path:{},eventBus:{},exampleName:{},requestBodyCompositionSelection:{}},setup(e){let{translate:t}=v(),a=()=>{let t={id:e.id,...e.exampleName&&{exampleName:e.exampleName},...e.requestBodyCompositionSelection&&Object.keys(e.requestBodyCompositionSelection).length>0&&{requestBodyCompositionSelection:e.requestBodyCompositionSelection}};e.eventBus.emit("ui:open:client-modal",t)};return(r,n)=>((0,u.uX)(),(0,u.CE)("button",{class:"show-api-client-button",method:e.method,type:"button",onClick:(0,eE.D$)(a,["stop"])},[(0,u.bF)((0,d.R1)(cW),{class:"size-3",weight:"fill"}),(0,u.Lk)("span",null,(0,Q.v_)((0,d.R1)(t)("operation.testRequest")),1),(0,u.bF)(ow,null,{default:(0,u.k6)(()=>[(0,u.eW)("("+(0,Q.v_)(e.method)+" "+(0,Q.v_)(e.path)+")",1)]),_:1})],8,cD))}}),[["__scopeId","data-v-ad72d914"]]),cV=(0,u.pM)({__name:"XBadges",props:{position:{},badges:{}},setup(e){let t=(0,u.EW)(()=>Array.isArray(e.badges)?e.badges.filter(t=>t.position===e.position||"after"===e.position&&!t.position):[]);return(e,a)=>t.value.length?((0,u.uX)(!0),(0,u.CE)(u.FK,{key:0},(0,u.pI)(t.value,e=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(rR),{key:e.name,color:e.color},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(e.name),1)]),_:2},1032,["color"]))),128)):(0,u.Q3)("",!0)}}),cF=a(3652),cz={class:"operation-title"},cH={class:"operation-details"},cY={class:"endpoint-label-path"},cG={class:"endpoint-label-name"},cK={key:1,class:"font-code text-sm"},cJ={class:"endpoint-content"},c0={class:"operation-details-card"},c1={key:0,class:"operation-details-card-item"},c2={key:1,class:"operation-details-card-item"},c4={class:"operation-details-card-item"},c8={class:"operation-details-card-item"},c3={key:2,class:"operation-details-card-item"},c6=s((0,u.pM)({__name:"ClassicLayout",props:{id:{},method:{},options:{},path:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{},requiredSecurity:{},document:{}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>e.operation.summary||e.path||""),r=(0,u.EW)(()=>rA(e.operation)),n=(0,u.EW)(()=>is(e.requiredSecurity).length>0),o=(0,d.KR)(),l=(0,d.KR)(""),s=(0,d.KR)({}),i=(0,u.EW)(()=>({...s.value})),c=(0,u.EW)(()=>JSON.stringify(i.value));(0,u.Gt)(o6,s);let p=(0,d.KR)({}),{copyToClipboard:m}=(0,tB.i)(),{level:h}=r$("operation");return(s,f)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(ok),{id:e.id,"aria-label":a.value,class:"reference-endpoint",modelValue:!e.isCollapsed,transparent:"","onUpdate:modelValue":f[5]||
204(f[5]=t=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:t}))},(0,u.eX)({title:(0,u.k6)(()=>[(0,u.Lk)("div",cz,[(0,u.Lk)("div",cH,[(0,u.bF)((0,d.R1)(sM),{class:"endpoint-type",method:e.method,short:""},null,8,["method"]),(0,u.bF)((0,d.R1)(oj),{class:"endpoint-anchor",onCopyAnchorUrl:f[0]||(f[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id}))},{default:(0,u.k6)(()=>[((0,u.uX)(),(0,u.Wv)((0,u.$y)(`h${(0,d.R1)(h)}`),{class:"endpoint-label"},{default:(0,u.k6)(()=>[(0,u.Lk)("div",cY,[(0,u.bF)(iQ,{deprecated:(0,d.R1)(cQ)(e.operation),path:e.path},null,8,["deprecated","path"])]),(0,u.Lk)("div",cG,(0,Q.v_)(a.value),1),(0,d.R1)(cL)(e.operation)?((0,u.uX)(),(0,u.Wv)((0,d.R1)(rR),{key:0,class:(0,Q.C4)(["capitalize",(0,d.R1)(cM)(e.operation)])},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(cL)(e.operation)),1)]),_:1},8,["class"])):(0,u.Q3)("",!0),e.isWebhook?((0,u.uX)(),(0,u.Wv)((0,d.R1)(rR),{key:1,class:"font-code text-green flex w-fit items-center justify-center gap-1"},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(ed.A),{weight:"bold"}),(0,u.eW)(" "+(0,Q.v_)((0,d.R1)(t)("operation.webhook")),1)]),_:1})):(0,u.Q3)("",!0),(0,u.bF)((0,d.R1)(cV),{badges:e.operation["x-badges"],position:"before"},null,8,["badges"])]),_:1}))]),_:1})])])]),actions:(0,u.k6)(({active:a})=>[(0,u.bF)(cj,{hideLabel:"",requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"]),(0,u.bF)((0,d.R1)(cV),{badges:e.operation["x-badges"],position:"after"},null,8,["badges"]),e.options.hideTestRequestButton?(0,u.Q3)("",!0):((0,u.uX)(),(0,u.CE)(u.FK,{key:0},[a?((0,u.uX)(),(0,u.Wv)((0,d.R1)(cN),{key:0,id:e.id,eventBus:e.eventBus,exampleName:l.value,method:e.method,path:e.path,requestBodyCompositionSelection:i.value},null,8,["id","eventBus","exampleName","method","path","requestBodyCompositionSelection"])):((0,u.uX)(),(0,u.Wv)((0,d.R1)(cW),{key:1,class:"endpoint-try-hint size-4.5"}))],64)),e.options.showOperationId&&e.operation.operationId?((0,u.uX)(),(0,u.CE)("span",cK,(0,Q.v_)(e.operation.operationId),1)):(0,u.Q3)("",!0),(0,u.bF)((0,d.R1)(eU.E),{class:"endpoint-copy p-0.5",icon:(0,d.R1)(cF.A),label:(0,d.R1)(t)("actions.copyEndpointUrl"),size:"xs",variant:"ghost",onClick:f[1]||(f[1]=(0,eE.D$)(t=>(0,d.R1)(m)(e.path),["stop"]))},null,8,["icon","label"])]),default:(0,u.k6)(()=>[(0,u.Lk)("div",cJ,[(0,u.Lk)("div",c0,[Object.keys(r.value).length>0?((0,u.uX)(),(0,u.CE)("div",c1,[(0,u.bF)(rY,{value:r.value},null,8,["value"])])):(0,u.Q3)("",!0),n.value?((0,u.uX)(),(0,u.CE)("div",c2,[(0,u.bF)(id,{requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"])])):(0,u.Q3)("",!0),(0,u.Lk)("div",c4,[(0,u.bF)(i9,{selectedContentType:o.value,"onUpdate:selectedContentType":f[2]||(f[2]=e=>o.value=e),document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.operation.parameters,requestBody:(0,d.R1)(b.A)(e.operation.requestBody)},null,8,["selectedContentType","document","eventBus","options","parameters","requestBody"])]),(0,u.Lk)("div",c8,[(0,u.bF)(cr,{selectedContentTypes:p.value,"onUpdate:selectedContentTypes":f[3]||(f[3]=e=>p.value=e),document:e.document,eventBus:e.eventBus,options:e.options,responses:e.operation.responses},null,8,["selectedContentTypes","document","eventBus","options","responses"])]),e.operation?.callbacks?((0,u.uX)(),(0,u.CE)("div",c3,[(0,u.bF)(cm,{callbacks:e.operation.callbacks,document:e.document,eventBus:e.eventBus,options:e.options,path:e.path},null,8,["callbacks","document","eventBus","options","path"])])):(0,u.Q3)("",!0)]),e.operation.responses?((0,u.uX)(),(0,u.Wv)((0,d.R1)(iY),{key:0,class:"operation-example-card",eventBus:e.eventBus,responses:e.operation.responses,selectedContentTypes:p.value,selectedExample:e.selectedExample},null,8,["eventBus","responses","selectedContentTypes","selectedExample"])):(0,u.Q3)("",!0),(0,u.Lk)("div",null,[e.operation.externalDocs?((0,u.uX)(),(0,u.Wv)((0,d.R1)(r4),{key:0},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(r7),{value:e.operation.externalDocs},null,8,["value"])]),_:1})):(0,u.Q3)("",!0),(0,u.bF)((0,d.R1)(rz.X),null,{default:(0,u.k6)(()=>[((0,u.uX)(),(0,u.Wv)((0,d.R1)(aK.Gv),{key:c.value,class:"operation-example-card",clientOptions:e.clientOptions,eventBus:e.eventBus,fallback:"",isWebhook:e.isWebhook,method:e.method,operation:e.operation,path:e.path,requestBodyCompositionSelection:i.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:o.value,selectedExample:e.selectedExample,selectedServer:e.selectedServer,"onUpdate:exampleKey":f[4]||(f[4]=e=>l.value=e)},null,8,["clientOptions","eventBus","isWebhook","method","operation","path","requestBodyCompositionSelection","securitySchemes","selectedClient","selectedContentType","selectedExample","selectedServer"]))]),_:1})])])]),_:2},[e.operation.description?{name:"description",fn:(0,u.k6)(()=>
204[(0,u.bF)((0,d.R1)(aV.m),{anchorPrefix:e.id,"aria-label":(0,d.R1)(t)("common.description"),role:"group",transformType:"heading",value:e.operation.description,withAnchors:"",withImages:""},null,8,["anchorPrefix","aria-label","value"])]),key:"0"}:void 0]),1032,["id","aria-label","modelValue"]))}}),[["__scopeId","data-v-d70f7395"]]),c5=a(23387),c7={class:"ask-agent-scalar-input-label"},c9=["placeholder"],ue={class:"ask-agent-scalar-send",type:"submit"},ut=s((0,u.pM)({__name:"AskAgentButton",setup(e){let t=tA(),{translate:a}=v(),r=(0,d.KR)(""),n=(0,d.KR)();return(e,o)=>(0,d.R1)(t)?.agentEnabled.value?((0,u.uX)(),(0,u.CE)("form",{key:0,class:"agent-button-container",onClick:o[1]||(o[1]=e=>n.value?.focus()),onSubmit:o[2]||(o[2]=(0,eE.D$)(e=>void(t.value?.openAgent(r.value),r.value=""),["prevent"]))},[(0,u.bF)((0,d.R1)(tQ),{class:"size-3 shrink-0",weight:"fill"}),(0,u.Lk)("div",c7,(0,Q.v_)((0,d.R1)(a)("agent.askAiAgent")),1),(0,u.bo)((0,u.Lk)("input",{ref_key:"inputRef",ref:n,"onUpdate:modelValue":o[0]||(o[0]=e=>r.value=e),class:(0,Q.C4)(["ask-agent-scalar-input",{"ask-agent-scalar-input-not-empty":r.value.length>0}]),placeholder:(0,d.R1)(a)("agent.askAiAgent")},null,10,c9),[[eE.Jo,r.value]]),(0,u.Lk)("button",ue,[(0,u.bF)((0,d.R1)(c5.A),{class:"size-3",weight:"bold"})])],32)):(0,u.Q3)("",!0)}}),[["__scopeId","data-v-10a4fb90"]]),ua={class:"flex flex-row justify-between gap-1"},ur={class:"flex gap-1"},un={class:"flex gap-1"},uo={class:"operation-layout"},ul={class:"operation-auth"},us={class:"operation-description"},ui={class:"operation-details"},uc={class:"examples"},uu={class:"flex"},ud=s((0,u.pM)({__name:"ModernLayout",props:{id:{},method:{},options:{},path:{},clientOptions:{},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{},requiredSecurity:{},document:{}},setup(e){let{translate:t}=v(),a=(0,u.EW)(()=>e.operation.summary||e.path||""),r=(0,u.Bi)(),n=(0,u.EW)(()=>rA(e.operation)),o=(0,d.KR)(),l=(0,d.KR)({}),s=(0,u.EW)(()=>({...l.value})),i=(0,u.EW)(()=>JSON.stringify(s.value));(0,u.Gt)(o6,l);let c=(0,d.KR)({}),{level:p}=r$("operation");return(l,m)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(rM),{id:e.id,"aria-labelledby":(0,d.R1)(r),label:a.value,tabindex:"-1",onIntersecting:m[3]||(m[3]=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id}))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rD),null,{default:(0,u.k6)(()=>[(0,u.Lk)("div",ua,[(0,u.Lk)("div",ur,[e.options?.showOperationId&&e.operation.operationId?((0,u.uX)(),(0,u.Wv)((0,d.R1)(rR),{key:0},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(e.operation.operationId),1)]),_:1})):(0,u.Q3)("",!0),(0,d.R1)(cL)(e.operation)?((0,u.uX)(),(0,u.Wv)((0,d.R1)(rR),{key:1,class:(0,Q.C4)(["capitalize",(0,d.R1)(cM)(e.operation)])},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(cL)(e.operation)),1)]),_:1},8,["class"])):(0,u.Q3)("",!0),e.isWebhook?((0,u.uX)(),(0,u.Wv)((0,d.R1)(rR),{key:2,class:"font-code text-green flex w-fit items-center justify-center gap-1"},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(ed.A),{weight:"bold"}),(0,u.eW)(" "+(0,Q.v_)((0,d.R1)(t)("operation.webhook")),1)]),_:1})):(0,u.Q3)("",!0),(0,u.bF)((0,d.R1)(cV),{badges:e.operation["x-badges"],position:"before"},null,8,["badges"])]),(0,u.Lk)("div",un,[(0,u.bF)((0,d.R1)(cV),{badges:e.operation["x-badges"],position:"after"},null,8,["badges"])])]),(0,u.Lk)("div",uo,[(0,u.Lk)("div",{class:(0,Q.C4)(["operation-title",(0,d.R1)(cQ)(e.operation)&&"deprecated"])},[(0,u.bF)((0,d.R1)(oj),{onCopyAnchorUrl:m[0]||(m[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id}))},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rF),{id:(0,d.R1)(r),level:(0,d.R1)(p)},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(a.value),1)]),_:1},8,["id","level"])]),_:1})],2),(0,u.Lk)("div",ul,[(0,u.bF)(cj,{requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"])]),(0,u.Lk)("div",us,[(0,u.bF)(rY,{value:n.value},null,8,["value"]),(0,u.bF)((0,d.R1)(aV.m),{anchorPrefix:e.id,"aria-label":(0,d.R1)(t)("common.description"),role:"group",transformType:"heading",value:e.operation.description,withAnchors:"",withImages:""},null,8,["anchorPrefix","aria-label","value"])]),(0,u.Lk)("div",ui,[(0,u.bF)(id,{requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"]),(0,u.bF)(i9,{selectedContentType:o.value,"onUpdate:selectedContentType":m[1]||(m[1]=e=>o.value=e),breadcrumb:[e.id],document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.operation.parameters,requestBody:(0,d.R1)(b.A)(e.operation.requestBody)},null,8,["selectedContentType","breadcrumb","document","eventBus","options","parameters","requestBody"]),(0,u.bF)(cr,{selectedContentTypes:c.value,"onUpdate:selectedContentTypes":m[2]||(m[2]=e=>c.value=e),breadcrumb:[e.id],collapsableItems:!e.options.expandAllResponses,document:e.document,eventBus:e.eventBus,options:e.options,responses:e.operation.responses},null,8,["selectedContentTypes","breadcrumb","collapsableItems","document","eventBus","options","responses"]),(0,u.bF)((0,d.R1)(rz.X),null,{default:(0,u.k6)(()=>[e.operation.callbacks?((0,u.uX)(),(0,u.Wv)(cm,{key:0,callbacks:e.operation.callbacks,class:"mt-6",document:e.document,eventBus:e.eventBus,options:e.options,path:e.path},null,8,["callbacks","document","eventBus","options","path"])):(0,u.Q3)("",!0)]),_:1})]),(0,u.Lk)("div",uc,[e.operation.externalDocs?((0,u.uX)(),(0,u.Wv)((0,d.R1)(r4),{key:0},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(r7),{value:e.operation.externalDocs},null,8,["value"])]),_:1})):(0,u.Q3)("",!0),(0,u.bF)((0,d.R1)(rz.X),null,{default:(0,u.k6)(()=>[((0,u.uX)(),(0,u.Wv)((0,d.R1)(aK.Gv),{key:i.value,clientOptions:e.clientOptions,eventBus:e.eventBus,fallback:"",isWebhook:e.isWebhook,method:e.method,operation:e.operation,path:e.path,requestBodyCompositionSelection:s.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:o.value,selectedExample:e.selectedExample,selectedServer:e.selectedServer},{header:(0,u.k6)(()=>
204[(0,u.bF)(iQ,{class:"font-code text-c-2 [&_em]:text-c-1 min-w-0 [&_em]:not-italic",deprecated:e.operation?.deprecated,path:e.path},null,8,["deprecated","path"])]),footer:(0,u.k6)(({exampleName:t})=>[(0,u.Lk)("div",uu,[(0,u.bF)(ut),e.options.hideTestRequestButton?(0,u.Q3)("",!0):((0,u.uX)(),(0,u.Wv)((0,d.R1)(cN),{key:0,id:e.id,eventBus:e.eventBus,exampleName:t,method:e.method,path:e.path,requestBodyCompositionSelection:s.value},null,8,["id","eventBus","exampleName","method","path","requestBodyCompositionSelection"]))])]),_:1},8,["clientOptions","eventBus","isWebhook","method","operation","path","requestBodyCompositionSelection","securitySchemes","selectedClient","selectedContentType","selectedExample","selectedServer"]))]),_:1}),(0,u.bF)((0,d.R1)(rz.X),null,{default:(0,u.k6)(()=>[e.operation.responses?((0,u.uX)(),(0,u.Wv)((0,d.R1)(iY),{key:0,eventBus:e.eventBus,responses:e.operation.responses,selectedContentTypes:c.value,selectedExample:e.selectedExample,style:{"margin-top":"12px"}},null,8,["eventBus","responses","selectedContentTypes","selectedExample"])):(0,u.Q3)("",!0)]),_:1})])])]),_:1})]),_:1},8,["id","aria-labelledby","label"]))}}),[["__scopeId","data-v-29191aa0"]]),up=(0,u.pM)({__name:"Operation",props:{id:{},method:{},options:{},document:{},path:{},pathValue:{},server:{},securitySchemes:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},authStore:{}},setup(e){let t=(0,u.EW)(()=>{let t=(0,b.A)(e.pathValue?.[e.method]);if(!t)return null;let a=(0,E.U$)(e.pathValue?.parameters,t.parameters);return{...t,parameters:a}}),a=(0,u.EW)(()=>((...e)=>{for(let t of e)if(t){if(!Array.isArray(t)){let e=(0,b.A)(t);if(e?.url)return e;continue}for(let e of t){let t=(0,b.A)(e);if(t?.url)return t}}return null})(t.value?.servers??null,e.pathValue?.servers??null,e.server)),r=(0,u.EW)(()=>io(t.value,e.document)),n=(0,u.EW)(()=>((e,t,a,r,n={})=>{let o=t?.security??e.security??[],l=(0,E.Yr)(a,r,o),s=new Set(o.map(e=>i_(e))),i=l.selectedSchemes[l.selectedIndex];if(i&&s.has(i_(i)))return(0,E.VL)(n,i);for(let e of l.selectedSchemes)if(s.has(i_(e)))return(0,E.VL)(n,e);return t?.security?.length?(0,E.VL)(n,o[0]??{}):[]})(e.document,t.value,e.authStore.getAuthSelectedSchemas({type:"document",documentName:e.document?.["x-scalar-navigation"]?.name??""}),e.authStore.getAuthSelectedSchemas({type:"operation",documentName:e.document?.["x-scalar-navigation"]?.name??"",path:e.path,method:e.method}),e.securitySchemes));return(o,l)=>t.value?((0,u.uX)(),(0,u.CE)(u.FK,{key:0},["classic"===e.options.layout?((0,u.uX)(),(0,u.Wv)(c6,{key:0,id:e.id,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,isCollapsed:e.isCollapsed,isWebhook:e.isWebhook,method:e.method,operation:t.value,options:e.options,path:e.path,requiredSecurity:r.value,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedSecuritySchemes:n.value,selectedServer:a.value},null,8,["id","clientOptions","document","eventBus","isCollapsed","isWebhook","method","operation","options","path","requiredSecurity","selectedClient","selectedExample","selectedSecuritySchemes","selectedServer"])):((0,u.uX)(),(0,u.Wv)(ud,{key:1,id:e.id,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,isWebhook:e.isWebhook,method:e.method,operation:t.value,options:e.options,path:e.path,requiredSecurity:r.value,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedSecuritySchemes:n.value,selectedServer:a.value},null,8,["id","clientOptions","document","eventBus","isWebhook","method","operation","options","path","requiredSecurity","selectedClient","selectedExample","selectedSecuritySchemes","selectedServer"]))],64)):(0,u.Q3)("",!0)}}),um=["id"],uh=(0,u.pM)({__name:"TraversedEntry",props:{authStore:{},level:{default:0},insideTagContainer:{type:Boolean,default:!1},entries:{},document:{},clientOptions:{},options:{},selectedServer:{},securitySchemes:{},selectedClient:{},selectedExample:{},expandedItems:{},eventBus:{}},setup(e){let t=e=>"tag"===e.type&&!0===e.isGroup&&!0===e.isTagGroup,a=e=>"tag"===e.type&&!t(e)&&"models"!==e.id;return(r,n)=>{let o=(0,u.g2)("TraversedEntry",!0);return(0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(e.entries,r=>((0,u.uX)(),(0,u.Wv)(sN,{id:r.id,key:`${r.id}-${e.options.layout}`,expanded:!!e.expandedItems[r.id]},{default:(0,u.k6)(()=>["operation"===r.type||"webhook"===r.type?((0,u.uX)(),(0,u.Wv)((0,d.R1)(rq),{key:0,omit:0!==e.level},{default:(0,u.k6)(()=>{var t;return[(0,u.bF)((0,d.R1)(up),{id:r.id,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,isCollapsed:!e.expandedItems[r.id],isWebhook:"webhook"===r.type,method:r.method,options:e.options,path:"webhook"===r.type?r.name:r.path,pathValue:"webhook"===(t=r).type?(0,T.Nv)(e.document.webhooks?.[t.name]):(0,T.Nv)(e.document.paths?.[t.path]),securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,server:e.selectedServer},null,8,["id","authStore","clientOptions","document","eventBus","isCollapsed","isWebhook","method","options","path","pathValue","securitySchemes","selectedClient","selectedExample","server"])]}),_:2}
204,1032,["omit"])):a(r)||t(r)&&"classic"===e.options.layout?((0,u.uX)(),(0,u.Wv)((0,d.R1)(sW),{key:1,eventBus:e.eventBus,isCollapsed:!e.expandedItems[r.id],layout:e.options.layout,moreThanOneTag:e.entries.filter(a).length>1,nested:e.insideTagContainer,tag:r},{default:(0,u.k6)(()=>["children"in r&&r.children?.length?((0,u.uX)(),(0,u.Wv)(o,{key:0,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:r.children,eventBus:e.eventBus,expandedItems:e.expandedItems,insideTagContainer:!0,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedExample","selectedServer"])):(0,u.Q3)("",!0)]),_:2},1032,["eventBus","isCollapsed","layout","moreThanOneTag","nested","tag"])):t(r)?((0,u.uX)(),(0,u.CE)("div",{key:2,id:r.id},[(0,u.bF)(o,{authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:r.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,insideTagContainer:e.insideTagContainer,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","insideTagContainer","level","options","securitySchemes","selectedClient","selectedExample","selectedServer"])],8,um)):"models"===r.type&&e.document.components?.schemas?((0,u.uX)(),(0,u.Wv)(sR,{key:3,id:r.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[r.id],layout:e.options.layout,modelsSectionLabel:e.options.modelsSectionLabel},{default:(0,u.k6)(()=>[(0,u.bF)(o,{authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:r.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedExample","selectedServer"])]),_:2},1032,["id","eventBus","isCollapsed","layout","modelsSectionLabel"])):"model"===r.type&&e.document.components?.schemas?.[r.name]?((0,u.uX)(),(0,u.Wv)(sx,{key:4,id:r.id,document:e.document,eventBus:e.eventBus,isCollapsed:!e.expandedItems[r.id],name:r.name,options:e.options,schema:(0,d.R1)(b.A)(e.document.components.schemas[r.name])},null,8,["id","document","eventBus","isCollapsed","name","options","schema"])):(0,u.Q3)("",!0)]),_:2},1032,["id","expanded"]))),128)}}}),uf=["id"],ug=(0,u.pM)({__name:"RenderPluginView",props:{item:{},options:{},eventBus:{}},setup(e){let t=(0,u.rk)("el");return tK(t,()=>{e.item.sidebar?.show&&e.eventBus?.emit("intersecting:nav-item",{id:e.item.id})}),(a,r)=>((0,u.uX)(),(0,u.CE)("div",{id:e.item.id,ref_key:"el",ref:t},[(0,u.bF)((0,d.R1)(rz.X),null,{default:(0,u.k6)(()=>[e.item.renderer?((0,u.uX)(),(0,u.Wv)((0,u.$y)(e.item.renderer),(0,Q._B)((0,u.v6)({key:0},{component:e.item.component,options:e.options,...e.item.props})),null,16)):((0,u.uX)(),(0,u.Wv)((0,u.$y)(e.item.component),(0,Q._B)((0,u.v6)({key:1},{options:e.options,...e.item.props})),null,16))]),_:1})],8,uf))}}),uv={key:0,class:"plugin-view"},uy=(0,u.pM)({__name:"RenderPlugins",props:{viewName:{},options:{},eventBus:{},documentSlug:{}},setup(e){let{getViewComponents:t}=t4(),a=(0,u.EW)(()=>t(e.viewName,e.documentSlug));return(t,r)=>a.value.length?((0,u.uX)(),(0,u.CE)("div",uv,[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(a.value,t=>((0,u.uX)(),(0,u.Wv)(ug,{key:t.id,eventBus:e.eventBus,item:t,options:e.options},null,8,["eventBus","item","options"]))),128))])):(0,u.Q3)("",!0)}}),ub={class:"section-flare"},uO=s({},[["render",function(e,t){return(0,u.uX)(),(0,u.CE)("div",ub,[...t[0]||(t[0]=[(0,u.Fv)('<div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div>',8)])])}],["__scopeId","data-v-5cebff7a"]]),uk=a(17734),ux={class:"narrow-references-container"},uw={key:3,class:"h-dvh"},uS=(0,u.pM)({__name:"Content",props:{infoSectionId:{},contextChain:{default:()=>[]},documentSlug:{},options:{},document:{},clientDocument:{},authStore:{},xScalarDefaultClient:{},xScalarDefaultExample:{},items:{},expandedItems:{},eventBus:{},environment:{},headingSlugGenerator:{type:Function}},setup(e){let t=(0,u.EW)(()=>(0,aK.Lz)((0,uk.$)(e.options.hiddenClients))),a=(0,u.EW)(()=>i$(e.items,e.options.layout).length>=2),r=(0,u.EW)(()=>e.contextChain.length>=2?e.contextChain:i$(e.items,e.options.layout)),n=(0,u.EW)(()=>n1(o.value?.info?.["x-scalar-sdk-installation"])),o=(0,u.EW)(()=>(0,P.yF)(e.document)?e.document:void 0),l=(0,u.EW)(()=>(0,P.yF)(e.clientDocument)?e.clientDocument:void 0),s=(0,u.EW)(()=>
204(0,P.KK)(e.document)?e.document:void 0),i=(0,u.EW)(()=>(0,P.KK)(e.clientDocument)?e.clientDocument:void 0),c=(0,u.EW)(()=>(0,P.K7)(e.document)),p=(0,u.EW)(()=>(0,P.KK)(e.document)?e.document["x-original-aas-version"]??e.document.asyncapi:o.value?.["x-original-oas-version"]),m=(0,u.EW)(()=>rA(e.document)),h=(0,u.EW)(()=>rA(e.document?.info)),f=(0,u.EW)(()=>(0,E.Ve)(e.options?.servers??l.value?.servers,{baseServerUrl:e.options?.baseServerURL,documentUrl:e.clientDocument?.["x-scalar-original-source-url"]})),g=(0,u.EW)(()=>(0,E.rd)(l.value??null,null,null,f.value)),v=(0,u.EW)(()=>i.value?th(i.value,{webSocketOnly:!1}):[]),y=(0,u.EW)(()=>((e,t)=>{if(!(0,P.KK)(e))return t[0]??null;let a=e["x-scalar-selected-server"];return null==a?t[0]??null:t.find(({name:e})=>e===a)??t[0]??null})(i.value??null,v.value)),O=(0,u.EW)(()=>{let t=i.value??l.value;return(0,E.p2)((t?.components?(0,b.A)(t.components):void 0)?.securitySchemes,e.options.authentication?.securitySchemes,e.authStore,t?.["x-scalar-navigation"]?.name??"",e.options.oauth2RedirectUri)}),k=(0,u.EW)(()=>!!e.document&&(!!s.value||!e.options.hideTestRequestButton));return(0,u.sV)(()=>{"u">typeof window&&window.setTimeout(()=>aj(),400)}),(0,u.Gt)(rC,"document"),(l,i)=>((0,u.uX)(),(0,u.CE)(u.FK,null,[(0,u.bF)((0,d.R1)(uO)),(0,u.Lk)("div",ux,[(0,u.RG)(l.$slots,"start"),(0,u.bF)((0,d.R1)(uy),{documentSlug:e.documentSlug,eventBus:e.eventBus,options:e.options,viewName:"content.start"},null,8,["documentSlug","eventBus","options"]),(0,u.bF)((0,d.R1)(nK),{id:e.infoSectionId,documentDownloadType:e.options.documentDownloadType,documentExtensions:m.value,documentType:c.value,documentUrl:e.document?.["x-scalar-original-source-url"],eventBus:e.eventBus,externalDocs:o.value?.externalDocs,headingSlugGenerator:e.headingSlugGenerator,info:e.document?.info,infoExtensions:h.value,layout:e.options.layout,specificationVersion:p.value},{selectors:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rz.X),null,{default:(0,u.k6)(()=>[f.value?.length?((0,u.uX)(),(0,u.Wv)((0,d.R1)(n0),{key:0,class:"scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(oh),{eventBus:e.eventBus,selectedServer:g.value,servers:f.value},null,8,["eventBus","selectedServer","servers"])]),_:1})):(0,u.Q3)("",!0)]),_:1}),(0,u.bF)((0,d.R1)(rz.X),null,{default:(0,u.k6)(()=>[v.value.length?((0,u.uX)(),(0,u.Wv)((0,d.R1)(n0),{key:0,class:"scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(aH),{eventBus:e.eventBus,selectedServer:y.value,servers:v.value},null,8,["eventBus","selectedServer","servers"])]),_:1})):(0,u.Q3)("",!0)]),_:1}),(0,u.bF)((0,d.R1)(rz.X),null,{default:(0,u.k6)(()=>[k.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(n0),{key:0,class:"scalar-reference-intro-auth scalar-client introduction-card-item leading-normal"},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(iS),{authStore:e.authStore,document:e.clientDocument,environment:e.environment,eventBus:e.eventBus,options:e.options,securitySchemes:O.value,selectedServer:g.value},null,8,["authStore","document","environment","eventBus","options","securitySchemes","selectedServer"])]),_:1})):(0,u.Q3)("",!0)]),_:1}),(0,u.bF)((0,d.R1)(rz.X),null,{default:(0,u.k6)(()=>[n.value.length?((0,u.uX)(),(0,u.Wv)((0,d.R1)(n0),{key:0,class:"introduction-card-item scalar-reference-intro-clients"},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(oo),{class:"introduction-card-item scalar-reference-intro-clients",eventBus:e.eventBus,selectedClient:e.xScalarDefaultClient,xScalarSdkInstallation:n.value},null,8,["eventBus","selectedClient","xScalarSdkInstallation"])]),_:1})):t.value.length&&!s.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(n0),{key:1,class:"introduction-card-item scalar-reference-intro-clients"},{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(rw),{class:"introduction-card-item scalar-reference-intro-clients",clientOptions:t.value,eventBus:e.eventBus,selectedClient:e.xScalarDefaultClient},null,8,["clientOptions","eventBus","selectedClient"])]),_:1})):(0,u.Q3)("",!0)]),_:1})]),_:1},8,["id","documentDownloadType","documentExtensions","documentType","documentUrl","eventBus","externalDocs","headingSlugGenerator","info","infoExtensions","layout","specificationVersion"]),a.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(iT),{key:0,chain:r.value,onNavigate:i[0]||(i[0]=t=>e.eventBus.emit("scroll-to:nav-item",{id:t}))},null,8,["chain"])):(0,u.Q3)("",!0),e.items.length&&o.value?((0,u.uX)(),(0,u.Wv)(uh,{key:1,authStore:e.authStore,clientOptions:t.value,document:o.value,entries:e.items,eventBus:e.eventBus,expandedItems:e.expandedItems,options:e.options,securitySchemes:O.value,selectedClient:e.xScalarDefaultClient,selectedExample:e.xScalarDefaultExample,selectedServer:g.value},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","options","securitySchemes","selectedClient","selectedExample","selectedServer"])):e.items.length&&s.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(ix),{key:2,document:s.value,entries:e.items,eventBus:e.eventBus,expandedItems:e.expandedItems,options:e.options},null,8,["document","entries","eventBus","expandedItems","options"])):(0,u.Q3)("",!0),(0,u.bF)((0,d.R1)(uy),{documentSlug:e.documentSlug,eventBus:e.eventBus,options:e.options,viewName:"content.end"},null,8,["documentSlug","eventBus","options"]),(0,u.RG)(l.$slots,"end"),(0,d.R1)(aS)?(0,u.Q3)("",!0):((0,u.uX)(),(0,u.CE)("div",uw))])],64))}}),uC={key:0,"aria-hidden":"true","data-scalar-crawler-nav":"",hidden:""},u$=["href"],uA=(0,u.pM)({__name:"CrawlerNav",props:{items:{},basePath:{},isMultiDocument:{type:Boolean},options:{}},setup(e){let t=(0,u.EW)(()=>{let t=[],a=r=>{for(let n of(0,L.J8)("reference",r,e.options?.hideOperationDefaultExamples)){let r=a
204d(n.id,e.basePath,e.isMultiDocument);r&&t.push({id:n.id,href:r,title:n.title}),"children"in n&&n.children&&a(n.children)}};return a(e.items),t});return(e,a)=>t.value.length>0?((0,u.uX)(),(0,u.CE)("nav",uC,[(0,u.Lk)("ul",null,[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(t.value,e=>((0,u.uX)(),(0,u.CE)("li",{key:e.id},[(0,u.Lk)("a",{href:e.href},(0,Q.v_)(e.title),9,u$)]))),128))])])):(0,u.Q3)("",!0)}}),uR={key:0},uE={key:1},uP={key:2},uT={key:3},u_={key:4},uj={key:5},uQ=(0,u.pM)({name:"ScalarIconList",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",uR,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",uE,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M216,64V192H40V64Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",uP,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",uT,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",u_,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",uj,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),uL={class:"flex h-(--scalar-header-height) w-full items-center border-b bg-inherit px-2"},uM={key:1,class:"flex-1 text-sm font-medium whitespace-nowrap"},uZ={class:"flex h-6 items-center gap-1 pl-1"},uU=(0,u.pM)({__name:"MobileHeader",props:{breadcrumb:{},isSidebarOpen:{type:Boolean},showSidebar:{type:Boolean}},emits:["toggleSidebar"],setup(e,{emit:t}){let{translate:a}=v(),r=(0,em.Fj)({base:"lg:hidden items-center bg-b-1 sticky top-(--scalar-custom-header-height,0) z-10 [grid-area:header]",variants:{open:{true:"h-(--refs-sidebar-height) custom-scrollbar flex flex-col z-50"}}});return(n,o)=>((0,u.uX)(),(0,u.CE)(u.FK,null,[(0,u.RG)(n.$slots,"sidebar",(0,Q._B)((0,u.Ng)({sidebarClasses:"hidden lg:flex sticky top-(--refs-header-height) h-(--refs-sidebar-height) w-(--refs-sidebar-width) [grid-area:navigation]"}))),(0,u.Lk)("div",{class:(0,Q.C4)(["t-doc__header",(0,d.R1)(r)({open:e.isSidebarOpen})])},[(0,u.Lk)("header",uL,[e.showSidebar?((0,u.uX)(),(0,u.Wv)((0,d.R1)(eU.E),{key:0,icon:e.isSidebarOpen?(0,d.R1)(tM.A):(0,d.R1)(uQ),label:e.isSidebarOpen?(0,d.R1)(a)("navigation.closeMenu"):(0,d.R1)(a)("navigation.openMenu"),size:"md",onClick:o[0]||(o[0]=e=>t("toggleSidebar"))},null,8,["icon","label"])):(0,u.Q3)("",!0),e.showSidebar?((0,u.uX)(),(0,u.CE)("span",uM,(0,Q.v_)(e.breadcrumb),1)):(0,u.RG)(n.$slots,"search",{},void 0,void 0,2),(0,u.Lk)("div",uZ,[(0,u.RG)(n.$slots,"actions")])]),e.isSidebarOpen?(0,u.RG)(n.$slots,"sidebar",(0,Q._B)((0,u.Ng)({sidebarClasses:"overflow-y-auto custom-scrollbar min-h-0 flex-1 w-full border-none"})),void 0,void 0,0):(0,u.Q3)("",!0)],2)],64))}}),uX=a(30698),uI=a(37433),uB={class:"text-c-2 hover:text-c-1 hover:bg-b-2 flex items-center gap-1 rounded px-2 py-2.25 text-base leading-none",type:"button"},uq={class:"custom-scroll bg-b-1 flex flex-col gap-7 rounded-lg p-7 pb-6"},uW={class:"text-c-2 flex items-center justify-center gap-1 p-2 text-sm"},uD=(0,u.pM)({__name:"ApiReferenceToolbarPopover",setup(e){let{translate:t}=v();return(e,a)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(uI.w),{class:"max-h-[inherit] max-w-[inherit] p-0 text-base",placement:"bottom-end",teleport:""},{default:(0,u.k6)(({open:t})=>[(0,u.RG)(e.$slots,"button",{open:t},()=>[(0,u.Lk)("button",uB,[(0,u.RG)(e.$slots,"label"),(0,u.bF)((0,d.R1)(aZ.A),{class:(0,Q.C4)(["size-3",{"rotate-180":t}])},null,8,["class"])])])]),popover:(0,u.k6)(a=>[(0,u.Lk)("div",uq,[(0,u.RG)(e.$slots,"default",(0,Q._B)((0,u.Ng)(a)))]),(0,u.Lk)("div",uW,[(0,u.bF)((0,d.R1)(uX.A),{class:"size-3.5 shrink-0"}),(0,u.Lk)("div",null,[(0,u.RG)(e.$slots,"info",{},()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("developerTools.localhostOnly")),1)])])])]),backdrop:(0,u.k6)(()=>
204[(0,u.bF)((0,d.R1)(cC.F),{class:"bg-b-2 rounded-lg"})]),_:3}))}}),uN={class:"text-c-2 hover:text-c-1 hover:bg-b-2 ml-auto flex items-center gap-1 rounded px-2 py-2.25 text-base leading-none",type:"button"},uV={class:"-m-2 flex flex-col gap-2 leading-relaxed"},uF={class:"bg-b-2 inline-flex items-center gap-0.5 rounded border px-1 py-0.5 text-sm"},uz='showDeveloperTools: "never"',uH=(0,u.pM)({__name:"ApiReferenceToolbarTitle",setup(e){let{copyToClipboard:t}=(0,tB.i)(),{translate:a}=v();return(e,r)=>((0,u.uX)(),(0,u.Wv)(uD,{class:"w-120",placement:"bottom-start"},{button:(0,u.k6)(()=>[(0,u.Lk)("button",uN,[(0,u.bF)((0,d.R1)(uX.A)),(0,u.eW)(" "+(0,Q.v_)((0,d.R1)(a)("developerTools.title")),1)])]),info:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.localhostOnly")),1)]),default:(0,u.k6)(()=>[(0,u.Lk)("div",uV,[(0,u.Lk)("div",null,(0,Q.v_)((0,d.R1)(a)("developerTools.intro")),1),(0,u.Lk)("div",null,[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.disableToolbarBefore"))+" ",1),(0,u.Lk)("div",uF,[(0,u.Lk)("code",{class:"font-code"},(0,Q.v_)(uz)),(0,u.bF)((0,d.R1)(eU.E),{class:"-m-1 p-1.25",icon:(0,d.R1)(cF.A),label:(0,d.R1)(a)("actions.copyToClipboard"),size:"sm",onClick:r[0]||(r[0]=e=>(0,d.R1)(t)(uz))},null,8,["icon","label"])]),(0,u.eW)(" "+(0,Q.v_)((0,d.R1)(a)("developerTools.disableToolbarAfter")),1)])])]),_:1}))}}),uY={class:"text-c-3 [&_code]:font-code [&_a:hover]:text-c-1 text-center leading-normal [&_a]:underline"},uG=s({},[["render",function(e,t){return(0,u.uX)(),(0,u.CE)("p",uY,[(0,u.RG)(e.$slots,"default")])}]]),uK=(0,u.pM)({__name:"ApiReferenceToolbarRegisterButton",props:(0,u.zz)({workspace:{},externalUrls:{},sdks:{default:()=>[]}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){let t=(0,u.fn)(e,"url"),{toast:a}=(0,tq.Yf)(),r=(0,tD.R)(),{translate:n}=v();function o(t){let a=new URL(`${e.externalUrls.dashboardUrl}/register`);a.searchParams.set("url",t),e.sdks.forEach(e=>a.searchParams.append("sdk",e)),window.open(a.toString(),"_blank")}async function l(){if(r.isLoading||!e.workspace)return;if(t.value)return void o(t.value);r.start();let l=e.workspace.exportActiveDocument("json");if(!l){a(n("developerTools.unableToExportDocument"),"error"),await r.invalidate();return}try{t.value=await tI(l,e.externalUrls),await r.validate(),o(t.value),await (0,u.dY)(),await r.clear()}catch(e){a(e instanceof Error?e.message:n("developerTools.unknownError"),"error"),await r.invalidate()}}return(e,t)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(aU.R),{class:"h-auto p-2.5",loader:(0,d.R1)(r),onClick:l},{default:(0,u.k6)(()=>[(0,u.RG)(e.$slots,"default",{},()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(n)("developerTools.generate")),1)])]),_:3},8,["loader"]))}}),uJ={key:0},u0={key:1},u1={key:2},u2={key:3},u4={key:4},u8={key:5},u3=(0,u.pM)({name:"ScalarIconGlobeSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",uJ,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm83.13,96H179.56a144.3,144.3,0,0,0-21.35-66.36A84.22,84.22,0,0,1,211.13,116ZM128,207c-9.36-10.81-24.46-33.13-27.45-67h54.94a119.74,119.74,0,0,1-17.11,52.77A108.61,108.61,0,0,1,128,207Zm-27.45-91a119.74,119.74,0,0,1,17.11-52.77A108.61,108.61,0,0,1,128,49c9.36,10.81,24.46,33.13,27.45,67ZM97.79,49.64A144.3,144.3,0,0,0,76.44,116H44.87A84.22,84.22,0,0,1,97.79,49.64ZM44.87,140H76.44a144.3,144.3,0,0,0,21.35,66.36A84.22,84.22,0,0,1,44.87,140Zm113.34,66.36A144.3,144.3,0,0,0,179.56,140h31.57A84.22,84.22,0,0,1,158.21,206.36Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",u0,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm11.36-77.6C96.06,57.67,82,83.49,8
2040.21,120H40.37A88.19,88.19,0,0,1,107.59,42.4ZM40.37,136H80.21c1.82,36.51,15.85,62.33,27.38,77.6A88.19,88.19,0,0,1,40.37,136Zm108,77.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",u1,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm52.18,93.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",u2,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm89.8,96H173.89c-1.54-40.77-18.48-68.23-30.43-82.67A90.19,90.19,0,0,1,217.8,122ZM128,215.83a110,110,0,0,1-15.19-19.45A128.37,128.37,0,0,1,94.13,134h67.74a128.37,128.37,0,0,1-18.68,62.38A110,110,0,0,1,128,215.83ZM94.13,122a128.37,128.37,0,0,1,18.68-62.38A110,110,0,0,1,128,40.17a110,110,0,0,1,15.19,19.45A128.37,128.37,0,0,1,161.87,122Zm18.41-82.67c-12,14.44-28.89,41.9-30.43,82.67H38.2A90.19,90.19,0,0,1,112.54,39.33ZM38.2,134H82.11c1.54,40.77,18.48,68.23,30.43,82.67A90.19,90.19,0,0,1,38.2,134Zm105.26,82.67c11.95-14.44,28.89-41.9,30.43-82.67H217.8A90.19,90.19,0,0,1,143.46,216.67Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",u4,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm11.36-77.6C96.06,57.67,82,83.49,80.21,120H40.37A88.19,88.19,0,0,1,107.59,42.4ZM40.37,136H80.21c1.82,36.51,15.85,62.33,27.38,77.6A88.19,88.19,0,0,1,40.37,136Zm108,77.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",u8,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm91.9,96h-48c-1.15-45.55-21.74-74.52-33.48-87.4A92.14,92.14,0,0,1,219.91,124ZM128,218.61c-8.32-8-34.57-37.13-35.93-86.61h71.86C162.57,181.48,136.32,210.61,128,218.61ZM92.07,124C93.43,74.52,119.68,45.39,128,37.39c8.32,8,34.57,37.13,35.93,86.61Zm25.47-87.4C105.8,49.48,85.21,78.45,84.06,124h-48A92.14,92.14,0,0,1,117.54,36.6ZM36.09,132h48c1.15,45.55,21.74,74.52,33.48,87.4A92.14,92.14,0,0,1,36.09,132Zm102.37,87.4c11.74-12.88,32.33-41.85,33.48-87.4h48A92.14,92.14,0,0,1,138.46,219.4Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),u6={key:0},u5={key:1},u7={key:2},u9={key:3},de={key:4},dt={key:5},da=(0,u.pM)({name:"ScalarIconBookOpen",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",u6,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",u5,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M232,56V200H160a32,32,0,0,0-32,32,32,32,0,0,0-32-32H24V56H96a32,32,0,0,1,32,32,32,32,0,0,1,32-32Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",u7,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M240,56V200a8,8,0,0,1-8,8H160a24,24,0,0,0-24,23.94,7.9,7.9,0,0,1-5.12,7.55A8,8,0,0,1,120,232a24,24,0,0,0-24-24H24a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H88a32,32,0,0,1,32,32v87.73a8.17,8.17,0,0,0,7.47,8.25,8,8,0,0,0,8.53-8V80a32,32,0,0,1,32-32h64A8,8,0,0,1,240,56Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",u9,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",de,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V2
20400a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dt,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.93,35.93,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),dr={key:0},dn={key:1},dl={key:2},ds={key:3},di={key:4},dc={key:5},du=(0,u.pM)({name:"ScalarIconCloud",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dr,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M160,36A92.09,92.09,0,0,0,79,84.36,68,68,0,1,0,72,220h88a92,92,0,0,0,0-184Zm0,160H72a44,44,0,0,1-1.82-88A91.86,91.86,0,0,0,68,128a12,12,0,0,0,24,0,68,68,0,1,1,68,68Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dn,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M240,128a80,80,0,0,1-80,80H72A56,56,0,1,1,85.92,97.74l0,.1A80,80,0,0,1,240,128Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dl,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M160.06,40A88.1,88.1,0,0,0,81.29,88.67h0A87.48,87.48,0,0,0,72,127.73,8.18,8.18,0,0,1,64.57,136,8,8,0,0,1,56,128a103.66,103.66,0,0,1,5.34-32.92,4,4,0,0,0-4.75-5.18A64.09,64.09,0,0,0,8,152c0,35.19,29.75,64,65,64H160a88.09,88.09,0,0,0,87.93-91.48C246.11,77.54,207.07,40,160.06,40Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",ds,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M160,42A86.11,86.11,0,0,0,82.43,90.88,62,62,0,1,0,72,214h88a86,86,0,0,0,0-172Zm0,160H72a50,50,0,0,1,0-100,50.67,50.67,0,0,1,5.91.35A85.61,85.61,0,0,0,74,128a6,6,0,0,0,12,0,74,74,0,1,1,74,74Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",di,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dc,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M160,44A84.11,84.11,0,0,0,83.59,93.12,60.71,60.71,0,0,0,72,92a60,60,0,0,0,0,120h88a84,84,0,0,0,0-168Zm0,160H72a52,52,0,1,1,8.55-103.3A83.66,83.66,0,0,0,76,128a4,4,0,0,0,8,0,76,76,0,1,1,76,76Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),dd={key:0},dp={key:1},dm={key:2},dh={key:3},df={key:4},dg={key:5},dv=(0,u.pM)({name:"ScalarIconGitBranch",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dd,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M236,64a36,36,0,1,0-48,33.94V112a4,4,0,0,1-4,4H96a27.8,27.8,0,0,0-4,.29V97.94a36,36,0,1,0-24,0v60.12a36,36,0,1,0,24,0V144a4,4,0,0,1,4-4h88a28,28,0,0,0,28-28V97.94A36.07,36.07,0,0,0,236,64ZM80,52A12,12,0,1,1,68,64,12,12,0,0,1,80,52Zm0,152a12,12,0,1,1,12-12A12,12,0,0,1,80,204ZM200,76a12,12,0,1,1,12-12A12,12,0,0,1,200,76Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dp,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M224,64a24,24,0,1,1-24-24A24,24,0,0,1,224,64Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dm,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dh,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M230,64a30,30,0,1,0-36,29.4V112a10,10,0,0,1-10,10H96a21.84,21.84,0,0,0-10,2.42v-31a30,30,0,1,0-12,0v69.2a30,30,0,1,0,12,0V144a10,10,0,0,1,10-10h88a22,22,0,0,0,22-22V93.4A30.05,30.05,0,0,0,230,64ZM62,64A18,18,0,1,1,80,82,18,18,0,0,1,62,64ZM98,192a18,18,0,1,1-18-18A18,18,0,0,1,98,192ZM200,82a18,18,0,1,1,18-18A18,18,0,0,1,200,82Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",df,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dg,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M228,64a28,28,0,1,0-32,27.71V112a12,12,0,0,1-12,12H96a19.91,19.91,0,0,0-12,4V91.71a28,28,0,1,0-8,0v72.58a28,28,0,1,0,8,0V144a12,12,0,0,1,12-12h88a20,20,0,0,0,20-20V91.71A28,28,0,0,0,228,64ZM60,64A20,20,0,1,1,80,84,20,20,0,0,1,60,64Zm40,128a20,20,0,1,1-20-20A20,20,0,0,1,100,192ZM200,84a20,20,0,1,1,20-20A20,20,0,0,1,200,84Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),dy={key:0},db={key:1},dO={key:2},dk={key:3},dx={key:4},dw={key:5},dS=(0,u.pM)({name:"ScalarIconFileMd",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dy,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M100,152v56a12,12,0,0,1-24,0V190.07l-6.17,8.81a12,12,0,0,1-19.66,0L44,190.07V208a12,12,0,0,1-24,0V152a12,12,0,0,1,21.83-6.88L60,171.07l18.17-25.95A12,12,0,0,1,100,152Zm84,28a40,40,0,0,1-40,40H128a12,12,0,0,1-12-12V152a12,12,0,0,1,12-12h16A40,40,0,0,1,184,180Zm-24,0a16,16,0,0,0-16-16h-4v32h4A16,16,0,0,0,160,180Zm60-92V224a12,12,0,0,1-24,0V104H148a12,12,0,0,1-12-12V44H60v64a12,12,0,0,1-24,0V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88Zm-60-8h23L160,57Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",db,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V224a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM144,144H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h16a36,36,0,0,0,0-72Zm0,56h-8V160h8a20,20,0,0,1,0,40Zm
204-40-48v56a8,8,0,0,1-16,0V177.38L74.55,196.59a8,8,0,0,1-13.1,0L48,177.38V208a8,8,0,0,1-16,0V152a8,8,0,0,1,14.55-4.59L68,178.05l21.45-30.64A8,8,0,0,1,104,152Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dO,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H196a4,4,0,0,1,4,4V224a8,8,0,0,0,9.19,7.91,8.15,8.15,0,0,0,6.81-8.16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Zm-8,56H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,144,144Zm-.49,56H136V160h8a20,20,0,0,1,20,20.77C163.58,191.59,154.34,200,143.51,200ZM104,152v55.73A8.17,8.17,0,0,1,96.53,216,8,8,0,0,1,88,208V177.38l-13.32,19a8.3,8.3,0,0,1-4.2,3.2,8,8,0,0,1-9-3L48,177.38v30.35A8.17,8.17,0,0,1,40.53,216,8,8,0,0,1,32,208V152.31a8.27,8.27,0,0,1,4.56-7.53,8,8,0,0,1,10,2.63L68,178.05l21.27-30.39a8.28,8.28,0,0,1,8.06-3.55A8,8,0,0,1,104,152Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dk,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V224a6,6,0,0,0,12,0V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM144,146H128a6,6,0,0,0-6,6v56a6,6,0,0,0,6,6h16a34,34,0,0,0,0-68Zm0,56H134V158h10a22,22,0,0,1,0,44Zm-42-50v56a6,6,0,0,1-12,0V171L
20472.92,195.44a6,6,0,0,1-9.84,0L46,171v37a6,6,0,0,1-12,0V152a6,6,0,0,1,10.92-3.44l23.08,33,23.08-33A6,6,0,0,1,102,152Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dx,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V224a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM144,144H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h16a36,36,0,0,0,0-72Zm0,56h-8V160h8a20,20,0,0,1,0,40Zm-40-48v56a8,8,0,0,1-16,0V177.38L74.55,196.59a8,8,0,0,1-13.1,0L48,177.38V208a8,8,0,0,1-16,0V152a8,8,0,0,1,14.55-4.59L68,178.05l21.45-30.64A8,8,0,0,1,104,152Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dw,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V224a4,4,0,0,0,8,0V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM144,148H128a4,4,0,0,0-4,4v56a4,4,0,0,0,4,4h16a32,32,0,0,0,0-64Zm0,56H132V156h12a24,24,0,0,1,0,48Zm-44-52v56a4,4,0,0,1-8,0V164.69l-20.72,29.6a4,4,0,0,1-6.56,0L44,164.69V208a4,4,0,0,1-8,0V152a4,4,0,0,1,7.28-2.29L68,185l24.72-35.31A4,4,0,0,1,100,152Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),dC={key:0},d$={key:1},dA={key:2},dR={key:3},dE={key:4},dP={key:5},dT=(0,u.pM)({name:"ScalarIconWarningOctagon",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dC,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M116,132V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0ZM236,91.55v72.9a19.86,19.86,0,0,1-5.86,14.14l-51.55,51.55A19.85,19.85,0,0,1,164.45,236H91.55a19.85,19.85,0,0,1-14.14-5.86L25.86,178.59A19.86,19.86,0,0,1,20,164.45V91.55a19.86,19.86,0,0,1,5.86-14.14L77.41,25.86A19.85,19.85,0,0,1,91.55,20h72.9a19.85,19.85,0,0,1,14.14,5.86l51.55,51.55A19.86,19.86,0,0,1,236,91.55Zm-24,1.66L162.79,44H93.21L44,93.21v69.58L93.21,212h69.58L212,162.79ZM128,156a16,16,0,1,0,16,16A16,16,0,0,0,128,156Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",d$,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M224,91.55v72.9a8,8,0,0,1-2.34,5.66l-51.55,51.55a8,8,0,0,1-5.66,2.34H91.55a8,8,0,0,1-5.66-2.34L34.34,170.11A8,8,0,0,1,32,164.45V91.55a8,8,0,0,1,2.34-5.66L85.89,34.34A8,8,0,0,1,91.55,32h72.9a8,8,0,0,1,5.66,2.34l51.55,51.55A8,8,0,0,1,224,91.55Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0ZM232,91.55v72.9a15.86,15.86,0,0,1-4.69,11.31l-51.55,51.55A15.86,15.86,0,0,1,164.45,232H91.55a15.86,15.86,0,0,1-11.31-4.69L28.69,175.76A15.86,15.86,0,0,1,24,164.45V91.55a15.86,15.86,0,0,1,4.69-11.31L80.24,28.69A15.86,15.86,0,0,1,91.55,24h72.9a15.86,15.86,0,0,1,11.31,4.69l51.55,51.55A15.86,15.86,0,0,1,232,91.55Zm-16,0L164.45,40H91.55L40,91.55v72.9L91.55,216h72.9L216,164.45ZM128,160a12,12,0,1,0,12,12A12,12,0,0,0,128,160Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dA,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M227.31,80.23,175.77,28.69A16.13,16.13,0,0,0,164.45,24H91.55a16.13,16.13,0,0,0-11.32,4.69L28.69,80.23A16.13,16.13,0,0,0,24,91.55v72.9a16.13,16.13,0,0,0,4.69,11.32l51.54,51.54A16.13,16.13,0,0,0,91.55,232h72.9a16.13,16.13,0,0,0,11.32-4.69l51.54-51.54A16.13,16.13,0,0,0,232,164.45V91.55A16.13,16.13,0,0,0,227.31,80.23ZM120,80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dR,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M122,136V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0ZM230,91.55v72.9a13.92,13.92,0,0,1-4.1,9.9L174.35,225.9a13.92,13.92,0,0,1-9.9,4.1H91.55a13.92,13.92,0,0,1-9.9-4.1L30.1,174.35a13.92,13.92,0,0,1-4.1-9.9V91.55a13.92,13.92,0,0,1,4.1-9.9L81.65,30.1a13.92,13.92,0,0,1,9.9-4.1h72.9a13.92,13.92,0,0,1,9.9,4.1L225.9,81.65A13.92,13.92,0,0,1,230,91.55Zm-12,0a2,2,0,0,0-.59-1.42L165.87,38.59a2,2,0,0,0-1.42-.59H91.55a2,2,0,0,0-1.41.59L38.58,90.13A2,2,0,0,0,38,91.55v72.9a2,2,0,0,0,.59,1.42l51.54,51.54a2,2,0,0,0,1.42.59h72.9a2,2,0,0,0,1.41-.59l51.56-51.54a2,2,0,0,0,.58-1.42ZM128,162a10,10,0,1,0,10,10A10,10,0,0,0,128,162Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dE,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0ZM232,91.55v72.9a15.86,15.86,0,0,1-4.69,11.31l-51.55,51.55A15.86,15.86,0,0,1,164.45,232H91.55a15.86,15.86,0,0,1-11.31-4.69
204L28.69,175.76A15.86,15.86,0,0,1,24,164.45V91.55a15.86,15.86,0,0,1,4.69-11.31L80.24,28.69A15.86,15.86,0,0,1,91.55,24h72.9a15.86,15.86,0,0,1,11.31,4.69l51.55,51.55A15.86,15.86,0,0,1,232,91.55Zm-16,0L164.45,40H91.55L40,91.55v72.9L91.55,216h72.9L216,164.45ZM128,160a12,12,0,1,0,12,12A12,12,0,0,0,128,160Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dP,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M124,136V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0ZM228,91.55v72.9a12,12,0,0,1-3.51,8.49l-51.55,51.55a12,12,0,0,1-8.49,3.51H91.55a12,12,0,0,1-8.49-3.51L31.51,172.94A12,12,0,0,1,28,164.45V91.55a12,12,0,0,1,3.51-8.49L83.06,31.51A12,12,0,0,1,91.55,28h72.9a12,12,0,0,1,8.49,3.51l51.55,51.55A12,12,0,0,1,228,91.55Zm-8,0a4,4,0,0,0-1.17-2.83L167.28,37.17A4.06,4.06,0,0,0,164.45,36H91.55a4.06,4.06,0,0,0-2.83,1.17L37.17,88.72A4,4,0,0,0,36,91.55v72.9a4,4,0,0,0,1.17,2.83l51.55,51.55A4.06,4.06,0,0,0,91.55,220h72.9a4.06,4.06,0,0,0,2.83-1.17l51.55-51.55a4,4,0,0,0,1.17-2.83ZM128,164a8,8,0,1,0,8,8A8,8,0,0,0,128,164Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),d_={key:0},dj={key:1},dQ={key:2},dL={key:3},dM={key:4},dZ={key:5},dU=(0,u.pM)({name:"ScalarIconPlugsConnected",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",d_,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M240.49,15.51a12,12,0,0,0-17,0L173.94,65.09l-2.54-2.55a36.05,36.05,0,0,0-50.91,0L100,83l-3.51-3.52a12,12,0,0,0-17,17L83,100,62.54,120.49a36,36,0,0,0,0,50.91l2.55,2.54L15.51,223.51a12,12,0,0,0,17,17l49.57-49.58,2.54,2.55a36.06,36.06,0,0,0,50.91,0L156,173l3.51,3.52a12,12,0,0,0,17-17L173,156l20.49-20.49a36,36,0,0,0,0-50.91l-2.55-2.54,49.58-49.57A12,12,0,0,0,240.49,15.51Zm-121.95,161a12,12,0,0,1-17,0L79.51,154.43a12,12,0,0,1,0-17L100,117l39,39Zm58-57.95h0L156,139l-39-39,20.49-20.49a12,12,0,0,1,17,0l22.06,22.06a12,12,0,0,1,0,17ZM85.27,33.37a12,12,0,0,1,21.46-10.74l8,16A12,12,0,1,1,93.27,49.37Zm-68,57.26a12,12,0,0,1,16.1-5.36l16,8a12,12,0,1,1-10.74,21.46l-16-8A12,12,0,0,1,17.27,90.63Zm221.46,74.74a12,12,0,0,1-16.1,5.36l-16-8a12,12,0,0,1,10.74-21.46l16,8A12,12,0,0,1,238.73,165.37Zm-68,57.26a12,12,0,1,1-21.46,10.74l-8-16a12,12,0,0,1,21.46-10.74Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dj,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M185,127,127,185a24,24,0,0,1-33.94,0L71,162.91A24,24,0,0,1,71,129L129,71a24,24,0,0,1,33.94,0L185,93.09A24,24,0,0,1,185,127Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M237.66,18.34a8,8,0,0,0-11.32,0l-52.4,52.41-5.37-5.38a32.05,32.05,0,0,0-45.26,0L100,88.69l-6.34-6.35A8,8,0,0,0,82.34,93.66L88.69,100,65.37,123.31a32,32,0,0,0,0,45.26l5.38,5.37-52.41,52.4a8,8,0,0,0,11.32,11.32l52.4-52.41,5.37,5.38a32.06,32.06,0,0,0,45.26,0L156,167.31l6.34,6.35a8,8,0,0,0,11.32-11.32L167.31,156l23.32-23.31a32,32,0,0,0,0-45.26l-5.38-5.37,52.41-52.4A8,8,0,0,0,237.66,18.34Zm-116.29,161a16,16,0,0,1-22.62,0L76.69,157.25a16,16,0,0,1,0-22.62L100,111.31,144.69,156Zm57.94-57.94h0L156,144.69,111.31,100l23.32-23.31a16,16,0,0,1,22.62,0l22.06,22a16,16,0,0,1,0,22.63ZM88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM24.57,93A8,8,0,0,1,35,88.57l20,8A8,8,0,0,1,49,111.43l-20-8A8,8,0,0,1,24.57,93ZM231.43,163a8,8,0,0,1-10.4,4.46l-20-8A8,8,0,1,1,207,144.57l20,8A8,8,0,0,1,231.43,163Zm-64,58.06A8,8,0,0,1,152.57,227l-8-20A8,8,0,0,1,159.43,201Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dQ,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM29,103.43l20,8A8,8,0,1,0,55,96.57l-20-8A8,8,0,0,0,29,103.43ZM227,152.57l-20-8A8,8,0,1,0,201,159.43l20,8A8,8,0,0,0,227,152.57ZM159.43,201A8,8,0,0,0,144.57,207l8,20A8,8,0,1,0,167.43,221ZM237.91,18.52a8,8,0,0,0-11.5-.18L174,70.75l-5.38-5.38a32,32,0,0,0-45.28,0L106.14,82.54a4,4,0,0,0,0,5.66l61.7,61.66a4,4,0,0,0,5.66,0l16.74-16.74a32.76,32.76,0,0,0,9.81-22.52,31.82,31.82,0,0,0-9.37-23.17l-5.38-5.37,52.2-52.17A8.22,8.22,0,0,0,237.91,18.52ZM85.64,90.34a8,8,0,0,0-11.49.18,8.22,8.22,0,0,0,.41,11.37L80.67,108,65.34,123.31A31.82,31.82,0,0,0,56,
204146.47,32.75,32.75,0,0,0,65.77,169l5,4.94L18.49,226.13a8.21,8.21,0,0,0-.61,11.1,8,8,0,0,0,11.72.43L82,185.25l5.37,5.38a32.1,32.1,0,0,0,45.29,0L148,175.31l6.34,6.35a8,8,0,0,0,11.32-11.32Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dL,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M236.24,19.76a6,6,0,0,0-8.48,0L173.94,73.57l-6.79-6.78a30,30,0,0,0-42.42,0L100,91.51l-7.76-7.75a6,6,0,0,0-8.48,8.48L91.51,100,66.79,124.73a30,30,0,0,0,0,42.42l6.78,6.79L19.76,227.76a6,6,0,1,0,8.48,8.48l53.82-53.81,6.79,6.78a30,30,0,0,0,42.42,0L156,164.49l7.76,7.75a6,6,0,0,0,8.48-8.48L164.49,156l24.72-24.73a30,30,0,0,0,0-42.42l-6.78-6.79,53.81-53.82A6,6,0,0,0,236.24,19.76Zm-113.45,161a18,18,0,0,1-25.46,0L75.27,158.67a18,18,0,0,1,0-25.46L100,108.49,147.51,156Zm57.94-57.94L156,147.51,108.49,100l24.72-24.73a18,18,0,0,1,25.46,0l22.06,22.06a18,18,0,0,1,0,25.46ZM90.43,34.23a6,6,0,0,1,11.14-4.46l8,20a6,6,0,1,1-11.14,4.46Zm-64,59.54a6,6,0,0,1,7.8-3.34l20,8a6,6,0,1,1-4.46,11.14l-20-8A6,6,0,0,1,26.43,93.77Zm203.14,68.46a6,6,0,0,1-7.8,3.34l-20-8a6,6,0,0,1,4.46-11.14l20,8A6,6,0,0,1,229.57,162.23Zm-64,59.54a6,6,0,1,1-11.14,4.46l-8-20a6,6,0,0,1,11.14-4.46Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dM,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M237.66,18.34a8,8,0,0,0-11.32,0l-52.4,52.41-5.37-5.38a32.05,32.05,0,0,0-45.26,0L100,88.69l-6.34-6.35A8,8,0,0,0,82.34,93.66L88.69,100,65.37,123.31a32,32,0,0,0,0,45.26l5.38,5.37-52.41,52.4a8,8,0,0,0,11.32,11.32l52.4-52.41,5.37,5.38a32,32,0,0,0,45.26,0L156,167.31l6.34,6.35a8,8,0,0,0,11.32-11.32L167.31,156l23.32-23.31a32,32,0,0,0,0-45.26l-5.38-5.37,52.41-52.4A8,8,0,0,0,237.66,18.34Zm-116.29,161a16,16,0,0,1-22.62,0L76.69,157.25a16,16,0,0,1,0-22.62L100,111.31,144.69,156Zm57.94-57.94L156,144.69,111.31,100l23.32-23.31a16,16,0,0,1,22.62,0l22.06,22A16,16,0,0,1,179.31,121.37ZM88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM24.57,93A8,8,0,0,1,35,88.57l20,8A8,8,0,0,1,49,111.43l-20-8A8,8,0,0,1,24.57,93ZM231.43,163a8,8,0,0,1-10.4,4.46l-20-8A8,8,0,1,1,207,144.57l20,8A8,8,0,0,1,231.43,163Zm-64,58.06A8,8,0,0,1,152.57,227l-8-20A8,8,0,0,1,159.43,201Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",dZ,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M234.83,21.17a4,4,0,0,0-5.66,0L173.94,76.4l-8.2-8.2a28,28,0,0,0-39.6,0L100,94.34l-9.17-9.17a4,4,0,0,0-5.66,5.66L94.34,100,68.2,126.14a28,28,0,0,0,0,39.6l8.2,8.2L21.17,229.17a4,4,0,0,0,5.66,5.66L82.06,179.6l8.2,8.2a28,28,0,0,0,39.6,0L156,161.66l9.17,9.17a4,4,0,0,0,5.66-5.66L161.66,156l26.14-26.14a28,28,0,0,0,0-39.6l-8.2-8.2,55.23-55.23A4,4,0,0,0,234.83,21.17Zm-110.63,161a20,20,0,0,1-28.28,0L73.86,160.08a20,20,0,0,1,0-28.28L100,105.66,150.34,156Zm57.94-57.94L156,150.34,105.66,100,131.8,73.86a20,20,0,0,1,28.28,0l22.06,22.06A20,20,0,0,1,182.14,124.2ZM92.29,33.49a4,4,0,1,1,7.42-3l8,20a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,104,56a4,4,0,0,1-3.71-2.51Zm-64,61a4,4,0,0,1,5.2-2.22l20,8A4,4,0,0,1,52,108a3.91,3.91,0,0,1-1.49-.29l-20-8A4,4,0,0,1,28.29,94.51Zm199.42,67A4,4,0,0,1,224,164a3.91,3.91,0,0,1-1.49-.29l-20-8a4,4,0,1,1,3-7.42l20,8A4,4,0,0,1,227.71,161.49Zm-64,61a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,160,228a4,4,0,0,1-3.71-2.51l-8-20a4,4,0,0,1,7.42-3Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),dX={class:"text-c-2 mb-2 grid grid-cols-2 gap-2.5 font-medium"},dI=(0,u.pM)({__name:"ApiReferenceToolbarShareRegister",props:{workspace:{},externalUrls:{}},setup(e){let{translate:t}=v(),a=[{icon:cv.A,labelKey:"developerTools.passwordProtection"},{icon:u3,labelKey:"developerTools.customDomains"},{icon:da,labelKey:"developerTools.freeFormContent"},{icon:du,labelKey:"developerTools.cdnInfrastructure"},{icon:dv,labelKey:"developerTools.pullFromGitHub"},{icon:dS,labelKey:"developerTools.markdownMdx"},{icon:dT,labelKey:"developerTools.spectralLinting"},{icon:Y,labelKey:"developerTools.jsonSchemaHosting"},{icon:tQ,labelKey:"developerTools.askAi"},{icon:dU,labelKey:"developerTools.mcpServers"}];return(r,n)=>((0,u.uX)(),(0,u.CE)(u.FK,null,[(0,u.Lk)("ul",dX,[((0,u.uX)(),(0,u.CE)(u.FK,null,(0,u.pI)(a,e=>(0,u.Lk)("li",{key:e.labelKey,class:"flex items-center gap-2"},[((0,u.uX)(),(0,u.Wv)((0,u.$y)(e.icon),{class:"text-c-3 size-3.5",weight:"bold"})),(0,u.eW)(" "+(0,Q.v_)((0,d.R1)(t)(e.labelKey)),1)])),64))]),(0,u.bF)(uK,{externalUrls:e.externalUrls,workspace:e.workspace},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("developerTools.deployOnScalar")),1)]),_:1},8,["externalUrls","workspace"]),(0,u.bF)(uG,null,{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("developerTools.deployFree"))+" ",1),n[0]||(n[0]=(0,u.Lk)("br",null,null,-1)),(0,u.eW)(" "+(0,Q.v_)((0,d.R1)(t)("developerTools.additionalFeaturesMightRequire"))+" ",1),n[1]||(n[1]=(0,u.Lk)("span",null,[(0,u.Lk)("a",{href:"https://scalar.com/products/docs/getting-started",rel:"noopener noreferrer",target:"_blank"}," Scalar Pro. ")],-1))]),_:1})],64))}});a(95094),a(11283);var dB={key:0,class:"flex items-start justify-between gap-2 text-sm/none text-c-1 whitespace-nowrap font-medium"},dq=(0,u.pM)({inheritAttrs:!1,__name:"ScalarFormField",props:{is:{default:"label"}},setup(e){let{cx:t}=(0,em.AX)();return(a,r)=>((0,u.uX)(),(0,u.Wv)((0,u.$y)(e.is),(0,Q._B)((0,u.Ng)((0,d.R1)(t)("flex flex-col gap-1.5 rounded"))),{default:(0,u.k6)(()=>[a.$slots.label?((0,u.uX)(),(0,u.CE)("div",dB,[(0,u.RG)(a.$slots,"label")])):(0,u.Q3)("",!0),(0,u.RG)(a.$slots,"default"),a.$slots.below?((0,u.uX)(),(0,u.CE)("span",{key:1,class:(0,Q.C4)((0,d.R1)(t)("-mt-1.5 text-sm"))},[(0,u.RG)(a.$slots,"below")],2)):(0,u.Q3)("",!0)]),_:3},16))}}),dW=a(17438),dD=a(33640),dN=(0,u.pM)({inheritAttrs:!1,__name:"ScalarFormInputGroup",props:{is:{default:"div"}},setup(e){let{cx:t}=(0,em.AX)();return(0,dD.R)(),(a,r)=>((0,u.uX)(),(0,u.Wv)((0,u.$y)(e.is),(0,Q._B)((0,u.Ng)((0,d.R1)(t)("flex flex-col border rounded divide-y"))),{default:(0,u.k6)(()=>[(0,u.RG)(a.$slots,"default")]),_:3},16))}}),dV=a(68409),dF={class:"flex min-w-0 flex-col gap-3"},dz={class:"contents"},dH={class:"text-base font-medium text-c-1"},dY=(0,dV.A)({},[["render",function(e,t,a,r,n,o){return(0,u.uX)(),(0,u.CE)("fieldset",dF,[(0,u.Lk)("legend",dz,[(0,u.Lk)("span",dH,[(0,u.RG)(e.$slots,"label")])]),(0,u.RG)(e.$slots,"default")])}]]),dG={class:"text-c-2 mb-2 leading-normal"},dK=(0,u.pM)({__name:"DeployApiReference",props:{workspace:{},externalUrls:{}},setup(e){let{translate:t}=v();return(a,r)=>((0,u.uX)(),(0,u.Wv)(uD,{class:"w-120"},{label:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("developerTools.deploy")),1)]),default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(dY),null,{label:(0,u.k6)(()=>
204[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("developerTools.scalarDocs")),1)]),default:(0,u.k6)(()=>[(0,u.Lk)("p",dG,(0,Q.v_)((0,d.R1)(t)("developerTools.deployDescription")),1),(0,u.bF)(dI,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])]),_:1})]),_:1}))}}),dJ=a(19423),d0={key:0},d1={key:1},d2={key:2},d4={key:3},d8={key:4},d3={key:5},d6=(0,u.pM)({name:"ScalarIconMinus",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,M.R)(e);return(e,r)=>((0,u.uX)(),(0,u.CE)("svg",(0,u.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,d.R1)(t)),[(0,u.RG)(e.$slots,"default"),"bold"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",d0,[...r[0]||(r[0]=[(0,u.Lk)("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z"},null,-1)])])):"duotone"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",d1,[...r[1]||(r[1]=[(0,u.Lk)("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),(0,u.Lk)("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"},null,-1)])])):"fill"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",d2,[...r[2]||(r[2]=[(0,u.Lk)("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H72a8,8,0,0,1,0-16H184a8,8,0,0,1,0,16Z"},null,-1)])])):"light"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",d4,[...r[3]||(r[3]=[(0,u.Lk)("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128Z"},null,-1)])])):"regular"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",d8,[...r[4]||(r[4]=[(0,u.Lk)("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"},null,-1)])])):"thin"===(0,d.R1)(a)?((0,u.uX)(),(0,u.CE)("g",d3,[...r[5]||(r[5]=[(0,u.Lk)("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128Z"},null,-1)])])):(0,u.Q3)("",!0)],16))}}),d5=(0,u.pM)({__name:"ScalarCheckbox",props:{selected:{type:Boolean},indeterminate:{type:Boolean,default:!1},type:{default:"checkbox"}},setup:e=>(t,a)=>((0,u.uX)(),(0,u.CE)("div",{class:(0,Q.C4)(["flex size-4 items-center justify-center p-0.75",[e.selected||e.indeterminate&&"checkbox"===e.type?"bg-c-accent text-b-1":"text-transparent shadow-border","checkbox"===e.type?"rounded":"rounded-full"]])},[e.selected?((0,u.uX)(),(0,u.Wv)((0,d.R1)(dJ.A),{key:0,class:"size-3",weight:"bold"})):e.indeterminate&&"checkbox"===e.type?((0,u.uX)(),(0,u.Wv)((0,d.R1)(d6),{key:1,"aria-hidden":"true",class:"size-3",weight:"bold"})):(0,u.Q3)("",!0)],2))}),d7={class:"flex-1 text-left min-w-0 truncate"},d9=["type"],pe=(0,u.pM)({inheritAttrs:!1,__name:"ScalarCheckboxInput",props:(0,u.zz)({type:{default:"checkbox"},indeterminate:{type:Boolean,default:!1}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,u.fn)(e,"modelValue"),{stylingAttrsCx:a,otherAttrs:r}=(0,em.AX)();return(n,o)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(dW.A),(0,u.v6)({is:"label"},(0,d.R1)(a)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":t.value})),{default:(0,u.k6)(()=>[(0,u.bF)(d5,{class:"shrink-0",indeterminate:e.indeterminate&&"checkbox"===e.type,selected:t.value,type:e.type},null,8,["indeterminate","selected","type"]),(0,u.Lk)("div",d7,[(0,u.RG)(n.$slots,"default")]),(0,u.bo)((0,u.Lk)("input",(0,u.v6)({ref:"inputEl","onUpdate:modelValue":o[0]||(o[0]=e=>t.value=e),class:"sr-only",type:e.type},(0,d.R1)(r)),null,16,d9),[[eE.hp,t.value]])]),_:3},16))}}),pt=(0,u.pM)({__name:"ScalarCheckboxRadioGroup",props:(0,u.zz)({options:{default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,u.fn)(e,"modelValue"),a=(0,u.Bi)();return(r,n)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(dN),null,{default:(0,u.k6)(()=>[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(e.options,e=>((0,u.uX)(),(0,u.Wv)(pe,{key:e.value,modelValue:t.value?.value===e.value,name:(0,d.R1)(a),type:"radio",value:e.value,"onUpdate:modelValue":a=>t.value=a?e:void 0},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(e.label),1)]),_:2},1032,["modelValue","name","value","onUpdate:modelValue"]))),128))]),_:1}))}}),pa=(0,u.pM)({__name:"ApiReferenceToolbarConfigLayout",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=(0,u.fn)(e,"modelValue"),{translate:a}=v(),r=(0,u.EW)(()=>[{label:a("developerTools.layoutModern"),value:"modern"},{label:a("developerTools.layoutClassic"),value:"classic"}]),n=(0,u.EW)({get:()=>r.value.find(e=>e.value===t.value)??r.value[0],set:e=>t.value=e.value});return(e,t)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(pt),{modelValue:n.value,"onUpdate:modelValue":t[0]||(t[0]=e=>n.value=e),options:r.value},null,8,["modelValue","options"]))}}
204),pr=["aria-disabled"],pn={key:0,class:"sr-only"},po=(0,u.pM)({inheritAttrs:!1,__name:"ScalarToggleSlider",props:{thumb:{default:"start"},disabled:{type:Boolean},label:{}},setup(e){let t=(0,em.Fj)({base:"relative h-3.5 min-w-6 w-6 cursor-pointer rounded-full bg-b-3 transition-colors duration-300",variants:{disabled:{true:"cursor-not-allowed opacity-40"}}}),{cx:a}=(0,em.AX)();return(r,n)=>((0,u.uX)(),(0,u.CE)("button",(0,u.v6)({"aria-disabled":e.disabled,type:"button"},(0,d.R1)(a)((0,d.R1)(t)({disabled:e.disabled}))),[(0,u.Lk)("div",{class:(0,Q.C4)(["absolute left-px top-px flex h-3 w-3 items-center justify-center rounded-full bg-b-1 transition-transform duration-300",{"translate-x-1.25":"center"===e.thumb,"translate-x-2.5":"end"===e.thumb}])},null,2),e.label?((0,u.uX)(),(0,u.CE)("span",pn,(0,Q.v_)(e.label),1)):(0,u.Q3)("",!0)],16,pr))}}),pl=(0,u.pM)({__name:"ScalarToggle",props:(0,u.zz)({disabled:{type:Boolean},label:{}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,u.fn)(e,"modelValue");function a(){e.disabled||(t.value=!t.value)}return(r,n)=>((0,u.uX)(),(0,u.Wv)(po,{"aria-checked":t.value,class:(0,Q.C4)(t.value?"bg-c-accent":""),disabled:e.disabled,label:e.label,role:"switch",thumb:t.value?"end":"start",onClick:a},null,8,["aria-checked","class","disabled","label","thumb"]))}}),ps={class:"flex-1 text-left min-w-0 truncate"},pi=(0,u.pM)({inheritAttrs:!1,__name:"ScalarToggleInput",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=(0,u.fn)(e,"modelValue"),{stylingAttrsCx:a,otherAttrs:r}=(0,em.AX)();return(e,n)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(dW.A),(0,u.v6)({is:"label"},(0,d.R1)(a)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":t.value})),{default:(0,u.k6)(()=>[(0,u.Lk)("div",ps,[(0,u.RG)(e.$slots,"default")]),(0,u.bF)(pl,(0,u.v6)({modelValue:t.value,"onUpdate:modelValue":n[0]||(n[0]=e=>t.value=e),class:"shrink-0"},(0,d.R1)(r)),null,16,["modelValue"])]),_:3},16))}}),pc=(0,u.pM)({__name:"ScalarTristateToggle",props:(0,u.zz)({disabled:{type:Boolean},label:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,u.fn)(e,"modelValue"),a=(0,u.EW)(()=>void 0===t.value?"unset":t.value?"on":"off"),r={unset:{class:"",thumb:"center"},on:{class:"bg-green",thumb:"end"},off:{class:"bg-c-danger",thumb:"start"}};function n(){e.disabled||(void 0===t.value?t.value=!0:!0===t.value?t.value=!1:t.value=void 0)}return(o,l)=>((0,u.uX)(),(0,u.Wv)(po,(0,u.v6)({"aria-checked":"unset"===a.value?"mixed":t.value,disabled:e.disabled,label:e.label,role:"checkbox"},r[a.value],{onClick:n}),null,16,["aria-checked","disabled","label"]))}}),pu={class:"flex-1 text-left min-w-0 truncate"},pd=(0,u.pM)({__name:"ApiReferenceToolbarConfigLayoutOptions",props:(0,u.zz)({configuration:{}},{modelValue:{default:()=>({})},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,u.fn)(e,"modelValue"),{translate:a}=v();function r(a,n=!1){return t.value[a]??e.configuration?.[a]??n}function n(e,a,r=!1){a!==r?t.value={...t.value,[e]:a}:t.value=Object.fromEntries(Object.entries(t.value).filter(([t])=>e!==t))}let o=(0,u.EW)(()=>e.configuration?.modelsSectionLabel??R.W),l=(0,u.EW)(()=>a("developerTools.expandAll",{label:o.value})),s=(0,u.EW)(()=>a("developerTools.hideModels",{label:o.value}));return(e,t)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(dN),null,{default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(pi),{modelValue:r("showSidebar",!0),"onUpdate:modelValue":t[0]||(t[0]=e=>n("showSidebar",!!e,!0))},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.showSidebar")),1)]),_:1},8,["modelValue"]),(0,u.bF)((0,d.R1)(pi),{modelValue:r("defaultOpenFirstTag",!0),"onUpdate:modelValue":t[1]||(t[1]=e=>n("defaultOpenFirstTag",!!e,!0))},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.defaultOpenFirstTag")),1)]),_:1},8,["modelValue"]),(0,u.bF)((0,d.R1)(pi),{modelValue:r("defaultOpenAllTags"),"onUpdate:modelValue":t[2]||(t[2]=e=>n("defaultOpenAllTags",!!e))},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.defaultOpenAllTags")),1)]),_:1}
204,8,["modelValue"]),(0,u.bF)((0,d.R1)(pi),{modelValue:r("expandAllModelSections"),"onUpdate:modelValue":t[3]||(t[3]=e=>n("expandAllModelSections",!!e))},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(l.value),1)]),_:1},8,["modelValue"]),(0,u.bF)((0,d.R1)(pi),{modelValue:r("expandAllResponses"),"onUpdate:modelValue":t[4]||(t[4]=e=>n("expandAllResponses",!!e))},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.expandAllResponses")),1)]),_:1},8,["modelValue"]),(0,u.bF)((0,d.R1)(pi),{modelValue:r("hideClientButton"),"onUpdate:modelValue":t[5]||(t[5]=e=>n("hideClientButton",!!e))},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.hideClientButton")),1)]),_:1},8,["modelValue"]),(0,u.bF)((0,d.R1)(pi),{modelValue:r("hideDarkModeToggle"),"onUpdate:modelValue":t[6]||(t[6]=e=>n("hideDarkModeToggle",!!e))},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.hideDarkModeToggle")),1)]),_:1},8,["modelValue"]),(0,u.bF)((0,d.R1)(pi),{modelValue:r("hideModels"),"onUpdate:modelValue":t[7]||(t[7]=e=>n("hideModels",!!e))},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)(s.value),1)]),_:1},8,["modelValue"]),(0,u.bF)((0,d.R1)(pi),{modelValue:r("hideSearch"),"onUpdate:modelValue":t[8]||(t[8]=e=>n("hideSearch",!!e))},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.hideSearch")),1)]),_:1},8,["modelValue"]),(0,u.bF)((0,d.R1)(pi),{modelValue:r("showOperationId"),"onUpdate:modelValue":t[9]||(t[9]=e=>n("showOperationId",!!e))},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.showOperationId")),1)]),_:1},8,["modelValue"]),(0,u.bF)((0,d.R1)(pi),{modelValue:r("hideTestRequestButton"),"onUpdate:modelValue":t[10]||(t[10]=e=>n("hideTestRequestButton",!!e))},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.hideTestRequestButton")),1)]),_:1},8,["modelValue"])]),_:1}))}}),pp=["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","elysiajs","fastify","mars","laserwave","none"],pm={default:"Default",alternate:"Alternate",moon:"Moon",purple:"Purple",solarized:"Solarized",elysiajs:"Elysia.js",fastify:"Fastify",bluePlanet:"Blue Planet",saturn:"Saturn",kepler:"Kepler-11e",mars:"Mars",deepSpace:"Deep Space",laserwave:"Laserwave",none:"None"},ph={default:{uid:"qTQR9jSM8E-LihpyZzPOi",name:"Default",description:"Default Scalar theme",theme:"/* basic theme */\n:root {\n  --scalar-text-decoration: underline;\n  --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f6f6f6;\n  --scalar-background-3: #e7e7e7;\n  --scalar-background-accent: #8ab4f81f;\n\n  --scalar-color-1: #1b1b1b;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n\n  --scalar-color-accent: #0099ff;\n  --scalar-border-color: #dfdfdf;\n}\n.dark-mode {\n  --scalar-background-1: #0f0f0f;\n  --scalar-background-2: #1a1a1a;\n  --scalar-background-3: #272727;\n\n  --scalar-color-1: #e7e7e7;\n  --scalar-color-2: #a4a4a4;\n  --scalar-color-3: #797979;\n\n  --scalar-color-accent: #00aeff;\n  --scalar-background-accent: #3ea6ff1f;\n\n  --scalar-border-color: #2d2d2d;\n}\n/* Document Sidebar */\n.light-mode,\n.dark-mode {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-hover-color: var(--scalar-sidebar-color-2);\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-2);\n  --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);\n\n  --scalar-sidebar-indent-border: var(--scalar-sidebar-border-color);\n  --scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color);\n  --scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color);\n\n  --scalar-sidebar-search-background: color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1));\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n/* advanced */\n.light-mode {\n  --scalar-color-green: #069061;\n  --scalar-color-red: #ef0006;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #0082d0;\n  --scalar-color-orange: #ff5800;\n  --scalar-color-purple: #5203d1;\n\n  --scalar-link-color: var(--scalar-color-1);\n  --scalar-link-color-hover: var(--scalar-link-color);\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n\n  --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), transparent 10%);\n  --scalar-tooltip-color: var(--scalar-color-1);\n\n  --scalar-color-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);\n  --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);\n\n  --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);\n  --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);\n}\n.dark-mode {\n  --scalar-color-green: #00b648;\n  --scalar-color-red: #dc1b19;\n  --scalar-color-yellow: #ffc90d;\n  --scalar-color-blue: #4eb3ec;\n  --scalar-color-orange: #ff8d4d;\n  --scalar-color-purple: #b191f9;\n\n  --scalar-link-color: var(--scalar-color-1);\n  --scalar-link-color-hover: var(--scalar-link-color);\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n\n  --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), #fff 10%);\n  --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 5%);\n\n  --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);\n\n  --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);\n  --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);\n}\n@supports (color: color(display-p3 1 1 1)) {\n  .light-mode {\n    --scalar-color-accent: color(display-p3 0 0.6 1 / 1);\n    --scalar-color-green: color(display-p3 0.023529 0.564706 0.380392 / 1);\n    --scalar-color-red: color(display-p3 0.937255 0 0.023529 / 1);\n    --scalar-color-yellow: color(display-p3 0.929412 0.745098 0.12549 / 1);\n    --scalar-color-blue: color(display-p3 0 0.509804 0.815686 / 1);\n    --scalar-color-orange: color(display-p3 1 0.4 0.02);\n    --scalar-color-purple: color(display-p3 0.321569 0.011765 0.819608 / 1);\n  }\n  .dark-mode {\n    --scalar-color-accent: color(display-p3 0.07 0.67 1);\n    --scalar-color-green: color(display-p3 0 0.713725 0.282353 / 1);\n    --scalar-color-red: color(display-p3 0.862745 0.105882 0.098039 / 1);\n    --scalar-color-yellow: color(display-p3 1 0.788235 0.05098 / 1);\n    --scalar-color-blue: color(display-p3 0.305882 0.701961 0.92549 / 1);\n    --scalar-color-orange: color(display-p3 1 0.552941 0.301961 / 1);\n    --scalar-color-purple: color(display-p3 0.694118 0.568627 0.976471 / 1);\n  }\n}\n",slug:"default"},alternate:{uid:"2skUDSH4S8HYFF9yXysr-",name:"Alternate",description:"Alternate Scalar theme",theme:"/* basic theme */\n:root {\n  --scalar-text-decoration: underline;\n  --scalar-text-decoration-hover: underline;\n}\n\n.dark-mode {\n  --scalar-background-1: #131313;\n  --scalar-background-2: #1d1d1d;\n  --scalar-background-3: #272727;\n  --scalar-background-card: #1d1d1d;\n\n  --scalar-color-1: rgba(255, 255, 255, 0.9);\n  --scalar-color-2: rgba(255, 255, 255, 0.62);\n  --scalar-color-3: rgba(255, 255, 255, 0.44);\n\n  --scalar-color-accent: var(--scalar-color-1);\n  --scalar-background-accent: var(--scalar-background-3);\n\n  --scalar-border-color: #2a2b2a;\n}\n\n.light-mode,\n.light-mode .dark-mode {\n  --scalar-background-1: #f9f9f9;\n  --scalar-background-2: #f1f1f1;\n  --scalar-background-3: #e7e7e7;\n  --scalar-background-card: #fff;\n\n  --scalar-color-1: #1b1b1b;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n\n  --scalar-color-accent: var(--scalar-color-1);\n  --scalar-background-accent: var(--scalar-background-3);\n\n  --scalar-border-color: rgba(0, 0, 0, 0.1);\n}\n\n/* Document Sidebar */\n.t-doc__sidebar {\n  --scalar-color-green: var(--scalar-color-1);\n  --scalar-color-red: var(--scalar-color-1);\n  --scalar-color-yellow: var(--scalar-color-1);\n  --scalar-color-blue: var(--scalar-color-1);\n  --scalar-color-orange: var(--scalar-color-1);\n  --scalar-color-purple: var(--scalar-color-1);\n}\n\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-hover-color: currentColor;\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n  --scalar-sidebar-search-background: transparent;\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n/* advanced */\n.light-mode .dark-mode,\n.light-mode {\n  --scalar-color-green: #069061;\n  --scalar-color-red: #ef0006;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #0082d0;\n  --scalar-color-orange: #fb892c;\n  --scalar-color-purple: #5203d1;\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n}\n.dark-mode {\n  --scalar-color-green: #00b648;\n  --scalar-color-red: #dd2f2c;\n  --scalar-color-yellow: #ffc90d;\n  --scalar-color-blue: #4eb3ec;\n  --scalar-color-orange: #ff8d4d;\n  --scalar-color-purple: #b191f9;\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n}\n\n.scalar-api-client__item,\n.scalar-card,\n.dark-mode .dark-mode.scalar-card {\n  --scalar-background-1: var(--scalar-background-card);\n  --scalar-background-2: var(--scalar-background-1);\n  --scalar-background-3: var(--scalar-background-1);\n}\n.dark-mode .dark-mode.scalar-card {\n  --scalar-background-3: var(--scalar-background-3);\n}\n\n.light-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%);\n}\n.dark-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%);\n}\n",slug:"alternate"},moon:{uid:"DG9ZUNp5lJhDeX_kPX4Bl",name:"Moon",description:"Lunar styles",theme:".light-mode {\n  color-scheme: light;\n  --scalar-color-1: #000000;\n  --scalar-color-2: #000000;\n  --scalar-color-3: #000000;\n  --scalar-color-accent: #645b0f;\n  --scalar-background-1: #ccc9b3;\n  --scalar-background-2: #c2bfaa;\n  --scalar-background-3: #b8b5a1;\n  --scalar-background-accent: #000000;\n\n  --scalar-border-color: rgba(0, 0, 0, 0.2);\n  --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n  --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n  --scalar-lifted-brightness: 1;\n  --scalar-backdrop-brightness: 1;\n\n  --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n  --scalar-shadow-2:\n    rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, var(--scalar-border-color) 0px 0 0 1px;\n\n  --scalar-button-1: rgb(49 53 56);\n  --scalar-button-1-color: #fff;\n  --scalar-button-1-hover: rgb(28 31 33);\n\n  --scalar-color-red: #b91c1c;\n  --scalar-color-orange: #a16207;\n  --scalar-color-green: #047857;\n  --scalar-color-blue: #1d4ed8;\n  --scalar-color-orange: #c2410c;\n  --scalar-color-purple: #6d28d9;\n}\n\n.dark-mode {\n  color-scheme: dark;\n  --scalar-color-1: #fffef3;\n  --scalar-color-2: #fffef3;\n  --scalar-color-3: #fffef3;\n  --scalar-color-accent: #c3b531;\n  --scalar-background-1: #313332;\n  --scalar-background-2: #393b3a;\n  --scalar-background-3: #414342;\n  --scalar-background-accent: #fffef3;\n\n  --scalar-border-color: #505452;\n  --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n  --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n  --scalar-lifted-brightness: 1.45;\n  --scalar-backdrop-brightness: 0.5;\n\n  --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n  --scalar-shadow-2:\n    rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n  --scalar-button-1: #f6f6f6;\n  --scalar-button-1-color: #000;\n  --scalar-button-1-hover: #e7e7e7;\n\n  --scalar-color-green: #00b648;\n  --scalar-color-red: #dc1b19;\n  --scalar-color-yellow: #ffc90d;\n  --scalar-color-blue: #4eb3ec;\n  --scalar-color-orange: #ff8d4d;\n  --scalar-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-hover-color: currentColor;\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-3);\n  --scalar-sidebar-color-active: var(--scalar-color-1);\n\n  --scalar-sidebar-search-background: transparent;\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n*::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 80%);\n}\n",slug:"moon"},purple:{uid:"pE_1ysxcZ-y2LM1GGNBUv",name:"Purple",description:"Purple Scalar theme",theme:"/* basic theme */\n.light-mode {\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f5f6f8;\n  --scalar-background-3: #eceef1;\n\n  --scalar-color-1: #1b1b1b;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n\n  --scalar-color-accent: #5469d4;\n  --scalar-background-accent: #5469d41f;\n\n  --scalar-border-color: rgba(215, 215, 206, 0.68);\n}\n.dark-mode {\n  --scalar-background-1: #15171c;\n  --scalar-background-2: #1c1e24;\n  --scalar-background-3: #22252b;\n\n  --scalar-color-1: #fafafa;\n  --scalar-color-2: #c9ced8;\n  --scalar-color-3: #8c99ad;\n\n  --scalar-color-accent: #5469d4;\n  --scalar-background-accent: #5469d41f;\n\n  --scalar-border-color: #3f4145;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-3);\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n  --scalar-sidebar-search-background: var(--scalar-background-1);\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n\n/* advanced */\n.light-mode {\n  --scalar-color-green: #17803d;\n  --scalar-color-red: #e10909;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #1763a6;\n  --scalar-color-orange: #e25b09;\n  --scalar-color-purple: #5c3993;\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n}\n.dark-mode {\n  --scalar-color-green: #30a159;\n  --scalar-color-red: #dc1b19;\n  --scalar-color-yellow: #eec644;\n  --scalar-color-blue: #2b7abf;\n  --scalar-color-orange: #f07528;\n  --scalar-color-purple: #7a59b1;\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n}\n.light-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n.dark-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);\n}\n",slug:"purple"},solarized:{uid:"BdGVG1vf
204-4nYl3wJKyj8l",name:"Solarized",description:"Solarized Scalar theme",theme:".light-mode {\n  color-scheme: light;\n  --scalar-color-1: #584c27;\n  --scalar-color-2: #616161;\n  --scalar-color-3: #a89f84;\n  --scalar-color-accent: #b58900;\n  --scalar-background-1: #fdf6e3;\n  --scalar-background-2: #eee8d5;\n  --scalar-background-3: #ddd6c1;\n  --scalar-background-accent: #b589001f;\n\n  --scalar-border-color: #ded8c8;\n  --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n  --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n  --scalar-lifted-brightness: 1;\n  --scalar-backdrop-brightness: 1;\n\n  --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n  --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;\n\n  --scalar-button-1: rgb(49 53 56);\n  --scalar-button-1-color: #fff;\n  --scalar-button-1-hover: rgb(28 31 33);\n\n  --scalar-color-red: #b91c1c;\n  --scalar-color-orange: #a16207;\n  --scalar-color-green: #047857;\n  --scalar-color-blue: #1d4ed8;\n  --scalar-color-orange: #c2410c;\n  --scalar-color-purple: #6d28d9;\n}\n\n.dark-mode {\n  color-scheme: dark;\n  --scalar-color-1: #fff;\n  --scalar-color-2: #cccccc;\n  --scalar-color-3: #6d8890;\n  --scalar-color-accent: #007acc;\n  --scalar-background-1: #00212b;\n  --scalar-background-2: #012b36;\n  --scalar-background-3: #004052;\n  --scalar-background-accent: #015a6f;\n\n  --scalar-border-color: #2f4851;\n  --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n  --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n  --scalar-lifted-brightness: 1.45;\n  --scalar-backdrop-brightness: 0.5;\n\n  --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n  --scalar-shadow-2:\n    rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n  --scalar-button-1: #f6f6f6;\n  --scalar-button-1-color: #000;\n  --scalar-button-1-hover: #e7e7e7;\n\n  --scalar-color-green: #00b648;\n  --scalar-color-red: #dc1b19;\n  --scalar-color-yellow: #ffc90d;\n  --scalar-color-blue: #4eb3ec;\n  --scalar-color-orange: #ff8d4d;\n  --scalar-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n  --scalar-sidebar-search-background: var(--scalar-background-2);\n  --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n  --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);\n  --scalar-sidebar-search-background: var(--scalar-background-2);\n  --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n  --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n*::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n",slug:"solarized"},bluePlanet:{uid:"X12IfAvl7ue-42V2lW40S",name:"Blue Planet",description:"Blue Planet Scalar theme",theme:"/* basic theme */\n:root {\n  --scalar-text-decoration: underline;\n  --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n  --scalar-background-1: #f0f2f5;\n  --scalar-background-2: #eaecf0;\n  --scalar-background-3: #e0e2e6;\n  --scalar-border-color: rgb(213 213 213);\n\n  --scalar-color-1: rgb(9, 9, 11);\n  --scalar-color-2: rgb(113, 113, 122);\n  --scalar-color-3: rgba(25, 25, 28, 0.5);\n\n  --scalar-color-accent: var(--scalar-color-1);\n  --scalar-background-accent: #8ab4f81f;\n}\n.light-mode .scalar-card.dark-mode,\n.dark-mode {\n  --scalar-background-1: #000e23;\n  --scalar-background-2: #01132e;\n  --scalar-background-3: #03193b;\n  --scalar-border-color: #2e394c;\n\n  --scalar-color-1: #fafafa;\n  --scalar-color-2: rgb(161, 161, 170);\n  --scalar-color-3: rgba(255, 255, 255, 0.533);\n\n  --scalar-color-accent: var(--scalar-color-1);\n  --scalar-background-accent: #8ab4f81f;\n\n  --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-hover-color: currentColor;\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-3);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n  --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  z-index: 1;\n}\n.light-mode .t-doc__sidebar {\n  --scalar-sidebar-search-background: white;\n}\n/* advanced */\n.light-mode {\n  --scalar-color-green: #069061;\n  --scalar-color-red: #ef0006;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #0082d0;\n  --scalar-color-orange: #fb892c;\n  --scalar-color-purple: #5203d1;\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n}\n.dark-mode {\n  --scalar-color-green: rgba(69, 255, 165, 0.823);\n  --scalar-color-red: #ff8589;\n  --scalar-color-yellow: #ffcc4d;\n  --scalar-color-blue: #6bc1fe;\n  --scalar-color-orange: #f98943;\n  --scalar-color-purple: #b191f9;\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n}\n/* Custom theme */\n/* Document header */\n@keyframes headerbackground {\n  from {\n    background: transparent;\n    backdrop-filter: none;\n  }\n  to {\n    background: var(--scalar-header-background-1);\n    backdrop-filter: blur(12px);\n  }\n}\n\n.light-mode .t-doc__header,\n.dark-mode .t-doc__header {\n  animation: headerbackground forwards;\n  animation-timeline: scroll();\n  animation-range: 0px 200px;\n}\n\n/* Document Layout */\n.dark-mode .t-doc .layout-content {\n  background: transparent;\n}\n\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n  -webkit-text-fill-color: transparent;\n  background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n  -webkit-background-clip: text;\n  background-clip: text;\n}\n/* Hero Section Flare */\n.section-flare-item:nth-of-type(1) {\n  --c1: #ffffff;\n  --c2: #babfd8;\n  --c3: #2e8bb2;\n  --c4: #1a8593;\n  --c5: #0a143e;\n  --c6: #0a0f52;\n  --c7: #2341b8;\n\n  --solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7);\n  --solid-wrap: var(--solid), var(--c1);\n  --trans:\n    var(--c1), transparent, var(--c2), transparent, var(--c3),\n    transparent, var(--c4), transparent, var(--c5), transparent, var(--c6),\n    transparent, var(--c7);\n  --trans-wrap: var(--trans), transparent, var(--c1);\n\n  background:\n    radial-gradient(circle, var(--trans)), conic-gradient(from 180deg, var(--trans-wrap)),\n    radial-gradient(circle, var(--trans)), conic-gradient(var(--solid-wrap));\n  width: 70vw;\n  height: 700px;\n  border-radius: 50%;\n  filter: blur(100px);\n  z-index: 0;\n  right: 0;\n  position: absolute;\n  transform: rotate(-45deg);\n  top: -300px;\n  opacity: 0.3;\n}\n.section-flare-item:nth-of-type(3) {\n  --star-color: #6b9acc;\n  --star-color2: #446b8d;\n  --star-color3: #3e5879;\n  background-image:\n    radial-gradient(2px 2px at 20px 30px, var(--star-color2), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 160px 120px, var(--star-color3), rgba(0, 0, 0, 0));\n  background-repeat: repeat;\n  background-size: 200px 200px;\n  width: 100%;\n  height: 100%;\n  mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n}\n.section-flare {\n  top: -150px !important;\n  height: 100vh;\n  background: linear-gradient(#000, var(--scalar-background-1));\n  width: 100vw;\n  overflow-x: hidden;\n}\n.light-mode .section-flare {\n  display: none;\n}\n.light-mode .scalar-card {\n  --scalar-background-1: #fff;\n  --scalar-background-2: #fff;\n  --scalar-background-3: #fff;\n}\n\n*::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 60%);\n}\n\n@media (max-width: 1000px) {\n  .light-mode .t-doc__sidebar,\n  .dark-mode .t-doc__sidebar {\n    --scalar-sidebar-background-1: var(--scalar-background-1);\n  }\n  .light-mode .t-doc__header,\n  .dark-mode .t-doc__header {\n    animation: none;\n    background: var(--scalar-header-background-1);\n    backdrop-filter: blur(12px);\n  }\n}\n",slug:"blue-planet"},deepSpace:{uid:"K8b38NWQiicq4-zXGXKdI",name:"Deep Space",description:"Deep Space Scalar theme",theme:'/* basic theme */\n:root {\n  --scalar-text-decoration: underline;\n  --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n  --scalar-color-1: rgb(9, 9, 11);\n  --scalar-color-2: rgb(113, 113, 122);\n  --scalar-color-3: rgba(25, 25, 28, 0.5);\n  --scalar-color-accent: var(--scalar-color-1);\n\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f4f4f5;\n  --scalar-background-3: #e3e3e6;\n  --scalar-background-accent: #8ab4f81f;\n\n  --scalar-border-color: rgb(228, 228, 231);\n  --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n.dark-mode {\n  --scalar-color-1: #fafafa;\n  --scalar-color-2: rgb(161, 161, 170);\n  --scalar-color-3: rgba(255, 255, 255, 0.533);\n  --scalar-color-accent: var(--scalar-color-1);\n\n  --scalar-background-1: #09090b;\n  --scalar-background-2: #18181b;\n  --scalar-background-3: #2c2c30;\n  --scalar-background-accent: #8ab4f81f;\n\n  --scalar-border-color: rgba(255, 255, 255, 0.16);\n  --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-3);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n  --scalar-sidebar-search-background: transparent;\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n.light-mode .t-doc__sidebar {\n  --scalar-sidebar-item-active-background: var(--scalar-background-2);\n}\n/* advanced */\n.light-mode {\n  --scalar-color-green: #069061;\n  --scalar-color-red: #ef0006;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #0082d0;\n  --scalar-color-orange: #fb892c;\n  --scalar-color-purple: #5203d1;\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n}\n.dark-mode {\n  --scalar-color-green: rgba(69, 255, 165, 0.823);\n  --scalar-color-red: #ff8589;\n  --scalar-color-yellow: #ffcc4d;\n  --scalar-color-blue: #6bc1fe;\n  --scalar-color-orange: #f98943;\n  --scalar-color-purple: #b191f9;\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n}\n/* Custom theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n  -webkit-text-fill-color: transparent;\n  background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n  -webkit-background-clip: text;\n  background-clip: text;\n}\n.examples .scalar-card-footer {\n  --scalar-background-3: transparent;\n  padding-top: 0;\n}\n/* Hero section flare */\n.section-flare {\n  width: 100vw;\n  height: 550px;\n  position: absolute;\n}\n.section-flare-item:nth-of-type(1) {\n  position: absolute;\n  width: 100vw;\n  height: 550px;\n  --stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%);\n  --rainbow: repeating-linear-gradient(100deg, #fff 10%, #fff 16%, #fff 22%, #fff 30%);\n  background-image: var(--stripesDark), var(--rainbow);\n  background-size: 300%, 200%;\n  background-position:\n    50% 50%,\n    50% 50%;\n  filter: invert(100%);\n  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n  mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n  pointer-events: none;\n  opacity: 0.07;\n}\n.dark-mode .section-flare-item:nth-of-type(1) {\n  background-image: var(--stripesDark), var(--rainbow);\n  filter: opacity(50%) saturate(200%);\n  opacity: 0.25;\n  height: 350px;\n}
204\n.section-flare-item:nth-of-type(1):after {\n  content: "";\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background-image: var(--stripesDark), var(--rainbow);\n  background-size: 200%, 100%;\n  background-attachment: fixed;\n  mix-blend-mode: difference;\n}\n.dark-mode .section-flare:after {\n  background-image: var(--stripesDark), var(--rainbow);\n}\n.section-flare-item:nth-of-type(2) {\n  --star-color: #fff;\n  --star-color2: #fff;\n  --star-color3: #fff;\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  background-image:\n    radial-gradient(2px 2px at 20px 30px, var(--star-color2), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 160px 120px, var(--star-color3), rgba(0, 0, 0, 0));\n  background-repeat: repeat;\n  background-size: 200px 200px;\n  mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n  opacity: 0.2;\n}\n.light-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%);\n}\n.dark-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%);\n}\n\n/* document header */\n.light-mode .t-doc__header,\n.dark-mode .t-doc__header {\n  animation: headerbackground forwards;\n  animation-timeline: scroll();\n  animation-range: 0px 200px;\n}\n@keyframes headerbackground {\n  from {\n    background: transparent;\n    backdrop-filter: none;\n  }\n  to {\n    background: var(--scalar-header-background-1);\n    backdrop-filter: blur(12px);\n  }\n}\n/* remove flare on safari to prevent dropped frames on scroll */\n@supports (-webkit-hyphens: none) {\n  .section-flare {\n    display: none;\n  }\n}\n\n/* document background */\n.light-mode .t-doc .layout-content,\n.dark-mode .t-doc .layout-content {\n  background: transparent;\n}\n',slug:"deep-space"},saturn:{uid:"1jyAjmbIZQG-RUU4Ugk9o",name:"Saturn",description:"Saturn Scalar theme",theme:"/* basic theme */\n.light-mode {\n  --scalar-background-1: #f3f3ee;\n  --scalar-background-2: #e8e8e3;\n  --scalar-background-3: #e4e4df;\n  --scalar-border-color: rgba(215, 215, 206, 0.85);\n\n  --scalar-color-1: #1b1b1b;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n\n  --scalar-color-accent: #1763a6;\n  --scalar-background-accent: #1f648e1f;\n}\n.dark-mode {\n  --scalar-background-1: #09090b;\n  --scalar-background-2: #18181b;\n  --scalar-background-3: #2c2c30;\n  --scalar-border-color: rgba(255, 255, 255, 0.17);\n\n  --scalar-color-1: #fafafa;\n  --scalar-color-2: rgb(161, 161, 170);\n  --scalar-color-3: rgba(255, 255, 255, 0.533);\n\n  --scalar-color-accent: #4eb3ec;\n  --scalar-background-accent: #8ab4f81f;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-hover-color: currentColor;\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-3);\n  --scalar-sidebar-color-active: var(--scalar-color-1);\n\n  --scalar-sidebar-search-background: var(--scalar-background-1);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n\n/* advanced */\n.light-mode {\n  --scalar-color-green: #17803d;\n  --scalar-color-red: #e10909;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #1763a6;\n  --scalar-color-orange: #e25b09;\n  --scalar-color-purple: #5c3993;\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n}\n.dark-mode {\n  --scalar-color-green: #30a159;\n  --scalar-color-red: #dc1b19;\n  --scalar-color-yellow: #eec644;\n  --scalar-color-blue: #2b7abf;\n  --scalar-color-orange: #f07528;\n  --scalar-color-purple: #7a59b1;\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n}\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n  -webkit-text-fill-color: transparent;\n  background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n  -webkit-background-clip: text;\n  background-clip: text;\n}\n.light-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n.dark-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);\n}\n",slug:"saturn"}
204,kepler:{uid:"jZ6dnWbtqQ0Hz3s9jLPH0",name:"Kepler-11e",description:"Kepler-11e Scalar theme",theme:"/* basic theme */\n.light-mode {\n  --scalar-color-1: #1b1b1b;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n  --scalar-color-accent: #7070ff;\n\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f6f6f6;\n  --scalar-background-3: #e7e7e7;\n  --scalar-background-accent: #7070ff1f;\n\n  --scalar-border-color: rgba(0, 0, 0, 0.1);\n\n  --scalar-code-language-color-supersede: var(--scalar-color-3);\n}\n.dark-mode {\n  --scalar-color-1: #f7f8f8;\n  --scalar-color-2: rgb(180, 188, 208);\n  --scalar-color-3: #b4bcd099;\n  --scalar-color-accent: #828fff;\n\n  --scalar-background-1: #000212;\n  --scalar-background-2: #0d0f1e;\n  --scalar-background-3: #232533;\n  --scalar-background-accent: #8ab4f81f;\n\n  --scalar-border-color: #313245;\n  --scalar-code-language-color-supersede: var(--scalar-color-3);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n  --scalar-sidebar-search-background: rgba(0, 0, 0, 0.05);\n  --scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, 0.05);\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-background-2: rgba(0, 0, 0, 0.03);\n}\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-active-background: rgba(255, 255, 255, 0.1);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n  --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n  --scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, 0.05);\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n/* advanced */\n.light-mode {\n  --scalar-color-green: #069061;\n  --scalar-color-red: #ef0006;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #0082d0;\n  --scalar-color-orange: #fb892c;\n  --scalar-color-purple: #5203d1;\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n}\n.dark-mode {\n  --scalar-color-green: #00b648;\n  --scalar-color-red: #dc1b19;\n  --scalar-color-yellow: #ffc90d;\n  --scalar-color-blue: #4eb3ec;\n  --scalar-color-orange: #ff8d4d;\n  --scalar-color-purple: #b191f9;\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n}\n/* Custom Theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n  -webkit-text-fill-color: transparent;\n  background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n  -webkit-background-clip: text;\n  background-clip: text;\n}\n.sidebar-search {\n  backdrop-filter: blur(12px);\n}\n@keyframes headerbackground {\n  from {\n    background: transparent;\n    backdrop-filter: none;\n  }\n  to {\n    background: var(--scalar-header-background-1);\n    backdrop-filter: blur(12px);\n  }\n}\n.dark-mode .scalar-card {\n  background: rgba(255, 255, 255, 0.05) !important;\n}\n.dark-mode .scalar-card * {\n  --scalar-background-2: transparent !important;\n  --scalar-background-1: transparent !important;\n}\n.light-mode .dark-mode.scalar-card *,\n.light-mode .dark-mode.scalar-card {\n  --scalar-background-1: #0d0f1e !important;\n  --scalar-background-2: #0d0f1e !important;\n  --scalar-background-3: #191b29 !important;\n}\n.light-mode .dark-mode.scalar-card {\n  background: #191b29 !important;\n}\n.badge {\n  box-shadow: 0 0 0 1px var(--scalar-border-color);\n  margin-right: 6px;\n}\n\n.table-row.required-parameter .table-row-item:nth-of-type(2):after {\n  background: transparent;\n  box-shadow: none;\n}\n/* Hero Section Flare */\n.section-flare {\n  width: 100vw;\n  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.3), transparent);\n  height: 100vh;\n}\n.light-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n.dark-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);\n}\n\n/* document layout */\n.light-mode .t-doc .layout-content,\n.dark-mode .t-doc .layout-content {\n  background: transparent;\n}\n",slug:"kepler-11e"},mars:{uid:"YY4LQgwiXix55-TmMz9qd",name:"Mars",description:"Mars Scalar theme",theme:"/* basic theme */\n:root {\n  --scalar-text-decoration: underline;\n  --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n  --scalar-background-1: #f9f6f0;\n  --scalar-background-2: #f2efe8;\n  --scalar-background-3: #e9e7e2;\n  --scalar-border-color: rgba(203, 165, 156, 0.6);\n\n  --scalar-color-1: #c75549;\n  --scalar-color-2: #c75549;\n  --scalar-color-3: #c75549;\n\n  --scalar-color-accent: #c75549;\n  --scalar-background-accent: #dcbfa81f;\n\n  --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n.dark-mode {\n  --scalar-background-1: #140507;\n  --scalar-background-2: #20090c;\n  --scalar-background-3: #321116;\n  --scalar-border-color: #3c3031;\n\n  --scalar-color-1: rgba(255, 255, 255, 0.9);\n  --scalar-color-2: rgba(255, 255, 255, 0.62);\n  --scalar-color-3: rgba(255, 255, 255, 0.44);\n\n  --scalar-color-accent: rgba(255, 255, 255, 0.9);\n  --scalar-background-accent: #441313;\n\n  --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-3);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n  --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n  z-index: 1;\n}\n/* advanced */\n.light-mode {\n  --scalar-color-green: #09533a;\n  --scalar-color-red: #aa181d;\n  --scalar-color-yellow: #ab8d2b;\n  --scalar-color-blue: #19689a;\n  --scalar-color-orange: #b26c34;\n  --scalar-color-purple: #4c2191;\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n}\n.dark-mode {\n  --scalar-color-green: rgba(69, 255, 165, 0.823);\n  --scalar-color-red: #ff8589;\n  --scalar-color-yellow: #ffcc4d;\n  --scalar-color-blue: #6bc1fe;\n  --scalar-color-orange: #f98943;\n  --scalar-color-purple: #b191f9;\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n}\n/* Custom Theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n  -webkit-text-fill-color: transparent;\n  background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n  -webkit-background-clip: text;\n  background-clip: text;\n}\n.light-mode .t-doc__sidebar {\n  --scalar-sidebar-search-background: white;\n}\n.examples .scalar-card-footer {\n  --scalar-background-3: transparent;\n  padding-top: 0;\n}\n/* Hero section flare */\n.section-flare {\n  overflow-x: hidden;\n  height: 100vh;\n  left: initial;\n}\n.section-flare-item:nth-of-type(1) {\n  background: #d25019;\n  position: relative;\n  top: -150px;\n  right: -400px;\n  width: 80vw;\n  height: 500px;\n  margin-top: -150px;\n  border-radius: 50%;\n  filter: blur(100px);\n  z-index: 0;\n}\n.light-mode .section-flare {\n  display: none;\n}\n*::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-red), transparent 75%);\n}\n\n/* document layout */\n.dark-mode .t-doc .layout-content {\n  background: transparent;\n}\n",slug:"mars"},laserwave:{uid:"c5fZEi-K-hP-xXf885dkf",name:"Laserwave",description:"Laserwave Scalar theme",theme:"/* basic theme */\n.light-mode {\n  color-scheme: light;\n  --scalar-color-1: #322b3b;\n  --scalar-color-2: #645676;\n  --scalar-color-3: #9789a9;\n  --scalar-color-accent: #40b4c4;\n\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f4f2f7;\n  --scalar-background-3: #cfc7dc;\n  --scalar-background-accent: #f3fafb;\n\n  --scalar-border-color: #e4e0eb;\n}\n.dark-mode {\n  color-scheme: dark;\n  --scalar-color-1: #fff;\n  --scalar-color-2: #b8b6ba;\n  --scalar-color-3: #706c74;\n  --scalar-color-accent: #ed78c2;\n\n  --scalar-background-1: #27212e;\n  --scalar-background-2: #322c39;\n  --scalar-background-3: #4c4059;\n  --scalar-background-accent: #eb64b91f;\n\n  --scalar-border-color: rgba(255, 255, 255, 0.1);\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n  --scalar-sidebar-search-background: var(--scalar-background-2);\n  --scalar-sidebar-search-border-color: var(--scalar-sidebar-border-color);\n  --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n  --scalar-sidebar-search-background: var(--scalar-background-2);\n  --scalar-sidebar-search-border-color: #514c56;\n  --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n/* advanced */\n.light-mode {\n  --scalar-button-1: rgb(49 53 56);\n  --scalar-button-1-color: #fff;\n  --scalar-button-1-hover: rgb(28 31 33);\n\n  --scalar-color-green: #74dfc4;\n  --scalar-color-red: #d887f5;\n  --scalar-color-yellow: #ffe261;\n  --scalar-color-blue: #40b4c4;\n  --scalar-color-orange: #ff52bf;\n  --scalar-color-purple: #91889b;\n\n  --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n  --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n}\n.dark-mode {\n  --scalar-button-1: #f6f6f6;\n  --scalar-button-1-color: #27212e;\n  --scalar-button-1-hover: #e7e7e7;\n\n  --scalar-color-green: #74dfc4;\n  --scalar-color-red: #d887f5;\n  --scalar-color-yellow: #ffe261;\n  --scalar-color-blue: #40b4c4;\n  --scalar-color-orange: #ff52bf;\n  --scalar-color-purple: #91889b;\n\n  --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n  --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n}\n/* Radius */\n:root {\n  --scalar-radius: 2px;\n  --scalar-radius-lg: 3px;\n  --scalar-radius-xl: 4px;\n}\n/* P3 color support */\n@supports (color: color(display-p3 1 1 1)) {\n  .light-mode {\n    --scalar-color-accent: color(display-p3 0.25098 0.705882 0.768627 / 1);\n    --scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1);\n    --scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1);\n    --scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1);\n    --scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1);\n    --scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1);\n    --scalar-color-purple: color(display-p3 0.568627 0.533333 0.60
2047843 / 1);\n  }\n  .dark-mode {\n    --scalar-color-accent: color(display-p3 0.929412 0.470588 0.760784 / 1);\n    --scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1);\n    --scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1);\n    --scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1);\n    --scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1);\n    --scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1);\n    --scalar-color-purple: color(display-p3 0.568627 0.533333 0.607843 / 1);\n  }\n}\n",slug:"laserwave"},elysiajs:{uid:"nEVZkRmCylPkT0o9YJa7y",name:"Elysia.js",description:"Elysia.js theme",theme:'.light-mode {\n  --scalar-color-1: #1b1b1b;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n  --scalar-color-accent: #f06292;\n\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f6f6f6;\n  --scalar-background-3: #e7e7e7;\n\n  --scalar-border-color: rgba(0, 0, 0, 0.1);\n}\n.dark-mode {\n  --scalar-color-1: rgba(255, 255, 255, 0.9);\n  --scalar-color-2: rgba(156, 163, 175, 1);\n  --scalar-color-3: rgba(255, 255, 255, 0.44);\n  --scalar-color-accent: #f06292;\n\n  --scalar-background-1: #111728;\n  --scalar-background-2: #1e293b;\n  --scalar-background-3: #334155;\n  --scalar-background-accent: #f062921f;\n\n  --scalar-border-color: rgba(255, 255, 255, 0.1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-hover-color: currentColor;\n\n  --scalar-sidebar-item-active-background: #f062921f;\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n  --scalar-sidebar-search-background: transparent;\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n\n/* advanced */\n.light-mode {\n  --scalar-button-1: rgb(49 53 56);\n  --scalar-button-1-color: #fff;\n  --scalar-button-1-hover: rgb(28 31 33);\n\n  --scalar-color-green: #069061;\n  --scalar-color-red: #ef0006;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #0082d0;\n  --scalar-color-orange: #fb892c;\n  --scalar-color-purple: #5203d1;\n\n  --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n  --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n}\n.dark-mode {\n  --scalar-button-1: #f6f6f6;\n  --scalar-button-1-color: #000;\n  --scalar-button-1-hover: #e7e7e7;\n\n  --scalar-color-green: #a3ffa9;\n  --scalar-color-red: #ffa3a3;\n  --scalar-color-yellow: #fffca3;\n  --scalar-color-blue: #a5d6ff;\n  --scalar-color-orange: #e2ae83;\n  --scalar-color-purple: #d2a8ff;\n\n  --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n  --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n}\n.section-flare {\n  width: 100%;\n  height: 400px;\n  position: absolute;\n}\n.section-flare-item:first-of-type:before {\n  content: "";\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  --stripes: repeating-linear-gradient(100deg, #fff 0%, #fff 0%, transparent 2%, transparent 12%, #fff 17%);\n  --stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 0%, transparent 10%, transparent 12%, #000 17%);\n  --rainbow: repeating-linear-gradient(100deg, #60a5fa 10%, #e879f9 16%, #5eead4 22%, #60a5fa 30%);\n  contain: strict;\n  contain-intrinsic-size: 100vw 40vh;\n  background-image: var(--stripesDark), var(--rainbow);\n  background-size: 300%, 200%;\n  background-position:\n    50% 50%,\n    50% 50%;\n  filter: opacity(20%) saturate(200%);\n  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n  mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n  pointer-events: none;\n}
204\n.section-flare-item:first-of-type:after {\n  content: "";\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background-image: var(--stripes), var(--rainbow);\n  background-size: 200%, 100%;\n  background-attachment: fixed;\n  mix-blend-mode: difference;\n  background-image: var(--stripesDark), var(--rainbow);\n  pointer-events: none;\n}\n.light-mode .section-flare-item:first-of-type:after,\n.light-mode .section-flare-item:first-of-type:before {\n  background-image: var(--stripes), var(--rainbow);\n  filter: opacity(4%) saturate(200%);\n}\n',slug:"elysiajs"},fastify:{uid:"nTZcdcM2_yHFZFxTQe9Kk",name:"Fastify",description:"Fastify theme",theme:".light-mode {\n  color-scheme: light;\n  --scalar-color-1: #1c1e21;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n  --scalar-color-disabled: #b4b1b1;\n  --scalar-color-ghost: #a7a7a7;\n  --scalar-color-accent: #2f8555;\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f5f5f5;\n  --scalar-background-3: #ededed;\n  --scalar-background-4: rgba(0, 0, 0, 0.06);\n  --scalar-background-accent: #2f85551f;\n\n  --scalar-border-color: rgba(0, 0, 0, 0.1);\n  --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n  --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n  --scalar-lifted-brightness: 1;\n  --scalar-backdrop-brightness: 1;\n\n  --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n  --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;\n\n  --scalar-button-1: rgb(49 53 56);\n  --scalar-button-1-color: #fff;\n  --scalar-button-1-hover: rgb(28 31 33);\n\n  --scalar-color-green: #007300;\n  --scalar-color-red: #af272b;\n  --scalar-color-yellow: #b38200;\n  --scalar-color-blue: #3b8ba5;\n  --scalar-color-orange: #fb892c;\n  --scalar-color-purple: #5203d1;\n}\n\n.dark-mode {\n  color-scheme: dark;\n  --scalar-color-1: rgba(255, 255, 255, 0.9);\n  --scalar-color-2: rgba(255, 255, 255, 0.62);\n  --scalar-color-3: rgba(255, 255, 255, 0.44);\n  --scalar-color-disabled: rgba(255, 255, 255, 0.34);\n  --scalar-color-ghost: rgba(255, 255, 255, 0.26);\n  --scalar-color-accent: #27c2a0;\n  --scalar-background-1: #1b1b1d;\n  --scalar-background-2: #242526;\n  --scalar-background-3: #3b3b3b;\n  --scalar-background-4: rgba(255, 255, 255, 0.06);\n  --scalar-background-accent: #27c2a01f;\n\n  --scalar-border-color: rgba(255, 255, 255, 0.1);\n  --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n  --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n  --scalar-lifted-brightness: 1.45;\n  --scalar-backdrop-brightness: 0.5;\n\n  --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n  --scalar-shadow-2:\n    rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n  --scalar-button-1: #f6f6f6;\n  --scalar-button-1-color: #000;\n  --scalar-button-1-hover: #e7e7e7;\n\n  --scalar-color-green: #26b226;\n  --scalar-color-red: #fb565b;\n  --scalar-color-yellow: #ffc426;\n  --scalar-color-blue: #6ecfef;\n  --scalar-color-orange: #ff8d4d;\n  --scalar-color-purple: #b191f9;\n}\n",slug:"fastify"}};Object.values(ph);var pf=["--scalar-color-1","--scalar-color-2","--scalar-color-3","--scalar-background-1","--scalar-background-2","--scalar-background-3","--scalar-color-accent"];function pg(e,t){let a=[...t.matchAll(RegExp(`(${e}): ([^;]+);`,"gm"))];return 0===a.length?{}:Object.fromEntries(a.map(e=>[e[1],e[2]]))}function pv(e){return e?{...pg("--scalar-color-[1-3]",e),...pg("--scalar-background-[1-3]",e),...pg("--scalar-color-accent",e)}:{}}var py=(0,u.pM)({inheritAttrs:!1,__name:"ScalarThemeSwatches",props:{css:{}},setup(e){var t;let{colors:a}=(t=()=>e.css,{colors:(0,u.EW)(()=>({light:pv((0,d.BA)(t).match(/\.light-mode[^{]*{[^}]*}/m)?.[0]),dark:pv((0,d.BA)(t).match(/\.dark-mode[^{]*{[^}]*}/m)?.[0])}))}),{cx:r}=(0,em.AX)();return(e,t)=>((0,u.uX)(),(0,u.CE)("div",(0,u.v6)({style:{"--bg-light":(0,d.R1)(a).light["--scalar-background-1"],"--bg-dark":(0,d.R1)(a).dark["--scalar-background-1"]}},(0,d.R1)(r)("flex *:size-3 overflow-hidden rounded","bg-(--bg-light) dark:bg-(--bg-dark)")),[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)((0,d.R1)(pf),e=>((0,u.uX)(),(0,u.CE)("div",{key:e,class:"bg-(--bg-light) dark:bg-(--bg-dark)",style:(0,Q.Tr)({"--bg-light":(0,d.R1)(a).light[e],"--bg-dark":(0,d.R1)(a).dark[e]})},null,4))),128))],16))}}),pb={class:"min-w-0 flex-1 truncate text-left"},pO={class:"text-c-1 inline-block min-w-0 flex-1 truncate"},pk=(0,u.pM)({__name:"ApiReferenceToolbarConfigTheme",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=(0,u.fn)(e,"modelValue"),a=(0,u.EW)(()=>pp.filter(e=>"none"!==e).map(e=>({id:e,label:pm[e],css:ph[e].theme}))),r=(0,u.EW)({get:()=>{let e=t.value??"default";return a.value.find(t=>
204t.id===e)??a.value[0]},set:e=>t.value=e.id});return(e,t)=>((0,u.uX)(),(0,u.Wv)((0,d.R1)(a0.ev),{modelValue:r.value,"onUpdate:modelValue":t[0]||(t[0]=e=>r.value=e),options:a.value,resize:""},{default:(0,u.k6)(({open:e})=>[(0,u.bF)((0,d.R1)(dW.A),null,{default:(0,u.k6)(()=>[(0,u.Lk)("div",pb,(0,Q.v_)(r.value.label),1),(0,u.bF)((0,d.R1)(py),{class:"mr-2",css:r.value.css},null,8,["css"]),(0,u.bF)((0,d.R1)(aZ.A),{class:(0,Q.C4)(["size-3.5 transition-transform",{"rotate-180":e}])},null,8,["class"])]),_:2},1024)]),option:(0,u.k6)(({selected:e,option:t})=>[(0,u.bF)((0,d.R1)(eN.Pq),{selected:e},null,8,["selected"]),(0,u.Lk)("span",pO,(0,Q.v_)(t.label),1),(0,u.bF)((0,d.R1)(py),{css:t.css},null,8,["css"])]),_:1},8,["modelValue","options"]))}}),px={class:"flex flex-col gap-4"},pw=(0,u.pM)({__name:"ModifyConfiguration",props:(0,u.zz)({configuration:{}},{overrides:{},overridesModifiers:{}}),emits:["update:overrides"],setup(e){let t=(0,u.fn)(e,"overrides"),{translate:a}=v(),r=(0,u.EW)(()=>(0,iI.q)({...t.value,...e.configuration,...t.value})),n=(0,u.EW)({get:()=>t.value?.theme??e.configuration?.theme??"default",set:e=>t.value={...t.value,theme:e}}),o=(0,u.EW)({get:()=>t.value?.layout??e.configuration?.layout??"modern",set:e=>t.value={...t.value,layout:e}});return(l,s)=>((0,u.uX)(),(0,u.Wv)(uD,{class:"w-120"},{label:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.configure")),1)]),default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(dY),null,{label:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.scalarConfiguration")),1)]),default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(iL.z),{class:"bg-b-1.5 flex max-h-40 flex-col rounded border text-sm",content:r.value,lang:"json"},null,8,["content"])]),_:1}),(0,u.Lk)("div",px,[(0,u.bF)((0,d.R1)(dq),null,{label:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.theme")),1)]),default:(0,u.k6)(()=>[(0,u.bF)(pk,{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=e=>n.value=e)},null,8,["modelValue"])]),_:1}),(0,u.bF)((0,d.R1)(dq),null,{label:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.layout")),1)]),default:(0,u.k6)(()=>[(0,u.bF)(pa,{modelValue:o.value,"onUpdate:modelValue":s[1]||(s[1]=e=>o.value=e)},null,8,["modelValue"])]),_:1}),(0,u.bF)((0,d.R1)(dq),{is:"div"},{label:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(a)("developerTools.layoutOptions")),1)]),default:(0,u.k6)(()=>[(0,u.bF)(pd,{modelValue:t.value,"onUpdate:modelValue":s[2]||(s[2]=e=>t.value=e),configuration:e.configuration},null,8,["modelValue","configuration"])]),_:1})])]),_:1}))}}),pS=a(11833),pC=(0,u.pM)({__name:"ApiReferenceToolbarShareTemporary",props:(0,u.zz)({workspace:{},externalUrls:{}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){let{toast:t}=(0,tq.Yf)(),a=(0,tD.R)(),{translate:r}=v(),n=(0,u.fn)(e,"url");async function o(){if(a.isLoading||!e.workspace||n.value)return;a.start();let o=e.workspace.exportActiveDocument("json");if(!o){t(r("developerTools.unableToExportDocument"),"error"),await a.invalidate();return}try{let t=await tI(o,e.externalUrls);await a.validate({duration:900,persist:!0}),n.value=t}catch(e){t(e instanceof Error?e.message:r("developerTools.unknownError"),"error"),await a.invalidate()}}return(t,l)=>((0,u.uX)(),(0,u.CE)(u.FK,null,[n.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(pS.X),{key:0,immediate:"",modelValue:n.value,name:"temporary-link",placeholder:`${e.externalUrls.registryUrl}/share/apis/…`},null,8,["modelValue","placeholder"])):((0,u.uX)(),(0,u.Wv)((0,d.R1)(aU.R),{key:1,class:"h-auto p-2.5",loader:(0,d.R1)(a),variant:"gradient",onClick:o},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(r)("developerTools.uploadDocument")),1)]),_:1},8,["loader"])),(0,u.bF)(uG,{class:"-mt-1"},{default:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(r)("developerTools.temporaryLinkExpiration")),1)]),_:1})],64))}}),p$={class:"text-c-2 mb-2 leading-normal"},pA=(0,u.pM)({__name:"ShareApiReference",props:{workspace:{},externalUrls:{}},setup(e){let{translate:t}=v();return(a,r)=>((0,u.uX)(),(0,u.Wv)(uD,{class:"w-120"},{label:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("developerTools.share")),1)]),default:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(dY),null,{label:(0,u.k6)(()=>[(0,u.eW)((0,Q.v_)((0,d.R1)(t)("developerTools.shareTitle")),1)]),default:(0,u.k6)(()=>[(0,u.Lk)("p",p$,(0,Q.v_)((0,d.R1)(t)("developerTools.shareDescription")),1),(0,u.bF)(pC,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])]),_:1})]),_:1}))}}),pR=["aria-label"],pE={class:"-mx-2 flex max-w-(--refs-content-max-width) flex-1 items-center"},pP={class:"flex flex-1 items-center"},pT=(0,u.pM)({__name:"DeveloperTools",props:(0,u.zz)({workspace:{},configuration:{},externalUrls:{}},{overrides:{},overridesModifiers:{}}),emits:["update:overrides"],setup(e){let t=(0,u.fn)(e,"overrides"),{translate:a}=v(),r=(0,u.EW)(()=>e.configuration?.showDeveloperTools==="always"||!(e.configuration?.showDeveloperTools==="never"||"u"<typeof window)&&(0,tS.L)(window.location.href));return(n,o)=>r.value?((0,u.uX)(),(0,u.CE)("header",{key:0,"aria-label":(0,d.R1)(a)("developerTools.title"),class:"api-reference-toolbar bg-b-1 relative z-1 flex h-10 justify-center border-b px-15"},[(0,u.Lk)("div",pE,[(0,u.Lk)("div",pP,[(0,u.bF)(uH)]),(0,u.bF)(pw,{overrides:t.value,"onUpdate:overrides":o[0]||(o[0]=e=>t.value=e),configuration:e.configuration},null,8,["overrides","configuration"]),e.workspace?((0,u.uX)(),(0,u.CE)(u.FK,{key:0},[(0,u.bF)(pA,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"]),(0,u.bF)(dK,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])],64)):(0,u.Q3)("",!0)])],8,pR)):(0,u.Q3)("",!0)}}),p_={key:0,class:"document-selector px-3 pt-3"},pj={class:"group/dropdown-label text-c-2 hover:text-c-1 flex w-full cursor-pointer items-center gap-1 font-medium",type:"button"},pQ={class:"overflow-hidden text-base text-ellipsis"},pL=(0,u.pM)({__name:"DocumentSelector",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){let a=(0,u.EW)(()=>e.options.map(e=>({id:e.id,label:e.label}))),r=(0,u.EW)(()=>a.value.find(t=>
204t.id===e.modelValue));return(n,o)=>e.options.length>1?((0,u.uX)(),(0,u.CE)("div",p_,[(0,u.bF)((0,d.R1)(eN.cy),{modelValue:r.value,options:a.value,resize:"","onUpdate:modelValue":o[0]||(o[0]=e=>t("update:modelValue",e.id))},{default:(0,u.k6)(({open:e})=>[(0,u.Lk)("button",pj,[(0,u.Lk)("span",pQ,(0,Q.v_)(r.value?.label||"Select API"),1),(0,u.bF)((0,d.R1)(aZ.A),{class:(0,Q.C4)(["size-3 text-current transition-transform",{"rotate-180":e}]),weight:"bold"},null,8,["class"])])]),_:1},8,["modelValue","options"])])):(0,u.Q3)("",!0)}});async function pM(e){try{return JSON.parse(e)}catch{let{parse:t}=await Promise.resolve().then(a.bind(a,52614));return t(e,{maxAliasCount:1e4,merge:!0})}}async function pZ(e,t,r){if(t===r)return e;let n=await pM(e);if("json"===r)return JSON.stringify(n,null,2);let{stringify:o}=await Promise.resolve().then(a.bind(a,52614));return o(n)}async function pU(e,t,a){let r,n=(r=e.trimStart()).startsWith("{")||r.startsWith("[")?"json":"yaml",o=a??n,l=`${t??"openapi"}.${o}`,s=new Blob([await pZ(e,n,o)],{type:"json"===o?"application/json":"application/x-yaml"}),i=URL.createObjectURL(s),c=document.createElement("a");c.href=i,c.download=l,c.dispatchEvent(function(){try{return new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})}catch{return new MouseEvent("click",{bubbles:!0,cancelable:!0})}}()),setTimeout(()=>{window.URL.revokeObjectURL(i),c.remove()},100)}var pX=a(95877);let pI=new Set(["link","style","script","noscript"]),pB=new Set(["title","titleTemplate","script","style","noscript"]),pq=new Set(["base","meta","link","style","script","noscript"]),pW=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),pD=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),pN=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),pV=new Set(["templateParams","htmlAttrs","bodyAttrs"]),pF=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),pz={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},pH={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},pY={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${pG(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>"seconds"===e?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>"boolean"==typeof t?pG(e):`${pG(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${pG(e)} ${t}`}},charset:{}};function pG(e){let t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),a=t.indexOf("-");return -1===a?t:pz.META.has(t.slice(0,a))||pz.OG.has(t.slice(0,a))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function pK(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>"false"!==String(t)&&e))}function pJ(e,t){let a=pK(t),r=pG(e),n=p0(r);return pF.has(r)?p1(Object.fromEntries(Object.entries(a).map(([t,a])=>[`${e}${"url"===t?"":`${t[0].toUpperCase()}${t.slice(1)}`}`,a]))||{}).sort((e,t)=>(e[n]?.length||0)-(t[n]?.length||0)):[{[n]:r,...a}]}function p0(e){if(pY[e]?.metaKey==="http-equiv"||pz.HTTP_EQUIV.has(e))return"http-equiv";let t=pG(e),a=t.indexOf(":");return -1===a?"name":pz.OG.has(t.slice(0,a))?"property":"name"}function p1(e){let t=[],a={};for(let[r,n]of Object.entries(e)){if(Array.isArray(n)){if("themeColor"===r){n.forEac
204h(e=>{"object"==typeof e&&null!==e&&t.push({name:"theme-color",...e})});continue}for(let e of n)if("object"==typeof e&&null!==e){let a=[],n=[];for(let[t,o]of Object.entries(e)){let e=p1({[`${r}${"url"===t?"":`:${t}`}`]:o});("url"===t?a:n).push(...e)}t.push(...a,...n)}else t.push(..."string"==typeof e?p1({[r]:e}):pJ(r,e));continue}if("object"==typeof n&&n)if(pz.MEDIA.has(r)){let e=r.startsWith("twitter")?"twitter":"og",a=r.replace(/^(og|twitter)/,"").toLowerCase(),o="twitter"===e?"name":"property";for(let[r,l]of(n.url&&t.push({[o]:`${e}:${a}`,content:n.url}),n.secureUrl&&t.push({[o]:`${e}:${a}:secure_url`,content:n.secureUrl}),Object.entries(n)))"url"!==r&&"secureUrl"!==r&&t.push({[o]:`${e}:${a}:${r}`,content:l})}else pF.has(pG(r))?t.push(...pJ(r,n)):a[r]=pK(n);else a[r]=n}return[...t,...Object.entries(a).map(([e,t])=>{if("charset"===e)return{charset:null===t?"_null":t};let a=p0(e),r=pH[e]||pG(e),n=null===t?"_null":"object"==typeof t?"refresh"===e?`${t.seconds};url=${t.url}`:function e(t,a={}){let{entrySeparator:r="",keyValueSeparator:n="",wrapValue:o,resolve:l}=a;return Object.entries(t).map(([t,r])=>{if(l){let e=l({key:t,value:r});if(void 0!==e)return e}let s="object"==typeof r?e(r,a):"number"==typeof r?r.toString():"string"==typeof r&&o?`${o}${r.replace(RegExp(o,"g"),`\\${o}`)}${o}`:r;return`${t}${n}${s}`}).join(r)}(function e(t){return Array.isArray(t)?t.map(e):t&&"object"==typeof t?Object.fromEntries(Object.entries(t).map(([t,a])=>[pG(t),e(a)])):t}(t),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?t:void 0,...pY[e]?.unpack}):"number"==typeof t?t.toString():t;return"http-equiv"===a?{"http-equiv":r,content:n}:{[a]:r,content:n}})].map(e=>"content"in e&&"_null"===e.content?{...e,content:null}:e)}let p2={key:"flatMeta",hooks:{"entries:normalize":e=>{let t=[];e.tags=e.tags.map(e=>"_flatMeta"!==e.tag?e:(t.push(p1(e.props).map(t=>({...e,tag:"meta",props:t}))),!1)).filter(Boolean).concat(...t)}}},p4=/^[a-z][a-z0-9\-]*[a-z0-9]$/i,p8=["name","property","http-equiv"],p3=new Set(["viewport","description","keywords","robots"]);function p6(e){let t=e.split(":");return!!t.length&&pF.has(t[1])}function p5(e){let{props:t,tag:a}=e;if(pD.has(a))return a;if("link"===a&&"canonical"===t.rel)return"canonical";if("link"===a&&"alternate"===t.rel){if(t.hreflang)return`alternate:${t.hreflang}`;if(t.type)return`alternate:${t.type}:${t.href||""}`}if(t.charset)return"charset";if("meta"===e.tag){for(let r of p8)if(void 0!==t[r]){let n=t[r],o=n&&"string"==typeof n&&n.includes(":"),l=n&&p3.has(n),s=!(o||l)&&e.key?`:key:${e.key}`:"";return`${a}:${n}${s}`}}if(e.key)return`${a}:key:${e.key}`;if(t.id)return`${a}:id:${t.id}`;if("link"===a&&"alternate"===t.rel)return`alternate:${t.href||""}`;if(pB.has(a)){let t=e.textContent||e.innerHTML;if(t)return`${a}:content:${t}`}}function p7(e){let t=e._h||e._d;if(t)return t;let a=e.textContent||e.innerHTML;return a||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(",")}`}function p9(e,t,a){"function"!=typeof e||a&&("titleTemplate"===a||"o"===a[0]&&"n"===a[1])||(e=e());let r=t?t(a,e):e;if(Array.isArray(r))return r.map(e=>p9(e,t));if(r?.constructor===Object){let e={};for(let a of Object.keys(r))e[a]=p9(r[a],t,a);return e}return r}function me(e,t){if(e.props=e.props||{},!t)return e;if("templateParams"===e.tag)return e.props=t,e;let a=pq.has(e.tag)||"htmlAttrs"===e.tag||"bodyAttrs"===e.tag;return Object.entries(t).forEach(([r,n])=>{if("__proto__"===r||"constructor"===r||"prototype"===r)return;if(null===n){e.props[r]=null;return}if("class"===r||"style"===r){e.props[r]=function(e,t){let a="style"===e?new Map:new Set;function r(t){if(null==t||void 0===t)return;let r=String(t).trim();if(r)if("style"===e){let[e,...t]=r.split(":").map(e=>e?e.trim():"");e&&t.length&&a.set(e,t.join(":"))}else r.split(" ").filter(Boolean).forEach(e=>a.add(e))}return"string"==typeof t?"style"===e?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(e=>r(e)):t&&"object"==typeof t&&Object.entries(t).forEach(([t,n])=>{n&&"false"!==n&&("style"===e?a.set(String(t).trim(),String(n)):r(t))}),a}(r,n);return}if(pN.has(r)){if(("textContent"===r||"innerHTML"===r)&&"object"==typeof n){let a=t.type;if(t.type||(a="application/json"),!a?.endsWith("json")&&"speculationrules"!==a)return;t.type=a,e.props.type=a,e[r]=JSON.stringify(n)}else e[r]=n;return}let o=r.startsWith("data-"),l=a&&!o?r.toLowerCase():r,s=String(n),i="meta"===e.tag&&"content"===l;"true"===s||""===s?e.props[l]=!o&&!i||s:!n&&o&&"false"===s?e.props[l]="false":void 0!==n&&(e.props[l]=n)}),e}let mt=(e,t)=>(0,d.i9)(t)?(0,d.BA)(t):t,ma="usehead";function mr(){if((0,u.PS)()){let e=(0,u.WQ)(ma);if(e)return e}throw Error("useHead() was called without provide context, ensure you call it through the setup() function.")}var mn=({config:e,store:t,isDarkMode:a})=>{(0,u.wB)(()=>(0,d.BA)(e).defaultHttpClient,e=>{if(e){let{targetKey:a,clientKey:r}=e,n=`${a}/${r}`;(0,aK.oc)(n)&&t.update("x-scalar-default-client",n)}},{immediate:!0}),(0,u.wB)(()=>(0,d.BA)(e).darkMode,e=>t.update("x-scalar-color-mode",e?"dark":"light")),(0,u.wB)(()=>a.value,e=>t.update("x-scalar-color-mode",e?"dark":"light"),{immediate:!0}),(0,d.BA)(e).metaData&&function(e={},t={}
204){(t.head||mr()).use(p2);let{title:a,titleTemplate:r,...n}=e;!function(e,t={}){let a=t.head||mr();a.ssr?a.push(e||{},t):function(e,t,a={}){let r,n=(0,d.KR)(!1);(0,u.nT)(()=>{let o=n.value?{}:p9(t,mt);r?r.patch(o):r=e.push(o,a)}),(0,u.nI)()&&((0,u.xo)(()=>{r.dispose()}),(0,u.Y4)(()=>{n.value=!0}),(0,u.n)(()=>{n.value=!1}))}(a,e,t)}({title:a,titleTemplate:r,_flatMeta:n},t)}((0,d.BA)(e).metaData),(0,u.wB)(()=>(0,d.BA)(e).proxyUrl,e=>t.update("x-scalar-active-proxy",e),{immediate:!0}),(0,tG.iwM)((0,u.EW)(()=>(0,d.BA)(e).favicon))},mo=a(88050),ml=a(78421),ms=e=>!!e.url?.trim()||!!e.content,mi=e=>e?"function"==typeof e?mi(e()):"string"==typeof e?(0,ml.U1)(e):e:null,mc=a(12121),mu=a(30895);a(64356),a(11420);var md=a(56151),mp=a(90734),mm=a(65495);let mh=(e,t={})=>{let{prefix:a="",cache:r=new WeakMap}=t,n=e=>({$ref:`#${e??""}`});if("object"!=typeof e||null===e)return e;r.set(e,a);let o=Array.isArray(e)?Array(e.length):{},l=new mm.o;for(l.enqueue({node:e,result:o,path:a});!l.isEmpty();){let e=l.dequeue();if(!e)continue;let{node:t,result:a,path:o}=e;if(Array.isArray(t)){for(let e=0;e<t.length;e++){if(!(e in t))continue;let s=t[e],i=`${o}/${e}`;if("object"!=typeof s||null===s){a[e]=s;continue}let c=r.get(s);if(void 0!==c){a[e]=n(c);continue}r.set(s,i);let u=Array.isArray(s)?Array(s.length):{};a[e]=u,l.enqueue({node:s,result:u,path:i})}continue}for(let[e,s]of Object.entries(t)){let t=`${o}/${ti(e)}`;if("object"!=typeof s||null===s){a[e]=s;continue}let i=r.get(s);if(void 0!==i){a[e]=n(i);continue}r.set(s,t);let c=Array.isArray(s)?Array(s.length):{};a[e]=c,l.enqueue({node:s,result:c,path:t})}}return o};var mf=a(85448),mg=a(22262),mv=a(37138),my=a(85281);let mb={Date:!0,RegExp:!0,String:!0,Number:!0};var mO=["dir","lang"],mk={key:1,class:"flex gap-1.5 px-3 pt-3"},mx={class:"no-underline hover:underline",href:"https://www.scalar.com",rel:"noopener noreferrer",target:"_blank"},mw={key:1},mS=["aria-label","inert"],mC={class:"w-64 empty:hidden"},m$={key:3,class:"references-footer"};"u">typeof window&&console.info("@scalar/[email protected]");var mA=s((0,u.pM)({__name:"ApiReference",props:{configuration:{}},setup(e,{expose:t}){var r;let n,o,l,s,i,{copyToClipboard:c}=(0,tB.i)(),p=(0,d.KR)(!1);(0,u.sV)(()=>{p.value=function(){if("u"<typeof window)return!1;let e=document.createElement("div");e.setAttribute("style","width:30px;height:30px;overflow-y:scroll;"),e.classList.add("scrollbar-test");let t=document.createElement("div");t.setAttribute("style","width:100%;height:40px"),e.appendChild(t),document.body.appendChild(e);let a=30-e.firstChild.clientWidth;return document.body.removeChild(e),!!a}()});let m=(0,my.Mf)({debug:!1}),v=(0,d.KR)(!1);(0,a5.I)(()=>(0,u.Bi)());let y=(0,u.EW)(()=>(e=>{let{slug:t}=(0,r0.K)(),a={};return e&&(Array.isArray(e)?e:[e]).flatMap(e=>{if((0,R.L)(e)){let{sources:t,...a}=e;return t?.map(e=>({...a,...e}))??[]}return[e]}).map(e=>(0,mo.u_)(e)).filter(ms).map((e,a)=>((e,t=0,a)=>e.title?{...e,slug:e.slug||a(e.title),title:e.title}:e.slug?{...e,slug:a(e.slug),title:e.slug}:{...e,slug:`api-${t+1}`,title:`API #${t+1}`})(e,a,t)).forEach(e=>{let{url:t,content:r,...n}=e;a[e.slug]={config:n,title:e.title,slug:e.slug,default:!!e?.default,agent:e.agent,source:r?{content:mi(r)??{}}:{url:t}}}),a})(e.configuration)),b=(0,u.EW)(()=>Object.keys(y.value).length>1),O=(0,d.KR)(Object.values(y.value).find(e=>e.default)?.slug??y.value[Object.keys(y.value)?.[0]??""]?.slug??"");if("u">typeof window){let e=new URL(window.location.href),t=e.searchParams.get("api");if(t&&y.value[t]){O.value=t;let a=au(ai(e,y.value[t].config.pathRouting?.basePath,t),y.value[t].config.pathRouting?.basePath,b.value);a&&(a.searchParams.delete("api"),window.history.replaceState({},"",a.toString()))}let a=ai(e,Object.values(y.value).map(e=>e.config.pathRouting?.basePath).find(t=>!!t&&((e,t)=>{let a="string"==typeof e?new URL(e):e;if(t.startsWith("#")){let e=decodeURIComponent(a.hash);return e===t||e.startsWith(`${t}/`)}let r=as(ar(t));return a.pathname===r||a.pathname.startsWith(`${r}/`)})(e,t)),b.value?void 0:O.value).split("/")[0];a&&y.value[a]&&(O.value=a)}let k=(0,u.EW)(()=>Object.values(y.value).map(e=>({label:e.title,id:e.slug}))),w=(0,d.KR)(""),S=(0,d.KR)(""),C=(0,u.EW)(()=>{let e=q.workspace.activeDocument;return(0,P.KK)(e)?e:null});(0,u.wB)(O,()=>
204{w.value="",S.value=""});let $=(0,d.KR)({}),A=(e,t)=>{let a=f(e.localization),r=$.value.modelsSectionLabel??(t?.modelsSectionLabel!==R.W?t?.modelsSectionLabel:void 0);return{...e,modelsSectionLabel:r??a.translations.models.label??R.W}},T=(0,u.EW)(()=>{let e=y.value[O.value]?.config;return A({...(0,mg.a)(mo.Ze,{}),...e,...$.value},e)}),_=(o=g(()=>T.value.localization),(0,u.Gt)(h,o),o),j=(0,u.EW)(()=>({...T.value,labels:{closeGroup:_.translate("navigation.closeGroup"),httpMethod:_.translate("common.httpMethod"),openGroup:_.translate("navigation.openGroup")}})),M=(0,u.EW)(()=>_.locale.value.replace("_","-")),Z=(0,u.EW)(()=>T.value.pathRouting?.basePath),U=e=>ad(e.id,Z.value,b.value),X=(0,u.EW)(()=>((e,t)=>{let{fonts:a=!0,layer:r="scalar-theme"}=t??{},n=[ph[e||"default"]?.theme??"/* basic theme */\n:root {\n  --scalar-text-decoration: underline;\n  --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f6f6f6;\n  --scalar-background-3: #e7e7e7;\n  --scalar-background-accent: #8ab4f81f;\n\n  --scalar-color-1: #1b1b1b;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n\n  --scalar-color-accent: #0099ff;\n  --scalar-border-color: #dfdfdf;\n}\n.dark-mode {\n  --scalar-background-1: #0f0f0f;\n  --scalar-background-2: #1a1a1a;\n  --scalar-background-3: #272727;\n\n  --scalar-color-1: #e7e7e7;\n  --scalar-color-2: #a4a4a4;\n  --scalar-color-3: #797979;\n\n  --scalar-color-accent: #00aeff;\n  --scalar-background-accent: #3ea6ff1f;\n\n  --scalar-border-color: #2d2d2d;\n}\n/* Document Sidebar */\n.light-mode,\n.dark-mode {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-hover-color: var(--scalar-sidebar-color-2);\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-2);\n  --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);\n\n  --scalar-sidebar-indent-border: var(--scalar-sidebar-border-color);\n  --scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color);\n  --scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color);\n\n  --scalar-sidebar-search-background: color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1));\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n/* advanced */\n.light-mode {\n  --scalar-color-green: #069061;\n  --scalar-color-red: #ef0006;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #0082d0;\n  --scalar-color-orange: #ff5800;\n  --scalar-color-purple: #5203d1;\n\n  --scalar-link-color: var(--scalar-color-1);\n  --scalar-link-color-hover: var(--scalar-link-color);\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n\n  --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), transparent 10%);\n  --scalar-tooltip-color: var(--scalar-color-1);\n\n  --scalar-color-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);\n  --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);\n\n  --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);\n  --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);\n}\n.dark-mode {\n  --scalar-color-green: #00b648;\n  --scalar-color-red: #dc1b19;\n  --scalar-color-yellow: #ffc90d;\n  --scalar-color-blue: #4eb3ec;\n  --scalar-color-orange: #ff8d4d;\n  --scalar-color-purple: #b191f9;\n\n  --scalar-link-color: var(--scalar-color-1);\n  --scalar-link-color-hover: var(--scalar-link-color);\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n\n  --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), #fff 10%);\n  --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 5%);\n\n  --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);\n\n  --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);\n  --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);\n}\n@supports (color: color(display-p3 1 1 1)) {\n  .light-mode {\n    --scalar-color-accent: color(display-p3 0 0.6 1 / 1);\n    --scalar-color-green: color(display-p3 0.023529 0.564706 0.380392 / 1);\n    --scalar-color-red: color(display-p3 0.937255 0 0.023529 / 1);\n    --scalar-color-yellow: color(display-p3 0.929412 0.745098 0.12549 / 1);\n    --scalar-color-blue: color(display-p3 0 0.509804 0.815686 / 1);\n    --scalar-color-orange: color(display-p3 1 0.4 0.02);\n    --scalar-color-purple: color(display-p3 0.321569 0.011765 0.819608 / 1);\n  }\n  .dark-mode {\n    --scalar-color-accent: color(display-p3 0.07 0.67 1);\n    --scalar-color-green: color(display-p3 0 0.713725 0.282353 / 1);\n    --scalar-color-red: color(display-p3 0.862745 0.105882 0.098039 / 1);\n    --scalar-color-yellow: color(display-p3 1 0.788235 0.05098 / 1);\n    --scalar-color-blue: color(display-p3 0.305882 0.701961 0.92549 / 1);\n    --scalar-color-orange: color(display-p3 1 0.552941 0.301961 / 1);\n    --scalar-color-purple: color(display-p3 0.694118 0.568627 0.976471 / 1);\n  }\n}\n",a?'/* Inter (--scalar-font) */\n/* cyrillic-ext */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-cyrillic-ext.woff2) format("woff2");\n  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-cyrillic.woff2) format("woff2");\n  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek-ext */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-greek-ext.woff2) format("woff2");\n  unicode-range: U+1F00-1FFF;\n}\n/* greek */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-greek.woff2) format("woff2");\n  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-vietnamese.woff2) format("woff2");\n  unicode-range:\n    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,\n    U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,\n    U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-latin-ext.woff2) format("woff2");\n  unicode-range:\n    U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,\n    U+A720-A7FF;\n}\n/* latin */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-latin.woff2) format("woff2");\n  unicode-range:\n    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,\n    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,\n    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* keyboard symbols (←↑→↓↵⇧⇪⌘⌥) */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-symbols.woff2) format("woff2");\n  unicode-range: U+2190-2193, U+21B5, U+21E7, U+21EA, U+2318, U+2325;\n}\n\n/* JetBrains Mono (--scalar-font-code) */\n/* cyrillic-ext */\n@font-face {\n  font-family: "JetBrains Mono";\n  font-style: normal;\n  font-weight: 400;\n  src: url(https://fonts.scalar.com/mono-cyrillic-ext.woff2) format("woff2");\n  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n  font-family: "JetBrains Mono";\n  font-style: normal;\n  font-weight: 400;\n  src: url(https://fonts.scalar.com/mono-cyrillic.woff2) format("woff2");\n  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n  font-family: "JetBrains Mono";\n  font-style: normal;\n  font-weight: 400;\n  src: url(https://fonts.scalar.com/mono-greek.woff2) format("woff2");\n  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n  font-family: "JetBrains Mono";\n  font-style: normal;\n  font-weight: 400;\n  src: url(https://fonts.scalar.com/mono-vietnamese.woff2) format("woff2");\n  unicode-range:\n    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,\n    U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,\n    U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n  font-family: "JetBrains Mono";\n  font-style: normal;\n  font-weight: 400;\n  src: url(https://fonts.scalar.com/mono-latin-ext.woff2) format("woff2");\n  unicode-range:\n    U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,\n    U+A720-A7FF;\n}\n/* latin */\n@font-face {\n  font-family: "JetBrains Mono";\n  font-style: normal;\n  font-weight: 400;\n  src: url(https://fonts.scalar.com/mono-latin.woff2) format("woff2");\n  unicode-range:\n    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,\n    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,\n    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n':""].join("");return r?`@layer ${r} {
205${n}}`:n})(T.value.theme,{fonts:T.value.withDefaultFonts})),I=(0,u.EW)(()=>`${T.value.customCss??""}
206${X.value}`.replace(/<\/style/gi,"<\\/style")),B=e=>e.flatMap(e=>{let t="children"in e&&e.children?B(e.children):[];return"webhook"===e.type?[{name:e.name,method:e.method,id:e.id},...t]:t});if("u">typeof window){let e=av(window.location.href,(0,at.Y)(T.value.modelsSectionLabel??R.W),O.value,b.value,T.value.pathRouting?.basePath);e&&window.history.replaceState({},"",e.toString())}if(T.value.redirect&&"u">typeof window){let e=T.value.redirect((T.value.pathRouting?window.location.pathname:"")+window.location.hash);e&&window.history.replaceState({},"",e)}let q=(0,mv.P)({verbose:!1}),W=(0,mv.P)({verbose:!1,plugins:[(({debounceDelay:e=500,maxWait:t=1e4,persistAuth:a=!1})=>{let{execute:r}=(0,ae.s)({delay:e,maxWait:t}),n=t9(),o=t7();return{hooks:{onWorkspaceStateChanges(e){if("meta"===e.type){let t=e.value["x-scalar-default-client"];void 0!==t&&r("x-scalar-default-client",()=>o.set(t));return}("function"==typeof a?a():a)&&"auth"===e.type&&r(`auth-${e.documentName}`,()=>n.setAuth(e.documentName,e.value))}}}})({persistAuth:()=>T.value.persistAuth??!1})]}),D=t1({plugins:Object.values(y.value).flatMap(e=>e.config.plugins??[]),auth:{export:()=>W.auth.export(),getAuthSecrets:(e,t)=>mh(W.auth.getAuthSecrets(e,t)),getAuthSelectedSchemas:e=>mh(W.auth.getAuthSelectedSchemas(e))}});(0,u.Gt)(t2,D),D.notifyInit(T.value),(0,u.wB)(T,e=>D.notifyConfigChange(e));let{toggleColorMode:N,isDarkMode:V}=(0,mf.G)({initialColorMode:{true:"dark",false:"light",undefined:"system"}[String(T.value.darkMode)],overrideColorMode:T.value.forceDarkModeState}),F=(0,u.EW)(()=>q.workspace.activeDocument),z=(0,u.EW)(()=>D.getSidebarEntries(O.value).reduce((e,t)=>
206(e[t.viewName].push({id:t.id,title:t.label,type:"text"}),e),{"content.start":[],"content.end":[]})),H=e=>{let t=_.translate("navigation.introduction"),a=_.translate("navigation.webhooks"),r=T.value.modelsSectionLabel??R.W,n=e=>{let o=!1,l=e.map(e=>{let l=e;if(x(e)&&e.title!==t?l={...e,title:t}:"tag"===e.type&&!0===e.isWebhooks&&(e.title!==a||e.name!==a)?l={...e,title:a,name:a}:"models"===e.type&&(e.title!==r||e.name!==r)&&(l={...e,title:r,name:r}),"children"in e&&e.children){let t=n(e.children);t!==e.children&&((l=l===e?{...e}:l).children=t)}return l!==e&&(o=!0),l});return o?l:e};return n(e)},Y=(0,L.wF)((0,u.EW)(()=>Object.entries(q.workspace.documents).map(([e,t])=>{let a=t["x-scalar-navigation"]?.children??[],r=e===O.value?[...z.value["content.start"],...H(a),...z.value["content.end"]]:H(a);return{id:e,type:"document",description:t.info.description,name:t.info.title??e,title:t.info.title??e,children:r}})),{hooks:{}}),G=e=>{e.forEach(e=>{("tag"===e.type||"models"===e.type)&&Y.setExpanded(e.id,!0),"children"in e&&e.children&&G(e.children)})},K=(0,u.EW)(()=>{let e=T.value;if(!e)return[];let t=Y.items.value.find(e=>e.id===O.value)?.children??[],a=C.value?((e,t,a)=>{if((({protocol:e,server:t})=>(!e||"all"===e)&&(!t||"all"===t))(a))return e;let r=tg(t);return e.flatMap(e=>{let n=tw(e,t,a,r);return n?[n]:[]})})(t,C.value,{protocol:w.value,server:S.value}):t;if(e.defaultOpenAllTags&&G(a),e.expandAllModelSections){let e=a.find(e=>"models"===e.type);e&&(Y.setExpanded(e.id,!0),e.children?.forEach(e=>{Y.setExpanded(e.id,!0)}))}return a}),J=(0,u.EW)(()=>K.value.find(x)?.id??`${O.value}/description/introduction`),ee=(0,d.KR)(!0);(0,u.sV)(()=>{ee.value=!1});let et=(0,d.KR)(""),ea=(0,u.EW)(()=>({breadcrumb:et.value})),er=e=>{let t=Y.getEntryById(e);t&&"document"!==t.type?et.value=t.title:et.value=""},en=(0,u.EW)(()=>{let e=Y.selectedItem.value;if(!e)return[];let t=[],a=Y.getEntryById(e);for(;a;)"tag"===a.type&&(!0!==a.isTagGroup||"classic"===T.value.layout)&&t.unshift({id:a.id,title:a.title}),a=a.parent;return t}),eo=e=>{er(e),Y.setSelected(e),((e,t,a)=>{var r;let n,o,l=a(e),s=!ax.has(e)||l?.children?.some(e=>!ax.has(e.id))?(r=e,n=!1,(o=e=>{let t=document.getElementById(r);t&&t.scrollIntoView({block:"start"}),e||requestAnimationFrame(()=>o(n))})(!1),()=>{n=!0}):void 0;s&&aR.add(s);let i=aT(),{rawId:c}=(e=>{let t=-1;for(let a of ag){let r=e.indexOf(a);-1!==r&&(-1===t||r<t)&&(t=r)}return -1===t?{rawId:e,params:""}:{rawId:e.slice(0,t),params:e.slice(t+1)}})(e);if(aC.value=e,aQ(e),aQ(c),l?.children&&l.children.slice(0,2).forEach(e=>aQ(e.id)),l?.parent){let t=a(l.parent.id),r=t?.children?.findIndex(t=>t.id===e);void 0!==r&&r>=0&&t?.children?.slice(r,r+2).forEach(e=>aQ(e.id))}t(c,!0);let d=e=>{let r=a(e)?.parent;r&&(aQ(r.id),t(r.id,!0),d(r.id))};d(c),(0,u.dY)(()=>{aM(e,Date.now()+3e3,i,s)})})(e,Y.setExpanded,Y.getEntryById)},el=e=>{let t=T.value?.setPageTitle,a=Y.getEntryById(e);
206if(!t||"u"<typeof document||!a?.title)return;let r=q.workspace.activeDocument;document.title=t({title:a.title,document:{title:r?.info?.title??O.value,slug:O.value}})};mn({config:()=>T.value,store:q,isDarkMode:V}),mn({config:()=>T.value,store:W,isDarkMode:V});let es=(0,u.EW)(()=>(0,E.Ot)(q,q.workspace.activeDocument??null).environment);"u">typeof window&&(window.dataDumpWorkspace=()=>q),t({eventBus:m,workspaceStore:q,sidebarItems:K});let ei=(0,u.EW)(()=>{var e;let t,a;return e=K.value,t={},(a=e=>{for(let r of e)"model"===r.type&&(t[r.name]??=r.id),"children"in r&&r.children?.length&&a(r.children)})(e),t});m.on("scroll-to:model-by-name",({name:e})=>{let t=ei.value[e];t&&eo(t)});let ec=async(e,t)=>{var a;let r=await q.addDocument(e,t),n=W.workspace.documents[e.name],o=n&&"object"==typeof n?n["x-scalar-selected-server"]:void 0,l=(a=q.exportWorkspace().documents[e.name],("u"<typeof window?(0,mc.G)(a):window.structuredClone(a))??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""});return"string"==typeof o&&Object.assign(l,{"x-scalar-selected-server":o}),W.loadWorkspace({auth:{},documents:{[e.name]:l},intermediateDocuments:{},originalDocuments:{},overrides:{},history:{},meta:{}}),r},eu=new Map,ed=e=>{if(q.workspace.documents[e])return Promise.resolve();let t=eu.get(e);if(t)return t;let a=y.value[e];if(!a)return Promise.resolve();let r=A({...a.config,...$.value},a.config),n=(async()=>{let t=await ec(a.source.url?{name:e,url:a.source.url,fetch:r.customFetch}:{name:e,document:a.source.content??{}},r),n=W.workspace.documents[e];if(!0===t&&(0,P.yF)(n)&&void 0===n["x-scalar-selected-server"]){let t=(0,E.Ve)(a.config.servers??n.servers,{baseServerUrl:r.baseServerURL,documentUrl:a.source.url});t.length>0&&W.updateDocument(e,"x-scalar-selected-server",t[0].url)}})().finally(()=>{eu.delete(e)});return eu.set(e,n),n},ep=!1,em=async(e,t)=>{let a,r,n=y.value[e];if(!n)return void console.warn(`Document ${e} not found in configList`);let o=A({...n.config,...$.value},n.config),l=o.onDocumentSelect?.();if((a=au(t||e,o.pathRouting?.basePath,b.value))&&window.history.replaceState({},"",a.toString()),O.value=e,ev.value?.route({documentSlug:e,method:"get",path:"/"}),await ed(e),q.update("x-scalar-active-document",e),W.update("x-scalar-active-document",e),t&&"u">typeof window){let a=av(window.location.href,(0,at.Y)(o.modelsSectionLabel??R.W),e,b.value,o.pathRouting?.basePath,B(q.workspace.activeDocument?.["x-scalar-navigation"]?.children??[]));a&&(window.history.replaceState({},"",a.toString()),t=ai(a.href,o.pathRouting?.basePath,b.value?void 0:e)||t)}if(o.persistAuth&&(r=t9().getAuth(e),W.auth.load({[e]:r})),(async()=>{await l,o.onLoaded?.(e)})(),t&&t!==e)eo(t);else if(o.defaultOpenFirstTag){let e=K.value.find(e=>"tag"===e.type);e&&Y.setExpanded(e.id,!0)}el(t&&t!==e?t:e)};(0,u.wB)(()=>Object.values(y.value),async(e,t)=>{let a=async(e,t)=>{let a=A({...e.config,...$.value},e.config),r=eu.get(e.slug);r&&await r,!q.workspace.documents[e.slug]||(e.source.url&&e.source.url!==t?.source.url?await ec({name:e.slug,url:e.source.url,fetch:a.customFetch},a):e.source.content&&function e(t,a,r={cyclesFix:!0},n=[]){let o=[],l=Array.isArray(t);for(let s in t){let i=t[s],c=l?+s:s;if(!(s in a)){o.push({type:"REMOVE",path:[c],oldValue:t[s]});continue}let u=a[s],d="object"==typeof i&&"object"==typeof u&&Array.isArray(i)===Array.isArray(u);i&&u&&d&&!mb[Object.getPrototypeOf(i)?.constructor?.name]&&(!r.cyclesFix||!n.includes(i))?o.push.apply(o,e(i,u,r,r.cyclesFix?n.concat([i]):[]).map(e=>(e.path.unshift(c),e))):i===u||Number.isNaN(i)&&Number.isNaN(u)||d&&(isNaN(i)?i+""==u+"":+i==+u)||o.push({path:[c],type:"CHANGE",value:u,oldValue:i})}let s=Array.isArray(a);for(let e in a)e in t||o.push({type:"CREATE",path:[s?+e:e],value:a[e]});return o}(e.source.content,t&&"content"in t.source?t.source.content??{}:{}).length&&await ec({name:e.slug,document:e.source.content},a))};e.forEach((e,r)=>a(e,t[r]));let r=e.map(e=>e.slug),n=t.map(e=>e.slug);r.length===n.length&&r.every((e,t)=>e===n[t])||await em(r[0]??"")},{deep:!0}),(0,u.SS)(()=>em(O.value)),(0,u.KC)(async()=>{let e;e=t7().get(),(0,aK.dr)(e)&&!W.workspace["x-scalar-default-client"]&&W.update("x-scalar-default-client",e),await em(O.value,ai(window.location.href,y.value[O.value]?.config.pathRouting?.basePath,b.value?void 0:O.value)),(()=>{if("u"<typeof window)return;let e=Object.keys(y.value).filter(e=>
206!q.workspace.documents[e]),t=e=>{if("function"==typeof window.requestIdleCallback){let t=window.requestIdleCallback(e,{timeout:1500});n=()=>window.cancelIdleCallback(t)}else{let t=window.setTimeout(e,200);n=()=>window.clearTimeout(t)}},a=()=>{if(ep)return;let r=e.shift();r&&ed(r).finally(()=>{ep||t(a)})};t(a)})()});let eh=(0,u.EW)(()=>y.value[O.value]?.source?.url),ef=(r={agentEnabled:(0,u.EW)(()=>!y.value[O.value]?.agent?.disabled&&(!!("u">typeof window&&(0,tS.L)(window.location.href))||!!y.value[O.value]?.agent?.key))},l=(0,d.KR)(!1),s=(0,d.KR)(""),t$.value=i={showAgent:l,agentEnabled:r.agentEnabled??(0,u.EW)(()=>(0,tS.L)(window.location.href)),prefilledMessage:s,openAgent:e=>{s.value=e??"",l.value=!0},closeAgent:()=>{l.value=!1,s.value=""},toggleAgent:()=>{l.value=!l.value,l.value||(s.value="")}},i);(0,u.Gt)(tC,ef);let eg=(0,u.rk)("modal"),ev=(0,d.KR)(null);(0,u.sV)(async()=>{if(!eg.value)return;let{createApiClientModal:e}=await Promise.all([a.e(9242),a.e(1891)]).then(a.bind(a,21573));if(eg.value){let t;ev.value=e({el:eg.value,eventBus:m,workspaceStore:W,options:T,plugins:[...D.getApiClientPlugins(),...(t={hooks:{}},(0,u.wB)([()=>T.value.onBeforeRequest,()=>T.value.onRequestBuilt,()=>T.value.onRequestSent,()=>es.value],([e,a,r,n])=>{let o=(0,E.RW)(n);t.hooks||(t.hooks={}),t.hooks.beforeRequest=e?async t=>{let a=(0,E.mK)(t.requestBuilder,{envVariables:o,allowMissingRequestServerBase:!0});a.ok?await e({request:(0,pX.jg)(...a.data.requestPayload),requestBuilder:t.requestBuilder,envVariables:o}):console.error("[@scalar/api-reference] onBeforeRequest was not run because the request could not be built:",a.message??a.error)}:void 0,t.hooks.requestBuilt=a?async e=>{await a({request:e.request,requestBuilder:e.requestBuilder,envVariables:o})}:void 0,t.hooks.responseReceived=r?e=>{r(e.request.url)}:void 0},{immediate:!0}),[t])]})}}),(0,u.xo)(()=>{ep=!0,n?.(),n=void 0,D.notifyDestroy(),ev.value?.app.unmount()}),m.on("server:update:selected",({url:e})=>T.value.onServerChange?.(e)),m.on("asyncapi-server:update:selected",({name:e})=>{let t=W.workspace.activeDocument;if(!(0,P.KK)(t))return;let a=th(t,{webSocketOnly:!1}).find(t=>t.name===e);T.value.onServerChange?.(a?.url??e)}),m.on("ui:download:document",({format:e})=>{let t=q.exportActiveDocument(e);t?pU(t,O.value??"openapi",e):console.error("No document found to download")});let ey=(e,t)=>{let a=Y.getEntryById(e);if(el(e),(a?.type==="tag"||a?.type==="models"||a?.type==="text")&&Y.isExpanded(e)&&Y.selectedItem.value===e){let t=aT();Y.setExpanded(e,!1),t();return}a?.type!=="tag"&&a?.type!=="models"&&(v.value=!1),eo(e);let r=au(e,Z.value,b.value);r&&(window.history.pushState({},"",r),"sidebar"===t&&T.value.onSidebarClick?.(r.toString())),ef.showAgent.value&&ef.closeAgent()};m.on("select:nav-item",({id:e})=>ey(e)),m.on("scroll-to:nav-item",({id:e})=>ey(e)),m.on("intersecting:nav-item",({id:e})=>{if(!a_.value)return;Y.setSelected(e),er(e),el(e),(0,L.cL)(e);let t=au(e,Z.value,b.value);t&&q.workspace.activeDocument&&window.history.replaceState({},"",t.toString())}),m.on("toggle:nav-item",({id:e,open:t})=>{if(t){T.value.onShowMore?.(e);let t=Y.getEntryById(e);if(t&&"children"in t&&t.children){let e=t.children[0];e&&aQ(e.id)}}Y.setExpanded(e,t??!Y.isExpanded(e))}),m.on("copy-url:nav-item",({id:e})=>{let t=au(e,Z.value,b.value)?.toString();return t&&c(t)}),(0,u.KC)(()=>{window.history.scrollRestoration="manual",(0,mp.A)(),window.addEventListener("popstate",()=>{let e=ai(window.location.href,T.value.pathRouting?.basePath,b.value?void 0:O.value);e&&eo(e)})});let eb=(0,u.rk)("documentStartRef");tK(eb,()=>{m.emit("intersecting:nav-item",{id:J.value})},{onExit:()=>{let e=window.innerHeight/2,t=document.elementsFromPoint(window.innerWidth/2,e).find(e=>"SECTION"===e.tagName&&e.id);t?.id&&m.emit("intersecting:nav-item",{id:t.id})},immediate:!0});let eO=(0,u.EW)(()=>{let e=q.workspace["x-scalar-color-mode"];return"system"===e?"u"<typeof window||"function"!=typeof window?.matchMedia?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e}),ek=(0,tG.K$F)("u">typeof document?document.body:null);(0,u.wB)(ef.showAgent,()=>ek.value=ef.showAgent.value);let ex=(0,u.EW)(()=>!T.value.mcp?.disabled&&(!!("u">typeof window&&(0,tS.L)(window.location.href))||!!T.value.mcp));return(e,t)=>((0,u.uX)(),(0,u.CE)("div",null,[((0,u.uX)(),(0,u.Wv)((0,u.$y)("style"),{innerHTML:I.value},null,8,["innerHTML"])),(0,u.Lk)("div",{ref:"documentEl",class:(0,Q.C4)(["scalar-app scalar-api-reference references-layout",[{"scalar-api-references-standalone-mobile":T.value.showSidebar,"scalar-scrollbars-obtrusive":p.value,"references-editable":T.value.isEditable,"references-sidebar":T.value.showSidebar,"references-sidebar-mobile-open":v.value,"references-classic":"classic"===T.value.layout},e.$attrs.class]]),dir:(0,d.R1)(_).direction.value,lang:M.value},[(0,d.R1)(ef).agentEnabled.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(tU),{key:0,agentScalarConfiguration:y.value[O.value]?.agent,externalUrls:T.value.externalUrls,workspaceStore:(0,d.R1)(q)},null,8,["agentScalarConfiguration","externalUrls","workspaceStore"])):(0,u.Q3)("",!0),"modern"===T.value.layout?((0,u.uX)(),(0,u.Wv)(uU,{key:1,breadcrumb:et.value,isSidebarOpen:v.value,showSidebar:T.value.showSidebar,onToggleSidebar:t[5]||
206(t[5]=()=>v.value=!v.value)},{search:(0,u.k6)(()=>[T.value.hideSearch?(0,u.Q3)("",!0):((0,u.uX)(),(0,u.Wv)(eD,{key:0,class:"my-2",document:F.value,eventBus:(0,d.R1)(m),hideModels:T.value.hideModels,modelsSectionLabel:T.value.modelsSectionLabel,searchHotKey:T.value.searchHotKey,showSidebar:T.value.showSidebar},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey","showSidebar"]))]),sidebar:(0,u.k6)(({sidebarClasses:a})=>[T.value.showSidebar&&"modern"===T.value.layout?((0,u.uX)(),(0,u.Wv)((0,d.R1)(L.t$),{key:0,"aria-label":(0,d.R1)(_).translate("navigation.sidebarFor",{name:(0,d.R1)(q).workspace.activeDocument?.info?.title??""}),class:(0,Q.C4)(["t-doc__sidebar",a]),getHref:U,isExpanded:(0,d.R1)(Y).isExpanded,isSelected:(0,d.R1)(Y).isSelected,items:K.value,layout:"reference",options:j.value,onSelectItem:t[3]||(t[3]=e=>ey(e,"sidebar")),onToggleGroup:t[4]||(t[4]=e=>(0,d.R1)(Y).setExpanded(e,!(0,d.R1)(Y).isExpanded(e)))},{header:(0,u.k6)(()=>[k.value.length>1?((0,u.uX)(),(0,u.Wv)(pL,{key:0,modelValue:O.value,options:k.value,"onUpdate:modelValue":em},null,8,["modelValue","options"])):(0,u.Q3)("",!0),T.value.hideSearch?(0,u.Q3)("",!0):((0,u.uX)(),(0,u.CE)("div",mk,[(0,u.bF)(eD,{document:F.value,eventBus:(0,d.R1)(m),hideModels:T.value.hideModels,modelsSectionLabel:T.value.modelsSectionLabel,searchHotKey:T.value.searchHotKey},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey"]),(0,d.R1)(ef).agentEnabled.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(tL),{key:0})):(0,u.Q3)("",!0)])),(0,u.RG)(e.$slots,"sidebar-start",(0,Q._B)((0,u.Ng)(ea.value)),void 0,!0)]),before:(0,u.k6)(()=>[(0,u.bF)((0,d.R1)(tk),{protocol:w.value,"onUpdate:protocol":t[0]||(t[0]=e=>w.value=e),server:S.value,"onUpdate:server":t[1]||(t[1]=e=>S.value=e),document:C.value},null,8,["protocol","server","document"]),C.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(eM.Kx),{key:0,class:"asyncapi-sidebar-document-section"},{default:(0,u.k6)(()=>[...t[8]||(t[8]=[(0,u.eW)(" Document ",-1)])]),_:1})):(0,u.Q3)("",!0)]),footer:(0,u.k6)(()=>[(0,u.RG)(e.$slots,"sidebar-end",(0,Q._B)((0,u.Ng)(ea.value)),()=>[(0,u.bF)((0,d.R1)(eM.iQ),{class:"darklight-reference"},{description:(0,u.k6)(()=>[(0,u.Lk)("a",mx,(0,Q.v_)((0,d.R1)(_).translate("footer.poweredByScalar")),1)]),toggle:(0,u.k6)(()=>[T.value.hideDarkModeToggle||T.value.forceDarkModeState?((0,u.uX)(),(0,u.CE)("span",mw)):((0,u.uX)(),(0,u.Wv)((0,d.R1)(md.Jt),{key:0,modelValue:"dark"===eO.value,"onUpdate:modelValue":t[2]||(t[2]=()=>(0,d.R1)(N)())},null,8,["modelValue"]))]),default:(0,u.k6)(()=>[T.value.hideClientButton||ex.value?(0,u.Q3)("",!0):((0,u.uX)(),(0,u.Wv)((0,d.R1)(mu.A),{key:0,buttonSource:"sidebar",integration:T.value._integration,isDevelopment:(0,d.R1)(!1),url:eh.value},null,8,["integration","isDevelopment","url"])),ex.value?((0,u.uX)(),(0,u.Wv)((0,d.R1)(tV),{key:1,config:T.value.mcp,externalUrls:T.value.externalUrls,isDevelopment:(0,d.R1)(!1),url:eh.value,workspace:(0,d.R1)(q)},null,8,["config","externalUrls","isDevelopment","url","workspace"])):(0,u.Q3)("",!0)]),_:1})],!0)]),_:3},8,["aria-label","class","isExpanded","isSelected","items","options"])):(0,u.Q3)("",!0)]),_:3},8,["breadcrumb","isSidebarOpen","showSidebar"])):(0,u.Q3)("",!0),ee.value?((0,u.uX)(),(0,u.Wv)(uA,{key:2,basePath:Z.value,isMultiDocument:b.value,items:K.value,options:j.value},null,8,["basePath","isMultiDocument","items","options"])):(0,u.Q3)("",!0),(0,u.Lk)("main",{"aria-label":(0,d.R1)(_).translate("navigation.mainContent",{name:(0,d.R1)(q).workspace.activeDocument?.info?.title??""}),class:"references-rendered",inert:(0,d.R1)(ef).showAgent.value},[(0,u.bF)(uS,{authStore:(0,d.R1)(W).auth,clientDocument:(0,d.R1)(W).workspace.activeDocument,contextChain:en.value,document:(0,d.R1)(q).workspace.activeDocument,documentSlug:O.value,environment:es.value,eventBus:(0,d.R1)(m),expandedItems:(0,d.R1)(Y).expandedItems.value,headingSlugGenerator:T.value.generateHeadingSlug??(e=>`${O.value}/description/${e.slug}`),infoSectionId:J.value,items:K.value,options:T.value,xScalarDefaultClient:(0,d.R1)(W).workspace["x-scalar-default-client"],xScalarDefaultExample:(0,d.R1)(W).workspace["x-scalar-default-example"]},(0,u.eX)({start:(0,u.k6)(()=>[(0,u.Lk)("div",{ref_key:"documentStartRef",ref:eb},null,512),(0,d.R1)(q).workspace.activeDocument?((0,u.uX)(),(0,u.Wv)((0,d.R1)(pT),{key:0,overrides:$.value,"onUpdate:overrides":t[6]||(t[6]=e=>$.value=e),class:"references-developer-tools",configuration:T.value,externalUrls:T.value.externalUrls,workspace:(0,d.R1)(q)},null,8,["overrides","configuration","externalUrls","workspace"])):(0,u.Q3)("",!0),"classic"===T.value.layout?((0,u.uX)(),(0,u.Wv)(tY,{key:1},{"dark-mode-toggle":(0,u.k6)(()=>[T.value.hideDarkModeToggle||T.value.forceDarkModeState?(0,u.Q3)("",!0):((0,u.uX)(),(0,u.Wv)((0,d.R1)(md.en),{key:0,class:"text-c-2 hover:text-c-1",mode:eO.value,style:{transform:"scale(1.4)"},variant:"icon",onClick:t[7]||(t[7]=()=>(0,d.R1)(N)())},null,8,["mode"]))]),default:(0,u.k6)(()=>[(0,u.Lk)("div",mC,[k.value.length>1?((0,u.uX)(),(0,u.Wv)(pL,{key:0,modelValue:O.value,options:k.value,"onUpdate:modelValue":em},null,8,["modelValue","options"])):(0,u.Q3)("",!0)]),T.value.hideSearch?(0,u.Q3)("",!0):((0,u.uX)(),(0,u.Wv)(eD,{key:0,class:"t-doc__sidebar max-w-64",document:F.value,eventBus:(0,d.R1)(m),hideModels:T.value.hideModels,modelsSectionLabel:T.value.modelsSectionLabel,searchHotKey:T.value.searchHotKey},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey"]))]),_:1})):(0,u.Q3)("",!0),(0,u.RG)(e.$slots,"content-start",(0,Q._B)((0,u.Ng)(ea.value)),void 0,!0)]),end:(0,u.k6)(()=>[(0,u.RG)(e.$slots,"content-end",(0,Q._B)((0,u.Ng)(ea.value)),void 0,!0)]),_:2},[T.value.isEditable?{name:"empty-state",fn:(0,u.k6)(()=>[(0,u.RG)(e.$slots,"editor-placeholder",(0,Q._B)((0,u.Ng)(ea.value)),void 0,!0)]),key:"0"}:void 0]),1032,["authStore","clientDocument","contextChain","document","documentSlug","environment","eventBus","expandedItems","headingSlugGenerator","infoSectionId","items","options","xScalarDefaultClient","xScalarDefaultExample"])],8,mS),e.$slots.footer?((0,u.uX)(),(0,u.CE)("div",m$,[(0,u.RG)(e.$slots,"footer",(0,Q._B)((0,u.Ng)(ea.value)),void 0,!0)])):(0,u.Q3)("",!0),(0,u.Lk)("div",{ref_key:"modal",ref:eg},null,512)],10,mO),(0,u.bF)((0,d.R1)(tq.jx))]))}}),[["__scopeId","data-v-2e948397"]]),mR=async e=>{try{let t=(await a(71594)(e))?.default;
206if("function"!=typeof t)return void console.error(`[@scalar/api-reference] The module at ${e} does not export an API Reference plugin as its default export.`);return t}catch(t){console.error(`[@scalar/api-reference] Failed to load the plugin module at ${e}:`,t);return}},mE=e=>Array.isArray(e)?e:[e],mP=async e=>{let t=new Map,a=e=>{let a=t.get(e)??mR(e);return t.set(e,a),a};await Promise.all(mE(e).map(async e=>{if(!e.pluginUrls?.length)return;let t=(await Promise.all(e.pluginUrls.map(a))).filter(e=>void 0!==e);t.length&&(e.plugins=[...e.plugins??[],...t])}))};function mT(e,t={},a){for(let r in e){let n=e[r],o=a?`${a}:${r}`:r;"object"==typeof n&&null!==n?mT(n,t,o):"function"==typeof n&&(t[o]=n)}return t}let m_=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function mj(e,t,a){if(e.length>0)return function e(t,a,r,n){for(let o=r;o<t.length;o+=1)try{let r=n?n.run(()=>t[o](...a)):t[o](...a);if(r&&"function"==typeof r.then)return Promise.resolve(r).then(()=>e(t,a,o+1,n))}catch(e){return Promise.reject(e)}}(e,t,0,m_(a))}function mQ(e,t,a){if(e.length>0){let r=m_(a);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function mL(e,t){for(let a of[...e])a(t)}var mM=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,a={}){let r;if(!e||"function"!=typeof t)return()=>{};let n=e;for(;this._deprecatedHooks[e];)e=(r=this._deprecatedHooks[e]).to;if(r&&!a.allowDeprecated){let e=r.message;e||(e=`${n} hook has been deprecated`+(r.to?`, please use ${r.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let a,r=(...e)=>("function"==typeof a&&a(),a=void 0,r=void 0,t(...e));return a=this.hook(e,r)}removeHook(e,t){let a=this._hooks[e];if(a){let r=a.indexOf(t);-1!==r&&a.splice(r,1),0===a.length&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;let a=this._hooks[e]||[];for(let t of(this._hooks[e]=void 0,a))this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=mT(e),a=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of a)e();a.length=0}}removeHooks(e){let t=mT(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(mj,e,t)}callHookParallel(e,...t){return this.callHookWith(mQ,e,t)}callHookWith(e,t,a){let r=this._before||this._after?{name:t,args:a,context:{}}:void 0;this._before&&mL(this._before,r);let n=e(this._hooks[t]?[...this._hooks[t]]:[],a,t);return n instanceof Promise?n.finally(()=>{this._after&&r&&mL(this._after,r)}):(this._after&&r&&mL(this._after,r),n)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){let t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){let t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}};let mZ=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,mU={base:-10,title:10},mX={critical:-8,high:-1,low:2},mI={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},mB=/@import/,mq=e=>""===e||!0===e;function mW(e,t){let a="function"==typeof t?t(e):t,r=a.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,a),e.hooks.addHooks(a.hooks||{}))}async function mD(e,t={}){let a=t.document||e.resolvedOptions.document;if(!a||!e.dirty)return;let r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async t=>{let r=new Map,n=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{let t=r.get(e._d)||0,a={tag:e,id:(t?`${e._d}:${t}`:e._d)||e._h,shouldRender:!0};return e._d&&p6(e._d)&&r.set(e._d,t+1),a}))})}),o=e._dom;if(!o)for(let e of(o={title:a.title,elMap:new Map().set("htmlAttrs",a.documentElement).set("bodyAttrs",a.body)},["body","head"]))for(let t of a[e]?.children){let e=t.tagName.toLowerCase();if(!pq.has(e))continue;let a=me({tag:e,props:{}},{innerHTML:t.innerHTML,...t.getAttributeNames().reduce((e,a)=>(e[a]=t.getAttribute(a),e),{})||{}});if(a.key=t.getAttribute("data-hid")||void 0,a._d=p5(a)||p7(a),o.elMap.has(a._d)){let e=1,r=a._d;for(;o.elMap.has(r);)r=`${a._d}:${e++}`;o.elMap.set(r,t)}else o.elMap.set(a._d,t)}function l(e,t,a){let r=`${e}:${t}`;o.sideEffects[r]=a,delete o.pendingSideEffects[r]}function s({id:e,$el:t,tag:r}){let n=r.tag.endsWith("Attrs");for(let s in o.elMap.set(e,t),n||(r.textContent&&r.textContent!==t.textContent&&(t.textContent=r.textContent),r.innerHTML&&r.innerHTML!==t.innerHTML&&(t.innerHTML=r.innerHTML),l(e,"el",()=>{t?.remove(),o.elMap.delete(e)})),r.props){if(!Object.prototype.hasOwnProperty.call(r.props,s))continue;let o=r.props[s];if(s.startsWith("on")&&"function"==typeof o){let e=t?.dataset;if(e&&e[`${s}fired`]){let e=s.slice(0,-5);o.call(t,new Event(e.substring(2)))}""!==t.getAttribute(`data-${s}`)&&(("bodyAttrs"===r.tag?a.defaultView:t).addEventListener(s.substring(2),o.bind(t)),t.setAttribute(`data-${s}`,""));continue}let i=`attr:${s}`;if("class"===s){if(!o)continue;for(let a of o)n&&l(e,`${i}:${a}`,()=>t.classList.remove(a)),t.classList.contains(a)||t.classList.add(a)}else if("style"===s){if(!o)continue;for(let[a,r]of o)l(e,`${i}:${a}`,()=>{t.style.removeProperty(a)}),t.style.setProperty(a,r)}else!1!==o&&null!==o&&(t.getAttribute(s)!==o&&t.setAttribute(s,!0===o?"":String(o)),n&&l(e,i,()=>t.removeAttribute(s)))}}o.pendingSideEffects={...o.sideEffects},o.sideEffects={};let i=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await n;for(let e of u){let{tag:t,shouldRender:r,id:n}=e;if(r){if("title"===t.tag){a.title=t.textContent,l("title","",()=>a.title=o.title);continue}e.$el=e.$el||o.elMap.get(n),e.$el?s(e):pq.has(t.tag)&&i.push(e)}}for(let e of i){let t=e.tag.tagPosition||"head";e.$el=a.createElement(e.tag.tag),s(e),c[t]=c[t]||a.createDocumentFragment(),c[t].appendChild(e.$el)}for(let t of u)await e.hooks.callHook("dom:renderTag",t,a,l);for(let e in c.head&&a.head.appendChild(c.head),c.bodyOpen&&a.body.insertBefore(c.bodyOpen,a.body.firstChild),c.bodyClose&&a.body.appendChild(c.bodyClose),o.pendingSideEffects)o.pendingSideEffects[e]();e._dom=o,await e.hooks.callHook("dom:rendered",{renders:u}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}var mN="scalar-style",mV=new WeakMap,mF=e=>{let t=mV.get(e);if(t)return t;let a={count:0,detachedStyle:null};
206return mV.set(e,a),a},mz=a(14343),mH=a(15383);globalThis.__VUE_OPTIONS_API__=!0,globalThis.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!0,globalThis.__VUE_PROD_DEVTOOLS__=!1;var mY=e=>{let t=(0,mz.useRef)(null),[a,r]=(0,mz.useState)(null),n=()=>Array.isArray(e.configuration)?e.configuration.map(e=>({_integration:"react",...e})):{_integration:"react",...e.configuration};return(0,mz.useEffect)(()=>{if(!t.current)return a?.app?.unmount;let e=((e,t)=>{let a=(0,d.Kh)({configuration:t??e??{}}),r=(e=!1)=>{let t=e?(0,eE.m1)(()=>(0,u.h)(mA,a)):(0,eE.Ef)(()=>(0,u.h)(mA,a));return t.use(function(e={}){var t,a;let r,n=function(e={}){let t=e.domOptions?.render||mD;e.document=e.document||("u">typeof window?document:void 0);let a=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return function(e={}){let t=new mM;t.addHooks(e.hooks||{});let a=!e.document,r=new Map,n=new Map,o=new Set,l={_entryCount:1,plugins:n,dirty:!1,resolvedOptions:e,hooks:t,ssr:a,entries:r,headEntries:()=>[...r.values()],use:e=>mW(l,e),push(e,n){let s={...n||{}};delete s.head;let i=s._index??l._entryCount++,c={_i:i,input:e,options:s},u={_poll(e=!1){l.dirty=!0,e||o.add(i),t.callHook("entries:updated",l)},dispose(){r.delete(i)&&l.invalidate()},patch(e){s.mode&&("server"!==s.mode||!a)&&("client"!==s.mode||a)||(c.input=e,r.set(i,c),u._poll())}};return u.patch(e),u},async resolveTags(){let a={tagMap:new Map,tags:[],entries:[...l.entries.values()]};for(await t.callHook("entries:resolve",a);o.size;){let a=o.values().next().value;o.delete(a);let n=r.get(a);if(n){let a={tags:(function(e,t){if(!e)return[];"function"==typeof e&&(e=e());let a=(e,a)=>{for(let r=0;r<t.length;r++)a=t[r](e,a);return a};e=a(void 0,e);let r=[];return Object.entries((e=p9(e,a))||{}).forEach(([e,t])=>{if(void 0!==t)for(let a of Array.isArray(t)?t:[t])r.push(function(e,t){let a="object"==typeof t&&"function"!=typeof t?t:{["script"===e||"noscript"===e||"style"===e?"innerHTML":"textContent"]:t},r=me({tag:e,props:{}},a);return r.key&&pI.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),"script"===r.tag&&"object"==typeof r.innerHTML&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(e=>({...r,props:{...r.props,content:e}})):r}(e,a))}),r.flat()})(n.input,e.propResolvers||[]).map(e=>Object.assign(e,n.options)),entry:n};await t.callHook("entries:normalize",a),n._tags=a.tags.map((e,t)=>(e._w=function(e,t){if("number"==typeof t.tagPriority)return t.tagPriority;let a=100,r=mX[t.tagPriority]||0,n=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:mI;if(t.tag in mU)a=mU[t.tag];else if("meta"===t.tag){let e="content-security-policy"===t.props["http-equiv"]?"content-security-policy":t.props.charset?"charset":"viewport"===t.props.name?"viewport":null;e&&(a=mI.meta[e])}else if("link"===t.tag&&t.props.rel)a=n.link[t.props.rel];else if("script"===t.tag){let e=String(t.props.type);mq(t.props.async)?a=n.script.async:(!t.props.src||mq(t.props.defer)||mq(t.props.async)||"module"===e||e.endsWith("json"))&&(!t.innerHTML||e.endsWith("json"))?(mq(t.props.defer)&&t.props.src&&!mq(t.props.async)||"module"===e)&&(a=n.script.defer):a=n.script.sync}else"style"===t.tag&&(a=t.innerHTML&&mB.test(t.innerHTML)?n.style.imported:n.style.sync);return(a||100)+r}(l,e),e._p=(n._i<<10)+t,e._d=p5(e),e._d||(e._h=p7(e)),e))}}let n=!1;a.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(mZ).reduce((e,t)=>{let a=t._d||t._h;if(!e.has(a))return e.set(a,t);let r=e.get(a);if("merge"===(t?.tagDuplicateStrategy||(pV.has(t.tag)?"merge":null)||(t.key&&t.key===r.key?"merge":null))){let n={...r.props};Object.entries(t.props).forEach(([e,t])=>n[e]="style"===e?new Map([...r.props.style||new Map,...t]):"class"===e?new Set([...r.props.class||new Set,...t]):t),e.set(a,{...t,props:n})}else t._p>>10==r._p>>10&&"meta"===t.tag&&p6(a)?(e.set(a,Object.assign([...Array.isArray(r)?r:[r],t],t)),n=!0):(t._w===r._w?t._p>r._p:t?._w<r?._w)&&e.set(a,t);return e},a.tagMap);let s=a.tagMap.get("title"),i=a.tagMap.get("titleTemplate");if(l._title=s?.textContent,i){let e=i?.textContent;if(l._titleTemplate=e,e){let t="function"==typeof e?e(s?.textContent):e;"string"!=typeof t||l.plugins.has("template-params")||(t=t.replace("%s",s?.textContent||"")),s?null===t?a.tagMap.delete("title"):a.tagMap.set("title",{...s,textContent:t}):(i.tag="title",i.textContent=t)}}a.tags=Array.from(a.tagMap.values()),n&&(a.tags=a.tags.flat().sort(mZ)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);let c=[];for(let e of a.tags){let{innerHTML:t,tag:a,props:r}=e;pW.has(a)&&(0!==Object.keys(r).length||e.innerHTML||e.textContent)&&("meta"!==a||r.content||r["http-equiv"]||r.charset)&&("script"===a&&t&&(String(r.type).endsWith("json")?e.innerHTML=("string"==typeof t?t:JSON.stringify(t)).replace(/</g,"\\u003C"):"string"==typeof t&&(e.innerHTML=t.replace(RegExp(`</${a}`,"g"),`<\\/${a}`)),e._d=p5(e)),c.push(e))}return c},invalidate(){for(let e of r.values())o.add(e._i);l.dirty=!0,t.callHook("entries:updated",l)}};
206return(e?.plugins||[]).forEach(e=>mW(l,e)),l.hooks.callHook("init",l),e.init?.forEach(e=>e&&l.push(e)),l}({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[!!a&&JSON.parse(a),...e.init||[]]})}({domOptions:{render:(t=()=>mD(n),a=e=>setTimeout(e,0),r=0,()=>{let e=++r;a(()=>{r===e&&t()})})},...e});return n.install=({install(e){e.config.globalProperties.$unhead=n,e.config.globalProperties.$head=n,e.provide(ma,n)}}).install,n}()),t.config.idPrefix="scalar-refs",t},n=t?"string"==typeof e?document.querySelector(e):e:null,o=r(!!t&&!!n&&n.children.length>0),l=!1;if(t)if(n){let e=()=>{var e;let t;o.mount(n),l=!0,t=mF(e=document),t.count+=1,t.detachedStyle&&!e.getElementById(mN)&&(e.head.appendChild(t.detachedStyle),t.detachedStyle=null)};mE(a.configuration).some(e=>!!e.pluginUrls?.length)?mP(a.configuration).then(()=>{s.signal.aborted||e()}):e()}else console.error("Could not find a mount point for API References:",e);let s=new AbortController,i={capture:!1,signal:s.signal};document.addEventListener("scalar:reload-references",()=>{if(console.warn("scalar:reload-references event has been deprecated, please use the scalarInstance.app.mount method instead."),!a.configuration)return;let t="string"==typeof e?document.querySelector(e):e;t&&(t&&!document.body.contains(t)&&document.body.appendChild(t),o.unmount(),(o=r()).mount(t))},i);let c=()=>{s.abort(),a.configuration={},l&&(l=!1,o.unmount(),(e=>{let t=mF(e);if(t.count=Math.max(0,t.count-1),t.count>0)return;let a=e.getElementById(mN);a instanceof HTMLStyleElement&&(t.detachedStyle=a,a.remove())})(document))};return document.addEventListener("scalar:destroy-references",()=>{console.warn("scalar:destroy-references event has been deprecated, please use scalarInstance.destroy instead."),c()},i),document.addEventListener("scalar:update-references-config",e=>{console.warn("scalar:update-references-config event has been deprecated, please use scalarInstance.updateConfiguration instead."),"detail"in e&&Object.assign(a,e.detail)},i),{app:o,getConfiguration:()=>a.configuration??{},updateConfiguration:e=>{a.configuration=e},destroy:c}})(t.current,n());return r(e),e.destroy},[t]),(0,mz.useEffect)(()=>{a?.updateConfiguration(n())},[e.configuration,a]),(0,mH.jsx)("div",{ref:t})}},77579:(e,t,a)=>{"use strict";a.d(t,{D:()=>n});var r=a(5131);let n=(e,{includePath:t=!0,includeEnv:a=!0}={})=>[t&&r.Q.PATH,a&&r.Q.VARIABLES].flatMap(t=>t?[...e.matchAll(t)].map(e=>e[1]?.trim()).filter(e=>void 0!==e):[])},77745:(e,t,a)=>{"use strict";a.d(t,{D:()=>l,y:()=>o});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-tokenName":r.ZU.Optional(r.ZU.String())}),l=(0,n.Ik)({"x-tokenName":(0,n.lq)((0,n.Yj)())},{typeName:"XTokenName",typeComment:"Custom OAuth2 access token field name"})},78421:(e,t,a)=>{"use strict";a.d(t,{RN:()=>n,nk:()=>i,U1:()=>c,NM:()=>r});let r=(e,t)=>t.on?e.onAny(t.on):()=>{},n=async(e,t,a)=>{let r=e;for(let e of a){let a=e.hooks?.[t];a&&(r=await a(r)??r)}return r};var o=a(52614);let l={parse:e=>{let t=(0,o.parse)(e,{merge:!0,maxAliasCount:1e4});if("object"!=typeof t)throw Error("Invalid YAML object");return t},parseSafe(e,t){try{return l.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:o.stringify},s={parse:e=>{let t=JSON.parse(e);if("object"!=typeof t)throw Error("Invalid JSON object");return t},parseSafe(e,t){try{return s.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:e=>JSON.stringify(e)};function i(e){let t=e.trim();if("{"!==t[0]&&"["!==t[0])return e;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}let c=e=>{if("string"!=typeof e)return e;let t=s.parseSafe(e,null);if(t)return t;if(e.length>0&&["{","["].includes(e[0]??""))throw Error("Invalid JSON or YAML");return l.parseSafe(e,e=>{throw Error(e)})}},78432:(e,t,a)=>{"use strict";a.d(t,{Cu:()=>i,IK:()=>p,M8:()=>d,Nv:()=>s,mQ:()=>c,xf:()=>u});var r=a(99822),n=a(60652),o=a(51316);let l=e=>(0,n.Z)(e)&&Object.hasOwn(e,"$ref-value"),s=e=>{if(!e||"object"!=typeof e)return;let t=(0,o.A)(e,o.F);for(let e=1;l(t);e++){if(e>=10){let{"$ref-value":e,...a}=t;return console.warn(`Stopped resolving "${t.$ref}" after 10 hops.
207
208This reference most likely points at itself, directly or through another reference.`),a}
208t=(0,o.A)(t,o.F)}return t},i=(e,t)=>{let a=s(e);if(a)return a[t]},c=(e,t,a)=>{if(e&&"object"==typeof e){if("$ref"in e&&"$ref-value"in e){let r=e["$ref-value"];if(r){r[t]=a;return}}e[t]=a}},u=(e,t)=>{if(e&&"object"==typeof e)for(let a of(e=>{let t=[],a=e;for(;(0,n.Z)(a)&&!t.includes(a)&&t.length<10&&(t.push(a),"$ref"in a&&"$ref-value"in a);)a=a["$ref-value"];return t})(e))delete a[t]},d=(e,t)=>{let a=s(e);if(a)for(let[e,n]of Object.entries(a))(0,r.a)(e)&&void 0!==n&&t(e,n)},p=e=>{let t=s(e);return!t||0===Object.keys(t).length}},78451:(e,t,a)=>{"use strict";a.d(t,{Ak:()=>r});let r=(e=21)=>{let t="",a=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&a[e]];return t}},78465:(e,t,a)=>{"use strict";let r,n;a.d(t,{O5:()=>s,XX:()=>c,cJ:()=>m,oE:()=>p});var o=a(38547),l=a(6974),s=((r=s||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),i=((n=i||{})[n.Unmount=0]="Unmount",n[n.Hidden=1]="Hidden",n);function c({visible:e=!0,features:t=0,ourProps:a,theirProps:r,...n}){var o;let s=d(r,a),i=Object.assign(n,{props:s});if(e||2&t&&s.static)return u(i);if(1&t){let e=null==(o=s.unmount)||o?0:1;return(0,l.Y)(e,{0:()=>null,1:()=>u({...n,props:{...s,hidden:!0,style:{display:"none"}}})})}return u(i)}function u({props:e,attrs:t,slots:a,slot:r,name:n}){var l,s,i;let{as:c,...p}=m(e,["unmount","static"]),h=null==(l=a.default)?void 0:l.call(a,r),f={};if(r){let e=!1,t=[];for(let[a,n]of Object.entries(r))"boolean"==typeof n&&(e=!0),!0===n&&t.push(a);e&&(f["data-headlessui-state"]=t.join(" "))}if("template"===c){if(h=function e(t){return t.flatMap(t=>t.type===o.FK?e(t.children):[t])}(null!=h?h:[]),Object.keys(p).length>0||Object.keys(t).length>0){let[e,...a]=null!=h?h:[];if(null==(i=e)||"string"!=typeof i.type&&"object"!=typeof i.type&&"function"!=typeof i.type||a.length>0)throw Error(['Passing props on "template"!',"",`The current component <${n} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(p).concat(Object.keys(t)).map(e=>e.trim()).filter((e,t,a)=>a.indexOf(e)===t).sort((e,t)=>e.localeCompare(t)).map(e=>`  - ${e}`).join(`
209`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>`  - ${e}`).join(`
210`)].join(`
211`));let r=d(null!=(s=e.props)?s:{},p,f),l=(0,o.E3)(e,r,!0);for(let e in r)e.startsWith("on")&&(l.props||(l.props={}),l.props[e]=r[e]);return l}return Array.isArray(h)&&1===h.length?h[0]:h}return(0,o.h)(c,Object.assign({},p,f),{default:()=>h})}function d(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},a={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=a[e]||(a[e]=[]),a[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(a).map(e=>[e,void 0])));for(let e in a)Object.assign(t,{[e](t,...r){for(let n of a[e]){if(t instanceof Event&&t.defaultPrevented)return;n(t,...r)}}});return t}function p(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function m(e,t=[]){let a=Object.assign({},e);for(let e of t)e in a&&delete a[e];return a}},78547:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconPencilSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM192,108.68,147.31,64l24-24L216,84.68Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM94.1,209.41a2,2,0,0,1-1.41.59H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L133.17,61.17h0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17Zm-129,134.63A4,4,0,0,1,92.69,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.83L136,69.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},80574:(e,t,a)=>{"use strict";a.d(t,{o:()=>r});var r=e=>"getSetCookie"in e&&"function"==typeof e.getSetCookie?e.getSetCookie():[]},80597:(e,t,a)=>{"use strict";function r(e){return p(e)&&!n(e)&&!g(e)&&Symbol.asyncIterator in e}function n(e){return Array.isArray(e)}function o(e){return"bigint"==typeof e}function l(e){return"boolean"==typeof e}function s(e){return e instanceof globalThis.Date}function i(e){return"function"==typeof e}function c(e){return p(e)&&!n(e)&&!g(e)&&Symbol.iterator in e}function u(e){return null===e}function d(e){return"number"==typeof e}function p(e){return"object"==typeof e&&null!==e}function m(e){return e instanceof globalThis.RegExp}function h(e){return"string"==typeof e}function f(e){return"symbol"==typeof e}function g(e){return e instanceof globalThis.Uint8Array}function v(e){return void 0===e}a.d(t,{Ef:()=>u,G4:()=>g,H1:()=>r,IP:()=>h,Mx:()=>d,QS:()=>n,R1:()=>v,XF:()=>s,Zx:()=>l,__:()=>m,av:()=>p,cQ:()=>o,hg:()=>i,jo:()=>c,nH:()=>f})},80759:(e,t,a)=>{"use strict";a.d(t,{G:()=>r});let r=e=>{if(null===e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}},80986:(e,t,a)=>{"use strict";a.d(t,{W:()=>r});let r=e=>Object.entries(e)},81062:(e,t,a)=>{"use strict";a.d(t,{R:()=>l,_:()=>o});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-scalar-watch-mode":r.ZU.Optional(r.ZU.Boolean())}),l=(0,n.Ik)({"x-scalar-watch-mode":(0,n.lq)((0,n.zM)({typeComment:"Whether the document is in watch mode"}))},{typeName:"XScalarWatchMode",typeComment:"Whether the document is in watch mode"})},81235:(e,t,a)=>{"use strict";a.d(t,{W:()=>o,h:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-scalar-security-query":r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Str
211ing()))}),l=(0,n.Ik)({"x-scalar-security-query":(0,n.lq)((0,n.g1)((0,n.Yj)(),(0,n.Yj)()))},{typeName:"XScalarSecurityQuery",typeComment:"Additional OAuth authorize query parameters"})},81462:(e,t,a)=>{"use strict";a.d(t,{Q:()=>function e(t){return"Intersect"===t[r.b8]?t.allOf.every(t=>e(t)):"Union"===t[r.b8]?t.anyOf.some(t=>e(t)):"Not"===t[r.b8]?!e(t.not):"Undefined"===t[r.b8]}});var r=a(32097)},81627:(e,t,a)=>{"use strict";let r;a.d(t,{O:()=>l,u:()=>s});var n=a(10779),o=a(33705),l=((r=l||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r);function s(){let e=(0,n.KR)(0);return(0,o.M)("keydown",t=>{"Tab"===t.key&&(e.value=+!!t.shiftKey)}),e}},82138:(e,t,a)=>{"use strict";a.d(t,{s:()=>r});let r=(e={})=>{let{delay:t=328,maxWait:a}=e,r=new Map,n=new Map,o=new Map,l=e=>{let t=o.get(e),a=r.get(e);void 0!==a&&(clearTimeout(a),r.delete(e));let l=n.get(e);if(void 0!==l&&(clearTimeout(l),n.delete(e)),o.delete(e),void 0!==t)try{t()}catch{}};return{execute:(e,s)=>{o.set(e,s);let i=r.get(e);void 0!==i&&clearTimeout(i),r.set(e,setTimeout(()=>l(e),t)),void 0===a||n.has(e)||n.set(e,setTimeout(()=>l(e),a))},cleanup:()=>{r.forEach(clearTimeout),n.forEach(clearTimeout),r.clear(),n.clear(),o.clear()},flush:e=>{o.has(e)&&l(e)},flushAll:()=>{for(let e of[...o.keys()])l(e)}}}},82181:(e,t,a)=>{"use strict";a.d(t,{p:()=>o});var r=a(58499),n=a(32097);function o(e){return(0,r.v)({[n.b8]:"Never",not:{}},e)}},82553:(e,t,a)=>{"use strict";a.d(t,{jx:()=>q,Yf:()=>B});var r=a(38547),n=a(10779),o=a(61930),l=Object.defineProperty,s=(e,t,a)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?l(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a},i="
vendor: 13,512 bytes, line 211
211:where([data-sonner-toaster][dir=ltr]),:where(html[dir=ltr]){--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}:where([data-sonner-toaster][dir=rtl]),:where(html[dir=rtl]){--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted=true]){transform:translateY(-10px)}@media (hover:none) and (pointer:coarse){:where([data-sonner-toaster][data-lifted=true]){transform:none}}:where([data-sonner-toaster][data-x-position=right]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position=left]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position=center]){left:50%;transform:translateX(-50%)}:where([data-sonner-toaster][data-y-position=top]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position=bottom]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled=true]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast][data-y-position=top]){top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position=bottom]){bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise=true]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme=dark]) :where([data-cancel]){background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast]) :where([data-disabled=true]){cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping=true])::before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position=top][data-swiping=true])::before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position=bottom][data-swiping=true])::before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping=false][data-removed=true])::before{content:'';position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast])::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted=true]){--y:translateY(0);opacity:1}:where([data-sonner-toast][data-expanded=false][data-front=false]){--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded=false][data-front=false][data-styled=true])>*{opacity:0}:where([data-sonner-toast][data-visible=false]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted=true][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]){--y:translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]){--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed=true][data-front=false])::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
211";function c(){let e=document.head||document.getElementsByTagName("head")[0];if(!e)return;let t=document.createElement("style");t.type="text/css",e.appendChild(t),t.styleSheet?t.styleSheet.cssText=i:t.appendChild(document.createTextNode(i))}i&&!(typeof document>"u")&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",c):c());let u=0;class d{constructor(){s(this,"subscribers"),s(this,"toasts"),s(this,"subscribe",e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)})),s(this,"publish",e=>{this.subscribers.forEach(t=>t(e))}),s(this,"addToast",e=>{this.publish(e),this.toasts=[...this.toasts,e]}),s(this,"create",e=>{var t;let{message:a,...r}=e,n="number"==typeof e.id||e.id&&(null==(t=e.id)?void 0:t.length)>0?e.id:u++,o=this.toasts.find(e=>e.id===n),l=void 0===e.dismissible||e.dismissible;return o?this.toasts=this.toasts.map(t=>t.id===n?(this.publish({...t,...e,id:n,title:a}),{...t,...e,id:n,dismissible:l,title:a}):t):this.addToast({title:a,...r,dismissible:l,id:n}),n}),s(this,"dismiss",e=>(e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e)),s(this,"message",(e,t)=>this.create({...t,message:e,type:"default"})),s(this,"error",(e,t)=>this.create({...t,type:"error",message:e})),s(this,"success",(e,t)=>this.create({...t,type:"success",message:e})),s(this,"info",(e,t)=>this.create({...t,type:"info",message:e})),s(this,"warning",(e,t)=>this.create({...t,type:"warning",message:e})),s(this,"loading",(e,t)=>this.create({...t,type:"loading",message:e})),s(this,"promise",(e,t)=>{let a;if(!t)return;void 0!==t.loading&&(a=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let r=e instanceof Promise?e:e(),n=void 0!==a,o,l=r.then(async e=>{if(o=["resolve",e],m(e)&&!e.ok){n=!1;let r="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,o="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:a,type:"error",message:r,description:o})}else if(void 0!==t.success){n=!1;let r="function"==typeof t.success?await t.success(e):t.success,o="function"==typeof t.description?await t.description(e):t.description;this.create({id:a,type:"success",message:r,description:o})}}).catch(async e=>{if(o=["reject",e],void 0!==t.error){n=!1;let r="function"==typeof t.error?await t.error(e):t.error,o="function"==typeof t.description?await t.description(e):t.description;this.create({id:a,type:"error",message:r,description:o})}}).finally(()=>{var e;n&&(this.dismiss(a),a=void 0),null==(e=t.finally)||e.call(t)}),s=()=>new Promise((e,t)=>l.then(()=>"reject"===o[0]?t(o[1]):e(o[1])).catch(t));return"string"!=typeof a&&"number"!=typeof a?{unwrap:s}:Object.assign(a,{unwrap:s})}),s(this,"custom",(e,t)=>{let a=(null==t?void 0:t.id)||u++;return this.publish({component:e,id:a,...t}),a}),this.subscribers=[],this.toasts=[]}}let p=new d,m=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,h=Object.assign(function(e,t){let a=(null==t?void 0:t.id)||u++;return p.create({message:e,id:a,type:"default",...t}),a},{success:p.success,info:p.info,warning:p.warning,error:p.error,custom:p.custom,message:p.message,promise:p.promise,dismiss:p.dismiss,loading:p.loading},{getHistory:()=>p.toasts});function f(e){return void 0!==e.label}let g=["aria-live","data-rich-colors","data-styled","data-mounted","data-promise","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-expanded"],v=["aria-label","data-disabled"],y=(0,r.pM)({__name:"Toast",props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function},defaultRichColors:{type:Boolean}},emits:["update:heights","removeToast"],setup(e,{emit:t}){let a,l=(0,n.KR)(!1),s=(0,n.KR)(!1),i=(0,n.KR)(!1),c=(0,n.KR)(!1),u=(0,n.KR)(!1),d=(0,n.KR)(0),p=(0,n.KR)(0),m=(0,n.KR)(e.toast.duration||e.duration||4e3),h=(0,n.KR)(null),y=(0,n.KR)(null),b=(0,r.EW)(()=>0===e.index),O=(0,r.EW)(()=>e.index+1<=e.visibleToasts),k=(0,r.EW)(()=>e.toast.type),x=(0,r.EW)(()=>!1!==e.toast.dismissible),w=(0,r.EW)(()=>e.toast.class||""),S=(0,r.EW)(()=>e.descriptionClass||""),C=e.toast.style||{},$=(0,r.EW)(()=>e.heights.findIndex(t=>t.toastId===e.toast.id)||0),A=(0,r.EW)(()=>e.toast.closeButton??e.closeButton);(0,r.EW)(()=>e.toast.duration||e.duration||4e3);let R=(0,n.KR)(0),E=(0,n.KR)(0),P=(0,n.KR)(null),T=(0,r.EW)(()=>e.position.split("-")),_=(0,r.EW)(()=>T.value[0]),j=(0,r.EW)(()=>T.value[1]),Q=(0,r.EW)(()=>"string"!=typeof e.toast.title),L=(0,r.EW)(()=>"string"!=typeof e.toast.description),M=(0,r.EW)(()=>e.heights.reduce((e,t,a)=>a>=$.value?e:e+t.height,0)),Z=(a=(0,n.KR)(!1),(0,r.nT)(()=>{let e=()=>
211{a.value=document.hidden};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)}),{isDocumentHidden:a}),U=(0,r.EW)(()=>e.toast.invert||e.invert),X=(0,r.EW)(()=>"loading"===k.value),I=(0,r.EW)(()=>$.value*e.gap+M.value||0);function B(){s.value=!0,d.value=I.value,t("update:heights",e.heights.filter(t=>t.toastId!==e.toast.id)),setTimeout(()=>{t("removeToast",e.toast)},200)}function q(){var t,a;if(X.value||!x.value)return{};B(),null==(a=(t=e.toast).onDismiss)||a.call(t,e.toast)}function W(e){X.value||!x.value||(h.value=new Date,d.value=I.value,e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(i.value=!0,P.value={x:e.clientX,y:e.clientY}))}function D(){var t,a,r,n,o;if(c.value||!x)return;P.value=null;let l=Number((null==(t=y.value)?void 0:t.style.getPropertyValue("--swipe-amount").replace("px",""))||0),s=Math.abs(l)/(new Date().getTime()-(null==(a=h.value)?void 0:a.getTime()));if(Math.abs(l)>=20||s>.11){d.value=I.value,null==(n=(r=e.toast).onDismiss)||n.call(r,e.toast),B(),c.value=!0,u.value=!1;return}null==(o=y.value)||o.style.setProperty("--swipe-amount","0px"),i.value=!1}function N(e){var t,a;if(!P.value||!x.value)return;let r=e.clientY-P.value.y,n=(null==(t=window.getSelection())?void 0:t.toString().length)>0,o="top"===_.value?Math.min(0,r):Math.max(0,r);Math.abs(o)>0&&(u.value=!0),n||null==(a=y.value)||a.style.setProperty("--swipe-amount",`${o}px`)}return(0,r.sV)(()=>{if(!l.value)return;let a=y.value,r=null==a?void 0:a.style.height;a.style.height="auto";let n=a.getBoundingClientRect().height;a.style.height=r,p.value=n,t("update:heights",e.heights.find(t=>t.toastId===e.toast.id)?e.heights.map(t=>t.toastId===e.toast.id?{...t,height:n}:t):[{toastId:e.toast.id,height:n,position:e.toast.position},...e.heights])}),(0,r.nT)(t=>{let a;e.toast.promise&&"loading"===k.value||e.toast.duration===1/0||"loading"===e.toast.type||(e.expanded||e.interacting||e.pauseWhenPageIsHidden&&Z?(()=>{if(E.value<R.value){let e=new Date().getTime()-R.value;m.value=m.value-e}E.value=new Date().getTime()})():m.value!==1/0&&(R.value=new Date().getTime(),a=setTimeout(()=>{var t,a;null==(a=(t=e.toast).onAutoClose)||a.call(t,e.toast),B()},m.value)),t(()=>{clearTimeout(a)}))}),(0,r.wB)(()=>e.toast.delete,()=>{e.toast.delete&&B()},{deep:!0}),(0,r.sV)(()=>{if(l.value=!0,y.value){let a=y.value.getBoundingClientRect().height;p.value=a,t("update:heights",[{toastId:e.toast.id,height:a,position:e.toast.position},...e.heights])}}),(0,r.xo)(()=>{y.value&&t("update:heights",e.heights.filter(t=>t.toastId!==e.toast.id))}),(t,a)=>{var u,m,h,$,R,E,P,T,M,Z,V,F,z,H,Y,G,K,J,ee,et,ea,er,en,eo,el,es,ei;return(0,r.uX)(),(0,r.CE)("li",{ref_key:"toastRef",ref:y,"aria-live":t.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0","data-sonner-toast":"true",class:(0,o.C4)(t.cn(e.class,w.value,null==(u=t.classes)?void 0:u.toast,null==(m=t.toast.classes)?void 0:m.toast,null==(h=t.classes)?void 0:h[k.value],null==(R=null==($=t.toast)?void 0:$.classes)?void 0:R[k.value])),"data-rich-colors":t.toast.richColors??t.defaultRichColors,"data-styled":!(t.toast.component||null!=(E=t.toast)&&E.unstyled||t.unstyled),"data-mounted":l.value,"data-promise":!!t.toast.promise,"data-removed":s.value,"data-visible":O.value,"data-y-position":_.value,"data-x-position":j.value,"data-index":t.index,"data-front":b.value,"data-swiping":i.value,"data-dismissible":x.value,"data-type":k.value,"data-invert":U.value,"data-swipe-out":c.value,"data-expanded":!!(t.expanded||t.expandByDefault&&l.value),style:(0,o.Tr)({"--index":t.index,"--toasts-before":t.index,"--z-index":t.toasts.length-t.index,"--offset":`${s.value?d.value:I.value}px`,"--initial-height":t.expandByDefault?"auto":`${p.value}px`,...t.style,...(0,n.R1)(C)}),onPointerdown:W,onPointerup:D,onPointermove:N},[A.value&&!t.toast.component?((0,r.uX)(),(0,r.CE)("button",{key:0,"aria-label":t.closeButtonAriaLabel||"Close toast","data-disabled":X.value,"data-close-button":"true",class:(0,o.C4)(t.cn(null==(P=t.classes)?void 0:P.closeButton,null==(M=null==(T=t.toast)?void 0:T.classes)?void 0:M.closeButton)),onClick:q},[null!=(Z=t.icons)&&Z.close?((0,r.uX)(),(0,r.Wv)((0,r.$y)(null==(V=t.icons)?void 0:V.close),{key:0})):(0,r.RG)(t.$slots,"close-icon",{key:1})],10,v)):(0,r.Q3)("",!0),t.toast.component?((0,r.uX)(),(0,r.Wv)((0,r.$y)(t.toast.component),(0,r.v6)({ke
211y:1},t.toast.componentProps,{onCloseToast:q}),null,16)):((0,r.uX)(),(0,r.CE)(r.FK,{key:2},["default"!==k.value||t.toast.icon||t.toast.promise?((0,r.uX)(),(0,r.CE)("div",{key:0,"data-icon":"",class:(0,o.C4)(t.cn(null==(F=t.classes)?void 0:F.icon,null==(H=null==(z=t.toast)?void 0:z.classes)?void 0:H.icon))},[t.toast.icon?((0,r.uX)(),(0,r.Wv)((0,r.$y)(t.toast.icon),{key:0})):((0,r.uX)(),(0,r.CE)(r.FK,{key:1},["loading"===k.value?(0,r.RG)(t.$slots,"loading-icon",{key:0}):"success"===k.value?(0,r.RG)(t.$slots,"success-icon",{key:1}):"error"===k.value?(0,r.RG)(t.$slots,"error-icon",{key:2}):"warning"===k.value?(0,r.RG)(t.$slots,"warning-icon",{key:3}):"info"===k.value?(0,r.RG)(t.$slots,"info-icon",{key:4}):(0,r.Q3)("",!0)],64))],2)):(0,r.Q3)("",!0),(0,r.Lk)("div",{"data-content":"",class:(0,o.C4)(t.cn(null==(Y=t.classes)?void 0:Y.content,null==(K=null==(G=t.toast)?void 0:G.classes)?void 0:K.content))},[(0,r.Lk)("div",{"data-title":"",class:(0,o.C4)(t.cn(null==(J=t.classes)?void 0:J.title,null==(ee=t.toast.classes)?void 0:ee.title))},[Q.value?((0,r.uX)(),(0,r.Wv)((0,r.$y)(t.toast.title),(0,o._B)((0,r.v6)({key:0},t.toast.componentProps)),null,16)):((0,r.uX)(),(0,r.CE)(r.FK,{key:1},[(0,r.eW)((0,o.v_)(t.toast.title),1)],64))],2),t.toast.description?((0,r.uX)(),(0,r.CE)("div",{key:0,"data-description":"",class:(0,o.C4)(t.cn(t.descriptionClass,S.value,null==(et=t.classes)?void 0:et.description,null==(ea=t.toast.classes)?void 0:ea.description))},[L.value?((0,r.uX)(),(0,r.Wv)((0,r.$y)(t.toast.description),(0,o._B)((0,r.v6)({key:0},t.toast.componentProps)),null,16)):((0,r.uX)(),(0,r.CE)(r.FK,{key:1},[(0,r.eW)((0,o.v_)(t.toast.description),1)],64))],2)):(0,r.Q3)("",!0)],2),t.toast.cancel?((0,r.uX)(),(0,r.CE)("button",{key:1,style:(0,o.Tr)(t.toast.cancelButtonStyle||t.cancelButtonStyle),class:(0,o.C4)(t.cn(null==(er=t.classes)?void 0:er.cancelButton,null==(en=t.toast.classes)?void 0:en.cancelButton)),"data-button":"","data-cancel":"",onClick:a[0]||(a[0]=e=>{var a,r;(0,n.R1)(f)(t.toast.cancel)&&x.value&&(null==(r=(a=t.toast.cancel).onClick)||r.call(a,e),B())})},(0,o.v_)((0,n.R1)(f)(t.toast.cancel)?null==(eo=t.toast.cancel)?void 0:eo.label:t.toast.cancel),7)):(0,r.Q3)("",!0),t.toast.action?((0,r.uX)(),(0,r.CE)("button",{key:2,style:(0,o.Tr)(t.toast.actionButtonStyle||t.actionButtonStyle),class:(0,o.C4)(t.cn(null==(el=t.classes)?void 0:el.actionButton,null==(es=t.toast.classes)?void 0:es.actionButton)),"data-button":"","data-action":"",onClick:a[1]||(a[1]=e=>{var a,r;(0,n.R1)(f)(t.toast.action)&&(e.defaultPrevented||(null==(r=(a=t.toast.action).onClick)||r.call(a,e),e.defaultPrevented||B()))})},(0,o.v_)((0,n.R1)(f)(t.toast.action)?null==(ei=t.toast.action)?void 0:ei.label:t.toast.action),7)):(0,r.Q3)("",!0)],64))],46,g)}}}),b=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a},O={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},k=b({},[["render",function(e,t){return(0,r.uX)(),(0,r.CE)("svg",O,t[0]||(t[0]=[(0,r.Lk)("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),(0,r.Lk)("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]))}]]),x=["data-visible"],w={class:"sonner-spinner"},S=(0,r.pM)({__name:"Loader",props:{visible:{type:Boolean}},setup(e){let t=Array(12).fill(0);return(e,a)=>((0,r.uX)(),(0,r.CE)("div",{class:"sonner-loading-wrapper","data-visible":e.visible},[(0,r.Lk)("div",w,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)((0,n.R1)(t),e=>((0,r.uX)(),(0,r.CE)("div",{key:`spinner-bar-${e}`,class:"sonner-loading-bar"}))),128))])],8,x))}}),C={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},$=b({},[["render",function(e,t){return(0,r.uX)(),(0,r.CE)("svg",C,t[0]||(t[0]=[(0,r.Lk)("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)]))}]]),A={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R=b({},[["render",function(e,t){return(0,r.uX)(),(0,r.CE)("svg",A,t[0]||(t[0]=[(0,r.Lk)("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)]))}]]),E={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
211currentColor",height:"20",width:"20"},P=b({},[["render",function(e,t){return(0,r.uX)(),(0,r.CE)("svg",E,t[0]||(t[0]=[(0,r.Lk)("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)]))}]]),T={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},_=b({},[["render",function(e,t){return(0,r.uX)(),(0,r.CE)("svg",T,t[0]||(t[0]=[(0,r.Lk)("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)]))}]]),j=["aria-label"],Q=["dir","data-theme","data-rich-colors","data-y-position","data-x-position","data-lifted"],L="32px",M="u">typeof window&&"u">typeof document,Z=(0,r.pM)({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:14},visibleToasts:{default:3},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{default:()=>({})},offset:{default:L},dir:{default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{type:Function,default:function(...e){return e.filter(Boolean).join(" ")}}},setup(e){let t=(0,r.OA)(),a=(0,n.KR)([]),l=(0,r.EW)(()=>(e,t)=>a.value.filter(a=>!a.position&&0===t||a.position===e)),s=(0,r.EW)(()=>{let t=a.value.filter(e=>e.position).map(e=>e.position);return t.length>0?Array.from(new Set([e.position].concat(t))):[e.position]}),i=(0,n.KR)([]),c=(0,n.KR)(!1),u=(0,n.KR)(!1),d=(0,n.KR)("system"!==e.theme?e.theme:"u">typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),m=(0,n.KR)(null),h=(0,n.KR)(null),f=(0,n.KR)(!1),g=e.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function v(e){var t;null!=(t=a.value.find(t=>t.id===e.id))&&t.delete||p.dismiss(e.id),a.value=a.value.filter(({id:t})=>t!==e.id)}function b(e){var t,a;f.value&&!(null!=(a=null==(t=e.currentTarget)?void 0:t.contains)&&a.call(t,e.relatedTarget))&&(f.value=!1,h.value&&(h.value.focus({preventScroll:!0}),h.value=null))}function O(e){e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||f.value||(f.value=!0,h.value=e.relatedTarget)}function x(e){e.target&&e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||(u.value=!0)}return(0,r.nT)(e=>{e(p.subscribe(e=>{if(e.dismiss){a.value=a.value.map(t=>t.id===e.id?{...t,delete:!0}:t);return}(0,r.dY)(()=>{let t=a.value.findIndex(t=>t.id===e.id);-1!==t?a.value=[...a.value.slice(0,t),{...a.value[t],...e},...a.value.slice(t+1)]:a.value=[e,...a.value]})}))}),(0,r.wB)(()=>e.theme,e=>{if("system"!==e){d.value=e;return}if("system"===e&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?d.value="dark":d.value="light"),typeof window>"u")return;let t=window.matchMedia("(prefers-color-scheme: dark)");try{t.addEventListener("change",({matches:e})=>{e?d.value="dark":d.value="light"})}catch{t.addListener(({matches:e})=>{try{e?d.value="dark":d.value="light"}catch(e){console.error(e)}})}}),(0,r.nT)(()=>{m.value&&h.value&&(h.value.focus({preventScroll:!0}),h.value=null,f.value=!1)}),(0,r.nT)(()=>{a.value.length<=1&&(c.value=!1)}),(0,r.nT)(t=>{function a(t){let a=e.hotkey.every(e=>t[e]||t.code===e),r=Array.isArray(m.value)?m.value[0]:m.value;a&&(c.value=!0,null==r||r.focus());let n=document.activeElement===m.value||(null==r?void 0:r.contains(document.activeElement));"Escape"===t.code&&n&&(c.value=!1)}M&&(document.addEventListener("keydown",a),t(()=>{document.removeEventListener("keydown",a)}))}),(d,p)=>((0,r.uX)(),(0,r.CE)("section",{"aria-label":`${d.containerAriaLabel} ${(0,n.R1)(g)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(s.value,(s,h)=>{var f;
211return(0,r.uX)(),(0,r.CE)("ol",(0,r.v6)({key:s,ref_for:!0,ref_key:"listRef",ref:m,"data-sonner-toaster":"",class:e.class,dir:"auto"===d.dir?function(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}():d.dir,tabIndex:-1,"data-theme":d.theme,"data-rich-colors":d.richColors,"data-y-position":s.split("-")[0],"data-x-position":s.split("-")[1],"data-lifted":c.value&&a.value.length>1&&!d.expand,style:{"--front-toast-height":`${null==(f=i.value[0])?void 0:f.height}px`,"--offset":"number"==typeof d.offset?`${d.offset}px`:d.offset||L,"--width":"356px","--gap":`${d.gap}px`,...d.style,...(0,n.R1)(t).style}},d.$attrs,{onBlur:b,onFocus:O,onMouseenter:p[1]||(p[1]=()=>c.value=!0),onMousemove:p[2]||(p[2]=()=>c.value=!0),onMouseleave:p[3]||(p[3]=()=>{u.value||(c.value=!1)}),onPointerdown:x,onPointerup:p[4]||(p[4]=()=>u.value=!1)}),[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(l.value(s,h),(e,t)=>{var n,l,m,h,f,g,b,O,x;return(0,r.uX)(),(0,r.Wv)(y,{key:e.id,heights:i.value.filter(t=>t.position===e.position),icons:d.icons,index:t,toast:e,defaultRichColors:d.richColors,duration:(null==(n=d.toastOptions)?void 0:n.duration)??d.duration,class:(0,o.C4)((null==(l=d.toastOptions)?void 0:l.class)??""),descriptionClass:null==(m=d.toastOptions)?void 0:m.descriptionClass,invert:d.invert,visibleToasts:d.visibleToasts,closeButton:(null==(h=d.toastOptions)?void 0:h.closeButton)??d.closeButton,interacting:u.value,position:s,style:(0,o.Tr)(null==(f=d.toastOptions)?void 0:f.style),unstyled:null==(g=d.toastOptions)?void 0:g.unstyled,classes:null==(b=d.toastOptions)?void 0:b.classes,cancelButtonStyle:null==(O=d.toastOptions)?void 0:O.cancelButtonStyle,actionButtonStyle:null==(x=d.toastOptions)?void 0:x.actionButtonStyle,toasts:a.value.filter(t=>t.position===e.position),expandByDefault:d.expand,gap:d.gap,expanded:c.value,pauseWhenPageIsHidden:d.pauseWhenPageIsHidden,cn:d.cn,"onUpdate:heights":p[0]||(p[0]=e=>{i.value=e}),onRemoveToast:v},{"close-icon":(0,r.k6)(()=>[(0,r.RG)(d.$slots,"close-icon",{},()=>[(0,r.bF)(k)])]),"loading-icon":(0,r.k6)(()=>[(0,r.RG)(d.$slots,"loading-icon",{},()=>[(0,r.bF)(S,{visible:"loading"===e.type},null,8,["visible"])])]),"success-icon":(0,r.k6)(()=>[(0,r.RG)(d.$slots,"success-icon",{},()=>[(0,r.bF)($)])]),"error-icon":(0,r.k6)(()=>[(0,r.RG)(d.$slots,"error-icon",{},()=>[(0,r.bF)(_)])]),"warning-icon":(0,r.k6)(()=>[(0,r.RG)(d.$slots,"warning-icon",{},()=>[(0,r.bF)(P)])]),"info-icon":(0,r.k6)(()=>[(0,r.RG)(d.$slots,"info-icon",{},()=>[(0,r.bF)(R)])]),_:2},1032,["heights","icons","index","toast","defaultRichColors","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","toasts","expandByDefault","gap","expanded","pauseWhenPageIsHidden","cn"])}),128))],16,Q)}),128))],8,j))}});try{if("u">typeof document){var U=document.createElement("style");U.appendChild(document.createTextNode("/**\n* We need to be explicit to avoid !important. :)\n*\n* Original: https://github.com/xiaoluoboding/vue-sonner/blob/311ecc8d9a51b619f968e20f4b44992ad8412850/packages/styles.css#L91-L103\n*/\n.scalar-toaster [data-sonner-toast][data-styled='true'] {\n  background: var(--scalar-background-1);\n  color: var(--scalar-color-1);\n  padding: 18px;\n  border: none;\n  border-radius: var(--scalar-radius-lg);\n  font-size: var(--scalar-font-size-3);\n  font-weight: var(--scalar-font-medium);\n  box-shadow: var(--scalar-shadow-2);\n}\n.scalar-toaster [data-sonner-toast] [data-icon] {\n  align-self: flex-start;\n  position: relative;\n  top: 2px;\n}\n.scalar-toaster [data-sonner-toast][data-styled='true'][data-expanded='true'] {\n  height: auto;\n}\n.scalar-toaster [data-sonner-toast][data-type='error'] {\n  background: var(--scalar-background-1);\n}\n.scalar-toaster [data-sonner-toast][data-type='error'] [data-icon] {\n  color: color-mix(in srgb, var(--scalar-color-red) 75%, var(--scalar-color-1));\n}\n.scalar-toaster [data-sonner-toast][data-type='warning'] {\n  background: var(--scalar-background-1);\n}\n.scalar-toaster [data-sonner-toast][data-type='warning'] [data-icon] {\n  color: color-mix(\n    in srgb,\n    var(--scalar-color-orange) 90%,\n    var(--scalar-color-1)\n  );\n}\n/*$vite$:1*/")),document.head.appendChild(U)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}var X={toast:()=>null};function I(e){X.toast=e}function B(){return{initializeToasts:I,toast:(e,t="info",a={timeout:3e3})=>{X.toast(e,t,a)}}}var q=(0,r.pM)({__name:"ScalarToasts",setup(e){let t=(0,n.KR)(!1);(0,r.sV)(()=>t.value=!0);let a={success:h.success,error:h.error,warn:h.warning,info:h},{initializeToasts:o}=B();return o((e,t="info",r={})=>{(a[t]||a.info)(e,{duration:r.timeout||3e3,description:r.description})}),(e,a)=>t.value?((0,r.uX)(),(0,r.Wv)((0,n.R1)(Z),{key:0,class:"scalar-toaster"})):(0,r.Q3)("",!0)}})},83031:(e,t,a)=>{"use strict";a.d(t,{F:()=>n});var r=a(99822);let n=e=>{if("string"!=typeof e)return console.warn("Request method is not a string. Using get as the default."),"get";let t=e.trim().toLowerCase();return(0,r.a)(t)?t:(console.warn(`${e||"Request method"} is not a valid request method. Using get as the default.`),"get")}},83691:(e,t,a)=>{"use strict";a.d(t,{A:()=>$});var r=a(68409),n=a(38547),o=a(10779),l=a(56942),s=a(61930),i=a(44419),c=a(94361),u={key:0},d={key:1}
211,p={key:2},m={key:3},h={key:4},f={key:5},g=(0,n.pM)({name:"ScalarIconCaretUp",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,c.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M216.49,168.49a12,12,0,0,1-17,0L128,97,56.49,168.49a12,12,0,0,1-17-17l80-80a12,12,0,0,1,17,0l80,80A12,12,0,0,1,216.49,168.49Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M208,160H48l80-80Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M213.66,154.34l-80-80a8,8,0,0,0-11.32,0l-80,80A8,8,0,0,0,48,168H208a8,8,0,0,0,5.66-13.66ZM67.31,152,128,91.31,188.69,152Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",p,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M215.39,163.06A8,8,0,0,1,208,168H48a8,8,0,0,1-5.66-13.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,215.39,163.06Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",m,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M212.24,164.24a6,6,0,0,1-8.48,0L128,88.49,52.24,164.24a6,6,0,0,1-8.48-8.48l80-80a6,6,0,0,1,8.48,0l80,80A6,6,0,0,1,212.24,164.24Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",h,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",f,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M210.83,162.83a4,4,0,0,1-5.66,0L128,85.66,50.83,162.83a4,4,0,0,1-5.66-5.66l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,210.83,162.83Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}}),v=a(95876),y=a(8544),b={key:0,class:"shrink-0 whitespace-nowrap text-xs tabular-nums text-c-3"},O=["disabled"],k=["disabled"],x=(0,n.pM)({__name:"ScalarVirtualTextSearch",props:{query:{},matchCount:{},activeMatchIndex:{}},emits:["update:query","next","prev","close"],setup(e,{expose:t,emit:a}){let r=(0,o.KR)(null),c=(0,o.KR)(e.query);(0,n.wB)(()=>e.query,e=>{c.value=e}),(0,n.wB)(c,e=>{a("update:query",e)});let u=e=>{"Enter"===e.key&&(e.preventDefault(),e.shiftKey?a("prev"):a("next")),"Escape"===e.key&&(e.preventDefault(),a("close"))};return t({focus:()=>{(0,n.dY)(()=>r.value?.focus())}}),(t,d)=>((0,n.uX)(),(0,n.CE)("div",{class:"scalar-virtual-text-search ml-auto mr-2 mt-2 flex h-fit w-fit items-center gap-1 overflow-visible rounded-lg bg-b-2 px-2 py-1 shadow-md",onClick:d[4]||(d[4]=(0,l.D$)(()=>{},["stop"]))},[(0,n.bF)((0,o.R1)(i.A),{class:"pointer-events-none size-3.5 shrink-0 text-c-3"}),(0,n.bo)((0,n.Lk)("input",{ref_key:"searchInputRef",ref:r,"onUpdate:modelValue":d[0]||(d[0]=e=>c.value=e),"aria-label":"Search in text",autocomplete:"off",class:"scalar-virtual-text-search-input min-w-0 w-36 appearance-none border-none bg-transparent px-1 py-0.5 text-xs text-c-1 outline-none",placeholder:"Find...",spellcheck:"false",type:"search",onKeydown:u},null,544),[[l.Jo,c.value]]),c.value?((0,n.uX)(),(0,n.CE)("span",b,(0,s.v_)(e.matchCount>0?`${e.activeMatchIndex+1} of ${e.matchCount}`:"No results"),1)):(0,n.Q3)("",!0),d[5]||(d[5]=(0,n.Lk)("span",{class:"mx-0.5 h-3.5 w-px bg-b-3"},null,-1)),(0,n.Lk)("button",{"aria-label":"Previous match",class:"flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1 disabled:pointer-events-none disabled:opacity-30",disabled:0===e.matchCount,title:"Previous match (Shift+Enter)",type:"button",onClick:d[1]||(d[1]=e=>a("prev"))},[(0,n.bF)((0,o.R1)(g),{class:"size-3"})],8,O),(0,n.Lk)("button",{"aria-label":"Next match",class:"flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1 disabled:pointer-events-none disabled:opacity-30",disabled:0===e.matchCount,title:"Next match (Enter)",type:"button",onClick:d[2]||(d[2]=e=>a("next"))},[(0,n.bF)((0,o.R1)(v.A),{class:"size-3"})],8,k),(0,n.Lk)("button",{"aria-label":"Close search",class:"flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1",title:"Close (Escape)",type:"button",onClick:d[3]||(d[3]=e=>a("close"))},[(0,n.bF)((0,o.R1)(y.A),{class:"size-3"})])]))}}),w=(0,r.A)(x,[["__scopeId","data-v-95edadbb"]]),S={key:0,class:"sticky top-0 z-10 flex h-0 w-full justify-end overflow-visible"},C=(0,n.pM)({__name:"ScalarVirtualText",props:{text:{},lineHeight:{default:20},containerClass:{default:""},contentClass:{default:""},lineClass:{default:""},searchable:{type:Boolean,default:!1}},setup(e){let t=(0,o.KR)(null),a=(0,o.KR)(null),r=(0,o.KR)(0),l=(0,o.KR)(0),i=(0,o.KR)(""),c=(0,o.KR)(!1),u=(0,o.KR)(0),d=(0,n.EW)(()=>e.text.split("\n")),p=(0,n.EW)(()=>d.value.length*e.lineHeight),m=(0,n.EW)(()=>Math.floor(r.value/e.lineHeight)),h=(0,n.EW)(()=>Math.min(Math.ceil((r.value+l.value)/e.lineHeight),d.value.length)),f=(0,n.EW)(()=>Math.max(0,m.value-10)),g=(0,n.EW)(()=>{let e=Math.min(d.value.length,h.value+10);return d.value.slice(f.value,e)}),v=(0,n.EW)(()=>f.value*e.lineHeight),y=(0,n.EW)(()=>{let e=i.value;if(!e)return[];let t=e.toLowerCase(),a=[];for(let r=0;r<d.value.length;r++){let n=d.value[r];if(!n)continue;let o=n.toLowerCase(),l=0;for(;l<o.length;){let n=o.indexOf(t,l);if(-1===n)break;a.push({line:r,start:n,end:n+e.length}),l=n+t.length}}return a}),b=(0,n.EW)(()=>{let e=new Set;for(let t of y.value)e.add(t.line);return e});(0,n.wB)(()=>y.value.length,e=>{0===e?u.value=0:u.value>=e&&(u.value=e-1)});let O=a=>{if(!t.value)return;let r=a.line*e.lineHeight,n=t.value.scrollTop,o=n+t.value.clientHeight;(r<n||r+e.lineHeight>o)&&(t.value.scrollTop=r-t.value.clientHeight/2)},k=e=>{let t=y.value[e];t&&(u.value=e,O(t))},x=()=>{0!==y.value.length&&k((u.value+1)%y.value.length)},C=()=>{0!==y.value.length&&k((u.value-1+y.value.length)%y.value.length)},$=()=>{c.value=!1,i.value="",u.value=0},A=t=>{e.searchable&&((t.metaKey||t.ctrlKey)&&"f"===t.key&&(t.preventDefault(),t.stopPropagation(),c.value=!0,(0,n.dY)(()=>a.value?.focus())),"Escape"===t.key&&c.value&&(t.preventDefault(),$()))};(0,n.wB)(i,()=>{u.value=0;let e=y.value[0];e&&O(e)});let R=()=>t.value&&(r.value=t.value.scrollTop),E=()=>t.value&&(l.value=t.value.clientHeight);return(0,n.sV)(()=>{E(),window.addEventListener("resize",E)}),(0,n.xo)(()=>{window.removeEventListener("resize",E)}),(r,o)=>((0,n.uX)(),(0,n.CE)("div",{ref_key:"containerRef",ref:t,class:(0,s.C4)(["scalar-virtual-text relative overflow-auto",e.containerClass]),tabindex:"0",onKeydown:A,onScroll:R},[e.searchable&&c.value?((0,n.uX)(),(0,n.CE)("div",S,[(0,n.bF)(w,{ref_key:"searchRef",ref:
211a,query:i.value,"onUpdate:query":o[0]||(o[0]=e=>i.value=e),activeMatchIndex:u.value,matchCount:y.value.length,onClose:$,onNext:x,onPrev:C},null,8,["query","activeMatchIndex","matchCount"])])):(0,n.Q3)("",!0),(0,n.Lk)("div",{style:(0,s.Tr)({height:`${p.value}px`})},null,4),(0,n.Lk)("code",{class:(0,s.C4)(["scalar-virtual-text-content absolute left-0 right-0 top-0",e.contentClass]),style:(0,s.Tr)({transform:`translateY(${v.value}px)`})},[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(g.value,(t,a)=>((0,n.uX)(),(0,n.CE)("div",{key:f.value+a,class:(0,s.C4)(["scalar-virtual-text-line",e.lineClass]),style:(0,s.Tr)({height:`${e.lineHeight}px`,lineHeight:`${e.lineHeight}px`})},[i.value&&b.value.has(f.value+a)?((0,n.uX)(!0),(0,n.CE)(n.FK,{key:0},(0,n.pI)((e=>{let t=d.value[e]??"";if(!i.value||!b.value.has(e))return[{text:t,highlight:!1,active:!1}];let a=y.value.filter(t=>t.line===e),r=[],n=0;for(let e of a){e.start>n&&r.push({text:t.slice(n,e.start),highlight:!1,active:!1});let a=y.value.indexOf(e)===u.value;r.push({text:t.slice(e.start,e.end),highlight:!0,active:a}),n=e.end}return n<t.length&&r.push({text:t.slice(n),highlight:!1,active:!1}),r})(f.value+a),(e,t)=>((0,n.uX)(),(0,n.CE)(n.FK,{key:t},[e.highlight?((0,n.uX)(),(0,n.CE)("mark",{key:0,class:(0,s.C4)(["scalar-virtual-text-highlight",e.active?"scalar-virtual-text-highlight-active":""])},(0,s.v_)(e.text),3)):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[(0,n.eW)((0,s.v_)(e.text),1)],64))],64))),128)):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[(0,n.eW)((0,s.v_)(t),1)],64))],6))),128))],6)],34))}}),$=(0,r.A)(C,[["__scopeId","data-v-77b9d685"]])},83886:(e,t,a)=>{"use strict";let r;a.d(t,{D:()=>n});var n=((r=n||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},84044:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(36384),n=a(1701),o=a(8873),l=a(38547),s=a(10779),i=(0,l.pM)({inheritAttrs:!1,__name:"ScalarIconLegacyAdapter",props:{icon:{type:[Object,Function]},label:{},weight:{},logo:{},size:{},thickness:{}},setup(e){let{cx:t}=(0,o.AX)();return(a,o)=>
211"string"==typeof e.icon?((0,l.uX)(),(0,l.Wv)(n.A,(0,l.v6)({key:0},{...a.$props,...a.$attrs},{icon:e.icon}),null,16,["icon"])):((0,l.uX)(),(0,l.Wv)((0,l.$y)(e.icon),(0,l.v6)({key:1,label:e.label,weight:e.weight},(0,s.R1)(t)((0,s.R1)(r.H)({size:e.size}))),null,16,["label","weight"]))}})},84889:(e,t,a)=>{"use strict";a.d(t,{Z6:()=>s});var r=a(65495),n=a(53572),o=a(52614);async function l(e,t,a){try{let r=(e=>{try{return new URL(e).host}catch{return null}})(e),n=a?.headers?.find(e=>void 0!==e.domains.find(e=>e===r))?.headers,l=a?.fetch??fetch,s=await t(()=>l(e,{headers:n}));if(s.ok){let e=await s.text();return{ok:!0,data:function(e){if(null!==e){if("string"==typeof e){let t=e.startsWith("\uFEFF")?e.slice(1):e;if(""===t.trim())return;try{return JSON.parse(t)}catch{let e=/^[^:]+:/.test(t),a=t.slice(0,50).trimStart(),r=a.startsWith("{")||a.startsWith("[");if(!e||r)return;return(0,o.parse)(t,{maxAliasCount:1e4,merge:!0})}}return e}}(e),raw:e}}let i=s.headers.get("Content-Type")??"";return["text/html","application/xml"].includes(i)&&console.warn(`[WARN] We only support JSON/YAML formats, received ${i}`),console.warn(`[WARN] Fetch failed with status ${s.status} ${s.statusText} for URL: ${e}`),{ok:!1}}catch{return console.warn(`[WARN] Failed to parse JSON/YAML from URL: ${e}`),{ok:!1}}}function s(e){var t;let a,o,s=e?.limit?(t=e.limit,a=0,o=new r.o,async e=>{a>=t&&await new Promise(e=>o.enqueue(e)),a++;try{return await e()}finally{a--,(()=>{if(o.isEmpty()||a>=t)return;let e=o.dequeue();e&&e()})()}}):e=>e();return{type:"loader",validate:n.q,exec:t=>l(t,s,e)}}},85058:(e,t,a)=>{"use strict";a.d(t,{H:()=>l,Y:()=>o});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-pre-request":r.ZU.Optional(r.ZU.String())}),l=(0,n.Ik)({"x-pre-request":(0,n.lq)((0,n.Yj)())},{typeName:"XPreRequest",typeComment:"Pre-request script to run before the request is sent."})},85238:(e,t,a)=>{"use strict";a.d(t,{Q:()=>p,T:()=>h});var r=a(21961),n=a(60652),o=a(13904),l=a(6802),s=a(96445);let i=Symbol("isMagicProxy"),c=Symbol("magicProxyTarget"),u="$ref-value",d="$ref",p=(e,t,a={root:e,proxyCache:new WeakMap,cache:new Map,schemas:(0,l.f)(e),currentContext:""})=>{if(!(0,n.G)(e)&&!Array.isArray(e))return e;if(a.proxyCache.has(e))return a.proxyCache.get(e);let h=new Proxy(e,{get(e,n,h){if(n===i)return!0;if(n===c)return e;if("string"==typeof n&&n.startsWith("__scalar_")&&!t?.showInternal)return;let f=Reflect.get(e,d,h),g=(0,l.O)(e);if(n===u&&"string"==typeof f){if(a.cache.has(f))return a.cache.get(f);let e=(0,o.n)(f,g??a.currentContext,a.schemas);if(void 0===e)return;let n=(0,s.E)(a.root,(0,r.L)(`/${e}`));if(m(n.value))return n.value;let l=p(n.value,t,{...a,currentContext:n.context});return a.cache.set(f,l),l}let v=Reflect.get(e,n,h);return m(v)?v:p(v,t,{...a,currentContext:g??a.currentContext})},set(e,n,i,c){let p=Reflect.get(e,d,c);if("string"==typeof n&&n.startsWith("__scalar_")&&!t?.showInternal)return!0;if(n===u&&"string"==typeof p){let t=(0,l.O)(e),n=(0,o.n)(p,t??a.currentContext,a.schemas);if(void 0===n)return;let c=(0,r.L)(`/${n}`);if(0===c.length)return!1;let u=()=>(0,s.E)(a.root,c.slice(0,-1)).value;if(void 0===u()){var m;m=a.root,c.slice(0,-1).reduce((e,t)=>(void 0===e[t]&&(isNaN(Number(t))?e[t]={}:e[t]=[]),e[t]),m),console.warn(`Trying to set $ref-value for invalid reference: ${p}
212
213Please fix your input file to fix this issue.`)}return u()[c.at(-1)]=i,!0}return Reflect.set(e,n,i,c)},deleteProperty:(e,t)=>Reflect.deleteProperty(e,t),has:(e,a)=>(!("string"==typeof a&&a.startsWith("__scalar_"))||!!t?.showInternal)&&(a===u&&d in e||Reflect.has(e,a)),ownKeys(e){let a=Reflect.ownKeys(e).filter(e=>"string"!=typeof e||!(e.startsWith("__scalar_")&&!t?.showInternal));return d in e&&!a.includes(u)&&a.push(u),a},getOwnPropertyDescriptor(e,a){if("string"==typeof a&&a.startsWith("__scalar_")&&!t?.showInternal)return;let r=Reflect.get(e,d);return a===u&&"string"==typeof r?{configurable:!0,enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(e,a)}});return a.proxyCache.set(e,h),h},m=e=>"object"==typeof e&&null!==e&&!0===e[i];function h(e){return"object"!=typeof e||null===e?e:e[i]?e[c]:e}},85281:(e,t,a)=>{"use strict";a.d(t,{Mf:()=>
213o});var r=a(82138),n=a(51324);let o=(e={})=>{let{debug:t=!1}=e,a=new Map,o=new Set,l=[],s=null,{execute:i,flushAll:c}=(0,r.s)({delay:328}),u=()=>{if(0!==l.length){if(t)if(1===l.length){let e=l[0];e&&console.log(`[EventBus] ${e.message}`,...e.args)}else{for(let{message:e,args:t}of(console.groupCollapsed(`[EventBus] ${l.length} operations`),l))console.log(e,...t);console.groupEnd()}l.length=0,s=null}},d=(e,...a)=>{t&&(l.push({message:e,args:a}),s&&clearTimeout(s),s=setTimeout(u,500))},p=(e,t)=>{let r,n=(r=a.get(e)??new Set,a.set(e,r),r);return n.add(t),d(`Added listener for "${String(e)}" (${n.size} total)`),()=>m(e,t)},m=(e,t)=>{let r=a.get(e);r&&(r.delete(t),d(`Removed listener for "${String(e)}" (${r.size} remaining)`),0===r.size&&a.delete(e))},h=e=>{o.delete(e),d(`Removed wildcard listener (${o.size} remaining)`)},f=(e,t,r)=>{let l=r?.skipUnpackProxy?t:(0,n.s)(t,{depth:5}),s=a.get(e),i=void 0!==s&&s.size>0;if(!i&&0===o.size)return void d(`🛑 No listeners for "${String(e)}"`);if(i&&s)for(let a of(d(`Emitting "${String(e)}" to ${s.size} listener(s)`,t),Array.from(s)))try{a(l)}catch(t){console.error(`[EventBus] Error in listener for "${String(e)}":`,t)}if(o.size>0){d(`Emitting "${String(e)}" to ${o.size} wildcard listener(s)`,t);let a={event:e,payload:l};for(let t of Array.from(o))try{t(a)}catch(t){console.error(`[EventBus] Error in wildcard listener for "${String(e)}":`,t)}}};return{on:p,once:(e,t)=>{let a=r=>{m(e,a),t(r)};return p(e,a)},off:m,onAny:e=>(o.add(e),d(`Added wildcard listener (${o.size} total)`),()=>h(e)),offAny:h,emit:(...e)=>{let[t,a,r]=e;r?.debounceKey?i(`${t}-${r.debounceKey}`,()=>f(t,a,r)):f(t,a,r)},flushDebouncedEmits:()=>{c()}}}},85448:(e,t,a)=>{"use strict";a.d(t,{G:()=>u});var r=a(92412),n=a(95441),o=a(10779),l=a(38547);let s=(0,o.KR)("dark"),i=(0,o.KR)("light"),c=(0,r.KC)([(0,r.eu)("system"),(0,r.eu)("dark"),(0,r.eu)("light")]);function u(e={}){let{initialColorMode:t="system",overrideColorMode:a}=e;function r(e){s.value=e,"u">typeof window&&window?.localStorage?.setItem("colorMode",s.value)}function d(){return"u"<typeof window?"light":"function"!=typeof window?.matchMedia||window?.matchMedia("(prefers-color-scheme: dark)")?.matches?"dark":"light"}let p=(0,l.EW)({get:()=>"system"===s.value?i.value:s.value,set:r}),m=(0,l.EW)({get:()=>"dark"===p.value,set:e=>r(e?"dark":"light")}),h="u"<typeof window?"system":window?.localStorage?.getItem("colorMode"),f=(0,n.t)(c,h)?h:null;s.value=a??f??t,(0,l.wB)([s,i],function(){"u"<typeof document||"u"<typeof window||("dark"===(a??("system"===s.value?i.value:s.value))?(document.body.classList.add("dark-mode"),document.body.classList.remove("light-mode")):(document.body.classList.add("light-mode"),document.body.classList.remove("dark-mode")))},{immediate:!0});let g=()=>{i.value=d()},v=(0,o.KR)(null);return(0,l.sV)(()=>{i.value=d(),"u">typeof window&&"function"==typeof window?.matchMedia&&(v.value=window.matchMedia("(prefers-color-scheme: dark)"),v.value?.addEventListener("change",g))}),(0,l.hi)(()=>{v.value?.removeEventListener("change",g)}),{colorMode:(0,l.EW)({get:()=>s.value,set:r}),darkLightMode:p,isDarkMode:m,toggleColorMode:function(){s.value="dark"===p.value?"light":"dark","u">typeof window&&window?.localStorage?.setItem("colorMode",s.value)},setColorMode:r,getSystemModePreference:d}}},85938:(e,t,a)=>{"use strict";a.d(t,{G:()=>l});let r="u"<typeof Symbol?"__ͼ":Symbol.for("ͼ"),n="u"<typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),o="u">typeof globalThis?globalThis:"u">typeof window?window:{};class l{constructor(e,t){this.rules=[];let{finish:a}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let t in e)!function e(t,n,o,l){let s=[],i=/^@(\w+)\b/.exec(t[0]),c=i&&"keyframes"==i[1];if(i&&null==n)return o.push(t[0]+";");for(let a in n){let l=n[a];if(/&/.test(a))e(a.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>e.concat(t)),l,o);else if(l&&"object"==typeof l){if(!i)throw RangeError("The value of a property ("+a+") should be a primitive value.");e(r(a),l,s,c)}else null!=l&&s.push(a.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+l+";")}(s.length||c)&&o.push((a&&!i&&!l?t.map(a):t).join(", ")+" {"+s.join(" ")+"}")}(r(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=o[r]||1;return o[r]=e+1,"ͼ"+e.toString(36)}static mount(e,t,a){let r=e[n],o=a&&a.nonce;r?o&&r.setNonce(o):r=new i(e,o),r.mount(Array.isArray(t)?t:[t],e)}}let s=new Map;class i{constructor(e,t){let a=e.ownerDocument||e,r=a.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=s.get(a);if(t)return e[n]=t;this.sheet=new r.CSSStyleSheet,s.set(a,this)}else this.styleTag=a.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[n]=this}mount(e,t){let a=this.sheet,r=0,n=0;for(let t=0;t<e.length;t++){let o=e[t],l=this.modules.indexOf(o);if(l<n&&l>-1&&(this.modules.splice(l,1),n--,l=-1),-1==l){if(this.modules.splice(n++,0,o),a)for(let e=0;e<o.rules.length;e++)a.insertRule(o.rules[e],r++)}else{for(;n<l;)r+=this.modules[n++].rules.length;r+=o.rules.length,n++}}if(a)0>t.adoptedStyleSheets.indexOf(this.sheet)&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let a=t.head||t;this.styleTag.parentNode!=a&&a.insertBefore(this.styleTag,a.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}},85939:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconArrowUpRight",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M204,64V168a12,12,0,0,1-24,0V93L72.49,200.49a12,12,0,0,1-17-17L163,76H88a12,12,0,0,1,0-24H192A12,12,0,0,1,204,64Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M192,64V168L88,64Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M192,56H88a8,8,0,0,0-5.66,13.66L128.69,116,58.34,186.34a8,8,0,0,0,11.32,11.32L140,127.31l46.34,46.35A8,8,0,0,0,200,168V64A8,8,0,0,0,192,56Zm-8,92.69-38.34-38.34h0L107.31,72H184Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M200,64V168a8,8,0,0,1-13.66,5.66L140,127.31,69.66,197.66a8,8,0,0,1-11.32-11.32L128.69,116,82.34,69.66A8,8,0,0,1,88,56H192A8,8,0,0,1,200,64Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M198,64V168a6,6,0,0,1-12,0V78.48L68.24,196.24a6,6,0,0,1-8.48-8.48L177.52,70H88a6,6,0,0,1,0-12H192A6,6,0,0,1,198,64Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M196,64V168a4,4,0,0,1-8,0V73.66L66.83,194.83a4,4,0,0,1-5.66-5.66L182.34,68H88a4,4,0,0,1,0-8H192A4,4,0,0,1,196,64Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},86579:(e,t,a)=>{"use strict";a.d(t,{M:()=>o});var r=a(38547),n=a(56992);function o(e,t,a,o){n._.isServer||(0,r.nT)(r=>{(e=null!=e?e:window).addEventListener(t,a,o),r(()=>e.removeEventListener(t,a,o))})}},86888:(e,t,a)=>{"use strict";a.d(t,{Rf:()=>l,qk:()=>n,xG:()=>o});var r=a(5131);function n(e,t){let a=(e,a)=>"function"==typeof t?t(a):t[a]?.toString()||`{${a}}`;return e.replace(/{{\s*([\w.-]+)\s*}}/g,a).replace(/{\s*([\w.-]+)\s*}/g,a)}let o=(e,t={})=>e.replace(r.Q.PATH,(e,a)=>t[a]??e),l=(e,t={})=>e.replace(r.Q.VARIABLES,(e,a)=>"function"==typeof t?t(a)??e:t[a]??e)},87023:(e,t,a)=>{"use strict";a.d(t,{SM:()=>p,t:()=>h.A,rA:()=>v});var r=a(1767),n=a(68491),o=a(10779),l=a(38547),s=Symbol(),i=a(8873),c=a(56942),u=a(13919),d=["id","aria-activedescendant","aria-labelledby","onKeydown"],p=(0,l.pM)({inheritAttrs:!1,__name:"ScalarDropdown",props:(0,l.zz)({placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:["update:open"],setup(e){let t,a=(0,o.KR)(),p=(0,o.KR)(),m=(0,l.fn)(e,"open"),{active:h}=(t=(0,o.KR)(),(0,l.Gt)(s,t),{active:t}),f=(0,l.Bi)(),g=(0,o.KR)(f),v=(0,l.Bi)();async function y(){m.value=!m.value,await (0,l.dY)(),m.value&&p.value?.focus()}async function b(e){["ArrowDown","ArrowUp"," ","Enter"].includes(e.ke
213y)&&(e.preventDefault(),m.value||(m.value=!0),await (0,l.dY)(),p.value?.focus(),["ArrowDown"," ","Enter"].includes(e.key)?x(1):"ArrowUp"===e.key&&x(-1))}async function O(){a.value?.targetRef?.focus(),m.value=!1}function k(){if(!h.value||!p.value)return;let e=p.value.querySelector(`#${h.value}[role="menuitem"]:not([aria-disabled="true"])`);e&&(e.click(),O())}function x(e){if(!m.value||!p.value)return;let t=Array.from(p.value.querySelectorAll('[role="menuitem"]:not([aria-disabled="true"])'));if(0===t.length)return;let a=t.findIndex(e=>e.id===h.value);if(-1===a){let a=t[e>0?0:t.length-1];a?.id&&(h.value=a.id);return}let r=a+e;if(r<0||r>t.length-1)return;let n=t[r];n?.id&&(h.value=n.id)}(0,l.wB)(()=>a.value?.targetRef,(e,t)=>{e&&(e.id?g.value=e.id:(g.value=f,e.setAttribute("id",g.value)),e.setAttribute("aria-haspopup","menu"),e.setAttribute("aria-expanded",`${m.value}`),m.value&&e.setAttribute("aria-controls",v),e.addEventListener("click",y),e.addEventListener("keydown",b)),t&&t!==e&&(t.id===f&&t.removeAttribute("id"),t.removeAttribute("aria-controls"),t.removeAttribute("aria-haspopup"),t.removeAttribute("aria-expanded"),t.removeEventListener("click",y),t.removeEventListener("keydown",b))},{immediate:!0}),(0,l.wB)(m,e=>{let t=a.value?.targetRef;t&&(t.setAttribute("aria-expanded",`${e}`),e?t.setAttribute("aria-controls",v):t.removeAttribute("aria-controls"))},{immediate:!0}),(0,u.X2F)(p,O,{ignore:[(0,l.EW)(()=>a.value?.targetRef)]});let{cx:w}=(0,i.AX)();return(t,s)=>((0,l.uX)(),(0,l.Wv)((0,o.R1)(n.A),(0,l.v6)({ref_key:"floatingRef",ref:
213a},t.$props,{placement:e.placement??"bottom-start"}),(0,l.eX)({default:(0,l.k6)(()=>[(0,l.RG)(t.$slots,"default",{open:m.value})]),_:2},[m.value?{name:"floating",fn:(0,l.k6)(({width:e})=>[(0,l.bF)(r.A,(0,l.v6)({style:{width:e}},(0,o.R1)(w)("max-h-[inherit] max-w-[inherit]")),{menu:(0,l.k6)(()=>[(0,l.Lk)("div",{id:(0,o.R1)(v),ref_key:"menuRef",ref:p,"aria-activedescendant":(0,o.R1)(h),"aria-labelledby":g.value,class:"flex flex-col p-0.75 outline-none",role:"menu",tabindex:"-1",onClick:(0,c.D$)(O,["stop"]),onKeydown:[s[0]||(s[0]=(0,c.jR)((0,c.D$)(e=>x(1),["prevent","stop"]),["down"])),(0,c.jR)((0,c.D$)(k,["prevent","stop"]),["enter"]),(0,c.jR)((0,c.D$)(O,["prevent","stop"]),["escape"]),(0,c.jR)((0,c.D$)(k,["prevent","stop"]),["space"]),(0,c.jR)((0,c.D$)(O,["prevent","stop"]),["tab"]),s[1]||(s[1]=(0,c.jR)((0,c.D$)(e=>x(-1),["prevent","stop"]),["up"]))]},[(0,l.RG)(t.$slots,"items",{open:m.value})],40,d)]),_:3},16,["style"])]),key:"0"}:void 0]),1040,["placement"]))}}),m=a(69568),h=a(71478),f=a(68409),g=(0,l.pM)({__name:"ScalarDropdownItem",props:{id:{default:()=>(0,l.Bi)()},disabled:{type:Boolean}},emits:["click"],setup(e){let t,{active:a}=((t=(0,l.WQ)(s))||console.warn("useDropdownItem must be used within a ScalarDropdown"),{active:t});return(t,r)=>((0,l.uX)(),(0,l.Wv)(m.A,{id:e.id,active:(0,o.R1)(a)===e.id,disabled:e.disabled,role:"menuitem",tabindex:"-1",onClick:r[0]||(r[0]=e=>t.$emit("click",e)),onMouseenter:r[1]||(r[1]=t=>a.value=e.id)},{default:(0,l.k6)(()=>[(0,l.RG)(t.$slots,"default",{},void 0,!0)]),_:3},8,["id","active","disabled"]))}}),v=(0,f.A)(g,[["__scopeId","data-v-3402682d"]])},87423:(e,t,a)=>{"use strict";a.d(t,{I:()=>l,Z:()=>o});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-global":r.ZU.Optional(r.ZU.Boolean())}),l=(0,n.Ik)({"x-global":(0,n.lq)((0,n.zM)())},{typeName:"XGlobal",typeComment:"When true, the parameter is injected into every request for the workspace"})},87890:(e,t,a)=>{"use strict";a.d(t,{J9:()=>p,JK:()=>s,OX:()=>c,SS:()=>l,Tn:()=>u,Wx:()=>v,Xe:()=>o,eH:()=>i,k7:()=>f,mF:()=>m,qE:()=>d,qh:()=>g,wb:()=>h});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-scalar-secret-token":r.ZU.String()});(0,n.Ik)({"x-scalar-secret-token":(0,n.Yj)()},{typeName:"XScalarSecretToken",typeComment:"Persisted OAuth access token (sensitive)"});let l=r.ZU.Object({"x-scalar-secret-refresh-token":r.ZU.Optional(r.ZU.String())});(0,n.Ik)({"x-scalar-secret-refresh-token":(0,n.lq)((0,n.Yj)())},{typeName:"XScalarSecretRefreshToken",typeComment:"Persisted OAuth refresh token (sensitive)"});let s=r.ZU.Object({"x-scalar-secret-auth-url":r.ZU.Optional(r.ZU.String())}),i=(0,n.Ik)({"x-scalar-secret-auth-url":(0,n.lq)((0,n.Yj)())},{typeName:"XScalarAuthUrl",typeComment:"Persisted OAuth authorization URL override"}),c=r.ZU.Object({"x-scalar-secret-token-url":r.ZU.Optional(r.ZU.String())}),u=(0,n.Ik)({"x-scalar-secret-token-url":(0,n.lq)((0,n.Yj)())},{typeName:"XScalarTokenUrl",typeComment:"Persisted OAuth token URL override"}),d=r.ZU.Object({"x-scalar-secret-username":r.ZU.String(),"x-scalar-secret-password":r.ZU.String()});(0,n.Ik)({"x-scalar-secret-username":(0,n.Yj)(),"x-scalar-secret-password":(0,n.Yj)()},{typeName:"XScalarSecretHTTP",typeComment:"Persisted HTTP basic credentials (sensitive)"});let p=r.ZU.Object({"x-scalar-secret-client-secret":r.ZU.String()});(0,n.Ik)({"x-scalar-secret-client-secret":(0,n.Yj)()},{typeName:"XScalarSecretClientSecret",typeComment:"Persisted OAuth client secret (sensitive)"});let m=r.ZU.Object({"x-scalar-secret-client-id":r.ZU.String()});(0,n.Ik)({"x-scalar-secret-client-id":(0,n.Yj)()},{typeName:"XScalarSecretClientId",typeComment:"Persisted OAuth client ID"});let h=r.ZU.Object({"x-scalar-secret-redirect-uri":r.ZU.String()});(0,n.Ik)({"x-scalar-secret-redirect-uri":(0,n.Yj)()},{typeName:"XScalarSecretRedirectUri",typeComment:"Persisted OAuth redirect URI"});let f=r.ZU.Object({"x-scalar-secret-client-certificate":r.ZU.String()}),g=r.ZU.Object({"x-scalar-secret-private-key":r.ZU.String()}),v=r.ZU.Object({"x-scalar-secret-service-name":r.ZU.String()})},88044:(e,t,a)=>{"use strict";a.d(t,{Y:()=>l});var r=a(51316),n=a(2829);let o=e=>e&&"oauth2"===e.type?e["x-default-scopes"]??[]:[],l=(e,t,a=[],l={},s)=>{if(t)return t;if(e)return e;if((0,n.x)(a)&&!s)return{selectedIndex:-1,selectedSchemes:[]};if(s)return{selectedIndex:0,selectedSchemes:[((e,t)=>{if(!Array.isArray(e)){let a=(0,r.A)(t[e]);return{[e]:o(a)}}let a={};for(let n of e)if(Array.isArray(n))for(let e of n){let n=(0,r.A)(t[e]);a[e]=o(n)}else{let e=(0,r.A)(t[n]);a[n]=o(e)}return a})(s,l)]};let i=a[0];return i?{selectedIndex:0,selectedSchemes:[Object.fromEntries(Object.entries(i).map(([e,t])=>
213{if(Array.isArray(t)&&t.length>0)return[e,[...t]];let a=(0,r.A)(l[e]),n=a?.type==="oauth2"?a["x-default-scopes"]:void 0;return Array.isArray(n)&&n.length>0?[e,[...n]]:[e,Array.isArray(t)?[...t]:t]}))]}:{selectedIndex:-1,selectedSchemes:[]}}},88050:(e,t,a)=>{"use strict";a.d(t,{Ze:()=>p,u_:()=>f});var r=a(10518),n=a(92412),o=a(22262);(0,n.Ik)({name:(0,n.Yj)({typeComment:"Name of specification extension property. Has to start with `x-`."}),component:(0,n.L5)({typeComment:"Vue component to render the specification extension"}),renderer:(0,n.lq)((0,n.L5)({typeComment:"Custom renderer to render the specification extension"}))});let l=(0,n.Ik)({component:(0,n.L5)({typeComment:"Vue component to render in the view"}),renderer:(0,n.lq)((0,n.L5)({typeComment:"Custom renderer to render the view component (e.g., ReactRenderer)"})),props:(0,n.lq)((0,n.g1)((0,n.Yj)(),(0,n.bz)()),{typeComment:"Additional props to pass to the component"}),sidebar:(0,n.lq)((0,n.Ik)({show:(0,n.zM)(),label:(0,n.Yj)()}),{typeComment:"Sidebar configuration. Set show: true to display in sidebar."})});(0,n.Ik)({"content.start":(0,n.lq)((0,n.YO)(l),{typeComment:"Components to render before the Introduction/Info section"}),"content.end":(0,n.lq)((0,n.YO)(l),{typeComment:"Components to render at specific views in the API Reference"})}),(0,n.Ik)({onInit:(0,n.lq)((0,n.fn)()),onConfigChange:(0,n.lq)((0,n.fn)()),onDestroy:(0,n.lq)((0,n.fn)())});let s=(0,n.fn)(),i=(0,n.Ik)({dashboardUrl:(0,n.Yj)({default:"https://dashboard.scalar.com"}),registryUrl:(0,n.Yj)({default:"https://registry.scalar.com"}),proxyUrl:(0,n.Yj)({default:"https://proxy.scalar.com"}),apiBaseUrl:(0,n.Yj)({default:"https://api.scalar.com"})},{typeComment:"External service URLs used by Scalar packages"}),c=(0,n.Ik)({title:(0,n.lq)((0,n.Yj)(),{typeComment:"The title of the OpenAPI document."}),slug:(0,n.lq)((0,n.Yj)(),{typeComment:"The slug of the OpenAPI document used in the URL. If none is passed, the title will be used. If no title is used, it will just use the index."}),authentication:(0,n.lq)((0,n.bz)(),{typeComment:"Prefill authentication"}),baseServerURL:(0,n.lq)((0,n.Yj)(),{typeComment:"Base URL for the API server"}),hideClientButton:(0,n.zM)({default:!1,typeComment:"Whether to hide the client button"}),proxyUrl:(0,n.lq)((0,n.Yj)(),{typeComment:"URL to a request proxy for the API client"}),oauth2RedirectUri:(0,n.lq)((0,n.Yj)(),{typeComment:"Default OAuth 2.0 redirect URI used to prefill auth flows in the API client."}),searchHotKey:(0,n.lq)((0,n.KC)([(0,n.eu)("a"),(0,n.eu)("b"),(0,n.eu)("c"),(0,n.eu)("d"),(0,n.eu)("e"),(0,n.eu)("f"),(0,n.eu)("g"),(0,n.eu)("h"),(0,n.eu)("i"),(0,n.eu)("j"),(0,n.eu)("k"),(0,n.eu)("l"),(0,n.eu)("m"),(0,n.eu)("n"),(0,n.eu)("o"),(0,n.eu)("p"),(0,n.eu)("q"),(0,n.eu)("r"),(0,n.eu)("s"),(0,n.eu)("t"),(0,n.eu)("u"),(0,n.eu)("v"),(0,n.eu)("w"),(0,n.eu)("x"),(0,n.eu)("y"),(0,n.eu)("z")]),{typeComment:"Key used with CTRL/CMD to open the search modal (defaults to 'k' e.g. CMD+k)"}),servers:(0,n.lq)((0,n.YO)((0,n.bz)()),{typeComment:"List of OpenAPI server objects"}),showSidebar:(0,n.zM)({default:!0,typeComment:"Whether to show the sidebar"}),showDeveloperTools:(0,n.KC)([(0,n.eu)("localhost"),(0,n.eu)("always"),(0,n.eu)("never")],{typeComment:"Whether and when to show the developer tools."}),showToolbar:(0,n.KC)([(0,n.eu)("localhost"),(0,n.eu)("always"),(0,n.eu)("never")],{typeComment:"@deprecated Use showDeveloperTools instead"}),operationTitleSource:(0,n.KC)([(0,n.eu)("summary"),(0,n.eu)("path")],{typeComment:"Whether to use the operation summary or the operation path for the sidebar and search"}),theme:(0,n.KC)([(0,n.eu)("default"),(0,n.eu)("alternate"),(0,n.eu)("moon"),(0,n.eu)("purple"),(0,n.eu)("solarized"),(0,n.eu)("bluePlanet"),(0,n.eu)("deepSpace"),(0,n.eu)("saturn"),(0,n.eu)("kepler"),(0,n.eu)("elysiajs"),(0,n.eu)("fastify"),(0,n.eu)("mars"),(0,n.eu)("laserwave"),(0,n.eu)("none")],{typeComment:"A string to use one of the color presets"}),_integration:(0,n.lq)((0,n.KC)([(0,n.eu)("adonisjs"),(0,n.eu)("astro"),(0,n.eu)("docusaurus"),(0,n.eu)("dotnet"),(0,n.eu)("elysiajs"),(0,n.eu)("express"),(0,n.eu)("fastapi"),(0,n.eu)("fastify"),(0,n.eu)("go"),(0,n.eu)("hono"),(0,n.eu)("html"),
213(0,n.eu)("laravel"),(0,n.eu)("litestar"),(0,n.eu)("nestjs"),(0,n.eu)("nextjs"),(0,n.eu)("nitro"),(0,n.eu)("nuxt"),(0,n.eu)("platformatic"),(0,n.eu)("react"),(0,n.eu)("rust"),(0,n.eu)("svelte"),(0,n.eu)("vue"),(0,n.me)()]),{typeComment:"Integration type identifier"}),onRequestSent:(0,n.lq)((0,n.fn)(),{typeComment:"onRequestSent is fired when a request is sent"}),persistAuth:(0,n.zM)({default:!1,typeComment:"Whether to persist auth to local storage"}),telemetry:(0,n.zM)({default:!0,typeComment:"Enables / disables telemetry"}),externalUrls:i}),u=(0,n.KC)([(0,n.Yj)(),(0,n.me)(),(0,n.g1)((0,n.Yj)(),(0,n.bz)()),(0,n.fn)()]),d=(0,n.Ik)({default:(0,n.zM)({default:!1}),url:(0,n.lq)((0,n.Yj)(),{typeComment:"URL to an OpenAPI/Swagger document"}),content:(0,n.lq)(u,{typeComment:"Directly embed the OpenAPI document. Can be a string, object, function returning an object, or null. It is recommended to pass a URL instead of content."}),title:(0,n.lq)((0,n.Yj)(),{typeComment:"The title of the OpenAPI document. Used for the page title and the document name in the dropdown. With multiple `sources`, set this per source."}),slug:(0,n.lq)((0,n.Yj)(),{typeComment:"The slug of the OpenAPI document used in the URL. If none is passed, the title will be used. With multiple `sources`, set this per source."}),spec:(0,n.lq)((0,n.Ik)({url:(0,n.lq)((0,n.Yj)()),content:(0,n.lq)(u)}),{typeComment:"@deprecated Use `url` and `content` on the top level instead."}),agent:(0,n.lq)((0,n.Ik)({key:(0,n.lq)((0,n.Yj)()),disabled:(0,n.lq)((0,n.zM)()),hideAddApi:(0,n.lq)((0,n.zM)(),{typeComment:"When true, hide the control to add more APIs in the agent chat. Only preloaded/registry documents are shown; the public API list is not offered."})}),{typeComment:"Agent Scalar configuration"})}),p=(0,n.E$)([c,d,(0,n.Ik)({layout:(0,n.KC)([(0,n.eu)("modern"),(0,n.eu)("classic")],{typeComment:"The layout to use for the references"}),proxy:(0,n.lq)((0,n.Yj)(),{typeComment:"@deprecated Use proxyUrl instead"}),fetch:(0,n.lq)((0,n.fn)(),{typeComment:"@deprecated Use `customFetch` instead."}),customFetch:(0,n.lq)((0,n.fn)(),{typeComment:"Custom fetch function used both when loading the OpenAPI document and when sending requests from the API client. Can be used to add custom headers, attach credentials (for example `credentials: 'include'`), handle auth, etc."}),plugins:(0,n.lq)((0,n.YO)(s),{typeComment:"Plugins for the API reference"}),pluginUrls:(0,n.lq)((0,n.YO)((0,n.Yj)()),{typeComment:"URLs of ESM modules that provide additional plugins for the API reference. Each module is loaded with a dynamic `import()` before the API reference mounts, and its default export is registered as a plugin. Unlike `plugins`, this option is JSON-serializable, so integrations that pass their configuration as JSON can load plugins without replacing the whole bundle. Only supported by the standalone browser build (`Scalar.createApiReference`)."}),isEditable:(0,n.zM)({default:!1,typeComment:"Allows the user to inject an editor for the spec"}),hideModels:(0,n.zM)({default:!1,typeComment:"Whether to show models in the sidebar, search, and content."}),modelsSectionLabel:(0,n.lq)((0,n.KC)([(0,n.eu)("Models"),(0,n.eu)("Schemas"),(0,n.Yj)()]),{typeComment:"Label for the components.schemas section in the sidebar, content, and search. Use `Schemas` for OpenAPI terminology."}),localization:(0,n.lq)((0,n.Ik)({locale:(0,n.lq)((0,n.Yj)()),direction:(0,n.lq)((0,n.KC)([(0,n.eu)("auto"),(0,n.eu)("ltr"),(0,n.eu)("rtl")])),translations:(0,n.lq)((0,n.g1)((0,n.Yj)(),(0,n.bz)()))}),{typeComment:"API Reference UI localization. Select a built-in locale, override labels, and control LTR/RTL rendering."}),documentDownloadType:(0,n.KC)([(0,n.eu)("both"),(0,n.eu)("yaml"),(0,n.eu)("json"),(0,n.eu)("direct"),(0,n.eu)("none")],{typeComment:"Sets the file type of the document to download, set to `none` to hide the download button"}),hideDownloadButton:(0,n.lq)((0,n.zM)(),{typeComment:"@deprecated Use `documentDownloadType: 'none'` instead"}),hideTestRequestButton:(0,n.zM)({default:!1,typeComment:'Whether to show the "Test Request" button'}),hideSearch:(0,n.zM)({default:!1,typeComment:"Whether to show the sidebar search bar"}),showOperationId:(0,n.zM)({default:!1,typeComment:"Whether to show the operationId"}),darkMode:(0,n.lq)((0,n.zM)(),{typeComment:"Whether dark mode is on or off initially (light mode)"}),forceDarkModeState:(0,n.lq)((0,n.KC)([(0,n.eu)("dark"),(0,n.eu)("light")]),{typeComment:"forceDarkModeState makes it always this state no matter what"}),hideDarkModeToggle:(0,n.zM)({default:!1,typeComment:"Whether to show the dark mode toggle"}),metaData:(0,n.lq)((0,n.bz)(),{typeComment:"If used, passed data will be added to the HTML header. @see https://unhead.unjs.io/usage/composables/use-seo-meta"}),favicon:(0,n.lq)((0,n.Yj)(),{typeComment:"Path to a favicon image"}),hiddenClients:(0,n.lq)((0,n.KC)([(0,n.g1)((0,n.Yj)(),(0,n.KC)([(0,n.zM)(),(0,n.YO)((0,n.Yj)())])),(0,n.YO)((0,n.Yj)()),(0,n.eu)(!0)]),{typeComment:"List of httpsnippet clients to hide from the clients menu. By default hides Unirest, pass `[]` to show all clients"}),defaultHttpClient:(0,n.lq)((0,n.Ik)({targetKey:(0,n.Yj)(),clientKey:(0,n.Yj)()}),{typeComment:"Determine the HTTP client that is selected by default"}),customCss:(0,n.lq)((0,n.Yj)(),{typeComment:"Custom CSS to be added to the page"}),onServerChange:(0,n.lq)((0,n.fn)(),{typeComment:"onServerChange is fired on selected server change"}),onDocumentSelect:(0,n.lq)((0,n.fn)(),{typeComment:"onDocumentSelect is fired 
213when the config is selected"}),onLoaded:(0,n.lq)((0,n.fn)(),{typeComment:"Callback fired when the reference is fully loaded"}),onBeforeRequest:(0,n.lq)((0,n.fn)(),{typeComment:"Fired before the outbound request is built; callback receives a mutable request builder. Experimental API."}),onRequestBuilt:(0,n.lq)((0,n.fn)(),{typeComment:"Fired right before the outbound request is sent; callback receives the exact fetch Request that goes over the wire. Experimental API."}),onShowMore:(0,n.lq)((0,n.fn)(),{typeComment:'onShowMore is fired when the user clicks the "Show more" button on the references'}),onSidebarClick:(0,n.lq)((0,n.fn)(),{typeComment:"onSidebarClick is fired when the user clicks on a sidebar item"}),pathRouting:(0,n.lq)((0,n.Ik)({basePath:(0,n.Yj)()}),{typeComment:"Route using paths instead of hashes, your server MUST support this. @experimental"}),mcp:(0,n.lq)((0,n.Ik)({name:(0,n.lq)((0,n.Yj)(),{typeComment:"Display name for the MCP server"}),url:(0,n.lq)((0,n.Yj)(),{typeComment:"URL of the MCP server"}),disabled:(0,n.lq)((0,n.zM)(),{typeComment:"When true, disables the MCP integration"})}),{typeComment:"MCP (Model Context Protocol) configuration. When provided, enables MCP integration with the given name and url."}),generateHeadingSlug:(0,n.lq)((0,n.fn)(),{typeComment:"Customize the heading portion of the hash"}),generateModelSlug:(0,n.lq)((0,n.fn)(),{typeComment:"Customize the model portion of the hash"}),generateTagSlug:(0,n.lq)((0,n.fn)(),{typeComment:"Customize the tag portion of the hash"}),generateOperationSlug:(0,n.lq)((0,n.fn)(),{typeComment:"Customize the operation portion of the hash"}),generateWebhookSlug:(0,n.lq)((0,n.fn)(),{typeComment:"Customize the webhook portion of the hash"}),setPageTitle:(0,n.lq)((0,n.fn)(),{typeComment:"Customize the browser tab title for the section currently in view"}),redirect:(0,n.lq)((0,n.fn)(),{typeComment:"To handle redirects, pass a function that receives the current path/hash and passes that to history.replaceState"}),withDefaultFonts:(0,n.zM)({default:!0,typeComment:"Whether to include default fonts"}),defaultOpenFirstTag:(0,n.zM)({default:!0,typeComment:"Whether to expand the first tag in the sidebar when no specific URL target is present"}),defaultOpenAllTags:(0,n.zM)({default:!1,typeComment:"Whether to expand all tags by default. Warning: this can cause performance issues on big documents"}),expandAllModelSections:(0,n.zM)({default:!1,typeComment:"Whether to expand all models by default. Warning: this can cause performance issues on big documents"}),expandAllResponses:(0,n.zM)({default:!1,typeComment:"Whether to expand all responses by default. Warning: this can cause performance issues on big documents"}),expandAllSchemaProperties:(0,n.zM)({default:!1,typeComment:"Whether to expand all nested schema properties by default. The Show/Hide Child Attributes toggle remains available so nested sections can still be collapsed manually. Warning: this can cause performance issues on big documents"}),tagsSorter:(0,n.lq)((0,n.KC)([(0,n.eu)("alpha"),(0,n.fn)()]),{typeComment:"Function to sort tags"}),operationsSorter:(0,n.lq)((0,n.KC)([(0,n.eu)("alpha"),(0,n.eu)("method"),(0,n.fn)()]),{typeComment:"Function to sort operations"}),orderSchemaPropertiesBy:(0,n.KC)([(0,n.eu)("alpha"),(0,n.eu)("preserve")],{typeComment:"Order the schema properties by"}),orderRequiredPropertiesFirst:(0,n.zM)({default:!0,typeComment:"Sort the schema properties by required ones first"})})]),m="https://api.scalar.com/request-proxy",h="https://proxy.scalar.com",f=e=>{let t=(0,o.a)(p,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. Use 'proxyUrl' instead."),t.proxyUrl||(t.proxyUrl=t.proxy),delete t.proxy),t.fetch&&(console.warn("[DEPRECATED] You're using the deprecated 'fetch' attribute. Use 'customFetch' instead."),t.customFetch||(t.customFetch=t.fetch),delete t.fetch),t.proxyUrl===m&&(console.warn(`[DEPRECATED] Warning: configuration.proxyUrl points to our old proxy (${m}).`),console.warn(`[DEPRECATED] We are overwriting the value and use the new proxy URL (${h}) instead.`),console.warn(`[DEPRECATED] Action Required: You should manually update your configuration to use the new URL (${h}). Read more: https://github.com/scalar/scalar`),t.proxyUrl=h),t.showToolbar&&"localhost"!==t.showToolbar&&(console.warn("[DEPRECATED] You're using the deprecated 'showToolbar' attribute. Use 'showDeveloperTools' instead."),t.showDeveloperTools=t.showToolbar,delete t.showToolbar),t.modelsSectionLabel??=r.W,t};(0,n.Ik)({cdn:(0,n.Yj)({default:"https://cdn.jsdelivr.net/npm/@scalar/api-reference"}),pageTitle:(0,n.Yj)({default:"Scalar API Reference"}),nonce:(0,n.lq)((0,n.Yj)())})},88209:(e,t,a)=>{"use strict";let r;a.d(t,{B:()=>n,X:()=>o});var n=((r=n||{})[r.First=0]="First",r[r.Previous=1]="Previous",r[r.Next=2]="Next",r[r.Last=3]="Last",r[r.Specific=4]="Specific",r[r.Nothing=5]="Nothing",r);function o(e,t){let a=t.resolveItems();if(a.length<=0)return null;let r=t.resolveActiveIndex(),n=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e<a.length;++e)if(!t.resolveDisabled(a[e],e,a))return e;return r;case 1:-1===n&&(n=a.length);for(let e=n-1;e>=0;--e)if(!t.resolveDisabled(a[e],e,a))return e;return r;case 2:for(let e=n+1;e<a.length;++e)if(!t.resolveDisabled(a[e],e,a))return e;return r;case 3:for(let e=a.length-1;e>=0;--e)if(!t.resolveDisabled(a[e],e,a))return e;return r;case 4:for(let r=0;r<a.length;++r)if(t.resolveId(a[r],r,a)===e.id)return r;return r;case 5:return null;default:throw Error("Unexpected object: "+e)}}},88454:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconBook",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M208,20H72A36,36,0,0,0,36,56V224a12,12,0,0,0,12,12H192a12,12,0,0,0,0-24H60v-4a12,12,0,0,1,12-12H208a12,12,0,0,0,12-12V32A12,12,0,0,0,208,20ZM196,172H72a35.59,35.59,0,0,0-12,2.06V56A12,12,0,0,1,72,44H196Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M216,32V192a8,8,0,0,1-8,8H72a16,16,0,0,0-16,16H192a8,8,0,0,1,0,16H48a8,8,0,0,1-8-8V56A32,32,0,0,1,72,24H208A8,8,0,0,1,216,32Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M208,26H72A30,30,0,0,0,42,56V224a6,6,0,0,0,6,6H192a6,6,0,0,0,0-12H54v-2a18,18,0,0,1,18-18H208a6,6,0,0,0,6-6V32A6,6,0,0,0,208,26Zm-6,160H72a29.87,29.87,0,0,0-18,6V56A18,18,0,0,1,72,38H202Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M208,28H72A28,28,0,0,0,44,56V224a4,4,0,0,0,4,4H192a4,4,0,0,0,0-8H52v-4a20,20,0,0,1,20-20H208a4,4,0,0,0,4-4V32A4,4,0,0,0,208,28Zm-4,160H72a27.94,27.94,0,0,0-20,8.42V56A20,20,0,0,1,72,36H204Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},89166:(e,t,a)=>{"use strict";function r(e){return p(e)&&globalThis.Symbol.asyncIterator in e}function n(e){return p(e)&&globalThis.Symbol.iterator in e}function o(e){return e instanceof globalThis.Promise}function l(e){return e instanceof Date&&globalThis.Number.isFinite(e.getTime())}function s(e){return e instanceof globalThis.Map}function i(e){return e instanceof globalThis.Set}function c(e){return globalThis.ArrayBuffer.isView(e)}function u(e){return e instanceof globalThis.Uint8Array}function d(e,t){return t in e}function p(e){return null!==e&&"object"==typeof e}function m(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function h(e){return void 0===e}function f(e){return null===e}function g(e){return"boolean"==typeof e}function v(e){return"number"==typeof e}function y(e){return globalThis.Number.isInteger(e)}function b(e){return"bigint"==typeof e}function O(e){return"string"==typeof e}function k(e){return"function"==typeof e}function x(e){return"symbol"==typeof e}function w(e){return b(e)||g(e)||f(e)||v(e)||O(e)||x(e)||h(e)}a.d(t,{$p:()=>y,Ef:()=>f,G4:()=>u,H1:()=>r,IP:()=>O,LT:()=>d,Mx:()=>v,N6:()=>s,OD:()=>o,QS:()=>m,Qb:()=>c,R1:()=>h,Ts:()=>i,XF:()=>l,Zx:()=>g,av:()=>p,cQ:()=>b,hg:()=>k,jo:()=>n,nH:()=>x,u$:()=>w})},89351:(e,t,a)=>{"use strict";function r(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}a.d(t,{F:()=>r})},89683:(e,t,a)=>{"use strict";a.d(t,{c:()=>p,i:()=>m,n:()=>g,o:()=>u,r:()=>f,s:()=>d,t:()=>L});var r=a(11932),n=Object.create,o=Object.defineProperty,l=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=(e,t)=>
213()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),d=(e,t)=>{let a={};for(var r in e)o(a,r,{get:e[r],enumerable:!0});return t||o(a,Symbol.toStringTag,{value:"Module"}),a},p=(e,t,a)=>(a=null!=e?n(i(e)):{},((e,t,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var r,n=s(t),i=0,u=n.length;i<u;i++)r=n[i],c.call(e,r)||void 0===r||o(e,r,{get:(e=>t[e]).bind(null,r),enumerable:!(a=l(t,r))||a.enumerable});return e})(!t&&e&&e.__esModule?a:o(a,"default",{value:e,enumerable:!0}),e)),m={ts:"typescript",js:"javascript",py:"python",py3:"python","c#":"csharp","c++":"cpp",node:"javascript"},h=function(e,t,a){let n=(0,r.i)(a);if(!e||!e.type||!e.children)throw Error("Expected parent node");if("number"==typeof t){if(t<0||t===1/0)throw Error("Expected positive finite number as index")}else if((t=e.children.indexOf(t))<0)throw Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]},f=function(e,t,a,r,n){let o=g(t);if(null!=a&&("number"!=typeof a||a<0||a===1/0))throw Error("Expected positive finite `index`");if(null!=r&&(!r.type||!r.children))throw Error("Expected valid `parent`");if(null==a!=(null==r))throw Error("Expected both `index` and `parent`");return!!b(e)&&o.call(n,e,a,r)},g=function(e){if(null==e)return y;if("string"==typeof e){var t;return t=e,v(function(e){return e.tagName===t})}if("object"==typeof e){var a=e;let t=[],r=-1;for(;++r<a.length;)t[r]=g(a[r]);return v(function(...e){let a=-1;for(;++a<t.length;)if(t[a].apply(this,e))return!0;return!1})}if("function"==typeof e)return v(e);throw Error("Expected function, string, or array as `test`")};function v(e){return function(t,a,r){return!!(b(t)&&e.call(this,t,"number"==typeof a?a:void 0,r||void 0))}}function y(e){return!!(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}function b(e){return null!==e&&"object"==typeof e&&"type"in e&&"tagName"in e}var O=/\n/g,k=/[\t ]+/g,x=g("br"),w=g(function(e){return"td"===e.tagName||"th"===e.tagName}),S=g("p"),C=g("tr"),$=g(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(e){return!!(e.properties||{}).hidden},function(e){return"dialog"===e.tagName&&!(e.properties||{}).open}]),A=g(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function R(e,t){let a,r="children"in e?e.children:[],n=A(e),o=P(e,{whitespace:(t||{}).whitespace||"normal",breakBefore:!1,breakAfter:!1}),l=[];("text"===e.type||"comment"===e.type)&&l.push(...E(e,{whitespace:o,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)l.push(...function e(t,a,r){return"element"===t.type?function(t,a,r){let n,o,l=P(t,r),s=t.children||[],i=-1,c=[];if($(t))return c;for(x(t)||C(t)&&h(a,t,C)?o="\n":S(t)?(n=2,o=2):A(t)&&(n=1,o=1);++i<s.length;)c=c.concat(e(s[i],t,{whitespace:l,breakBefore:i?void 0:n,breakAfter:i<s.length-1?x(s[i+1]):o}));return w(t)&&h(a,t,w)&&c.push("	"),n&&c.unshift(n),o&&c.push(o),c}(t,a,r):"text"===t.type?"normal"===r.whitespace?E(t,r):[String(t.value)]:[]}(r[s],e,{whitespace:o,breakBefore:s?void 0:n,breakAfter:s<r.length-1?x(r[s+1]):n}));let i=[];for(s=-1;++s<l.length;){let e=l[s];"number"==typeof e?void 0!==a&&e>a&&(a=e):e&&(void 0!==a&&a>-1&&i.push("\n".repeat(a)||" "),a=-1,i.push(e))}return i.join("")}function E(e,t){let a,r=String(e.value),n=[],o=[],l=0;for(;l<=r.length;){O.lastIndex=l;let e=O.exec(r),a=e&&"index"in e?e.index:r.length;n.push(function(e,t,a){let r,n=[],o=0;for(;o<e.length;){k.lastIndex=o;let a=k.exec(e);r=a?a.index:e.length,o||r||!a||t||n.push(""),o!==r&&n.push(e.slice(o,r)),o=a?r+a[0].length:r}return o===r||a||n.push(""),n.join(" ")}(r.slice(l,a).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==l||t.breakBefore,a!==r.length||t.breakAfter)),l=a+1}let s=-1;for(;++s<n.length;)8203===n[s].charCodeAt(n[s].length-1)||s<n.length-1&&8203===n[s+1].charCo
213deAt(0)?(o.push(n[s]),a=void 0):n[s]?("number"==typeof a&&o.push(a),o.push(n[s]),a=0):(0===s||s===n.length-1)&&o.push(0);return o}function P(e,t){if("element"===e.type){let a=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return a.wrap?"pre-wrap":"pre";case"td":case"th":return a.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}var T=p(u((e,t)=>{var a=class{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function r(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function n(e,...t){let a=Object.create(null);for(let t in e)a[t]=e[t];return t.forEach(function(e){for(let t in e)a[t]=e[t]}),a}var o=class{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=r(e)}openNode(e){if(!e.scope)return;let t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){let a=e.split(".");return[`${t}${a.shift()}`,...a.map((e,t)=>`${e}${"_".repeat(t+1)}`)].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){e.scope&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},l=(e={})=>{let t={children:[]};return Object.assign(t,e),t},s=class e{constructor(){this.rootNode=l(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=l({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(t){"string"==typeof t||t.children&&(t.children.every(e=>"string"==typeof e)?t.children=[t.children.join("")]:t.children.forEach(t=>{e._collapse(t)}))}},i=class extends s{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let a=e.root;t&&(a.scope=`language:${t}`),this.add(a)}toHTML(){return new o(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function c(e){return e?"string"==typeof e?e:e.source:null}function u(e){return m("(?=",e,")")}function d(e){return m("(?:",e,")*")}function p(e){return m("(?:",e,")?")}function m(...e){return e.map(e=>c(e)).join("")}function h(...e){let t;return"("+(("object"==typeof(t=e[e.length-1])&&t.constructor===Object?(e.splice(e.length-1,1),t):{}).capture?"":"?:")+e.map(e=>c(e)).join("|")+")"}function f(e){return RegExp(e.toString()+"|").exec("").length-1}var g=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function v(e,{joinWith:t}){let a=0;return e.map(e=>{let t=a+=1,r=c(e),n="";for(;r.length>0;){let e=g.exec(r);if(!e){n+=r;break}n+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?n+="\\"+String(Number(e[1])+t):(n+=e[0],"("===e[0]&&a++)}return n}).map(e=>`(${e})`).join(t)}var y="[a-zA-Z]\\w*",b="[a-zA-Z_]\\w*",O="\\b\\d+(\\.\\d+)?",k="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",x="\\b(0b[01]+)",w={begin:"\\\\[\\s\\S]",relevance:0},S=function(e,t,a={}){let r=n({scope:"comment",begin:e,end:t,contains:[]},a);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});
213let o=h("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:m(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},C=S("//","$"),$=S("/\\*","\\*/"),A=S("#","$"),R=Object.freeze({__proto__:null,APOS_STRING_MODE:{scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[w]},BACKSLASH_ESCAPE:w,BINARY_NUMBER_MODE:{scope:"number",begin:x,relevance:0},BINARY_NUMBER_RE:x,COMMENT:S,C_BLOCK_COMMENT_MODE:$,C_LINE_COMMENT_MODE:C,C_NUMBER_MODE:{scope:"number",begin:k,relevance:0},C_NUMBER_RE:k,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:A,IDENT_RE:y,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},NUMBER_MODE:{scope:"number",begin:O,relevance:0},NUMBER_RE:O,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:{scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[w]},REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[w,{begin:/\[/,end:/\]/,relevance:0,contains:[w]}]},RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=m(t,/.*\b/,e.binary,/\b.*/)),n({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:{scope:"title",begin:y,relevance:0},UNDERSCORE_IDENT_RE:b,UNDERSCORE_TITLE_MODE:{scope:"title",begin:b,relevance:0}});function E(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function P(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function T(e,t){!t||e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=E,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function _(e,t){Array.isArray(e.illegal)&&(e.illegal=h(...e.illegal))}function j(e,t){if(e.match){if(e.begin||e.end)throw Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Q(e,t){void 0===e.relevance&&(e.relevance=1)}var L=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error("beforeMatch cannot be used with starts");let a=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=a.keywords,e.begin=m(a.beforeMatch,u(a.begin)),e.starts={relevance:0,contains:[Object.assign(a,{endsParent:!0})]},e.relevance=0,delete a.beforeMatch},M=["of","and","for","in","not","or","if","then","parent","list","value"],Z={},U=e=>{console.error(e)},X=(e,...t)=>{console.log(`WARN: ${e}`,...t)},I=(e,t)=>{Z[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Z[`${e}/${t}`]=!0)},B=Error();function q(e,t,{key:a}){let r=0,n=e[a],o={},l={};for(let e=1;e<=t.length;e++)l[e+r]=n[e],o[e+r]=!0,r+=f(t[e-1]);e[a]=l,e[a]._emit=o,e[a]._multi=!0}function W(e){if(e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw U("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),B;if("object"!=typeof e.beginScope||null===e.beginScope)throw U("beginScope must be object"),B;q(e,e.begin,{key:"beginScope"}),e.begin=v(e.begin,{joinWith:""})}if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw U("skip, excludeEnd, returnEnd not compatible with endScope: {}"),B;if("object"!=typeof e.endScope||null===e.endScope)throw U("endScope must be object"),B;q(e,e.end,{key:"endScope"}),e.end=v(e.end,{joinWith:""})}}var D=class extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}},N=Symbol("nomatch"),V=function(e){let t=Object.create(null),o=Object.create(null),l=[],s=!0,g="Could not find the language '{}', did you forget to load/include a language module?",y={disableAutodetect:!0,name:"Plain text",contains:[]},b={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:i};function O(e){return b.noHighlightRe.test(e)}function k(e,t,a){let r="",n="";"object"==typeof t?(r=e,a=t.ignoreIllegals,n=t.language):(I("10.7.0","highlight(lang, code, ...args) has been deprecated."),I("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),n=e,r=t),void 0===a&&(a=!0);let o={code:r,language:n};B("before:highlight",o);
213let l=o.result?o.result:x(o.language,o.code,a);return l.code=o.code,B("after:highlight",l),l}function x(e,o,l,i){let u=Object.create(null);function d(){if(!R.keywords)return void Z.addText(I);let e=0;R.keywordPatternRe.lastIndex=0;let t=R.keywordPatternRe.exec(I),a="";for(;t;){a+=I.substring(e,t.index);let r=S.case_insensitive?t[0].toLowerCase():t[0],n=R.keywords[r];if(n){let[e,o]=n;if(Z.addText(a),a="",u[r]=(u[r]||0)+1,u[r]<=7&&(B+=o),e.startsWith("_"))a+=t[0];else{let a=S.classNameAliases[e]||e;m(t[0],a)}}else a+=t[0];e=R.keywordPatternRe.lastIndex,t=R.keywordPatternRe.exec(I)}a+=I.substring(e),Z.addText(a)}function p(){null!=R.subLanguage?function(){if(""===I)return;let e=null;if("string"==typeof R.subLanguage){if(!t[R.subLanguage])return Z.addText(I);e=x(R.subLanguage,I,!0,E[R.subLanguage]),E[R.subLanguage]=e._top}else e=w(I,R.subLanguage.length?R.subLanguage:null);R.relevance>0&&(B+=e.relevance),Z.__addSublanguage(e._emitter,e.language)}():d(),I=""}function m(e,t){""!==e&&(Z.startScope(t),Z.addText(e),Z.endScope())}function h(e,t){let a=1,r=t.length-1;for(;a<=r;){if(!e._emit[a]){a++;continue}let r=S.classNameAliases[e[a]]||e[a],n=t[a];r?m(n,r):(I=n,d(),I=""),a++}}function y(e,t){return e.scope&&"string"==typeof e.scope&&Z.openNode(S.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(m(I,S.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),I=""):e.beginScope._multi&&(h(e.beginScope,t),I="")),R=Object.create(e,{parent:{value:R}})}let O={};function k(t,r){let n=r&&r[0];if(I+=t,null==n)return p(),0;if("begin"===O.type&&"end"===r.type&&O.index===r.index&&""===n){if(I+=o.slice(r.index,r.index+1),!s){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=O.rule,t}return 1}if(O=r,"begin"===r.type){let e=r[0],t=r.rule,n=new a(t);for(let a of[t.__beforeBegin,t["on:begin"]])if(a&&(a(r,n),n.isMatchIgnored))return 0===R.matcher.regexIndex?(I+=e[0],1):(V=!0,0);return t.skip?I+=e:(t.excludeBegin&&(I+=e),p(),t.returnBegin||t.excludeBegin||(I=e)),y(t,r),t.returnBegin?0:e.length}if("illegal"!==r.type||l){if("end"===r.type){let e=function(e){let t=e[0],r=o.substring(e.index),n=function e(t,r,n){var o;let l,s=(o=t.endRe,(l=o&&o.exec(n))&&0===l.index);if(s){if(t["on:end"]){let e=new a(t);t["on:end"](r,e),e.isMatchIgnored&&(s=!1)}if(s){for(;t.endsParent&&t.parent;)t=t.parent;return t}}if(t.endsWithParent)return e(t.parent,r,n)}(R,e,r);if(!n)return N;let l=R;R.endScope&&R.endScope._wrap?(p(),m(t,R.endScope._wrap)):R.endScope&&R.endScope._multi?(p(),h(R.endScope,e)):l.skip?I+=t:(l.returnEnd||l.excludeEnd||(I+=t),p(),l.excludeEnd&&(I=t));do R.scope&&Z.closeNode(),R.skip||R.subLanguage||(B+=R.relevance),R=R.parent;while(R!==n.parent);return n.starts&&y(n.starts,e),l.returnEnd?0:t.length}(r);if(e!==N)return e}}else{let e=Error('Illegal lexeme "'+n+'" for mode "'+(R.scope||"<unnamed>")+'"');throw e.mode=R,e}if("illegal"===r.type&&""===n)return I+="\n",1;if(D>1e5&&D>3*r.index)throw Error("potential infinite loop, way more iterations than matches");return I+=n,n.length}let S=A(e);if(!S)throw U(g.replace("{}",e)),Error('Unknown language: "'+e+'"');let C=function(e){function t(t,a){return RegExp(c(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(a?"g":""))}class a{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=f(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);let e=this.regexes.map(e=>e[1]);this.matcherRe=t(v(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let a=t.findIndex((e,t)=>t>0&&void 0!==e),r=this.matchIndexes[a];return t.splice(0,a),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new a;return this.rules.slice(e).forEach(([e,a])=>t.addRule(e,a)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let a=t.exec(e);if(this.resumingScanAtSamePosition())if(a&&a.index===this.lastIndex);else{let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,a=t.exec(e)}return a&&(this.regexIndex+=a.position+1,this.regexIndex===this.count&&this.considerAll()),a}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return e.classNameAliases=n(e.classNameAliases||{}),function a(o,l){let s;if(o.isCompiled)return o;
213[P,j,W,L].forEach(e=>e(o,l)),e.compilerExtensions.forEach(e=>e(o,l)),o.__beforeBegin=null,[T,_,Q].forEach(e=>e(o,l)),o.isCompiled=!0;let i=null;return"object"==typeof o.keywords&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),i=o.keywords.$pattern,delete o.keywords.$pattern),i=i||/\w+/,o.keywords&&(o.keywords=function e(t,a,r="keyword"){let n=Object.create(null);return"string"==typeof t?o(r,t.split(" ")):Array.isArray(t)?o(r,t):Object.keys(t).forEach(function(r){Object.assign(n,e(t[r],a,r))}),n;function o(e,t){a&&(t=t.map(e=>e.toLowerCase())),t.forEach(function(t){var a,r,o;let l=t.split("|");n[l[0]]=[e,(a=l[0],(r=l[1])?Number(r):+(o=a,!M.includes(o.toLowerCase())))]})}}(o.keywords,e.case_insensitive)),o.keywordPatternRe=t(i,!0),l&&(o.begin||(o.begin=/\B|\b/),o.beginRe=t(o.begin),o.end||o.endsWithParent||(o.end=/\B|\b/),o.end&&(o.endRe=t(o.end)),o.terminatorEnd=c(o.end)||"",o.endsWithParent&&l.terminatorEnd&&(o.terminatorEnd+=(o.end?"|":"")+l.terminatorEnd)),o.illegal&&(o.illegalRe=t(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(e){var t;return((t="self"===e?o:e).variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return n(t,{variants:null},e)})),t.cachedVariants)?t.cachedVariants:!function e(t){return!!t&&(t.endsWithParent||e(t.starts))}(t)?Object.isFrozen(t)?n(t):t:n(t,{starts:t.starts?n(t.starts):null})})),o.contains.forEach(function(e){a(e,o)}),o.starts&&a(o.starts,l),s=new r,o.contains.forEach(e=>s.addRule(e.begin,{rule:e,type:"begin"})),o.terminatorEnd&&s.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&s.addRule(o.illegal,{type:"illegal"}),o.matcher=s,o}(e)}(S),$="",R=i||C,E={},Z=new b.__emitter(b),X=[];for(let e=R;e!==S;e=e.parent)e.scope&&X.unshift(e.scope);X.forEach(e=>Z.openNode(e));let I="",B=0,q=0,D=0,V=!1;try{if(S.__emitTokens)S.__emitTokens(o,Z);else{for(R.matcher.considerAll();;){D++,V?V=!1:R.matcher.considerAll(),R.matcher.lastIndex=q;let e=R.matcher.exec(o);if(!e)break;let t=k(o.substring(q,e.index),e);q=e.index+t}k(o.substring(q))}return Z.finalize(),$=Z.toHTML(),{language:e,value:$,relevance:B,illegal:!1,_emitter:Z,_top:R}}catch(t){if(t.message&&t.message.includes("Illegal"))return{language:e,value:r(o),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:q,context:o.slice(q-100,q+100),mode:t.mode,resultSoFar:$},_emitter:Z};if(s)return{language:e,value:r(o),illegal:!1,relevance:0,errorRaised:t,_emitter:Z,_top:R};throw t}}function w(e,a){let n;a=a||b.languages||Object.keys(t);let o=((n={value:r(e),illegal:!1,relevance:0,_top:y,_emitter:new b.__emitter(b)})._emitter.addText(e),n),l=a.filter(A).filter(Z).map(t=>x(t,e,!1));l.unshift(o);let[s,i]=l.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(A(e.language).supersetOf===t.language)return 1;else if(A(t.language).supersetOf===e.language)return -1}return 0});return s.secondBest=i,s}function S(e){var t;let a,r=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";let a=b.languageDetectRe.exec(t);if(a){let t=A(a[1]);return t||(X(g.replace("{}",a[1])),X("Falling back to no-highlight mode for this block.",e)),t?a[1]:"no-highlight"}return t.split(/\s+/).find(e=>O(e)||A(e))}(e);if(O(r))return;if(B("before:highlightElement",{el:e,language:r}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>
2130&&(b.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),b.throwUnescapedHTML))throw new D("One of your code blocks includes unescaped HTML.",e.innerHTML);let n=e.textContent,l=r?k(n,{language:r,ignoreIllegals:!0}):w(n);e.innerHTML=l.value,e.dataset.highlighted="yes",t=l.language,a=r&&o[r]||t,e.classList.add("hljs"),e.classList.add(`language-${a}`),e.result={language:l.language,re:l.relevance,relevance:l.relevance},l.secondBest&&(e.secondBest={language:l.secondBest.language,relevance:l.secondBest.relevance}),B("after:highlightElement",{el:e,result:l,text:n})}let C=!1;function $(){if("loading"===document.readyState){C||window.addEventListener("DOMContentLoaded",function(){$()},!1),C=!0;return}document.querySelectorAll(b.cssSelector).forEach(S)}function A(e){return t[e=(e||"").toLowerCase()]||t[o[e]]}function E(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach(e=>{o[e.toLowerCase()]=t})}function Z(e){let t=A(e);return t&&!t.disableAutodetect}function B(e,t){l.forEach(function(a){a[e]&&a[e](t)})}for(let a in Object.assign(e,{highlight:k,highlightAuto:w,highlightAll:$,highlightElement:S,highlightBlock:function(e){return I("10.7.0","highlightBlock will be removed entirely in v12.0"),I("10.7.0","Please use highlightElement now."),S(e)},configure:function(e){b=n(b,e)},initHighlighting:()=>{$(),I("10.6.0","initHighlighting() deprecated.  Use highlightAll() now.")},initHighlightingOnLoad:function(){$(),I("10.6.0","initHighlightingOnLoad() deprecated.  Use highlightAll() now.")},registerLanguage:function(a,r){let n=null;try{n=r(e)}catch(e){if(U("Language definition for '{}' could not be registered.".replace("{}",a)),s)U(e);else throw e;n=y}n.name||(n.name=a),t[a]=n,n.rawDefinition=r.bind(null,e),n.aliases&&E(n.aliases,{languageName:a})},unregisterLanguage:function(e){for(let a of(delete t[e],Object.keys(o)))o[a]===e&&delete o[a]},listLanguages:function(){return Object.keys(t)},getLanguage:A,registerAliases:E,autoDetection:Z,inherit:n,addPlugin:function(e){var t;(t=e)["before:highlightBlock"]&&!t["before:highlightElement"]&&(t["before:highlightElement"]=e=>{t["before:highlightBlock"](Object.assign({block:e.el},e))}),t["after:highlightBlock"]&&!t["after:highlightElement"]&&(t["after:highlightElement"]=e=>{t["after:highlightBlock"](Object.assign({block:e.el},e))}),l.push(e)},removePlugin:function(e){let t=l.indexOf(e);-1!==t&&l.splice(t,1)}}),e.debugMode=function(){s=!1},e.safeMode=function(){s=!0},e.versionString="11.11.1",e.regex={concat:m,lookahead:u,either:h,optional:p,anyNumberOfTimes:d},R)"object"==typeof R[a]&&function e(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(a=>{let r=t[a],n=typeof r;"object"!==n&&"function"!==n||Object.isFrozen(r)||e(r)}),t}(R[a]);return Object.assign(e,R),e},F=V({});F.newInstance=()=>V({}),t.exports=F,F.HighlightJS=F,F.default=F})()).default,_={},j=class{constructor(e){this.options=e,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(""===e)return;let t=this.stack[this.stack.length-1],a=t.children[t.children.length-1];a&&"text"===a.type?a.value+=e:t.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){let a=this.stack[this.stack.length-1],r=e.root.children;t?a.children.push({type:"element",tagName:"span",properties:{className:[t]},children:r}):a.children.push(...r)}openNode(e){let t=this,a=e.split(".").map(function(e,a){return a?e+"_".repeat(a):t.options.classPrefix+e}),r=this.stack[this.stack.length-1],n={type:"element",tagName:"span",properties:{className:a},children:[]};r.children.push(n),this.stack.push(n)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}},Q={};function L(e){let t=e||Q,a=t.aliases,n=e?.detect??!1,o=t.languages,l=t.plainText,s=t.prefix,i=t.subset,c="string"==typeof t.className?[t.className]:t.className??[],u="hljs",d=e?.lowlight??function(e){let t=T.newInstance();return e&&n(e),{highlight:a,highlightAuto:function(e,n){let o,l=(n||_).subset||r(),s=-1,i=0;for(;++s<l.length;){let r=l[s];if(!t.getLanguage(r))continue;let c=a(r,e,n);c.data&&void 0!==c.data.relevance&&c.data.relevance>i&&(i=c.data.relevance,o=c)}return o||{type:"root",children:[],data:{language:void 0,relevance:i}}},listLanguages:r,register:n,registerAlias:function(e,a){if("string"==typeof e)t.registerAliases("string"==typeof a?a:[...a],{languageName:e});else{let a;for(a in e)if(Object.hasOwn(e,a)){let r=e[a];t.registerAliases("string"==typeof r?r:[...r],{languageName:a})}}},registered:function(e){return!!t.getLanguage(e)}};function a(e,a,r){let n=r||_,o="string"==typeof n.prefix?n.prefix:"hljs-";if(!t.getLanguage(e))throw Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:j,classPrefix:o});let l=t.highlight(a,{ignoreIllegals:!0,language:e});if(l.errorRaised)throw Error("Could not highlight with `Highlight.js`",{cause:l.errorRaised});let s=l._emitter.root,i=s.data;return i.language=l.language,i.relevance=l.relevance,s}function r(){return t.listLanguages()}function n(e,a){if("string"==typeof e)t.registerLanguage(e,a);else{let a;for(a in e)Object.hasOwn(e,a)&&t.registerLanguage(a,e[a])}}}(o);if(a&&d.registerAlias(a),s){let e=s.indexOf("-");u=e>-1?s.slice(0,e):s}return(e,t)=>{(0,r.t)(e,"element",(e,a,r)=>{let o;if("code"!==e.tagName||!r||"element"!==r.type||"pre"!==r.tagName)return;let p=function(e){let t=e.properties.className;if(!Array.isArray(t))return"";let a=t.reduce((e,t)=>
213{if(e)return e;let a=String(t);return"no-highlight"===a||"nohighlight"===a?"no-highlight":"lang-"===a.slice(0,5)?a.slice(5):"language-"===a.slice(0,9)?a.slice(9):e},"");return m[a||""]||a}(e);if(!("no-highlight"===p||!p&&!n||p&&l?.includes(p))){for(let t of(Array.isArray(e.properties.className)||(e.properties.className=[]),e.properties.className.includes(u)||e.properties.className.unshift(u),c))e.properties.className.includes(t)||e.properties.className.push(t);try{o=p?d.highlight(p,R(r),{prefix:s}):d.highlightAuto(R(r),{prefix:s,subset:i})}catch(a){if(p&&/Unknown language/.test(a.message))return void t.message(`Cannot highlight as \`${p}\`, it's not registered`,{ancestors:[r,e],cause:a,place:e.position,ruleId:"missing-language",source:"rehype-highlight"});t.message("Could not highlight code block",{ancestors:[r,e],cause:a,place:e.position,ruleId:"highlight-error",source:"rehype-highlight"});return}!p&&o.data?.language&&e.properties.className.push("language-"+o.data.language),o.children.length>0&&(e.children=o.children)}})}}},89889:(e,t,a)=>{"use strict";a.d(t,{G3:()=>l,i:()=>i});var r=a(60652);let n=Symbol("isOverridesProxy"),o=Symbol("getOverridesTarget"),l=(e,t,a={cache:new WeakMap})=>{if(!e||"object"!=typeof e)return e;if(a.cache.has(e))return a.cache.get(e);let{overrides:i}=t??{},c=new Proxy(e,{get(e,t,c){if(t===n)return!0;if(t===o)return e;let u=Reflect.get(e,t,c);return s(u)?u:(0,r.G)(u)?l(u,{overrides:Reflect.get(i??{},t)},a):Reflect.get(i??{},t)??u},set:(e,t,a,r)=>t!==n&&t!==o&&(i&&Reflect.has(i,t)&&i&&"object"==typeof i?(i[t]=a,!0):Reflect.set(e,t,a,r))});return a.cache.set(e,c),c},s=e=>"object"==typeof e&&null!==e&&!0===e[n];function i(e){return"object"==typeof e&&null!==e&&e[n]?e[o]:e}},90003:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var r=a(8873),n=a(38547),o=a(61930),l=a(10779),s={class:"circular-loader"},i=(0,n.pM)({inheritAttrs:!1,__name:"ScalarLoading",props:{loader:{},size:{}},setup(e){let{cx:t}=(0,r.AX)(),a=(0,r.Fj)({variants:{size:{xs:"size-3",sm:"size-3.5",md:"size-4",lg:"size-5",xl:"size-6","2xl":"size-8","3xl":"size-10",full:"size-full"}},defaultVariants:{size:"full"}});return(r,i)=>e.loader?((0,n.uX)(),(0,n.CE)("div",(0,o._B)((0,n.v6)({key:0},(0,l.R1)(t)("loader-wrapper",(0,l.R1)(a)({size:e.size})))),[((0,n.uX)(),(0,n.CE)("svg",{class:(0,o.C4)(["svg-loader",{"icon-is-valid":e.loader.isValid,"icon-is-invalid":e.loader.isInvalid}]),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[i[0]||(i[0]=(0,n.Fv)('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-27df5cd8></path>',5)),(0,n.Lk)("g",s,[(0,n.Lk)("circle",{class:(0,o.C4)(["loader-path",{"loader-path-off":!e.loader.isLoading}]),cx:"50",cy:"50",fill:"none",r:"20","stroke-width":"3"},null,2)])],2))],16)):(0,n.Q3)("",!0)}}),c=(0,a(68409).A)(i,[["__scopeId","data-v-27df5cd8"]])},90423:(e,t,a)=>{"use strict";a.d(t,{d:()=>o,y:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-displayName":r.ZU.Optional(r.ZU.String())}),l=(0,n.Ik)({"x-displayName":(0,n.lq)((0,n.Yj)())},{typeName:"XDisplayName",typeComment:"Display-friendly name for a tag"})},90734:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r="scalar-app",n="headlessui-portal-root",o=e=>{!e||e.classList.contains(r)||e.classList.add(r)},l=()=>{o(document.getElementById(n));let e=new MutationObserver(e=>e.forEach(({addedNodes:e})=>e.forEach(e=>{null!==e&&e instanceof HTMLElement&&e.id===n&&o(e)})));return e.observe(document.body,{childList:!0}),e}},91092:(e,t,a)=>{"use strict";a.d(t,{E:()=>o,f:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-default-scopes":r.ZU.Optional(r.ZU.Array(r.ZU.String()))}),l=(0,n.Ik)({"x-default-scopes":(0,n.lq)((0,n.YO)((0,n.Yj)()))},{typeName:"XDefaultScopes",typeComment:"Default selected OAuth scopes"})},91095:(e,t,a)=>{"use strict";a.d(t,{K:()=>o,h:()=>l});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-scalar-selected-content-type":r.ZU.Optional(r.ZU.Record(r.ZU.String(),r.ZU.Str
213ing()))}),l=(0,n.Ik)({"x-scalar-selected-content-type":(0,n.lq)((0,n.g1)((0,n.Yj)(),(0,n.Yj)(),{typeComment:"Selected content type per example name"}))},{typeName:"XScalarSelectedContentType",typeComment:"Selected content type per example for request or response bodies"})},91562:(e,t,a)=>{"use strict";let r,n,o,l,s;a.d(t,{u:()=>er,h:()=>et});var i,c,u=a(41097),d=a(8873),p=a(10779),m=a(38547),h=a(61930),f=a(8544),g=a(86579),v=a(81627),y=a(98211);let b=[];function O(){"loading"!==document.readyState&&((()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&b[0]!==e.target&&(b.unshift(e.target),(b=b.filter(e=>null!=e&&e.isConnected)).splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",O))}"u">typeof window&&"u">typeof document&&(document.addEventListener("DOMContentLoaded",O),O());var k=a(96691),x=a(53261),w=a(6974),S=a(23867),C=a(9e3),$=a(78465);function A(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let a of e.value){let e=(0,k.t)(a);e instanceof HTMLElement&&t.add(e)}return t}var R=((r=R||{})[r.None=1]="None",r[r.InitialFocus=2]="InitialFocus",r[r.TabLock=4]="TabLock",r[r.FocusLock=8]="FocusLock",r[r.RestoreFocus=16]="RestoreFocus",r[r.All=30]="All",r);let E=Object.assign((0,m.pM)({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:(0,p.KR)(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:a,expose:r}){let n=(0,p.KR)(null);r({el:n,$el:n});let o=(0,m.EW)(()=>(0,C.T)(n)),l=(0,p.KR)(!1);(0,m.sV)(()=>l.value=!0),(0,m.hi)(()=>l.value=!1),function({ownerDocument:e},t){let a,r=(a=(0,p.KR)(b.slice()),(0,m.wB)([t],([e],[t])=>{!0===t&&!1===e?(0,S._)(()=>{a.value.splice(0)}):!1===t&&!0===e&&(a.value=b.slice())},{flush:"post"}),()=>{var e;return null!=(e=a.value.find(e=>null!=e&&e.isConnected))?e:null});(0,m.sV)(()=>{(0,m.nT)(()=>{var a,n;t.value||(null==(a=e.value)?void 0:a.activeElement)===(null==(n=e.value)?void 0:n.body)&&(0,x.pW)(r())},{flush:"post"})}),(0,m.hi)(()=>{t.value&&(0,x.pW)(r())})}({ownerDocument:o},(0,m.EW)(()=>l.value&&!!(16&e.features)));let s=function({ownerDocument:e,container:t,initialFocus:a},r){let n=(0,p.KR)(null),o=(0,p.KR)(!1);return(0,m.sV)(()=>o.value=!0),(0,m.hi)(()=>o.value=!1),(0,m.sV)(()=>{(0,m.wB)([t,a,r],(l,s)=>{if(l.every((e,t)=>(null==s?void 0:s[t])===e)||!r.value)return;let i=(0,k.t)(t);i&&(0,S._)(()=>{var t,r;if(!o.value)return;let l=(0,k.t)(a),s=null==(t=e.value)?void 0:t.activeElement;if(l){if(l===s){n.value=s;return}}else if(i.contains(s)){n.value=s;return}l?(0,x.pW)(l):(0,x.CU)(i,x.BD.First|x.BD.NoScroll)===x.Me.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),n.value=null==(r=e.value)?void 0:r.activeElement})},{immediate:!0,flush:"post"})}),n}({ownerDocument:o,container:n,initialFocus:(0,m.EW)(()=>e.initialFocus)},(0,m.EW)(()=>l.value&&!!(2&e.features)));!function({ownerDocument:e,container:t,containers:a,previousActiveElement:r},n){var o;(0,g.M)(null==(o=e.value)?void 0:o.defaultView,"focus",e=>{if(!n.value)return;let o=A(a);(0,k.t)(t)instanceof HTMLElement&&o.add((0,k.t)(t));let l=r.value;if(!l)return;let s=e.target;s&&s instanceof HTMLElement?P(o,s)?(r.value=s,(0,x.pW)(s)):(e.preventDefault(),e.stopPropagation(),(0,x.pW)(l)):(0,x.pW)(r.value)},!0)}({ownerDocument:o,container:n,containers:e.containers,previousActiveElement:s},(0,m.EW)(()=>l.value&&!!(8&e.features)));let i=(0,v.u)();function c(e){let t=(0,k.t)(n);t&&(0,w.Y)(i.value,{[v.O.Forwards]:()=>{(0,x.CU)(t,x.BD.First,{skipElements:[e.relatedTarget]})},[v.O.Backwards]:()=>{(0,x.CU)(t,x.BD.Last,{skipElements:[e.relatedTarget]})}})}let u=(0,p.KR)(!1);function d(e){"Tab"===e.key&&(u.value=!0,requestAnimationFrame(()=>{u.value=!1}))}function h(t){if(!l.value)return;
213let a=A(e.containers);(0,k.t)(n)instanceof HTMLElement&&a.add((0,k.t)(n));let r=t.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(P(a,r)||(u.value?(0,x.CU)((0,k.t)(n),(0,w.Y)(i.value,{[v.O.Forwards]:()=>x.BD.Next,[v.O.Backwards]:()=>x.BD.Previous})|x.BD.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&(0,x.pW)(t.target)))}return()=>{let{features:r,initialFocus:o,containers:l,...s}=e;return(0,m.h)(m.FK,[!!(4&r)&&(0,m.h)(y.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:y.O.Focusable}),(0,$.XX)({ourProps:{ref:n,onKeydown:d,onFocusout:h},theirProps:{...t,...s},slot:{},attrs:t,slots:a,name:"FocusTrap"}),!!(4&r)&&(0,m.h)(y.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:y.O.Focusable})])}}}),{features:R});function P(e,t){for(let a of e)if(a.contains(t))return!0;return!1}function T(){let e=[],t={addEventListener:(e,a,r,n)=>(e.addEventListener(a,r,n),t.add(()=>e.removeEventListener(a,r,n))),requestAnimationFrame(...e){let a=requestAnimationFrame(...e);t.add(()=>cancelAnimationFrame(a))},nextFrame(...e){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...e)})},setTimeout(...e){let a=setTimeout(...e);t.add(()=>clearTimeout(a))},microTask(...e){let a={current:!0};return(0,S._)(()=>{a.current&&e[0]()}),t.add(()=>{a.current=!1})},style(e,t,a){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:a}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=T();return e(t),this.add(()=>t.dispose())},add:t=>(e.push(t),()=>{let a=e.indexOf(t);if(a>=0)for(let t of e.splice(a,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}var _=a(45734);let j=(i=()=>new Map,c={PUSH(e,t){var a;let r=null!=(a=this.get(e))?a:{doc:e,count:0,d:T(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let a=this.get(e);return a&&(a.count--,a.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:a}){let r,n={doc:e,d:t,meta:function(e){let t={};for(let a of e)Object.assign(t,a(t));return t}(a)},o=[(0,_.un)()?{before({doc:e,d:t,meta:a}){function r(e){return a.containers.flatMap(e=>e()).some(t=>t.contains(e))}t.microTask(()=>{var a;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let a=T();a.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>a.dispose()))}let n=null!=(a=window.scrollY)?a:window.pageYOffset,o=null;t.addEventListener(e,"click",t=>{if(t.target instanceof HTMLElement)try{let a=t.target.closest("a");if(!a)return;let{hash:n}=new URL(a.href),l=e.querySelector(n);l&&!r(l)&&(o=l)}catch{}},!0),t.addEventListener(e,"touchstart",e=>{if(e.target instanceof HTMLElement)if(r(e.target)){let a=e.target;for(;a.parentElement&&r(a.parentElement);)a=a.parentElement;t.style(a,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")}),t.addEventListener(e,"touchmove",e=>{if(e.target instanceof HTMLElement&&"INPUT"!==e.target.tagName)if(r(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()},{passive:!1}),t.add(()=>{var e;n!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,n),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})})}}:{},{before({doc:e}){var t;let a=e.documentElement;r=(null!=(t=e.defaultView)?t:window).innerWidth-a.clientWidth},after({doc:e,d:t}){let a=e.documentElement,n=a.clientWidth-a.offsetWidth,o=r-n;t.style(a,"paddingRight",`${o}px`)}},{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];o.forEach(({before:e})=>null==e?void 0:e(n)),o.forEach(({after:e})=>null==e?void 0:e(n))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}},n=i(),o=new Set,{getSnapshot:()=>n,subscribe:e=>(o.add(e),()=>o.delete(e)),dispatch(e,...t){let a=c[e].call(n,...t);a&&(n=a,o.forEach(e=>e()))}});j.subscribe(()=>{let e=j.getSnapshot(),t=new Map;for(let[a]of e)t.set(a,a.documentElement.style.overflow);for(let a of e.values()){let e="hidden"===t.get(a.doc),r=0!==a.count;(r&&!e||!r&&e)&&j.dispatch(a.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",a),0===a.count&&j.dispatch("TEARDOWN",a)}});var Q=a(56261);let L=new Map,M=new Map;function Z(e,t=(0,p.KR)(!0)){(0,m.nT)(a=>{var r;if(!t.value)return;let n=(0,k.t)(e);if(!n)return;a(function(){var e;if(!n)return;let t=null!=(e=M.get(n))?e:1;if(1===t?M.delete(n):M.set(n,t-1),1!==t)return;let a=L.get(n);a&&(null===a["aria-hidden"]?n.removeAttribute("aria-hidden"):n.setAttribute("aria-hidden",a["aria-hidden"]),n.inert=a.inert,L.delete(n))});let o=null!=(r=M.get(n))?r:0;M.set(n,o+1),0===o&&(L.set(n,{"aria-hidden":n.getAttribute("aria-hidden"),inert:n.inert}),n.setAttribute("aria-hidden","true"),n.inert=!0)})}var U=a(69022),X=a(98379),I=a(21878),B=a(65790);let q=Symbol("StackContext");var W=((l=W||{})[l.Add=0]="Add",l[l.Remove=1]="Remove",l),D=a(83886);let N=Symbol("DescriptionContext");(0,m.pM)({name:"Description",props:{as:{type:[Object,String],default:"p"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a}){var r;let n=null!=(r=e.id)?r:`headlessui-description-${(0,Q.B)()}`,o=function(){let e=(0,m.WQ)(N,null);if(null===e)throw Error("Missing parent");return e}();return(0,m.sV)(()=>(0,m.hi)(o.register(n))),()=>{let{name:r="Description",slot:l=(0,p.KR)({}),props:s={}}=o,{...i}
213=e,c={...Object.entries(s).reduce((e,[t,a])=>Object.assign(e,{[t]:(0,p.R1)(a)}),{}),id:n};return(0,$.XX)({ourProps:c,theirProps:i,slot:l.value,attrs:t,slots:a,name:r})}}});var V=a(38653),F=((s=F||{})[s.Open=0]="Open",s[s.Closed=1]="Closed",s);let z=Symbol("DialogContext");function H(e){let t=(0,m.WQ)(z,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,H),t}return t}let Y="DC8F892D-2EBD-447C-A4C8-A03058436FF4",G=(0,m.pM)({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:Y},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:a,slots:r,expose:n}){var o,l,s;let i,c,u=null!=(o=e.id)?o:`headlessui-dialog-${(0,Q.B)()}`,d=(0,p.KR)(!1);(0,m.sV)(()=>{d.value=!0});let h=!1,f=(0,m.EW)(()=>"dialog"===e.role||"alertdialog"===e.role?e.role:(h||(h=!0,console.warn(`Invalid role [${f}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),v=(0,p.KR)(0),y=(0,I.O_)(),b=(0,m.EW)(()=>e.open===Y&&null!==y?(y.value&I.Uw.Open)===I.Uw.Open:e.open),O=(0,p.KR)(null),x=(0,m.EW)(()=>(0,C.T)(O));if(n({el:O,$el:O}),e.open===Y&&null===y)throw Error("You forgot to provide an `open` prop to the `Dialog`.");if("boolean"!=typeof b.value)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${b.value===Y?void 0:e.open}`);let S=(0,m.EW)(()=>d.value&&b.value?0:1),A=(0,m.EW)(()=>0===S.value),R=(0,m.EW)(()=>v.value>1),P=null!==(0,m.WQ)(z,null),[T,_]=(0,V.k2)(),{resolveContainers:L,mainTreeNodeRef:M,MainTreeNode:F}=(0,X.i)({portals:T,defaultContainers:[(0,m.EW)(()=>{var e;return null!=(e=ea.panelRef.value)?e:O.value})]}),H=(0,m.EW)(()=>R.value?"parent":"leaf"),G=(0,m.EW)(()=>null!==y&&(y.value&I.Uw.Closing)===I.Uw.Closing),K=(0,m.EW)(()=>!P&&!G.value&&A.value);Z((0,m.EW)(()=>{var e,t,a;return null!=(a=Array.from(null!=(t=null==(e=x.value)?void 0:e.querySelectorAll("body > *"))?t:[]).find(e=>"headlessui-portal-root"!==e.id&&e.contains((0,k.t)(M))&&e instanceof HTMLElement))?a:null}),K);let J=(0,m.EW)(()=>!!R.value||A.value);Z((0,m.EW)(()=>{var e,t,a;return null!=(a=Array.from(null!=(t=null==(e=x.value)?void 0:e.querySelectorAll("[data-headlessui-portal]"))?t:[]).find(e=>e.contains((0,k.t)(M))&&e instanceof HTMLElement))?a:null}),J),function({type:e,enabled:t,element:a,onUpdate:r}){let n=(0,m.WQ)(q,()=>{});function o(...e){null==r||r(...e),n(...e)}(0,m.sV)(()=>{(0,m.wB)(t,(t,r)=>{t?o(0,e,a):!0===r&&o(1,e,a)},{immediate:!0,flush:"sync"})}),(0,m.hi)(()=>{t.value&&o(1,e,a)}),(0,m.Gt)(q,o)}({type:"Dialog",enabled:(0,m.EW)(()=>0===S.value),element:O,onUpdate:(e,t)=>{if("Dialog"===t)return(0,w.Y)(e,{[W.Add]:()=>v.value+=1,[W.Remove]:()=>v.value-=1})}});let ee=function({slot:e=(0,p.KR)({}),name:t="Description",props:a={}}={}){let r=(0,p.KR)([]);return(0,m.Gt)(N,{register:function(e){return r.value.push(e),()=>{let t=r.value.indexOf(e);-1!==t&&r.value.splice(t,1)}},slot:e,name:t,props:a}),(0,m.EW)(()=>r.value.length>0?r.value.join(" "):void 0)}({name:"DialogDescription",slot:(0,m.EW)(()=>({open:b.value}))}),et=(0,p.KR)(null),ea={titleId:et,panelRef:(0,p.KR)(null),dialogState:S,setTitleId(e){et.value!==e&&(et.value=e)},close(){t("close",!1)}};(0,m.Gt)(z,ea);let er=(0,m.EW)(()=>!(!A.value||R.value));(0,U.j)(L,(e,t)=>{e.preventDefault(),ea.close(),(0,m.dY)(()=>null==t?void 0:t.focus())},er);let en=(0,m.EW)(()=>!(R.value||0!==S.value));(0,g.M)(null==(l=x.value)?void 0:l.defaultView,"keydown",e=>{en.value&&(e.defaultPrevented||e.key===D.D.Escape&&(e.preventDefault(),e.stopPropagation(),ea.close()))});let eo=(0,m.EW)(()=>!(G.value||0!==S.value||P));return s=e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],L]}},i=(0,p.IJ)(j.getSnapshot()),(0,m.hi)(j.subscribe(()=>{i.value=j.getSnapshot()})),c=i,(0,m.EW)(()=>{let e=x.value?c.value.get(x.value):void 0;return!!e&&e.count>0}),(0,m.wB)([x,eo],([e,t],[a],r)=>{if(!e||!t)return;j.dispatch("PUSH",e,s);let n=!1;r(()=>{n||(j.dispatch("POP",null!=a?a:e,s),n=!0)})},{immediate:!0}),(0,m.nT)(e=>{if(0!==S.value)return;let t=(0,k.t)(O);if(!t)return;let a=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&ea.close()}});a.observe(t),e(()=>a.disconnect())}),()=>{let{open:t,initialFocus:n,...o}
213=e,l={...a,ref:O,id:u,role:f.value,"aria-modal":0===S.value||void 0,"aria-labelledby":et.value,"aria-describedby":ee.value},s={open:0===S.value};return(0,m.h)(B.a,{force:!0},()=>[(0,m.h)(V.ZL,()=>(0,m.h)(V.Ee,{target:O.value},()=>(0,m.h)(B.a,{force:!1},()=>(0,m.h)(E,{initialFocus:n,containers:L,features:A.value?(0,w.Y)(H.value,{parent:E.features.RestoreFocus,leaf:E.features.All&~E.features.FocusLock}):E.features.None},()=>(0,m.h)(_,{},()=>(0,$.XX)({ourProps:l,theirProps:{...o,...a},slot:s,attrs:a,slots:r,visible:0===S.value,features:$.O5.RenderStrategy|$.O5.Static,name:"Dialog"})))))),(0,m.h)(F)])}}}),K=((0,m.pM)({name:"DialogOverlay",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a}){var r;let n=null!=(r=e.id)?r:`headlessui-dialog-overlay-${(0,Q.B)()}`,o=H("DialogOverlay");function l(e){e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),o.close())}return()=>{let{...r}=e;return(0,$.XX)({ourProps:{id:n,"aria-hidden":!0,onClick:l},theirProps:r,slot:{open:0===o.dialogState.value},attrs:t,slots:a,name:"DialogOverlay"})}}}),(0,m.pM)({name:"DialogBackdrop",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:a,expose:r}){var n;let o=null!=(n=e.id)?n:`headlessui-dialog-backdrop-${(0,Q.B)()}`,l=H("DialogBackdrop"),s=(0,p.KR)(null);return r({el:s,$el:s}),(0,m.sV)(()=>{if(null===l.panelRef.value)throw Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.")}),()=>{let{...r}=e,n={id:o,ref:s,"aria-hidden":!0};return(0,m.h)(B.a,{force:!0},()=>(0,m.h)(V.ZL,()=>(0,$.XX)({ourProps:n,theirProps:{...t,...r},slot:{open:0===l.dialogState.value},attrs:t,slots:a,name:"DialogBackdrop"})))}}}),(0,m.pM)({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){var n;let o=null!=(n=e.id)?n:`headlessui-dialog-panel-${(0,Q.B)()}`,l=H("DialogPanel");function s(e){e.stopPropagation()}return r({el:l.panelRef,$el:l.panelRef}),()=>{let{...r}=e,n={id:o,ref:l.panelRef,onClick:s};return(0,$.XX)({ourProps:n,theirProps:r,slot:{open:0===l.dialogState.value},attrs:t,slots:a,name:"DialogPanel"})}}})),J=(0,m.pM)({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a}){var r;let n=null!=(r=e.id)?r:`headlessui-dialog-title-${(0,Q.B)()}`,o=H("DialogTitle");return(0,m.sV)(()=>{o.setTitleId(n),(0,m.hi)(()=>o.setTitleId(null))}),()=>{let{...r}=e;return(0,$.XX)({ourProps:{id:n},theirProps:r,slot:{open:0===o.dialogState.value},attrs:t,slots:a,name:"DialogTitle"})}}});var ee={key:0,class:"close-button z-10 fixed right-2 top-2"};function et(){return(0,p.Kh)({open:!1,show(){this.open=!0},hide(){this.open=!1}})}var ea=(0,m.pM)({__name:"ScalarModal",props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:"md"},variant:{}},emits:["close"],setup(e,{emit:t}){let a=(0,d.Fj)({base:"scalar-modal flex flex-col relative mb-0 rounded-lg bg-b-1 p-0 text-left leading-snug text-c-1 opacity-0 w-[calc(100vw-12px)] md:w-[calc(100vw-16px)] lg:w-[calc(100vw-32px)]",variants:{size:{xxs:"mt-[20svh] max-h-[60svh] max-w-[360px]",xs:"mt-[20svh] max-h-[60svh] max-w-[480px]",sm:"mt-[20svh] max-h-[60svh] max-w-[540px]",md:"mt-[20svh] max-h-[60svh] max-w-[640px]",lg:"m-auto max-h-[80svh] max-w-[800px]",xl:"m-auto max-h-[90svh] max-w-[1000px]",full:"full-size-styles max-h-dvh mt-0 lg:w-full"},variant:{form:"scalar-modal-form",search:"scalar-modal-search mt-[15svh] max-h-[60svh] max-w-[540px]",error:"scalar-modal-error"}}}),r=(0,d.Fj)({base:"scalar-modal-body relative flex-1 min-h-0 p-3",variants:{variant:{form:"overflow-visible",search:"flex flex-col !m-0 overflow-hidden p-0",error:"overflow-y-scroll"},size:{xxs:"",xs:"",sm:"",md:"",lg:"",xl:"m-0 p-0",full:" rounded-none"}}});return(n,o)=>((0,m.uX)(),(0,m.Wv)((0,p.R1)(G),{open:e.state.open,onClose:o[1]||(o[1]=()=>{e.state.hide(),t("close")})},{default:(0,m.k6)(()=>[(0,m.Lk)("div",{class:(0,h.C4)((0,p.R1)(d.cx)("full"===e.size?"scalar-modal-layout-full":"scalar-modal-layout","fixed left-0 top-0 flex items-start justify-center","z-
213overlay h-dvh w-dvw","bg-backdrop opacity-0 dark:bg-backdrop-dark","full"===e.size&&"flex"))},[(0,m.bF)((0,p.R1)(K),{class:(0,h.C4)((0,p.R1)(a)({size:e.size,variant:e.variant})),style:(0,h.Tr)({maxWidth:e.maxWidth})},{default:(0,m.k6)(()=>[e.title?((0,m.uX)(),(0,m.Wv)((0,p.R1)(J),{key:0,class:"scalar-modal-header m-0 -mb-1 rounded-lg pt-3 px-3 text-left text-sm font-medium text-c-1"},{default:(0,m.k6)(()=>[(0,m.eW)((0,h.v_)(e.title),1)]),_:1})):(0,m.Q3)("",!0),"full"===e.size?((0,m.uX)(),(0,m.CE)("div",{key:1,class:(0,h.C4)(e.bodyClass)},[(0,m.RG)(n.$slots,"default",{},void 0,!0)],2)):((0,m.uX)(),(0,m.CE)("div",{key:2,class:(0,h.C4)((0,p.R1)(d.cx)((0,p.R1)(r)({size:e.size,variant:e.variant}),e.bodyClass))},[(0,m.RG)(n.$slots,"default",{},void 0,!0)],2))]),_:3},8,["class","style"]),"full"===e.size?((0,m.uX)(),(0,m.CE)("div",ee,[(0,m.bF)((0,p.R1)(u.A),{class:"hover:bg-b-3 focus:outline-none",icon:(0,p.R1)(f.A),label:"Close modal",onClick:o[0]||(o[0]=t=>e.state.hide())},null,8,["icon"])])):(0,m.Q3)("",!0)],2)]),_:3},8,["open"]))}}),er=(0,a(68409).A)(ea,[["__scopeId","data-v-5bb1dcc2"]])},91565:(e,t,a)=>{"use strict";a.d(t,{A:()=>g});var r=a(38547),n=a(10779),o=a(61930),l=a(56942),s=a(28900),i=a(37862),c=a(54860),u=a(87023),d={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"},p={class:"text-c-1 whitespace-nowrap"},m={class:"text-c-1 overflow-hidden text-ellipsis"},h={class:"overflow-hidden text-ellipsis"},f={class:"flex h-4 w-4 items-center justify-center"},g=(0,r.pM)({__name:"DataTableInputSelect",props:{modelValue:{type:[String,Number,Boolean,Array,Object]},value:{},default:{type:[String,Number,Boolean,Array,Object]},canAddCustomValue:{type:Boolean,default:!0},type:{}},emits:["update:modelValue"],setup(e,{emit:t}){let a=(0,r.EW)(()=>e.value??[]),g=(0,n.KR)(!1),v=(0,n.KR)(""),y=(0,n.KR)(null);(0,r.wB)(v,e=>{t("update:modelValue",e)});let b=e=>{t("update:modelValue",e),g.value=!1},O=()=>{v.value.trim()&&b(v.value)},k=()=>{v.value.trim()||t("update:modelValue",""),g.value=!1};(0,r.wB)(g,e=>{e&&(0,r.dY)(()=>{y.value?.focus()})});let x=(0,r.EW)(()=>void 0!==e.modelValue?e.modelValue:e.default),w=(0,r.EW)(()=>a.value.map(e=>{let t=e.toString();return{id:t,label:t,value:t}})),S=(0,r.EW)(()=>{let t=new Set(e.modelValue.toString().split(","));return w.value.filter(e=>t.has(e.id))}),C=e=>{t("update:modelValue",e.map(e=>e.value).join(","))};return(t,$)=>((0,r.uX)(),(0,r.CE)("div",d,["array"===e.type?((0,r.uX)(),(0,r.Wv)((0,n.R1)(c.BR),{key:0,modelValue:S.value,options:w.value,"onUpdate:modelValue":C},{default:(0,r.k6)(()=>[(0,r.bF)((0,n.R1)(s.R),{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:(0,r.k6)(()=>[(0,r.Lk)("span",p,(0,o.v_)(S.value.length>0?S.value.map(e=>e.label).join(", "):"Select a value"),1),(0,r.bF)((0,n.R1)(i.k),{class:"min-w-4",icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["modelValue","options"])):g.value?(0,r.bo)(((0,r.uX)(),(0,r.CE)("input",{key:1,ref_key:"inputRef",ref:y,"onUpdate:modelValue":$[0]||($[0]=e=>v.value=e),class:"text-c-1 w-full min-w-0 border-none px-2 py-1.5 outline-none",placeholder:"Value",type:"text",onBlur:k,onKeyup:(0,l.jR)(O,["enter"])},null,544)),[[l.Jo,v.value]]):((0,r.uX)(),(0,r.Wv)((0,n.R1)(u.SM),{key:2,resize:"",value:x.value},{items:(0,r.k6)(()=>[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(a.value,t=>((0,r.uX)(),(0,r.Wv)((0,n.R1)(u.rA),{key:t,class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",value:t,onClick:e=>b(t)},{default:(0,r.k6)(()=>[(0,r.Lk)("div",{class:(0,o.C4)(["flex h-4 w-4 items-center justify-center rounded-full p-[3px]",e.modelValue.toString()===t?"bg-c-accent text-b-1":"shadow-border text-transparent"])},[(0,r.bF)((0,n.R1)(i.k),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),(0,r.Lk)("span",h,(0,o.v_)(t),1)]),_:2},1032,["value","onClick"]))),128)),e.canAddCustomValue?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},[a.value.length?((0,r.uX)(),(0,r.Wv)((0,n.R1)(u.t),{key:0})):(0,r.Q3)("",!0),(0,r.bF)((0,n.R1)(u.rA),{class:"flex items-center gap-1.5",onClick:$[1]||($[1]=e=>g.value=!0)},{default:(0,r.k6)(()=>[(0,r.Lk)("div",f,[(0,r.bF)((0,n.R1)(i.k),{icon:"Add",size:"sm"})]),$[2]||($[2]=(0,r.Lk)("span",null,"Add value",-1))]),_:1})],64)):(0,r.Q3)("",!0)]),default:(0,r.k6)(()=>[(0,r.bF)((0,n.R1)(s.R),{class:"size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none",variant:"ghost"},{default:(0,r.k6)(()=>[(0,r.Lk)("span",m,(0,o.v_)(x.value??"Select a value"),1),(0,r.bF)((0,n.R1)(i.k),{icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["value"]))]))}})},92359:(e,t,a)=>{"use strict";a.d(t,{v:()=>m});var r=a(90003),n=a(41097),o=a(8873),l=a(38547),s=a(10779),i=a(61930),c=a(56942),u=a(44419),d=a(8544),p=["aria-label","placeholder"],m=(0,l.pM)({inheritAttrs:!1,__name:"ScalarSearchInput",props:(0,l.zz)({loader:{},label:{},placeholder:{},clearLabel:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,l.fn)(e,"modelValue"),a=(0,s.KR)(null);function m(){t.value="",a.value&&a.value.focus()}let{stylingAttrsCx:h,otherAttrs:f}=(0,o.AX)();return(o,g)=>((0,l.uX)(),(0,l.CE)("label",(0,i._B)((0,l.Ng)((0,s.R1)(h)("flex items-center text-lg font-medium h-10 pl-3 pr-1.5 py-2 gap-2.25"))),[(0,l.bF)((0,s.R1)(u.A),{class:"text-sidebar-c-search size-4"}
213),(0,l.bo)((0,l.Lk)("input",(0,l.v6)({ref_key:"inputRef",ref:a},(0,s.R1)(f),{"onUpdate:modelValue":g[0]||(g[0]=e=>t.value=e),"aria-label":e.label??"Enter search query",autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:"flex-1 appearance-none rounded border-none bg-transparent outline-none",placeholder:e.placeholder??"Search...",spellcheck:"false",type:"search"}),null,16,p),[[c.Jo,t.value]]),e.loader&&e.loader.isActive?((0,l.uX)(),(0,l.Wv)((0,s.R1)(r.A),{key:0,class:"mr-1",loader:e.loader,size:"lg"},null,8,["loader"])):t.value?((0,l.uX)(),(0,l.Wv)((0,s.R1)(n.A),{key:1,class:"-my-1",icon:(0,s.R1)(d.A),label:e.clearLabel??"Clear Search",size:"sm",weight:"bold",onClick:(0,c.D$)(m,["stop","prevent"])},null,8,["icon","label"])):(0,l.Q3)("",!0)],16))}})},92412:(e,t,a)=>{"use strict";a.d(t,{E$:()=>h,Ik:()=>p,KC:()=>m,L5:()=>i,RZ:()=>v,YO:()=>u,Yj:()=>n,_3:()=>y,ai:()=>r,bz:()=>s,eu:()=>g,fn:()=>c,g1:()=>d,lq:()=>f,me:()=>l,zM:()=>o});let r=e=>({type:"number",default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),n=e=>({type:"string",default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),o=e=>({type:"boolean",default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),l=e=>({type:"nullable",typeName:e?.typeName,typeComment:e?.typeComment}),s=e=>({type:"any",typeName:e?.typeName,typeComment:e?.typeComment}),i=e=>({type:"unknown",typeName:e?.typeName,typeComment:e?.typeComment}),c=e=>({type:"function",typeName:e?.typeName,typeComment:e?.typeComment}),u=(e,t)=>({type:"array",items:e,typeName:t?.typeName,typeComment:t?.typeComment}),d=(e,t,a)=>({type:"record",key:e,value:t,typeName:a?.typeName,typeComment:a?.typeComment}),p=(e,t)=>({type:"object",properties:e,typeName:t?.typeName,typeComment:t?.typeComment}),m=(e,t)=>({type:"union",schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),h=(e,t)=>({type:"intersection",schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),f=(e,t)=>({type:"optional",schema:e,typeName:t?.typeName,typeComment:t?.typeComment}),g=e=>({type:"literal",value:e}),v=e=>({type:"lazy",schema:e}),y=(e,t)=>({type:"evaluate",expression:e,schema:t})},93434:(e,t,a)=>{"use strict";a.d(t,{Gl:()=>c,Zk:()=>u});var r=a(42694),n=a(92412),o=a(72560),l=a(22460);let s=(0,o.Z)(r.ZU.Object({name:r.ZU.String(),tags:r.ZU.Array(r.ZU.String())}),l.a),i=(0,n.E$)([(0,n.Ik)({name:(0,n.Yj)({typeComment:"The group name."}),tags:(0,n.YO)((0,n.Yj)(),{typeComment:"List of tags to include in this group."})},{typeName:"XTagGroupBase"}),l.T],{typeName:"XTagGroup",typeComment:"A tag group with optional custom ordering"}),c=r.ZU.Object({"x-tagGroups":r.ZU.Optional(r.ZU.Array(s))}),u=(0,n.Ik)({"x-tagGroups":(0,n.lq)((0,n.YO)(i,{typeComment:"Tag groups for organizing tags in the UI"}))},{typeName:"XTagGroups",typeComment:"Groups of tags for the OpenAPI document"})},93514:(e,t,a)=>{"use strict";a.d(t,{A:()=>y});var r=a(38547),n=a(10779),o=a(61930),l=a(56942),s=a(28900),i=a(5412),c=a(23373),u=a(38749),d=a(13919),p=a(76696),m=["id"],h=["id","aria-selected","onClick"],f={class:"flex items-center gap-2 whitespace-nowrap"},g={key:1,class:"text-c-3 bg-b-3 flex h-4.5 min-w-4.5 items-center justify-center rounded px-0.5 font-sans text-[9px] font-semibold"},v={class:"max-w-[9rem] overflow-hidden text-right text-ellipsis whitespace-nowrap"},y=(0,r.pM)({__name:"EnvironmentVariablesDropdown",props:{query:{},environment:{},dropdownPosition:{},contextFunctionItems:{default:()=>[]},listboxId:{}},emits:["select","redirect","close"],setup(e,{expose:t,emit:a}){let y=(0,n.KR)(!0),b=(0,n.KR)(null),O=(0,n.KR)(0),k=()=>{a("redirect"),y.value=!1,a("close")},x=(0,r.EW)(()=>(e.environment?.variables??[]).map(e=>({key:e.name,value:"string"==typeof e.value?e.value:e.value.default}))),w=(0,r.EW)(()=>e.contextFunctionItems.map(e=>({kind:"context",key:e.key,secondary:e.description}))),S=(0,r.EW)(()=>x.value.filter(({key:e,value:t})=>""!==e||""!==t).map(({key:e,value:t})=>({kind:"env",key:e,secondary:t}))),C=(0,r.EW)(()=>S.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),$=(0,r.EW)(()=>w.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),A=(0,r.EW)(()=>new p.A(C.value,{keys:["fuseText"],threshold:.35})),R=(0,r.EW)(()=>new p.A($.value,{keys:["fuseText"],threshold:.35})),E=(0,r.EW)(()=>{let t=new Map(e.contextFunctionItems.map(e=>[e.key,e]));return c.Wc.flatMap(e=>{let a=t.get(e);return a?[{kind:"context",key:a.key,secondary:a.description}]:[]})}),P=(0,r.EW)(()=>
213{if(!e.query.trim())return[...S.value.slice(-4),...E.value];let t=e.query.trim(),a=A.value.search(t,{limit:12}).map(e=>{let{kind:t,key:a,secondary:r}=e.item;return{kind:t,key:a,secondary:r}}),r=12-a.length;return[...a,...r>0?R.value.search(t,{limit:r}).map(e=>{let{kind:t,key:a,secondary:r}=e.item;return{kind:t,key:a,secondary:r}}):[]]}),T=t=>e.listboxId?`${e.listboxId}-option-${t}`:void 0,_=(0,r.EW)(()=>P.value.length?T(O.value):void 0),j=e=>{a("select",e)};(0,r.wB)(()=>P.value.length,e=>{O.value>e-1&&(O.value=Math.max(0,e-1))}),t({handleArrowKey:e=>{let t=P.value.length;0!==t&&(O.value=(O.value+("up"===e?-1:1)+t)%t)},handleSelect:()=>{if(O.value>=0){let e=P.value[O.value];e&&j(e.key)}},activeOptionId:_}),(0,r.sV)(()=>{O.value=0});let Q=(0,r.EW)(()=>({left:(e.dropdownPosition?.left??0)+"px",top:(e.dropdownPosition?.top??0)+5+"px"}));return(0,d.X2F)(b,()=>{y.value=!1,a("close")},{ignore:[b]}),(t,a)=>y.value?((0,r.uX)(),(0,r.Wv)((0,n.R1)(u.ev),{key:0,class:"scalar-client"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",{ref_key:"dropdownRef",ref:b,class:"custom-scroll z-context fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75",style:(0,o.Tr)(Q.value),onMousedown:a[0]||(a[0]=(0,l.D$)(()=>{},["prevent"]))},[(0,r.Lk)("ul",{id:e.listboxId,"aria-label":"Variable suggestions",class:"gap-1/2 flex flex-col",role:"listbox"},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(P.value,(t,a)=>((0,r.uX)(),(0,r.CE)("li",{key:`${t.kind}-${t.key}`,id:T(a),"aria-selected":a===O.value,class:(0,o.C4)(["font-code text-xxs hover:bg-b-3 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",{"bg-b-3":a===O.value}]),role:"option",onClick:e=>j(t.key)},[(0,r.Lk)("div",f,["env"===t.kind?((0,r.uX)(),(0,r.CE)("span",{key:0,class:"h-2.25 w-2.25 min-w-2.25 rounded-full",style:(0,o.Tr)({backgroundColor:e.environment?.color})},null,4)):((0,r.uX)(),(0,r.CE)("span",g," fn ")),(0,r.eW)(" "+(0,o.v_)(t.key),1)]),(0,r.Lk)("span",v,(0,o.v_)(t.secondary),1)],10,h))),128))],8,m),P.value.length?(0,r.Q3)("",!0):((0,r.uX)(),(0,r.Wv)((0,n.R1)(s.R),{key:0,class:"font-code text-xxs bg-b-inherit hover:bg-b-3 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",variant:"outlined",onClick:k},{default:(0,r.k6)(()=>[(0,r.bF)((0,n.R1)(i.A),{class:"size-3"}),a[1]||(a[1]=(0,r.eW)(" Add Variable ",-1))]),_:1})),a[2]||(a[2]=(0,r.Lk)("div",{class:"bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg"},null,-1))],36)]),_:1})):(0,r.Q3)("",!0)}})},94361:(e,t,a)=>{"use strict";a.d(t,{R:()=>n});var r=a(38547);function n(e={}){let t=(0,r.EW)(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:"presentation"});return{bind:(0,r.EW)(()=>({width:"1em",height:"1em",...t.value})),weight:(0,r.EW)(()=>e.weight??"regular")}}},94902:(e,t,a)=>{"use strict";a.d(t,{f:()=>y});var r="scalar-tooltip",n=a(10779),o=a(38547),l=a(34741),s=a(78170),i=(0,n.KR)(),c=(0,n.KR)(),u=(0,n.KR)(),{floatingStyles:d,placement:p,update:m}=(0,l.we)((0,o.EW)(()=>(0,n.R1)(u.value?.targetRef)),c,{placement:(0,o.EW)(()=>(0,n.R1)(u.value?.placement)),whileElementsMounted:s.ll,middleware:(0,o.EW)(()=>[(0,s.UU)(),(0,s.BN)()])});function h(e){(function(e){let t=(0,n.R1)(u.value?.targetRef);if(e instanceof MouseEvent&&e.relatedTarget instanceof Element&&t){let a=function(e){let t=[],a=e.parentElement;for(;a;)t.push(a),a=a.parentElement;return t}(e.relatedTarget);return"scalar-tooltip"!==e.relatedTarget.id&&!a.some(e=>"scalar-tooltip"===e.id)&&e.relatedTarget!==t}return!0})(e)&&(v(),u.value=void 0)}function f(e){"Escape"===e.key&&(e.stopPropagation(),h(e))}function g(e){if(!c.value)return!1;let t=function(e){let t=e?.closest("dialog");if(t)try{return t.matches(":modal")?t:void 0}catch{return}}(e)??document.body;return c.value.parentElement!==t&&(t.appendChild(c.value),!0)}function v(){i.value&&(clearTimeout(i.value),i.value=void 0)}function y(e){function t(t){let r=(0,n.R1)(e.delay)??300;v(),r>0?i.value=setTimeout(()=>a(t),r):a(t)}function a(t){v(),document.addEventListener("keydown",f,{once:!0,capture:!0}),g((0,n.R1)(e.targetRef)),u.value=e}!function(){if("u"<typeof document||"u"<typeof window||c.value)return;let e=document.getElementById(r);
213e?c.value=e:(c.value=document.createElement("div"),c.value.role="tooltip",c.value.id=r,c.value.classList.add("scalar-tooltip"),c.value.classList.add("scalar-app"),c.value.style.setProperty("display","none"),c.value.addEventListener("mouseleave",h),document.body.appendChild(c.value))}(),(0,o.wB)(()=>(0,n.R1)(e.targetRef),(e,n)=>{n&&(n.removeEventListener("mouseenter",t),n.removeEventListener("mouseleave",h),n.removeEventListener("focus",a),n.removeEventListener("blur",h),n.removeAttribute("aria-describedby")),e&&(e.addEventListener("mouseenter",t),e.addEventListener("mouseleave",h),e.addEventListener("focus",a),e.addEventListener("blur",h),e.setAttribute("aria-describedby",r))},{immediate:!0}),(0,n.jr)(()=>{v();let r=(0,n.R1)(e.targetRef);r&&(r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",h),r.removeEventListener("focus",a),r.removeEventListener("blur",h),r.removeAttribute("aria-describedby")),(0,n.R1)(u.value?.targetRef)===(0,n.R1)(e.targetRef)&&(u.value=void 0)})}(0,o.wB)(p,e=>{c.value&&e&&(c.value.dataset.side=e.split("-")[0])}),(0,o.wB)(d,()=>{c.value&&(c.value.style.position=d.value.position,c.value.style.top=d.value.top,c.value.style.left=d.value.left,c.value.style.transform=d.value.transform??"",c.value.style.willChange=d.value.willChange??"")}),(0,o.wB)(u,e=>{if(c.value)if(e){g((0,n.R1)(e.targetRef))&&m();let t=(0,n.R1)(e?.contentTarget)??"textContent";c.value[t]=(0,n.R1)(e?.content)??"";let a=(0,n.R1)(e?.offset)??4;c.value.style.setProperty("--scalar-tooltip-offset",`${a}px`),c.value.dataset.side=((0,n.R1)(e?.placement)??"bottom").split("-")[0],c.value.style.setProperty("display","block")}else c.value.innerHTML="",c.value.style.removeProperty("--scalar-tooltip-offset"),c.value.style.setProperty("display","none"),g(void 0)},{deep:!0})},95094:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconWarningCircle",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},95205:(e,t,a)=>{"use strict";a.d(t,{E:()=>l,v:()=>o});var r=a(42694),n=a(92412);let o=r.ZU.Object({"x-post-response":r.ZU.Optional(r.ZU.String())}),l=(0,n.Ik)({"x-post-response":(0,n.lq)((0,n.Yj)({typeComment:"Script to run after a response is received"}))},{typeName:"XPostResponse",typeComment:"Post-response script for an operation"})},95441:(e,t,a)=>{"use strict";a.d(t,{t:()=>o});var r=a(80759);let n=(e,t,a)=>{if(!e)return!1;let o=(0,r.G)(t)||Array.isArray(t);if(o&&a.get(t)?.has(e))return!0;
213if(o){let r=a.get(t)??new Set;r.add(e),a.set(t,r)}try{if("any"===e.type||"unknown"===e.type)return!0;if("function"===e.type)return"function"==typeof t;if("number"===e.type)return"number"==typeof t&&!Number.isNaN(t)&&Number.isFinite(t);if("string"===e.type)return"string"==typeof t;if("boolean"===e.type)return"boolean"==typeof t;if("nullable"===e.type)return null===t;if("notDefined"===e.type)return void 0===t;if("array"===e.type)return Array.isArray(t)&&t.every(t=>n(e.items,t,a));if("record"===e.type){if(!(0,r.G)(t))return!1;return Object.keys(t).every(r=>n(e.key,r,a)&&n(e.value,t[r],a))}if("object"===e.type){if(!(0,r.G)(t))return!1;return Object.keys(e.properties).every(r=>n(e.properties[r],t[r],a))}if("optional"===e.type)return void 0===t||n(e.schema,t,a);if("union"===e.type)return e.schemas.some(e=>n(e,t,a));if("intersection"===e.type){if(0===e.schemas.length)return!0;if(!(0,r.G)(t))return!1;return e.schemas.every(e=>n(e,t,a))}if("literal"===e.type)return t===e.value;if("lazy"===e.type)return n(e.schema(),t,a);if("evaluate"===e.type)return n(e.schema,e.expression(t),a);return console.warn("Unknown schema type:",e),!1}finally{o&&a.get(t)?.delete(e)}},o=(e,t,a=new WeakMap)=>n(e,t,a)},95486:(e,t,a)=>{"use strict";a.d(t,{J:()=>b});var r=a(14701),n=a(15830),o=a(72804),l=a(32097),s=a(55370),i=a(81462),c=a(21473),u=a(66772),d=a(9085),p=a(82181),m=a(89166),h=a(16114);class f extends d.i{constructor(e){super("Unknown type"),this.schema=e}}function g(e,t,a){let r=e.get(t);return!(r&&r.has(a))&&(r?(r.add(a),!0):void e.set(t,new WeakSet([a])))}function v(e){return void 0!==e}function y(e,t,a,d){let b=v(e.$id)?(0,n.uN)(e,t):t;switch(e[l.b8]){case"Any":case"Argument":case"Unknown":return!0;case"Array":if(!(0,m.QS)(a)||v(e.minItems)&&!(a.length>=e.minItems)||v(e.maxItems)&&!(a.length<=e.maxItems))return!1;if(!1===g(d,a,e))return!0;if(!a.every(t=>y(e.items,b,t,d))||!0===e.uniqueItems&&!function(){let e=new Set;for(let t of a){let a=(0,o.V)(t);if(e.has(a))return!1;e.add(a)}return!0}())return!1;if(!(v(e.contains)||(0,m.Mx)(e.minContains)||(0,m.Mx)(e.maxContains)))return!0;let O=v(e.contains)?e.contains:(0,p.p)(),k=a.reduce((e,t)=>y(O,b,t,d)?e+1:e,0);return!(0===k||(0,m.Mx)(e.minContains)&&k<e.minContains||(0,m.Mx)(e.maxContains)&&k>e.maxContains);case"AsyncIterator":return(0,m.H1)(a);case"BigInt":return!(!(0,m.cQ)(a)||v(e.exclusiveMaximum)&&!(a<e.exclusiveMaximum)||v(e.exclusiveMinimum)&&!(a>e.exclusiveMinimum)||v(e.maximum)&&!(a<=e.maximum)||v(e.minimum)&&!(a>=e.minimum)||v(e.multipleOf)&&a%e.multipleOf!==BigInt(0));case"Boolean":return(0,m.Zx)(a);case"Constructor":return y(e.returns,b,a.prototype,d);case"Date":return!(!(0,m.XF)(a)||v(e.exclusiveMaximumTimestamp)&&!(a.getTime()<e.exclusiveMaximumTimestamp)||v(e.exclusiveMinimumTimestamp)&&!(a.getTime()>e.exclusiveMinimumTimestamp)||v(e.maximumTimestamp)&&!(a.getTime()<=e.maximumTimestamp)||v(e.minimumTimestamp)&&!(a.getTime()>=e.minimumTimestamp)||v(e.multipleOfTimestamp)&&a.getTime()%e.multipleOfTimestamp!=0);case"Function":return(0,m.hg)(a);case"Import":let x;return x=globalThis.Object.values(e.$defs),y(e.$defs[e.$ref],[...b,...x],a,d);case"Integer":return!(!(0,m.$p)(a)||v(e.exclusiveMaximum)&&!(a<e.exclusiveMaximum)||v(e.exclusiveMinimum)&&!(a>e.exclusiveMinimum)||v(e.maximum)&&!(a<=e.maximum)||v(e.minimum)&&!(a>=e.minimum)||v(e.multipleOf)&&a%e.multipleOf!=0);case"Intersect":return function(e,t,a,r){let n=e.allOf.every(e=>y(e,t,a,r));if(!1===e.unevaluatedProperties){let t=new RegExp((0,s.n)(e)),r=Object.getOwnPropertyNames(a).every(e=>t.test(e));return n&&r}if(!(0,h.Yi)(e.unevaluatedProperties))return n;{let o=new RegExp((0,s.n)(e)),l=Object.getOwnPropertyNames(a).every(n=>o.test(n)||y(e.unevaluatedProperties,t,a[n],r));return n&&l}}(e,b,a,d);case"Iterator":return(0,m.jo)(a);case"Literal":return a===e.const;case"Never":return!1;case"Not":return!y(e.not,b,a,d);case"Null":return(0,m.Ef)(a);case"Number":return!(!r.Q.IsNumberLike(a)||v(e.exclusiveMaximum)&&!(a<e.exclusiveMaximum)||v(e.exclusiveMinimum)&&!(a>e.exclusiveMinimum)||v(e.minimum)&&!(a>=e.minimum)||v(e.maximum)&&!(a<=e.maximum)||v(e.multipleOf)&&a%e.multipleOf!=0);case"Object":var w;if(!r.Q.IsObjectLike(a)||v(e.minProperties)&&!(Object.getOwnPropertyNames(a).length>
213=e.minProperties)||v(e.maxProperties)&&!(Object.getOwnPropertyNames(a).length<=e.maxProperties))return!1;if(!1===g(d,a,e))return!0;let S=Object.getOwnPropertyNames(e.properties);for(let t of S){let n=e.properties[t];if(e.required&&e.required.includes(t)){if(!y(n,b,a[t],d)||((0,i.Q)(n)||"Any"===(w=n)[l.b8]||"Unknown"===w[l.b8])&&!(t in a))return!1}else if(r.Q.IsExactOptionalProperty(a,t)&&!y(n,b,a[t],d))return!1}if(!1===e.additionalProperties){let t=Object.getOwnPropertyNames(a);return!!e.required&&e.required.length===S.length&&t.length===S.length||t.every(e=>S.includes(e))}if("object"==typeof e.additionalProperties)return Object.getOwnPropertyNames(a).every(t=>S.includes(t)||y(e.additionalProperties,b,a[t],d));return!0;case"Promise":return(0,m.OD)(a);case"Record":return function(e,t,a,n){if(!r.Q.IsRecordLike(a)||v(e.minProperties)&&!(Object.getOwnPropertyNames(a).length>=e.minProperties)||v(e.maxProperties)&&!(Object.getOwnPropertyNames(a).length<=e.maxProperties))return!1;let[o,l]=Object.entries(e.patternProperties)[0],s=new RegExp(o),i=Object.entries(a).every(([e,a])=>!s.test(e)||y(l,t,a,n)),c="object"!=typeof e.additionalProperties||Object.entries(a).every(([a,r])=>!!s.test(a)||y(e.additionalProperties,t,r,n)),u=!1!==e.additionalProperties||Object.getOwnPropertyNames(a).every(e=>s.test(e));return i&&c&&u}(e,b,a,d);case"Ref":case"This":return y((0,n.Lk)(e,b),b,a,d);case"RegExp":let C;return C=new RegExp(e.source,e.flags),!(v(e.minLength)&&!(a.length>=e.minLength)||v(e.maxLength)&&!(a.length<=e.maxLength))&&C.test(a);case"String":if(!(0,m.IP)(a)||v(e.minLength)&&!(a.length>=e.minLength)||v(e.maxLength)&&!(a.length<=e.maxLength)||v(e.pattern)&&!new RegExp(e.pattern).test(a))return!1;if(v(e.format))return!!c.ru(e.format)&&c.nu(e.format)(a);return!0;case"Symbol":return(0,m.nH)(a);case"TemplateLiteral":return(0,m.IP)(a)&&new RegExp(e.pattern).test(a);case"Tuple":if(!(0,m.QS)(a)||void 0===e.items&&0!==a.length||a.length!==e.maxItems)return!1;if(!e.items)return!0;for(let t=0;t<e.items.length;t++)if(!y(e.items[t],b,a[t],d))return!1;return!0;case"Undefined":return(0,m.R1)(a);case"Union":return e.anyOf.some(e=>y(e,b,a,d));case"Uint8Array":return!(!(0,m.G4)(a)||v(e.maxByteLength)&&!(a.length<=e.maxByteLength)||v(e.minByteLength)&&!(a.length>=e.minByteLength));case"Void":return r.Q.IsVoidLike(a);default:if(!u.ru(e[l.b8]))throw new f(e);return!!u.ru(e[l.b8])&&u.nu(e[l.b8])(e,a)}}function b(...e){return 2===e.length||3===e.length&&e[2]instanceof WeakMap?y(e[0],[],e[1],e[2]??new WeakMap):y(e[0],e[1],e[2],e[3]??new WeakMap)}},95493:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});let r={100:{name:"Continue",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/100",color:"var(--scalar-color-blue)"},101:{name:"Switching Protocols",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/101",color:"var(--scalar-color-blue)"},102:{name:"Processing",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/102",color:"var(--scalar-color-blue)"},103:{name:"Early Hints",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103",color:"var(--scalar-color-blue)"},200:{name:"OK",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200",color:"var(--scalar-color-green)"},201:{name:"Created",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/201",color:"var(--scalar-color-green)"},202:{name:"Accepted",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202",color:"var(--scalar-color-green)"},203:{name:"Non-Authoritative Information",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/203",color:"var(--scalar-color-green)"},204:{name:"No Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204",color:"var(--scalar-color-green)"},205:{name:"Reset Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/205",color:"var(--scalar-color-green)"},206:{name:"Partial Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/206",color:"var(--scalar-color-green)"},207:{name:"Multi-Status",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/207",color:"var(--scalar-color-green)"},208:{name:"Already Reported",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/208",color:"var(--scalar-color-green)"},226:{name:"IM Used",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/226",color:"var(--scalar-color-green)"},300:{name:"Multiple Choices",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/300",color:"var(--scalar-color-yellow)"},301:{name:"Moved Permanently",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/301",color:"var(--scalar-color-yellow)"},302:{name:"Found",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302",color:"var(--scalar-color-yellow)"},303:{name:"See Other",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/303",color:"var(--scalar-color-yellow)"},304:{name:"Not Modified",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/304",color:"var(--scalar-color-yellow)"},305:{name:"Use Proxy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/305",color:"var(--scalar-color-yellow)"},306:{name:"(Unused)",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/306",color:"var(--scalar-color-yellow)"},307:{name:"Temporary Redirect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307",color:"var(--scalar-color-yellow)"},308:{name:"Permanent Redirect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/308",color:"var(--scalar-color-yellow)"},400:{name:"Bad Request",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400",color:"var(--scalar-color-red)"},401:{name:"Unauthorized",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",color:"var(--scalar-color-red)"},402:{name:"Payment Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402",color:"var(--scalar-color-red)"},403:{name:"Forbidden",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",color:"var(--scalar-color-red)"},404:{name:"Not Found",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",color:"var(--scalar-color-red)"}
213,405:{name:"Method Not Allowed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405",color:"var(--scalar-color-red)"},406:{name:"Not Acceptable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406",color:"var(--scalar-color-red)"},407:{name:"Proxy Authentication Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/407",color:"var(--scalar-color-red)"},408:{name:"Request Timeout",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408",color:"var(--scalar-color-red)"},409:{name:"Conflict",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409",color:"var(--scalar-color-red)"},410:{name:"Gone",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410",color:"var(--scalar-color-red)"},411:{name:"Length Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/411",color:"var(--scalar-color-red)"},412:{name:"Precondition Failed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/412",color:"var(--scalar-color-red)"},413:{name:"Content Too Large",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/413",color:"var(--scalar-color-red)"},414:{name:"URI Too Long",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/414",color:"var(--scalar-color-red)"},415:{name:"Unsupported Media Type",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415",color:"var(--scalar-color-red)"},416:{name:"Range Not Satisfiable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/416",color:"var(--scalar-color-red)"},417:{name:"Expectation Failed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/417",color:"var(--scalar-color-red)"},418:{name:"I'm a teapot",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418",color:"var(--scalar-color-red)"},421:{name:"Misdirected Request",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/421",color:"var(--scalar-color-red)"},422:{name:"Unprocessable Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422",color:"var(--scalar-color-red)"},423:{name:"Locked",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/423",color:"var(--scalar-color-red)"},424:{name:"Failed Dependency",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/424",color:"var(--scalar-color-red)"},425:{name:"Too Early",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/425",color:"var(--scalar-color-red)"},426:{name:"Upgrade Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/426",color:"var(--scalar-color-red)"},428:{name:"Precondition Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/428",color:"var(--scalar-color-red)"},429:{name:"Too Many Requests",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429",color:"var(--scalar-color-red)"},431:{name:"Request Header Fields Too Large",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/431",color:"var(--scalar-color-red)"},451:{name:"Unavailable For Legal Reasons",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/451",color:"var(--scalar-color-red)"},500:{name:"Internal Server Error",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500",color:"var(--scalar-color-red)"},501:{name:"Not Implemented",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/501",color:"var(--scalar-color-red)"},502:{name:"Bad Gateway",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502",color:"var(--scalar-color-red)"},503:{name:"Service Unavailable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503",color:"var(--scalar-color-red)"},504:{name:"Gateway Timeout",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504",color:"var(--scalar-color-red)"},505:{name:"HTTP Version Not Supported",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/505",color:"var(--scalar-color-red)"},506:{name:"Variant Also Negotiates",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/506",color:"var(--scalar-color-red)"},507:{name:"Insufficient Storage",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/507",color:"var(--scalar-color-red)"}
213,508:{name:"Loop Detected",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/508",color:"var(--scalar-color-red)"},510:{name:"Not Extended",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/510",color:"var(--scalar-color-red)"},511:{name:"Network Authentication Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/511",color:"var(--scalar-color-red)"}}},95589:(e,t,a)=>{"use strict";a.d(t,{EN:()=>s,K7:()=>l,KK:()=>o,yF:()=>n});var r=a(60652);let n=e=>(0,r.G)(e)&&"openapi"in e&&"string"==typeof e.openapi,o=e=>(0,r.G)(e)&&"asyncapi"in e&&"string"==typeof e.asyncapi,l=e=>n(e)?"openapi":o(e)?"asyncapi":void 0,s=e=>"asyncapi"===e?"AsyncAPI":"OpenAPI"},95665:(e,t,a)=>{"use strict";a.d(t,{G:()=>l});var r=a(77579),n=a(51324);let o=(e,t)=>{let a={};for(let r of t){let t=e.indexOf(`{${r}}`);-1!==t&&(a[r]=t)}return a},l=(e,t,a,l)=>{let s=(0,r.D)(t,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),i=(0,r.D)(e,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),c=o(t,s),u=o(e,i),d=Object.create(null);for(let e of a){let t=l(e);t?.in==="path"&&(d[t.name]=e)}let p=new Set,m=new Set,h=[];for(let e of i){if(d[e]){p.add(e),m.add(d[e]);continue}let t=u[e],a=s.find(e=>c[e]===t&&!p.has(e));if(a&&void 0!==d[a]){let t=d[a];t&&(l(t).name=e,m.add(t)),p.add(a);continue}h.push({in:"path",name:e})}let f=[];for(let e of a){let t=l(e),a=(0,n.s)(e,{depth:1});if(t?.in!=="path"){f.push(a);continue}m.has(e)&&f.push(a)}return f.concat(h)}},95876:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(94361),n=a(38547),o=a(10779),l={key:0},s={key:1},i={key:2},c={key:3},u={key:4},d={key:5},p=(0,n.pM)({name:"ScalarIconCaretDown",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,r.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,o.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",l,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"},null,-1)])])):"duotone"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",s,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"},null,-1)])])):"fill"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",i,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"},null,-1)])])):"light"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",c,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"},null,-1)])])):"regular"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",u,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"},null,-1)])])):"thin"===(0,o.R1)(a)?((0,n.uX)(),(0,n.CE)("g",d,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}})},95877:(e,t,a)=>{"use strict";a.d(t,{Ik:()=>o,jg:()=>l});var r=a(70310);let n=new Set(["post","put","patch","delete"]),o=(e,t=!1)=>{let a=e.toLowerCase();return!!(0,r.b)()&&!t||n.has(a)},l=(e,t)=>new Request(e,{...t,body:o(t.method??"GET",!0)?t.body:null})},95994:(e,t,a)=>{"use strict";function r(e,t){return t.reduce((e,t)=>{if(null!=e)return e[t]},e)}a.d(t,{A:()=>r})},96445:(e,t,a)=>{"use strict";a.d(t,{E:()=>n});var r=a(6802);function n(e,t){return t.reduce((e,t)=>void 0===e.value||"object"!=typeof e.value||null===e.value?{context:"",value:void 0}:{context:(0,r.O)(e.value)??e.context,value:e.value?.[t]},{context:"",value:e})}},96466:(e,t,a)=>{"use strict";a.d(t,{gL:()=>i});var r=a(9085);class n extends r.i{}function o(e,t,a){return e[t]===a&&92!==e.charCodeAt(t-1)}function l(e,t){return o(e,t,"(")}function s(e,t){return o(e,t,")")}function i(e){return function e(t){return!function(e){if(!(l(e,0)&&s(e,e.length-1)))return!1;let t=0;for(let a=0;a<e.length;a++)if(l(e,a)&&(t+=1),s(e,a)&&(t-=1),0===t&&a!==e.length-1)return!1;return!0}(t)?!function(e){let t=0;for(let a=0;a<e.length;a++)if(l(e,a)&&(t+=1),s(e,a)&&(t-=1),o(e,a,"|")&&0===t)return!0;return!1}(t)?!function(e){for(let t=0;t<e.length;t++)if(l(e,t))return!0;return!1}(t)?{type:"const",const:t.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}:function(t){let a=[];for(let r=0;r<t.length;r++)if(l(t,r)){let[o,i]=function(e,t){if(!l(e,t))throw new n("TemplateLiteralParser: Index must point to open parens");let a=0;for(let r=t;r<e.length;r++)if(l(e,r)&&(a+=1),s(e,r)&&(a-=1),0===a)return[t,r];throw new n("TemplateLiteralParser: Unclosed group parens in expression")}(t,r),c=t.slice(o,i+1);a.push(e(c)),r=i}else{let[n,o]=function(e,t){for(let a=t;a<e.length;a++)if(l(e,a))return[t,a];return[t,e.length]}(t,r),s=t.slice(n,o);s.length>0&&a.push(e(s)),r=o-1}return 0===a.length?{type:"const",const:""}:1===a.length?a[0]:{type:"and",expr:a}}(t):function(t){let[a,r]=[0,0],n=[];for(let i=0;i<t.length;
213i++)if(l(t,i)&&(a+=1),s(t,i)&&(a-=1),o(t,i,"|")&&0===a){let a=t.slice(r,i);a.length>0&&n.push(e(a)),r=i+1}let i=t.slice(r);return(i.length>0&&n.push(e(i)),0===n.length)?{type:"const",const:""}:1===n.length?n[0]:{type:"or",expr:n}}(t):e(t.slice(1,t.length-1))}(e.slice(1,e.length-1))}},96677:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(74162),n=a(38547),o=a(10779),l=a(13919),s=(0,n.pM)({__name:"ScalarCopy",props:(0,n.zz)({content:{default:""},placement:{},showLabel:{type:Boolean},duration:{default:1500},immediate:{type:Boolean}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){let t=(0,n.fn)(e,"copied");(0,n.sV)(()=>{e.immediate&&a(e.content)});let{copy:a,copied:s}=(0,l.iDZ)({legacy:!0,copiedDuring:e.duration});return(0,n.wB)(s,e=>t.value=e),(l,i)=>((0,n.uX)(),(0,n.Wv)(r.A,{copied:t.value||(0,o.R1)(s),placement:e.placement,showLabel:e.showLabel,onClick:i[0]||(i[0]=t=>(0,o.R1)(a)(e.content))},(0,n.eX)({_:2},[l.$slots.copy?{name:"copy",fn:(0,n.k6)(()=>[(0,n.RG)(l.$slots,"copy")]),key:"0"}:void 0,l.$slots.copied?{name:"copied",fn:(0,n.k6)(()=>[(0,n.RG)(l.$slots,"copied")]),key:"1"}:void 0,l.$slots.backdrop?{name:"backdrop",fn:(0,n.k6)(()=>[(0,n.RG)(l.$slots,"backdrop")]),key:"2"}:void 0]),1032,["copied","placement","showLabel"]))}}),i={bash:"Bash",c:"C",clojure:"Clojure",cpp:"C++",csharp:"C#",css:"CSS",curl:"cURL",dart:"Dart",diff:"Diff",docker:"Docker",dockerfile:"Dockerfile",elixir:"Elixir",fsharp:"F#",go:"Go",graphql:"GraphQL",haskell:"Haskell",html:"HTML",http:"HTTP",ini:"INI",java:"Java",javascript:"JavaScript",json:"JSON",julia:"Julia",kotlin:"Kotlin",less:"Less",lua:"Lua",makefile:"Makefile",markdown:"Markdown",matlab:"MATLAB",mojo:"Mojo",nginx:"Nginx",objectivec:"Objective-C",ocaml:"OCaml",perl:"Perl",php:"PHP",plaintext:"Plain Text",powershell:"PowerShell",properties:"Properties",python:"Python",r:"R",ruby:"Ruby",rust:"Rust",scala:"Scala",scss:"SCSS",shell:"Shell",sql:"SQL",swift:"Swift",toml:"TOML",typescript:"TypeScript",xml:"XML",yaml:"YAML"},c=a(8873),u=a(61930),d={class:"hidden group-hocus-within/code-block:inline"},p=(0,n.pM)({inheritAttrs:!1,__name:"ScalarCodeBlockCopy",props:(0,n.zz)({showLang:{type:Boolean},content:{},lang:{}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){let t=(0,n.fn)(e,"copied"),a=(0,n.EW)(()=>"string"==typeof e.content?e.content:JSON.stringify(e.content,null,2)),{cx:r}=(0,c.AX)();return(l,c)=>((0,n.uX)(),(0,n.Wv)((0,o.R1)(s),(0,n.v6)({content:a.value,showLabel:"",copied:t.value,"onUpdate:copied":c[0]||(c[0]=e=>t.value=e),placement:"left"},{...(0,o.R1)(r)(t.value?"opacity-100":"opacity-0 group-hocus-within/code-block:opacity-100")}),(0,n.eX)({backdrop:(0,n.k6)(()=>[(0,n.RG)(l.$slots,"backdrop")]),_:2},[e.lang?{name:"copy",fn:(0,n.k6)(()=>[(0,n.Lk)("span",d,[e.showLang?((0,n.uX)(),(0,n.CE)("span",{key:0,class:(0,u.C4)(["group-hocus/copy-button:sr-only",{capitalize:!(e.lang in i)}])},(0,u.v_)(e.lang in i?(0,o.R1)(i)[e.lang]:e.lang),3)):(0,n.Q3)("",!0),(0,n.Lk)("span",{class:(0,u.C4)({"group-hocus/copy-button:not-sr-only sr-only":e.showLang})},"Copy",2)])]),key:"0"}:void 0]),1040,["content","copied"]))}})},96691:(e,t,a)=>{"use strict";function r(e){var t;if(null==e||null==e.value)return null;let a=null!=(t=e.value.$el)?t:e.value;return a instanceof Node?a:null}a.d(t,{t:()=>r})},97110:(e,t,a)=>{"use strict";a.d(t,{u:()=>o});var r=a(60652),n=a(75005);let o=(e,t,a)=>{let[l,...s]=t;if(!l)return;if((0,n.R)(l),!s.length){e[l]=a;return}let i=(0,r.G)(e[l])?e[l]:{};e[l]=i,o(i,s,a)}},98211:(e,t,a)=>{"use strict";let r;a.d(t,{O:()=>l,j:()=>s});var n=a(38547),o=a(78465),l=((r=l||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);let s=(0,n.pM)({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup:(e,{slots:t,attrs:a})=>()=>{var r;let{features:n,...l}=e,s={"aria-hidden":(2&n)==2||(null!=(r=l["aria-hidden"])?r:void 0),hidden:(4&n)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&n)==4&&(2&n)!=2&&{display:"none"}}};return(0,o.XX)({ourProps:s,theirProps:l,slot:{},attrs:a,slots:t,name:"Hidden"})}})},98379:(e,t,a)=>{"use strict";a.d(t,{i:()=>i,x:()=>c});var r=a(10779),n=a(38547),o=a(98211),l=a(96691),s=a(9e3);function i({defaultContainers:e=[],portals:t,mainTreeNodeRef:a}={}){let c=(0,r.KR)(null),u=(0,s.T)(c);function d(){var a,r,n;let o=[];for(let t of e)null!==t&&(t instanceof HTMLElement?o.push(t):"value"in t&&t.value instanceof HTMLElement&&o.push(t.value));if(null!=t&&t.value)for(let e of t.value)o.push(e);for(let e of null!=(a=null==u?void 0:u.querySelectorAll("html > *, body > *"))?a:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains((0,l.t)(c))||e.contains(null==(n=null==(r=(0,l.t)(c))?void 0:r.getRootNode())?void 0:n.host)||o.some(t=>e.contains(t))||o.push(e));return o}
213return{resolveContainers:d,contains:e=>d().some(t=>t.contains(e)),mainTreeNodeRef:c,MainTreeNode:()=>null!=a?null:(0,n.h)(o.j,{features:o.O.Hidden,ref:c})}}function c(){let e=(0,r.KR)(null);return{mainTreeNodeRef:e,MainTreeNode:()=>(0,n.h)(o.j,{features:o.O.Hidden,ref:e})}}},98956:(e,t,a)=>{"use strict";a.d(t,{Dk:()=>l,TJ:()=>o,Hh:()=>s});var r=a(5131),n=a(18967);let o=(...e)=>{let t={};e.forEach(e=>{new Set(Array.from(e.keys())).forEach(a=>{let r=e.getAll(a),n=r.length>1?r:r[0]??"";t[a]=n})});let a=new URLSearchParams;return Object.entries(t).forEach(([e,t])=>{Array.isArray(t)?t.forEach(t=>a.append(e,t)):a.append(e,t)}),a},l=(e,t)=>t&&e!==t?e?`${e.trim()}/${t.trim()}`.replace(r.Q.MULTIPLE_SLASHES,"/"):t.trim():e.trim(),s=(e,t,a=new URLSearchParams,s=!1)=>{if(e&&(!(0,n.K)(e)||"u">typeof window)){let[i="",c]=(s?e:(0,n.K)(e)?l(window.location.origin,e):r.Q.PROTOCOL.test(e)?e:`http://${e.replace(/^\//,"")}`).split("?"),u=new URLSearchParams(c||""),[d="",p]=t.split("?"),m=new URLSearchParams(p||""),h=e===t?i:l(i,d),f=o(u,m,a).toString();return f?`${h}?${f}`:h}return t?l(e,t):""}},99113:(e,t,a)=>{"use strict";a.d(t,{$Q:()=>i,DP:()=>l});var r=a(60652);let n=Symbol("isDetectChangesProxy"),o=Symbol("detectChangesProxyTarget"),l=(e,t,a={proxyCache:new WeakMap,path:[]})=>{if(!(0,r.G)(e)&&!Array.isArray(e))return e;if(a.proxyCache.has(e))return a.proxyCache.get(e);let i=new Proxy(e,{get(e,r,i){if(r===n)return!0;if(r===o)return e;let c=Reflect.get(e,r,i);return s(c)?c:l(c,t,{...a,path:[...a.path,String(r)]})},set(e,r,n,o){let l=[...a.path,String(r)];t?.hooks?.onBeforeChange?.(l,n);let s=Reflect.set(e,r,n,o);return t?.hooks?.onAfterChange?.(l,n),s},deleteProperty(e,r){let n=[...a.path,String(r)];t?.hooks?.onBeforeChange?.(n);let o=Reflect.deleteProperty(e,r);return t?.hooks?.onAfterChange?.(n),o}});return a.proxyCache.set(e,i),i},s=e=>"object"==typeof e&&null!==e&&!0===e[n],i=e=>"object"!=typeof e||null===e?e:e[n]?e[o]:e},99822:(e,t,a)=>{"use strict";a.d(t,{a:()=>n});var r=a(21438);let n=e=>!!e&&"string"==typeof e&&r.R.has(e.toLowerCase())}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.